Hi,
I am fairly new to all this PowerShell stuff. Can someone tell me the best way to create a PowerShell Script which includes admin rights. (if it is required)
Let me explain:
I have a problem with my friends computer, there will be no audio coming through the computer, normally after an update. Once the service Audiosrv is restarted it works.
(I know he could try get it fixed but he is lazy just trying to help him out when I am not there)
I have created the script but get the error when running it.
"restart-service : Service 'Windows Audio (audiosrv)' cannot be stopped due to the following error: Cannot open
audiosrv service on computer '.'. "
Script is - restart-service audiosrv