Changing Services with the Command Line

Changing services, whether changing the startup type or stopping/starting them, is something every user will have to do. While it’s easy to simply go through the Services MMC that can be time consuming, especially when a PC is being slow. The prefered method would be through the Command Line, either manually or through a pre-written batch file. So how do you do this? Check below for details.
Read more of this post

PowerShell: Check System Execution Policy

Here is another quick script to check your system’s Execution Policy.

batch file: pspolicycheck.bat

@echo off
powershell.exe -noexit Get-ExecutionPolicy -list

This will give you a quick list of Execution Policies on your system and give you a PowerShell prompt. Of course you can always simple run “Get-ExecutionPolicy -list” from the Command Line or PowerShell prompt. You can download bar from the above link or copy the 2 lines above to a text file and rename it .bat.

pspolicycheck-bat

PowerShell : Uptime scripts

I wanted a quick way to determine uptime for my servers and other windows computers and so started searching for solutions. After some time I finally found some good information but it wasn’t entirely user friendly. After another 2 hours of researching and trying to get it right, I came up with these scripts for displaying your computer’s uptime. The PowerShell scripts aren’t mine (you’ll find links to the originals below) but the batch files are. Pretty simple but a nice time saver.
Read more of this post

Verified by MonsterInsights