Today’s article is another “ripped from the forums” inspired item. The question at hand is how to query the free space on the system drive for several remote computers. The system drive is normally C: as you can see with the %SystemDrive% environmental variable. But it doesn’t have to be, and in the original problem that was exactly the situation. Some servers might be C: but others might be D: or even E:, I suppose. So what’s the best way to use PowerShell to figure all of this out?


查看完整文章请点击:

https://www.petri.com/checking-system-drive-free-space-with-wmi-and-powershell?utm_source=Newsletter&utm_medium=Email&utm_campaign=Tech%20Tuesday%20[Petri%20-%20Main]%20-%20Oct,%2027th%20(ID:%201036)