Microsoft Virtualization Discussions

Setting hybrid-cache policy on a volume

aleksandar_stefanov
2,875 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
2,875 Views

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

View solution in original post

3 REPLIES 3

bsti
2,875 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
2,875 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
2,876 Views

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

Public