Partager via


RemoveByClientSGGpo method of the PS_DAClient class

This cmdlet performs the following operations1. Removes one or more client machine security group(s) from the DA deployment 2. Removes one or more DA client GPO(s) from domain(s) 3. In a multi-site deployment, removes one or more security group(s) of down-level clients from the DA deployment. These down-level clients can connect only to the specified site 4. In a multi-site deployment, removes one or more down-level DA client GPO(s) from domain(s).

Syntax

uint32 RemoveByClientSGGpo(
  [in]  string   SecurityGroupNameList[],
  [in]  string   ComputerName,
  [in]  boolean  PassThru,
  [in]  string   DomainName[],
  [out] DAClient cmdletOutput
);

Parameters

SecurityGroupNameList [in]

Specifies a list of client security groups that are part of the DA deployment which need to be removed. Name of security group is in DOMAIN\SG_NAME format

ComputerName [in]

IPv4/IPv6 address or hostname of the machine on which the remote access server machine specific tasks should be executed

PassThru [in]

Returns the DA client object. By default this cmdlet does not generate any output

DomainName [in]

List of domains in which client GPOs need to be removed. Domain is specified in the format DOMAIN

cmdletOutput [out]

  1. List of client SGs present in the DA deployment. 2. List of client GPOs present in the DA deployment. 3. Status of force tunnel. 4. NRPT object (for force tunnel properties). 5. Support for down-level (enable/disable). 6. Laptop-only deployment (enable/disable).

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\RemoteAccess
MOF
RAMgmtPSProvider.mof
DLL
RAMgmtPSProvider.dll

See also

PS_DAClient