Remove-RASPubVDIDesktop
SYNOPSIS
Removes a published desktop from a site.
SYNTAX
Remove-RASPubVDIDesktop [-Id] <uint> [-SiteId <uint>] [<CommonParameters>]Remove-RASPubVDIDesktop [-InputObject] <PubItem> [-SiteId <uint>] [<CommonParameters>]DESCRIPTION
Removes a published desktop from a site.
EXAMPLES
Example 1
Remove-RASPubVDIDesktop -Id 11Removes a published desktop specified by ID.
Example 2
Removes a published desktop specified by the $PubVDIDesktop object.
To obtain the object, use the Get-RASPubVDIDesktop cmdlet.
Example 3
Removes a desktop specified by an object obtained from the pipeline output.
PARAMETERS
-Id
Published resource ID.
-InputObject
An object specifying the published resource.
To obtain the object, use the Get-PubItem cmdlet.
Type reference: PubItem
-SiteId
Site ID.
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS
PubItem
OUTPUTS
None
RELATED LINKS
Last updated