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

Remove-RASFileAccess

SYNOPSIS

Removes a file access item (drive or folder) from a site.

SYNTAX

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

DESCRIPTION

Removes a file access item (drive or folder) from a site.

EXAMPLES

Example 1

Remove-RASFileAccess -Id 12

Removes the file access item with the specified ID.

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