Category Archives: Learn_Powershell

Powershell commands – my quick reference

Posted in Learn_Powershell, Powershell, Productivity, Uncategorized | Tagged | Leave a comment

PowerShell06- PowerShell result display options

PowerShell developers needs to analyze the commands and results many a time, it is good to know how the results can be formatted for better visibility. I will share few examples which can be used for reference… • Get-Process | … Continue reading

Posted in Learn_Powershell, Powershell | Tagged , , | Leave a comment

PowerShell05 – PowerShell Prompt

Many a time I work on different files in different folders and change the prompt to different location. The challenge is the available space to write commands on single line. For simplicity, I will share simple function to move the … Continue reading

Posted in Learn_Powershell, Powershell | Tagged , , , | Leave a comment

PowerShell04 – Pipeline, Filtering, Grouping and Sorting examples

Pipeline: PowerShell pipeline takes the output from one command and sends it as input to another command. Simple Example: Sorting CmdLet results: Sort-Object -Property XXX can be used to sort the results in output Example to sort process information based … Continue reading

Posted in Learn_Powershell, Powershell | Tagged , , , , | Leave a comment

PowerShell03 – PowerShell script basics

Windows PowerShell script is a collection of Windows PowerShell Cmdlets/Commands. PowerShell scripts can be executed like batch files and it can also be configured to run as scheduled task! I will share few basics to start with PowerShell Scripting… • … Continue reading

Posted in Learn_Powershell, Powershell | Tagged , , , | Leave a comment

Powershell02 – CmdLet Parameters, Variables

Cmdlets can accept parameters which can be used while processing cmdlets. I would like to talk about 2 types of parameters, Default parameters and named parameters • Default parameter: If the parameter is default parameter, you do not have to … Continue reading

Posted in Learn_Powershell, Powershell | Tagged , , , | Leave a comment

LearnPowerShell 01 – Basics for first time PowerShell users

Installation: PowerShell is expected to be installed on your Windows-7/ Windows-8 machine by default. If not already installed, use instructions at https://technet.microsoft.com/en-us/library/hh847837.aspx to install PowerShell. How to Open (Powershell/ Powershell ISE): Run Powershell / Powershell_ISE commands to start using PowerShell … Continue reading

Posted in Learn_Powershell, Powershell | Tagged , , , , , | Leave a comment