PowerCLI – increase C drive on Windows server
![](https://powershell.ro/wp-content/uploads/2023/06/c-partition-windows-servers-768x403.png)
I needed to make an automated script for configuring the VM’s hard disk 1 to a size of 100 GB, specifically targeting the C partition on a Windows server. Please refer to the usage instructions below for the script, which…