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

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:

主站蜘蛛池模板: 黄大仙区| 黄山市| 玛曲县| 承德市| 南陵县| 抚顺市| 石楼县| 京山县| 阿拉善左旗| 自治县| 内江市| 平乡县| 马鞍山市| 理塘县| 西平县| 湟中县| 平度市| 桑日县| 阜新| 大田县| 元阳县| 台江县| 江城| 怀来县| 江城| 泗阳县| 双城市| 安图县| 鸡东县| 重庆市| 庄浪县| 涞源县| 班戈县| 铅山县| 凤城市| 个旧市| 牡丹江市| 油尖旺区| 福清市| 崇左市| 两当县|