PowerShell Logo Small

Remove-MaskingSet



This is the built-in help made by Microsoft for the command 'Remove-MaskingSet', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 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.

SYNOPSIS

Removes a masking set.

SYNTAX


Remove-MaskingSet [-FriendlyName] <String[]> [-AsJob] [-CimSession <CimSession[]>] [-PassThru] [-ThrottleLimit <Int32>] [-Confirm] [-WhatIf] [<CommonParameters>]
Remove-MaskingSet [-AsJob] [-CimSession <CimSession[]>] [-PassThru] [-ThrottleLimit <Int32>] -InputObject <CimInstance[]> [-Confirm] [-WhatIf] [<CommonParameters>]
Remove-MaskingSet [-AsJob] [-CimSession <CimSession[]>] [-PassThru] [-ThrottleLimit <Int32>] -UniqueId <String[]> [-Confirm] [-WhatIf] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


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.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkID=307013
Get-MaskingSet
New-MaskingSet
Rename-MaskingSet

REMARKS

<

Examples


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.