NAME

Set-DcsLogStore

SYNOPSIS

Sets or changes the pool used for the logstore.

SYNTAX

Set-DcsLogStore   -Pool <Object>   [ -Server <String> ]   [ -Connection <String> ]   [ -PipelineVariable <String> ]

DESCRIPTION

Sets or changes the pool used for the logstore.

PARAMETERS

-Pool<Object>
DiskPoolData object, name, or ID that identifies the pool to use for the logstore. To uniquely identify a pool by name, the server must be specified.

Required: true
Position: 1
Default value:
Accept pipeline input: true (ByValue)
Accept wildcard characters: false

-Server<String>
Computer name or ID of the server. The computer name must be unique or the name must be fully qualified.

Required: false
Position: 2
Default value:
Accept pipeline input: false
Accept wildcard characters: false

-Connection<String>
Alias of the connection to the server group. If not specified, the default connection is used.

Required: false
Position: named
Default value:
Accept pipeline input: false
Accept wildcard characters: false

-PipelineVariable<String>

Required: false
Position: named
Default value:
Accept pipeline input: false
Accept wildcard characters: false

INPUTS

DiskPoolData : Object that identifies and describes the pool.

OUTPUTS

DiskPoolData : Object that identifies and describes the pool.

NOTES

To remove the logstore setting of a server, see Reset-DcsLogStore.

EXAMPLES


-------------- Example 1 Sets the logstore for a server --------------
Get-DcsPool -Pool "Disk pool 1" | Set-DcsLogStore
			

The cmdlet Get-DcsPool is used to get the DiskPoolData object for the pool named "Disk pool 1". The object is piped to the cmdlet Set-DcsLogStore and the logstore is set to "Disk pool 1" on the server named "SSVVM01".

PoolMode:ReadWrite
ServerId:F51570F9-23FD-43C9-BE56-563D26220F18
SharedPoolId:{f554e264-6b97-11e6-80f4-00155d138904}
Alias:Disk pool 1
Description:
PresenceStatus:Present
PoolStatus:Running
Type:Dynamic
ChunkSize:128 MiB
SectorSize:512 B
MaxTiernumber:3
TierReservedPct:0
AutoTieringEnabled:True
IsAuthorized:True
InSharedMode:False
SMPAApproved:False
Sequencenumber:7010
Id:F51570F9-23FD-43C9-BE56-563D26220F18:{f554e264-6b97-11e6-80f4-00155d138904}
Caption:Disk pool 1
ExtendedCaption:Disk pool 1 on SSVVM01
Internal:False