([WMICLASS]"\\$RemoteSystem\ROOT\CIMV2:win64_process").Create("cmd.exe /c C:/InstallSetup/Program.exe /s /v`" /qn")
write-host "Successfully installed"
But even running this on a single system gives error
Where RemoteSystems =nyplab01 to nyplab10 ( 10 computer systems)
Path of the executable will be on my local desktop C Drive (C:/InstallSetup/Program.exe).
I also need to provide credentials for the admin for all windows.
there could be times where these is error incase the admin password changed by user then i need to display error because of this or maybe the system is 32 bit.
Now i am not sure of installing this over the network would be good idea or first copy the executable and then run it locally on the remote computers.