This is the built-in help made by Microsoft for the command 'Remove-MaskingSet', in PowerShell version 3 - as retrieved from
Windows version 'Microsoft Windows Server 2012 Standard' PowerShell help files on 2016-06-23.
For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.
Removes a masking set.
Remove-MaskingSet [-FriendlyName] <String[]> [-AsJob [<SwitchParameter>]] [-CimSession <CimSession[]>] [-PassThru [<SwitchParameter>]]
[-ThrottleLimit <Int32>] [-Confirm [<SwitchParameter>]] [-WhatIf [<SwitchParameter>]] [<CommonParameters>]
Remove-MaskingSet [-AsJob [<SwitchParameter>]] [-CimSession <CimSession[]>] [-PassThru [<SwitchParameter>]] [-ThrottleLimit <Int32>]
-InputObject <CimInstance[]> [-Confirm [<SwitchParameter>]] [-WhatIf [<SwitchParameter>]] [<CommonParameters>]
Remove-MaskingSet [-AsJob [<SwitchParameter>]] [-CimSession <CimSession[]>] [-PassThru [<SwitchParameter>]] [-ThrottleLimit <Int32>] -UniqueId
<String[]> [-Confirm [<SwitchParameter>]] [-WhatIf [<SwitchParameter>]] [<CommonParameters>]
The Remove-MaskingSet cmdlet removes a masking set.
Note: Removal of a masking set, will remove access to all virtual disks defined in the masking set for all initiator IDs, and target ports
defined in the masking set.
This cmdlet is not needed when using the Storage Spaces subsystem.
<
Get-MaskingSet
New-MaskingSet
Rename-MaskingSet
<
Example 1: Remove a masking set
PS C:\> Remove-MaskingSet -FriendlyName "MaskingSet01"
This example removes the masking set named MaskingSet01. The virtual disks that were defined in this masking set are no longer accessible to
any initiators defined in this masking set. A new masking set must be created to restore access to the virtual disks from a Windows computer
acting as a client to the storage subsystem.