Powershell is not working Properly

Is there a solution?

@arunshiva : have you found any solution on this?

Hi,

I also want to change resolution using powershell
But when use the command-set DisplayResolution -Height 1078 -Width 786
then it throws an error msg-commandNotFoundException

Sorry dudes but while looking for solutions for my own problems I just realized that, in the parameter list, you are adding a “-” before the parameter name.

Have you tried without doing so? I mean… When I pass parameters in a PowerShell actinvity, I only specify the parameter name, without any hypen prior to it, as I understand it’s the activity’s duty to add whatever it needs. And, of course, that way is working for me.

To summarize: the parameter name should be that: only the parameter name. Not with a hypen.