Remove-SCStorageZoneAlias
Removes a Fibre Channel zone alias from a fabric.
Syntax
Remove-SCStorageZoneAlias
[-StorageZoneAlias] <StorageZoneAlias>
[-RunAsynchronously]
[-PROTipID <Guid>]
[-JobVariable <String>]
[<CommonParameters>]
Description
The Remove-SCStorageZoneAlias cmdlet removes a Fibre Channel zone alias from a fabric.
Examples
Example 1: Remove a Fibre Channel zone alias
PS C:\> $ZoneAlias = Get-SCStorageZoneAlias -Name "ZoneAlias01"
PS C:\> Remove-SCStorageZoneAlias -StorageZoneAlias $ZoneAlias
The first command gets the zone alias object named ZoneAlias01, and then stores that object in the $ZoneAlias variable.
The second command removes the zone alias stored in $ZoneAlias.
Parameters
-JobVariable
Specifies the name of a variable that you use to track and store job progress.
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 |
-StorageZoneAlias
Specifies a Fibre Channel zone alias that this cmdlet removes.
Type: | StorageZoneAlias |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Outputs
StorageZoneAlias
This cmdlet returns a StorageZoneAlias object.