I am tring to change remotely the screen resolution for an end user.
So what I did is to create a Powershell that changes the resolution. If I run this scipt it works like charm. What I am trying to achive is to do this without loggin into the computer.
So my first guess was using Invoke-Command, but because the script is in a server I get the CommandNotFoundException.
+ CategoryInfo : ObjectNotFound: (\PathThServerfoder...tion800x600.ps1:String) , CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
+ PSComputerName : COMPUTERNAME
Then i tryed to create a session and then running the script, but also have no luck on this.