CmdID

CmdID / PowerShell / Cmdlets / Revoke

Revoke-FileShareAccess

Revokes access to a file share. Windows Server PowerShell reference

From the Windows Server PowerShell reference 11 parameters Its page in the reference

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

Parameters

11 in the Windows Server PowerShell reference
-AccountNameSpecifies an array of account names for which to revoke access.
-AsJobRuns the cmdlet as a background job.
-CimSession, -SessionRuns the cmdlet in a remote session or on a remote computer.
-Confirm, -cfPrompts you for confirmation before running the cmdlet.
-FileServerSpecifies a file server.
-InputObjectSpecifies the input object that is used in a pipeline command.
-NameSpecifies an array of file share names for which to revoke access.
-PassThruReturns an object representing the item with which you are working.
-ThrottleLimitSpecifies the maximum number of concurrent operations that can be established to run the cmdlet.
-UniqueId, -IdSpecifies an array of unique IDs of file shares for which to revoke access.
-WhatIf, -wiShows what would happen if the cmdlet runs.