官术网_书友最值得收藏!

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:

主站蜘蛛池模板: 峨边| 乌拉特前旗| 尼木县| 尉氏县| 罗城| 华阴市| 万年县| 武夷山市| 胶州市| 永兴县| 杭锦旗| 博爱县| 苏尼特左旗| 济南市| 中山市| 桐乡市| 景泰县| 桐乡市| 高唐县| 原阳县| 枣强县| 平原县| 郯城县| 犍为县| 康马县| 东丰县| 新河县| 明星| 长岛县| 彭州市| 白朗县| 昂仁县| 洪江市| 东平县| 上蔡县| 涡阳县| 四平市| 巴马| 西充县| 张家港市| 高清|