Creating Enums In PowerShell

Creating Enums In PowerShell

In a previous blog post I talked about working with enums in PowerShell and how useful they are. Would they not be even more useful if we could create and use our own enums? Yes, yes they would.

Working With Enums In PowerShell

Working With Enums In PowerShell

Enums are not the commonly used data type in PowerShell but I was recently reminded of how simple and useful they really are. And they got some love in PowerShell 5!

Force PowerShell to use TLS 1.2

Force PowerShell to use TLS 1.2

Recently I’ve begun to move the Chocolatey packages I maintain from manual to automatic updating. While going from package to package I came across an issue retrieving the downloads page for Yubico Authenticator using Invoke-WebRequest. This caught me by surprise as I was retrieving other Yubico website pages, such as developers.yubico.com, without issue.

EMET and Windows 10: Is EMET Still Needed?

EMET and Windows 10: Is EMET Still Needed?

Back in February, Microsoft released version 5.5 of the Enhanced Mitigation Experience Toolkit (EMET). This new release gave us official Windows 10 support. But we waited a long time for that support. Windows 10 was available to the masses in July 2015. But Microsoft has suggested that this new EMET is not necessary for everyone. But what does that mean exactly?

Rename Files with PowerShell

Rename Files with PowerShell

If you’re used to renaming files at the command prompt you might be surprised to discover that to rename files with PowerShell requires a few more keystrokes.