Microsoft Virtualization Discussions

Setting hybrid-cache policy on a volume

aleksandar_stefanov
4,130 Views

Hi,

Is there way to set read-cache and write-cache policies for volumes on a Flash Pool aggregate using Powershell? I can't find such command. Thanks.

Regards,

Aleksandar

1 ACCEPTED SOLUTION

aleksandar_stefanov
4,130 Views

Solution: Invoke-NaSsh "priv set advanced; priority hybrid-cache set <volume> <policy>

View solution in original post

3 REPLIES 3

bsti
4,130 Views

I don't think there is an API or Powershell cmdlet per se, but you can always fall back on invoke-nassh and pass the CLI command in.

aleksandar_stefanov
4,130 Views

Because this is done in "priv set advanced" mode, any idea how to pipe two commands in one Invoke-NaSSH instance? Thanks

aleksandar_stefanov
4,131 Views

Solution: Invoke-NaSsh "priv set advanced; priority hybrid-cache set <volume> <policy>

Public