Patrick Ogenstad bio photo

Patrick Ogenstad

This site is in hybernation mode. To view my current work please visit Networklore.

Twitter LinkedIn Github

All Posts

2009

About Code Signing

There was a lot of love going around in May 2000, but as they say love hurts. If organizations would have had some code signing routines in place, the ILOVE...

2008

Verbose, Parameter

Some cmdlets can provide verbose data. This is disabled by default but can be enabled by using the -Verbose parameter. This can be useful if you want to log...

OutBuffer, Parameter

The OutBuffer parameter determines how many objects will be buffered before calling the next cmdlet in the pipeline. Instead of typing out -OutBuffer you c...

ErrorAction, Parameter

Like many other aspects of PowerShell, -ErrorAction kind of explains itself when you think of it. Basically it instructs PowerShell what action to take when...

WhatIf, Parameter

What if you just deleted 5000 accounts from your active directory domain by accident, what if there had been an easy way to make sure you were doing the rig...

ErrorVariable, Parameter

It is said that we learn from our mistakes, and that to improve learning it’s best to write things down. How about storing our mistakes and errors in a vari...

Confirm, Parameter

Imagine you are feeling handy and start out to rebuild your bathroom. Now imagine you’re standing knee deep in water in your basement. I bet you wished that...

OutVariable, Parameter

Building on the Perl motto; “There’s more than one way to do it”, PowerShell lovers will tell you that they can play too. Basically the -OutVariable paramet...

Get-ExecutionPolicy

PowerShell uses for different settings called Execution Policy which governs how scripts will run on your computer and if they need to be digitally signed. ...

Concerning Execution Policy

Probably the first thing you ever do whenever you learn a new language is to write your hello world program, however in PowerShell the most simple script wil...