What is PowerShell

PowerShell is a programming language released by Microsoft that not only allows management of Windows operating systems by creating scripts and applications, it also allows for integration of other programming languages like C#,VB,SQL and even DOS commands. This is a very robust scripting language that encompasses all facets of server management. If there is information or settings required there is a way to get the job done using PowerShell.

PowerShell used along with task scheduler can be utilized for creating reports, maintaining system configurations, deletion of logs files, truncating SQL logs and much more…When I started learning PowerShell I found the language to be simple enough to read through code and examples to understand what the end result would be. If you are just getting started look through the items listed under my Basic menu to understand some of the fundamentals of Cmdlets and Statements.

Special Note: - There are many newer PowerShell Cmdlets avaialbe with newer versions of PowerShell. (5.x). Most of the commands and tools on this site are designed to work backward compatible to PowerShell version 2. The reason for this is the newer Cmdlets will not work on older operating systems like Windows 7 and Windows 2008 R2. I will be adding a section dedicated to newer Cmdlets in the near future, but these al should work on PowerShell version 2-7.

Excluding PowerShell Core 6, that is an odd ball compared to all the others.

Examples: