< Back

Set-StorageSubsystem

Wed Jan 30, 2019 6:04 pm

NAME Set-StorageSubsystem



SYNOPSIS

Modifies the properties of a StorageSubsystem object.





SYNTAX

Set-StorageSubsystem [-CimSession <CimSession[]>] [-Description <String>] [-ThrottleLimit <Int32>] -UniqueId <String> [<CommonParameters>]



Set-StorageSubsystem [-AutomaticClusteringEnabled] [-CimSession <CimSession[]>] [-FaultDomainAwarenessDefault {PhysicalDisk | StorageEnclosure |

StorageScaleUnit | StorageChassis | StorageRack}] [-ThrottleLimit <Int32>] [<CommonParameters>]



Set-StorageSubsystem [-AutomaticClusteringEnabled] [-CimSession <CimSession[]>] [-FaultDomainAwarenessDefault {PhysicalDisk | StorageEnclosure |

StorageScaleUnit | StorageChassis | StorageRack}] [-ThrottleLimit <Int32>] -UniqueId <String> [<CommonParameters>]



Set-StorageSubsystem [-FriendlyName] <String> [-AutomaticClusteringEnabled] [-CimSession <CimSession[]>] [-FaultDomainAwarenessDefault {PhysicalDisk |

StorageEnclosure | StorageScaleUnit | StorageChassis | StorageRack}] [-ThrottleLimit <Int32>] [<CommonParameters>]



Set-StorageSubsystem [-AutomaticClusteringEnabled] [-CimSession <CimSession[]>] [-FaultDomainAwarenessDefault {PhysicalDisk | StorageEnclosure |

StorageScaleUnit | StorageChassis | StorageRack}] [-ThrottleLimit <Int32>] -Name <String> [<CommonParameters>]



Set-StorageSubsystem [-CimSession <CimSession[]>] [-Description <String>] [-ThrottleLimit <Int32>] [<CommonParameters>]



Set-StorageSubsystem [-CimSession <CimSession[]>] [-Description <String>] [-ThrottleLimit <Int32>] -Name <String> [<CommonParameters>]



Set-StorageSubsystem [-FriendlyName] <String> [-CimSession <CimSession[]>] [-Description <String>] [-ThrottleLimit <Int32>] [<CommonParameters>]





DESCRIPTION

The Set-StorageSubsystem cmdlet modifies the properties of the specified StorageSubsystem object.





PARAMETERS

-AutomaticClusteringEnabled [<SwitchParameter>]

Indicates that storage pools and virtual disks are automatically added to the cluster. By default, storage pools and virtual disks in a cluster are

automatically added to the cluster. If you want to disable this, set the value of this parameter to $False.



Required? false

Position? named

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-CimSession [<CimSession[]>]

Runs the cmdlet in a remote session or on a remote computer. Enter a computer name or a session object, such as the output of a New-CimSession or

Get-CimSession cmdlet. The default is the current session on the local computer.



Required? false

Position? named

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-Description [<String>]

Specifies a description of the object. The description may be defined by a user.



Required? false

Position? named

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-FaultDomainAwarenessDefault [<FaultDomainType>]

Specifies the default fault domain for new virtual disks created with this storage subsystem. The acceptable values for this parameter are:



-- PhysicalDisk

-- StorageScaleUnit

-- StorageChassis

-- StorageEnclosure

-- StorageRack



The fault domain specifies at what level you want to be fault tolerant. For example, specify StorageScaleUnit to store data copies on separate nodes

of a Storage Spaces Direct cluster. This cmdlet refers to nodes of a Storage Spaces Direct cluster as storage scale units because you can expand the

scale of the cluster by adding more nodes.



Required? false

Position? named

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-FriendlyName <String>

Specifies the friendly name of the storage subsystem to modify.



Required? true

Position? 1

Default value none

Accept pipeline input? true(ByPropertyName)

Accept wildcard characters? false



-Name <String>

Specifies the name of the storage subsystem to modify.



Required? true

Position? named

Default value none

Accept pipeline input? true(ByPropertyName)

Accept wildcard characters? false



-ThrottleLimit [<Int32>]

Specifies the maximum number of concurrent operations that can be established to run the cmdlet. If this parameter is omitted or a value of 0 is

entered, then Windows PowerShell???? calculates an optimum throttle limit for the cmdlet based on the number of CIM cmdlets that are running on the

computer. The throttle limit applies only to the current cmdlet, not to the session or to the computer.



Required? false

Position? named

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-UniqueId <String>

Specifies the ID of the storage subsystem to modify.



Required? true

Position? named

Default value none

Accept pipeline input? true(ByPropertyName)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

Microsoft.Management.Infrastructure.CimInstance#ROOT/Microsoft/Windows/Storage/MSFT_StorageSubsystem

http://msdn.microsoft.com/library/windo ... 30569.aspx





You can use the pipeline operator to pass an array of MSFT_StorageSubsytem objects to the InputObject parameter.





OUTPUTS

None









EXAMPLE 1



PS C:\\> $inpobject = (Get-StorageSubsystem)

PS C:\\> Set-StorageSubsystem -InputObject $inpobject -Description "Non-Production Testing only"



This example changes the Description field on a StorageSubsystem object.







RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=816491

Get-StorageSubsystem