Category: Powershell

Windows PowerShell Tips

Windows PowerShell Tips Here is a selection of tips to help you get started with Windows PowerShell. Top 10 PowerShell Tips Get into the rhythm of: Verb-Noun pairing. Help is excellent, try: Get-Help Get-Command -Full Understand the power and flexibility of the piping the output of one command, (|) into …

PowerShell Get-Childitem -Exclude

PowerShell GCI -Exclude Parameter If you want to refine the output of Get-ChildItem (GCI), then consider the -Exclude parameter.  This technique seems more reliable than using PowerShell’s -Include parameter. Topics for Get-ChildItem -Exclude Example 1: To Exclude Particular Items Example 2: To Exclude More Than One Item Example 3: Excluding …

PowerShell Win32_Product

PowerShell Script to Display Installed Programs Let us ask PowerShell the question, which programs are installed on this machine?  I’ll bet you will find at least one program that has muscled its way into your computer without your approval. Topics for PowerShell’s Win32_Product Mission: To List Your Installed Programs Barking …

PowerShell Win32_NetworkAdapterConfiguration

PowerShell Win32_NetworkAdapterConfiguration Windows Management Instrumentation (WMI) provides a way of accessing details of your operating system that are normally hidden from the Control Panel, Device manager or IpConfig.  While there are 7 WMI classes dealing with network properties, the most versatile is: WMI Class Win32_NetworkAdapterConfiguration. Topics for PowerShell Win32_NetworkAdapterConfiguration PowerShell …

PowerShell and Your Dreams

PowerShell and Your Dreams To truly appreciate PowerShell you have to suspend normal thinking, and instead place your brain in a Zen-Like trance.  You need to bring to the front of your mind the worst administrative job, your most repetitive task, then believe that PowerShell commands could solve that problem. …