Set-SCStorageZoneSet

Modifies a fabric zone set object.

Syntax

Set-SCStorageZoneSet [-StorageZoneSet] <StorageZoneSet> [-Description <String>] [-Disable]
 [-JobVariable <String>] [-Name <String>] [-PROTipID <Guid>] [-RunAsynchronously] [<CommonParameters>]
Set-SCStorageZoneSet [-StorageZoneSet] <StorageZoneSet> [-Description <String>] [-Enable]
 [-JobVariable <String>] [-Name <String>] [-PROTipID <Guid>] [-RunAsynchronously] [<CommonParameters>]

Description

The Set-SCStorageZoneSet cmdlet modifies a fabric zone set object.

Examples

Example 1: Activate zone set to commit pending changes

PS C:\> $Zoneset = Get-SCStorageZoneSet -Name "ZoneSet01"
PS C:\> Set-SCStorageZoneSet -StorageZoneSet $Zoneset -Enable

The first command gets the zone set object named ZoneSet01 and stores the object in the $zoneset variable.

The second command activates the zone set stored in $Zoneset and commits pending changes.

Parameters

-Description

Specifies a description for the zone set object.

Type:String
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Disable

Indicates that this operation disables a zone set.

Type:SwitchParameter
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Enable

Indicates that this operation enables a zone set.

Type:SwitchParameter
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-JobVariable

Specifies that job progress is tracked and stored in the variable named by this parameter.

Type:String
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Name

Specifies the name of a Virtual Machine Manager (VMM) object.

Type:String
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-PROTipID

Specifies the ID of the Performance and Resource Optimization tip (PRO tip) that triggered this action. This parameter lets you audit PRO tips.

Type:Guid
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-RunAsynchronously

Indicates that the job runs asynchronously so that control returns to the command shell immediately.

Type:SwitchParameter
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-StorageZoneSet

Specifies a storage zone set object.

Type:StorageZoneSet
Required:True
Position:0
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False

Outputs

StorageZoneSet

This cmdlet returns a **StorageZoneSet** object.