New-PA

NAME

New-PA

SYNOPSIS

Adds a RAS Publishing Agent server to a site.

SYNTAX

New-PA [-Server] <string> [[-SiteId] <uint>] [-NoInstall <SwitchParameter>] [<CommonParameters>]

New-PA [-Server] <string> [[-SiteId] <uint>] -Password <SecureString> -Username <string> [<CommonParameters>]

DESCRIPTION

Adds a RAS Publishing Agent server to a site.

The agent software will be installed on the server by default. You can optionally skip the agent installation by including the -NoInstall parameter.

PARAMETERS


-Server <string>
FQDN or IP address of the server to add to a site as a RAS Publishing Agent.

        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-SiteId <uint>
Site ID to which to add the RAS Publishing Agent 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

-NoInstall <SwitchParameter>
Specifies NOT to install the agent software on the server.

If you omit this parameter, the agent will be push installed on the server using your RAS admin credentials.

To specify different credentials, include the Username and Password parameters.

        Required?                    false
        Position?                    named
        Default value                False
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Username <string>
An administrator account for push installing the 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

<CommonParameters>
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters documentation. 

INPUTS

-none-

OUTPUTS

PA

EXAMPLES


---------- EXAMPLE 1 ----------

New-PA "server.company.dom"

Adds the specified server to the Licensing Server site as a RAS Publishing Agent.

The agent software will be installed on the server automatically.

To add a RAS Publishing Agent to a specific site, add the -SiteId parameter.

RELATED LINKS