Category: Powershell

PowerShell Show-BalloonTip Function

How PowerShell Can Display a Notification Balloon This is just a fun project to learn about PowerShell functions; in particular, how to make use of .Net objects such as Windows.Forms. Show-BalloonTip Function Planning the Show-BalloonTip Function Code for the Show-BalloonTip Function Researching Windows.Forms Properties  ♣ Planning the Show-BalloonTip Function The …

PowerShell LastBootUpTime WMI

How to Check Computer UpTime Using PowerShell 3.0 I have received a few surprises when using this WMI script to see when the computer last booted.  Some servers have clearly rebooted without me realizing (remembering!).  On the other hand, I have seen laptops which the script shows haven’t actually rebooted …

PowerShell 2.0 ISE

PowerShell 2.0 ISE Integrated Scripting Engine (GUI) The command line will always be at the heart of PowerShell.  However, all scripting languages benefit from a GUI, or an Integrated Scripting Environment (ISE) as Microsoft describes this add-on console.  If you merely use PowerShell to issue a few one-line commands then …

PowerShell Retrieves Outlook Addresses

How PowerShell Interacts with Outlook The purpose of this page is to employ PowerShell to GetNameSpace("MAPI"), and thus make it possible to interact with Microsoft's Outlook client. PowerShell with Outlook Planning: PowerShell Interrogates Outlook List Senders' Addresses Instructions: Creating a PowerShell Function Ideas for Analyzing Outlook Emails Another Example Reading …

Windows PowerShell Format-List Cmdlet

Windows PowerShell Scripting – Format-List (fl) Format-List, or FL for short, allows PowerShell to control the output of your main script.  Whenever presentation of information is important, pipe the script's output into Format-List (or Format-Table). On this page I will show you examples of this straightforward, but important command. Windows …

Windows PowerShell 3.0

Windows PowerShell 3.0 Version 3 is a major upgrade of PowerShell; it has intellisense features to make newbies sure-footed as they walk through their commands.  PowerShell 3.0 also has new structures such as Workflow to make the experts more productive. PowerShell 3.0 New Features What’s New In PowerShell 3.0 Show-Command …