PowerShell Logo Small

Remove-VirtualDiskFromMaskingSet



This is the built-in help made by Microsoft for the command 'Remove-VirtualDiskFromMaskingSet', 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 virtual disk from a specified masking set to block access to the virtual disk by an InitiatorIds object defined in the masking set.

SYNTAX


Remove-VirtualDiskFromMaskingSet [-MaskingSetFriendlyName] <String[]> [-AsJob] [-CimSession <CimSession[]>] [-PassThru] [-ThrottleLimit <Int32>] [-VirtualDiskNames
<String[]>] [-Confirm] [-WhatIf] [<CommonParameters>]
Remove-VirtualDiskFromMaskingSet [-AsJob] [-CimSession <CimSession[]>] [-PassThru] [-ThrottleLimit <Int32>] [-VirtualDiskNames <String[]>] -InputObject <CimInstance[]>
[-Confirm] [-WhatIf] [<CommonParameters>]
Remove-VirtualDiskFromMaskingSet [-AsJob] [-CimSession <CimSession[]>] [-PassThru] [-ThrottleLimit <Int32>] [-VirtualDiskNames <String[]>] -MaskingSetUniqueId <String[]>
[-Confirm] [-WhatIf] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Remove-VirtualDiskFromMaskingSet cmdlet removes a virtual disk from aINKS

Online Version: http://go.microsoft.com/fwlink/?LinkID=307020
Get-MaskingSet
Get-Targetport
Get-VirtualDisk

REMARKS

<

Examples


EXAMPLE 1

PS C:\>Remove-VirtualDiskFromMaskingSet -MaskingSetFriendlyName "Masking Set 1" -VirtualDiskNames "Virtual Disk 1,Virtual Disk 2,Virtual Disk 3"



This example removes a virtual disk from a masking set.