Tag Archives: Powershell

Change Local Admin Password Remotely

Microsoft disabled changing the local admin account of computers via GPO due to a security vulnerability. This link goes into further detail regarding this issue: MS14-025-Vulnerability If you want to change passwords remotely on your environments computers, the following script can be used. Before running, you’ll want to generate a text file of the machines you

Read More

See How Long An Application Has Been Running

Using Microsoft’s PowerShell cmdlet: New-TimeSpan you can see how long an application has been running Command: New-TimeSpan -Start (get-process calc).StartTime You will want to sub the word “calc” out for whatever application you are using. You can type “get-process” to see a list of all the ProcessNames running on the system. For more examples, check out: https://technet.microsoft.com/en-us/library/Ee176916.aspx