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

Display Link Speed and Duplex Speed Information

Windows 8, 8.1, Server 2012,  and Server 2012 R2 has a PowerShell cmdlet called: Get-NetAdpater. This tool can be used to quickly get critical network information from a system, such as Half or Full Duplex settings. Below is the command to get the Name, Description, MAC, Duplex, and LinkSpeed of your network adapter: Get-NetAdapter | Select-Object -Property Name,

Read More