Set-SCStorageZoneSet
Modifies a fabric zone set object.
Syntax
Set-SCStorageZoneSet
[-StorageZoneSet] <StorageZoneSet>
[-Name <String>]
[-Description <String>]
[-RunAsynchronously]
[-PROTipID <Guid>]
[-JobVariable <String>]
[<CommonParameters>]
Set-SCStorageZoneSet
[-Enable]
[-StorageZoneSet] <StorageZoneSet>
[-Name <String>]
[-Description <String>]
[-RunAsynchronously]
[-PROTipID <Guid>]
[-JobVariable <String>]
[<CommonParameters>]
Set-SCStorageZoneSet
[-Disable]
[-StorageZoneSet] <StorageZoneSet>
[-Name <String>]
[-Description <String>]
[-RunAsynchronously]
[-PROTipID <Guid>]
[-JobVariable <String>]
[<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 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Disable
Indicates that this operation disables a zone set.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Enable
Indicates that this operation enables a zone set.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | True |
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 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
Specifies the name of a Virtual Machine Manager (VMM) object.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
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 |
Position: | Named |
Default value: | None |
Required: | False |
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 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-StorageZoneSet
Specifies a storage zone set object.
Type: | StorageZoneSet |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Outputs
StorageZoneSet
This cmdlet returns a StorageZoneSet object.