AddByAppServerSGGpo method of the PS_DAAppServer class
This cmdlet performs the following operations:
- Adds a new application server security group to the DA deployment.
- Adds an application servers to an application server security group that is already part of the DA deployment.
- Adds application server GPO in a domain.
This cmdlet is not applicable when DirectAccess is deployed only for the management of remote clients.
Syntax
uint32 AddByAppServerSGGpo(
[in] string SecurityGroupNameList[],
[in] string GpoName[],
[in] string ComputerName,
[in] boolean PassThru,
[out] DAAppServer cmdletOutput
);
Parameters
-
SecurityGroupNameList [in]
-
List of application server security groups that are to be added to the DA deployment. Specified in DOMAIN\SG_NAME format
-
GpoName [in]
-
This parameter represents the name to be used when creating the app server GPO in the specified domain or represents the domain in which an app server 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] application server 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 Application server policy object. By default this cmdlet does not generate any output
-
cmdletOutput [out]
-
The entire app server policy object is outputted. Consists of the following: a. List of app server SGs present in the DA deployment. b. List of all app server GPOs in the DA deployment, c. App server connection properties, viz. 1. Connectivity type
Requirements
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2012 |
Namespace |
Root\Microsoft\Windows\RemoteAccess |
MOF |
|
DLL |
|