Share via


AddByClientSGGpo method of the PS_DAClient class

This cmdlet performs the following operations for W8 and down-level (W7) clients 1. Adds one or more client machine security group(s) to the DA deployment2. Adds one or more DA client GPO(s) in domain(s)3. In a multi-site deployment, adds one or more security group(s) of down-level clients to the DA deployment. These down-level clients can then connect only to the specified site4. In a multi-site deployment, adds one or more down-level DA client GPO(s) in a domain(s).

Syntax

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

Parameters

SecurityGroupNameList [in]

List of client security groups that are to be added to the DA deployment. Each SG is specified in DOMAIN\SG_NAME format

GpoName [in]

This parameter represents the name to be used when creating the client GPO in the specified domain or represents the domain in which a client GPO with the default name should be created. GPO is specified in the format DOMAIN\GPO_NAME. Domain is specified in the format DOMAIN. If the parameter contains only the domain name then the following default GPO name is used: [domain] client policy for [DA connection friendly name] A list of GPOs can be specified

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 client settings object. By default this cmdlet does not generate any output

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