I am trying to use the following command:
Get-Process -cn (cat C:\officemachines.txt)
1) It tells me" Get-Process : Couldn't connect to remote machine." If I specifiy each machine in the text file individully by copying each "cn" it infact works: Get-Process -cn computername1, computername2, etc etc
What am I missing here?