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

I came across an issue with Invoke-WebRequest trying to access a site using TLS 1.2 and discovered the problem was with PowerShell defaults.

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.

Reset WSUS Settings And Use Windows Update

Reset WSUS Settings And Use Windows Update

I was recently reminded that my WSUS server is no longer available on the network. The Windows 8.1 tablet couldn’t find it and as a result couldn’t update to Windows 10. This is how I reset WSUS settings on the tablet and used Windows Update for the future.

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.