CmdID / PowerShell / Cmdlets / Remove
Remove-NfsShare
Stops sharing NFS shares. Windows Server PowerShell reference
From the Windows Server PowerShell reference 10 parameters Its page in the reference
Parameters
-AsJobIndicates that this cmdlet runs the command as a background job on a remote computer.-CimSession, -SessionRuns the cmdlet in a remote session or on a remote computer.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-InputObjectSpecifies the input to this cmdlet.-Name, -ShareNameSpecifies an array of names of the shared folders to remove from an NFS server.-NetworkNameSpecifies an array of network names of the NFS shares to remove.-PassThruReturns an object representing the item with which you are working.-Path, -SharePathSpecifies an array of share paths to remove from an NFS server.-ThrottleLimitSpecifies the maximum number of concurrent operations that can be established to run the cmdlet.-WhatIf, -wiShows what would happen if the cmdlet runs.