ps1

Explore Objects

In PowerShell, anything is represented by objects, and here is a helpful one-liner that examines any object and copies its members as text into your...

read more

Managing Bit Flags (Part 1)

Occasionally, you might have to deal with bit flag values. Each bit in a number represents a certain setting, and your code might need to determine...

read more

Working With Generics

Generic types can use placeholders for actual types, and you may be wondering why that can be exciting. There are a number of data types, for...

read more

Show or Hide Windows

PowerShell can call internal Windows API functions, and in this example, we’d like to show how you can change the show state of an application...

read more

Checking Host

In the past, Microsoft shipped two PowerShell hosts: the basic PowerShell console, and the more sophisticated PowerShell ISE. Some users used code...

read more

Checking Execution Policy

Execution policy determines what kind of scripts PowerShell will execute. You need to set execution policy to something other than Undefined,...

read more
1 42 43 44 45 46 128