Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

change windows service "log on as" to user account. NO! Slow WMI, bad boy.

$
0
0

get-module |Select -expandedproperty exportedcommands |?{$_ -notlike "Get-WmiObject" -AND ($_ | gm -membertype method -name change) -ne $null}

 

I need this command to return a cmdlet that will change the service log on as account and password.  


Viewing all articles
Browse latest Browse all 6937

Trending Articles