Remove-PA

NAME

Remove-PA

SYNOPSIS

Removes a RAS Publishing Agent server from a site.

SYNTAX

Remove-PA [-Server] <string> [[-SiteId] <uint>] [-NoUninstall <SwitchParameter>] [<CommonParameters>]

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

Remove-PA [-Id] <uint> [-NoUninstall <SwitchParameter>] [<CommonParameters>]

Remove-PA [-Id] <uint> -Password <SecureString> -Username <string> [<CommonParameters>]

Remove-PA [-InputObject] <PA> [-NoUninstall <SwitchParameter>] [<CommonParameters>]

Remove-PA [-InputObject] <PA> -Password <SecureString> -Username <string> [<CommonParameters>]

DESCRIPTION

The Remove-PA cmdlet is used to remove a RAS Publishing Agent server from its parent site.

PARAMETERS


-Server <string>
FQDN or IP address of the RAS Publishing Agent server to remove.

This must be the actual server name used in the farm.

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

-SiteId <uint>
Site ID from which to remove 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

-Id <uint>
The ID of a RAS Publishing Agent to remove.

To obtain the ID, use the Get-PA cmdlet.

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

-NoUninstall <SwitchParameter>
Include this parameter if you wish to keep the RAS Publishing Agent software on the server.

To uninstall the agent software, omit this parameter.

When uninstalling the agent, your RAS admin credentials will be used by default.

You can specify different credentials by including -Username and -Password parameters.

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

-Username <string>
A username that will be used to remotely uninstall the RAS Publishing Agent software from the target server.

If this parameter is omitted, your RAS admin username and password will be used by default.

        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

-InputObject <PA>
An object of type PA representing the RAS Publishing Agent you wish to remove.

To obtain the object, use the Get-PA cmdlet.

        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       true (ByValue)
        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 (http://go.microsoft.com/fwlink/?LinkID=113216). 

INPUTS

PSAdmin.PA

        An object of type PA representing the RAS Publishing Agent you wish to remove.

        To obtain the object, use the Get-PA cmdlet.

OUTPUTS



EXAMPLES


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

Remove-PA "server.company.dom"

Removes the specified RAS Publishing Agent server from the Licensing Server Site.

To remove the server from a specific site, include the -SiteId parameter.

RELATED LINKS

Parallels RAS v16.0