I worked in an environment where the only way to have administrative rights was from a PowerShell console. I fully recognize that Windows services can be fully managed via PowerShell cmdlets but to simplify things, I needed to run Windows Service Manager.
To invoke Windows Service Manager from PowerShell, run services.msc from a PowerShell console where the PowerShell console is running with administrative priveledges:
Services.msc as expected launches Windows Services Manager which can run because it inherited the administrative privileges of the PowerShell console:
No comments :
Post a Comment