CmdID

CmdID / PowerShell / Cmdlets / Block

Block-FileShareAccess

Blocks 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 to block.
-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 on which to set permissions.
-InputObjectSpecifies the input object that is used in a pipeline command.
-NameSpecifies the name of the file share for which the user is being granted 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.
-WhatIf, -wiShows what would happen if the cmdlet runs.