-
Server
<string>
FQDN or IP address of the server to be added to a site as a RAS Secure Gateway.
Required? true
Position? 0
Default value
Accept pipeline input? false
Accept wildcard characters? false
-
SiteId
<uint>
The site ID to which the Secure Gateway should be added.
To obtain the ID of a desired site, use the appropriate command to Get Sites.
If the parameter is omitted, the site ID of the Licensing Server will be used.
Required? false
Position? 1
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-
Username
<string>
An administrator account to push install the Secure Gateway software on the target 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>
If this parameter is included, the Secure Gateway software will not be installed on the target server.
The parameter should only be included if the server already has the software installed.
If you need to install the software, omit this parameter.
When installing the Gateway software, your RAS admin credentials will be used to push install the software. These are the credentials you used to connect to the RAS farm.
If needed, you can specify different credentials using 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 RAS Secure Gateway 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
-
EnableUserPortal
<bool>
Enable or disable User Portal connectivity on the Secure Gateway.
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.