- VMware Horizon View 6 Desktop Virtualization Cookbook
- Jason Ventresco
- 553字
- 2021-08-20 10:49:46
Removing objects from your Federated Pod or global entitlements
The commands referenced in this section focus on removing different objects from your federated pod or the global entitlements contained within it.
Getting ready
Multiple commands exist for removing objects in a Horizon View Federated Pod. Using these commands, we can undo changes to or remove objects that we have configured earlier in this chapter.
To remove objects from a Federated Pod, command-line access to one of the Connection Servers in the federated pod is required.
How to do it...
In this section, we will demonstrate several different commands that are used to remove objects from a Horizon View Federated Pod.
Removing a Horizon View pod from a pod federation
The following command is used to remove a pod from a pod federation. It must be run from a Connection Server located in the pod that is being removed:
lmvutil.cmd --authAs user --authDomain domain --authPassword password --unjoin
Removing a desktop pool from a global entitlement
The following command is used to remove a Horizon View desktop pool from a global entitlement:
lmvutil.cmd --authAs user --authDomain domain --authPassword password --removePoolAssociation --entitlementName "name" --poolId "poolId"
Removing an AD user or group from a global entitlement
The following commands are used to remove an AD user account or security group from a global entitlement. The commands differ slightly based on whether or not a user or security group is being removed, so both are shown.
To remove an AD user account, use the following command:
lmvutil.cmd --authAs user --authDomain domain --authPassword password --removeUserEntitlement --userName "domain\userName" --entitlementName "name"
To remove an AD security group, use the following command:
lmvutil.cmd --authAs user --authDomain domain --authPassword password --removeGroupEntitlement --groupName "domain\groupName" --entitlementName "name"
Removing an AD user or group Horizon View home site association
The following commands are used to remove the home site assignment from either an AD user or a security group. The commands differ slightly based on whether or not the site assignment is being removed from a user or a security group, so both are shown.
To remove a site assignment from an AD user account, use the following command:
lmvutil.cmd --authAs user --authDomain domain --authPassword password --deleteUserHomeSite --userName "domain\userName" --entitlementName "name"
To remove a site assignment from an AD security group, use the following command:
lmvutil.cmd --authAs user --authDomain domain --authPassword password --deleteGroupHomeSite --groupName "domain\groupName" --entitlementName "name"
Deleting a Horizon View home site
The following command is used to delete a site from a federated pod:
lmvutil.cmd --authAs user --authDomain domain --authPassword password --deleteSite --siteName "name"
Deleting a global entitlement
The following command is used to delete a global entitlement from a federated pod:
lmvutil.cmd --authAs user --authDomain domain --authPassword password --deleteGlobalEntitlement --entitlementName "name"
Forcibly removing a Horizon View pod from a Federated Pod
The following command is used to forcibly remove a pod from a pod federation and is typically only used when the pod is no longer available. It can be run from any Connection Server available so long as it is not one located in the pod that is being removed:
lmvutil.cmd --authAs user --authDomain domain --authPassword password --ejectPod --pod "podName"
How it works...
The following is a list of the lmvutil.cmd
command-line switches, and the accompanying description, that were used in this section to remove objects from a Horizon View Federated Pod:

- Windows Server 2019 Cookbook
- Social Media Mining with R
- 發(fā)布!設計與部署穩(wěn)定的分布式系統(tǒng)(第2版)
- Ansible權威指南
- Linux內核完全注釋(20周年版·第2版)
- Linux網(wǎng)絡內核分析與開發(fā)
- Dreamweaver CS5.5 Mobile and Web Development with HTML5,CSS3,and jQuery
- Delphi Programming Projects
- INSTANT Migration from Windows Server 2008 and 2008 R2 to 2012 How-to
- Social Data Visualization with HTML5 and JavaScript
- VMware Horizon Mirage Essentials
- 鴻蒙入門:HarmonyOS應用開發(fā)
- Getting Started with Raspberry Pi Zero
- 計算機操作系統(tǒng)(第3版)(微課版)
- Responsive Web Design by Example:Beginner's Guide(Second Edition)