top of page

Working with Packages/Modules

Package and Module management can be a pretty important piece of using PowerShell to automate or to just run simple scripts to father...

ErrorAction(s)

An ErrorAction in PowerShell is a feature that helps direct the shell as to what action should be taken if a particular error or warning...

Null. Empty. Space? How to Detect?

** Disclaimer ** I do not know everything about PowerShell and I am sure I will miss some methods of detection of empty values. However,...

Output Files - Keep Track!

Output files from scripts can be useful for assessments, tracking changes, documenting settings and more. These files may be named in...

PowerShell, Delimiters and Building CSVs

Handling your PowerShell scripts output is pretty important. The output files could be used for reporting, documentation or just general...

Get Out! (-GridView)

One of the more interesting cmdlets that was pointed out to me recently is Out-GridView. I found that for a script I wrote, being able...

What to do without -WhatIf?

Imagine you are testing out a new script and you find a cmdlet that does not have a '-WhatIf' switch available as an option. What can you...

Documentation Script Tip

** Note ** Apologies for the late post, was working on getting one book out and just finished up the technical material for another book....

Joining Lines with PowerShell

The ability to join multiple lines or multiple variables into one line or one variable can prove quite useful when working with certain...

Drop Folder PowerShell

Drop folders can be used for a lot of things. Files placed in these folders can be processed by PowerShell for whatever purpose they...

CIM to WMI

Years ago WMI was de-emphasized for CIM. Wait. Do you know what those are? CIM - "The Common Information Model (CIM) is an extensible,...

AD Sites and Services PowerShell

Oft overlooked parts of Active Directory is Sites and Services. If it isn't overlooked, it can be effectively ignore or it's...

eDiscoveryCaseAdmin (SCC)

The Security and Compliance Center is a central piece of the story of security within Microsoft's Office 365 cloud solution. Like...

PowerShell Cmdlet Permissions

When it comes to permissions and PowerShell, one item that is sometimes overlooked is permissions required to run PowerShell cmdlets. Why...

Tweeting with PowerShell

PowerShell and Twitter. Would seem like an odd pair. However, you might find that there are some practical uses to the combination of...

Schedule It!

Schedule it. Automate it. Leveraging this function enables a coder to expand what they can accomplish with scripting in an environment. ...

Conditional Variables

Making decisions in PowerShell. In this weeks PowerShell tip of the week we will review ways we can use variables to help drive scripts...

Add a Bit of Color to PowerShell

I'll admit that using color in PowerShell is more of an afterthought for most scripts, it does come in handy for certain situations. One...

PowerShell Pause

Waiting is a game that can be played even with PowerShell. There are a few options when working PowerShell and pausing its operation to...

PowerShell Parameters (Basic)

Why use external arguments for PowerShell scripts? External parameters allow for options to be selected that correspond to functions or...

© 2016-2020 by Damian Scoles and Dave Stork.

bottom of page