Enable-UnityFastCache
SYNOPSIS
Enable FAST Cache.
SYNTAX
Enable-UnityFastCache [[-session] <Object>] [-diskgroup] <String> [-numberOfDisks] <Int32> [-enableOnAllPools]
[-WhatIf] [-Confirm]
DESCRIPTION
Enable FAST Cache using specified disk group and number of disks and if specified, Enable FAST Cache on all existing pools. You need to have an active session with the array.
EXAMPLES
-------------------------- EXAMPLE 1 --------------------------
Enable-UnityFastCache -diskgroup 'DG_1' -numberOfDisks 2
Enable Fast Cache with 2 disk from the disk group 'DG_1'
PARAMETERS
-session
Specifies an UnitySession Object.
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: ($global:DefaultUnitySession | where-object {$_.IsConnected -eq $true})
Accept pipeline input: False
Accept wildcard characters: False
-diskgroup
Specify the disk group ID to include in the FAST Cache.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-numberOfDisks
Specify the number of disks to include in the FAST Cache.
Type: Int32
Parameter Sets: (All)
Aliases:
Required: True
Position: 3
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
-enableOnAllPools
Specify whether FAST Cache is enabled on all existing pools.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
INPUTS
OUTPUTS
NOTES
Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE