From 7d037b411412aa5a595728a56b7bef6c218ec739 Mon Sep 17 00:00:00 2001 From: Islam Gomaa Date: Wed, 25 Oct 2023 19:06:34 -0400 Subject: [PATCH] Update deploy-storage-spaces-direct.md I have change the static value of the cluster name "StorageSpacesDirect1" to more dynamic value "$(Get-Cluster).Name" so user will not get error when he test the steps --- .../storage/storage-spaces/deploy-storage-spaces-direct.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WindowsServerDocs/storage/storage-spaces/deploy-storage-spaces-direct.md b/WindowsServerDocs/storage/storage-spaces/deploy-storage-spaces-direct.md index 28077f7bce..f39597076c 100644 --- a/WindowsServerDocs/storage/storage-spaces/deploy-storage-spaces-direct.md +++ b/WindowsServerDocs/storage/storage-spaces/deploy-storage-spaces-direct.md @@ -262,7 +262,7 @@ Enabling the CSV cache reduces the amount of memory available to run VMs on a hy To set the size of the CSV cache, open a PowerShell session on the management system with an account that has administrator permissions on the storage cluster, and then use this script, changing the `$ClusterName` and `$CSVCacheSize` variables as appropriate (this example sets a 2 GB CSV cache per server): ```PowerShell -$ClusterName = "StorageSpacesDirect1" +$ClusterName = $(Get-Cluster).Name $CSVCacheSize = 2048 #Size in MB Write-Output "Setting the CSV cache..."