Microsoft Virtualization Discussions
Microsoft Virtualization Discussions
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
Solved! See The Solution
Solution: Invoke-NaSsh "priv set advanced; priority hybrid-cache set <volume> <policy>
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.
Because this is done in "priv set advanced" mode, any idea how to pipe two commands in one Invoke-NaSSH instance? Thanks
Solution: Invoke-NaSsh "priv set advanced; priority hybrid-cache set <volume> <policy>