PowerShell Logo Small

Rename-MaskingSet



This is the built-in help made by Microsoft for the command 'Rename-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

Renames an existing masking set.

SYNTAX


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



Search powershellhelp.space

DESCRIPTION


The Rename-MaskingSet cmdlet renames an existing masking set.


This cmdlet is not needed when using the Storage Spaces subsystem.



<

RELATED LINKS

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

REMARKS

<

Examples


Example 1: Rename a masking set

PS C:\>Rename-MaskingSet -FriendlyName "MaskingSet" -NewFriendlyName "Server1A-MaskingSet"



This example renames the friendly name of the existing masking set to make it more descriptive.