Thanks for the help.

I commented out all lines and re-ran the script one line at a time. The completed normally, but only reported the disk space on the first server in servers.txt

Using $WMI = GetObject(“winmgmts\\” + $server + “\root\cimv2”) work locally when I substitute the servername in quotes, i.e. “server01”.

Most servers in my domain have hyphens.

I’m Domain Admin. If the script is executed from my system – it should run OK on all systems in the domain.

I’ll post the code and servers.txt later today.