Powershell

PowerShell God Mode

Before you can run a PowerShell script, the execution policy needs to allow this. Typically, you would use this line to enable script execution:...

read more

Checking Windows Updates

To check all installed updates on a Windows box, there is a COM library you can use. Unfortunately, this library isn't very intuitive to use,...

read more

Getting Free Cheat Sheets

There are two great sources for PowerShell cheat sheets. One is the set of cheat sheets created by powershellmagazine.com which was just updated to...

read more

Start to Look at DSC

Desired State Configuration (DSC) is a new feature in PowerShell 4.0. With DSC, you can write simple configuration scripts and apply them to the...

read more

Compiling Binary Cmdlets

PowerShell functions can mimick all the features found in a true binary cmdlet--but PowerShell functions are plain PowerShell code, so anyone can...

read more

ISE Bug Locks Debugger

There is an obscure bug in the PowerShell ISE that may dead-lock the debugger. It affects PowerShell version 3.0 and 4.0. Here is a test script:...

read more

Creating Excel Reports

PowerShell objects can easily be opened in Microsoft Excel. Simply export the objects to CSV, then open the CSV file with the associated program...

read more

Use JSON to Create Objects

JSON is describing objects, similar to XML--but a lot easier. JSON allows for nested object properties, so you can retrieve information from various...

read more

Showing WPF Info Message

WPF (Windows Presentation Foundation) is a technology that enables you to create windows and dialogs. The advantage of WPF is that the window design...

read more

Sending Email via Outlook

Of course you can send emails directly via SMTP server using Send-MailMessage. But if you want to prefill an email form in your default MAPI client,...

read more
1 74 75 76 77 78 130