- 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:

- 電腦組裝與系統安裝
- 操作系統實用教程(Linux版)
- Windows Server 2019 Cookbook
- Mastering vRealize Operations Manager(Second Edition)
- Haskell Financial Data Modeling and Predictive Analytics
- WindowsServer2012Hyper-V虛擬化部署與管理指南
- 構建可擴展分布式系統:方法與實踐
- 高性能Linux服務器構建實戰:系統安全、故障排查、自動化運維與集群架構
- Kubernetes從入門到實踐
- Windows Phone 8 Application Development Essentials
- Windows Server 2019 Administration Fundamentals
- 嵌入式實時操作系統:RT-Thread設計與實現
- VMware NSX Cookbook
- INSTANT Galleria Howto
- 分布式高可用架構之道