0
votes

When I have 1 computer in $ComputerName it works but when I add another computer name it gives error.Code & Error

Post your code as code and not as a screenshot please, same applies for the error, should be plain textSantiago Squarzon
Code seems fine, looks like an issue with server2 (eg. it's not responding to WMI queries)Mathias R. Jessen