posts

Define Variable Checkers

When you assign a mandatory data type to a variable, then this will improve script robustness: whenever a value is (accidentally) assigned to that...

Enabling Visual Styles

When you use Windows Forms dialogs and windows, you may have noticed that they show differently, depending on whether you launched your script from...

Analyzing Script Blocks

Script blocks are simply pieces of PowerShell code. You probably use them all the time in scripts and functions. A script block is defined by braces...

Getting Screen Information

Ever needed to know the current screen resolution or related screen information? Here's an easy way of getting that information: Add-Type...

Disassembling C# Code

Adam Driscoll, another PowerShell MVP, has published a function called Get-MemberBody to PoshCode: http://poshcode.org/4127. In conjunction with the...

1 69 70 71 72 73 80