Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Remove-RASPubItem

SYNOPSIS

Removes a published resource from a site.

SYNTAX

Remove-RASPubItem [-Id] <uint> [-SiteId <uint>] [<CommonParameters>]
Remove-RASPubItem [-InputObject] <PubItem> [-SiteId <uint>] [<CommonParameters>]

DESCRIPTION

Removes a published resource from a site.

EXAMPLES

Example 1

Remove-RASPubItem -Id 11

Removes a published resource specified by ID.

Example 2

Removes a published resource specified by the $PubItem variable which is an objects identifying a resource.

Example 3

Removes a published resource identified 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

Last updated