-
Server <string>
An RD Session Host server FQDN or IP address.
Required? true
Position? 0
Default value
Accept pipeline input? false
Accept wildcard characters? false
-
SiteId <uint>
The site ID to which to add the specified server.
If the parameter is omitted, the Licensing Server site ID will be used.
Required? false
Position? 1
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-
Username <string>
An administrator account for push installing the RD Session Host agent on the server.
If this parameter is omitted, your RAS admin username (and password) will be used.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-
Password <SecureString>
The password of the account specified in the Username parameter.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-
NoInstall <SwitchParameter>
Specifies not to install the RD Session Host agent on the server.
If this parameter is omitted, the agent will be push installed on the server using your RAS admin credentials.
To specify different credentials for push installation, specify the Username and Password parameters.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-
NoRestart <SwitchParameter>
Specifies not to restart the server after the RD Session Host agent is installed.
If this parameter is omitted, the server will be restarted if required.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-
NoFireWallRules <SwitchParameter>
Specifies not to add firewall rules to allow the RDS Agent to communicate.
If this parameter is omitted, the firewall rules will not be added.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-
NoDesktopExperience <SwitchParameter>
Specifies not to install the Desktop Experience after the RD Session Host agent is installed.
If this parameter is omitted, the Desktop Experience is installed.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-
NoTerminalServices <SwitchParameter>
Specifies not to install the Terminal Services role after the RD Session Host agent is installed.
If this parameter is omitted, the Terminal Services role will be installed.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-
AddUsersToRDSUsers <string[]>
Specifies the list of users or groups in UPN or SID format to be added to the RDSUsers Group in csv format.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<
CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters documentation.