PowerShell Module Test-TCPConnection

I have this love versus disappointment relationship with PowerShell. It can provide a lot of great stuff for us in automation, but sometimes the thing that looks likes the best ever since sliced bread can be a bit of a disappointment. Take the cmdlet “Test-NetConnection” for example. It’s absolutely wonderful in what it does. It … Continue reading PowerShell Module Test-TCPConnection

Replacing DiskPart with PowerShell

In my previous life, I was a deployment person. MDT, WDS, WinPE & bare-metal installation were all part of my life. For managing disks, physical or virtual I always used “diskpart.exe” to create the disk layout, create bootable partitions and everything surrounding the magic of disks and partitions. Since I am trying to do as … Continue reading Replacing DiskPart with PowerShell

Using Credential Manager in PowerShell

Using PowerShell remoting can be a fantastic experience, but the number of  times I had to enter credentials to make a new pssession is getting out of hand, or to put it better a painful hand. Wouldn't it be great if you could store the credentials somewhere safe and retrieve it when necessary? Fortunately, you can! … Continue reading Using Credential Manager in PowerShell

Custom RDP Certificate on Windows Server 2012 R2

Ever since Windows 2012 the Remote Desktop host tool has been removed from the system, making it more difficult to set a custom certificate. When you're in a domain context it's more likely that you will use GPO's and domain related tools to configure your system, but in my work environment I deal with stand-alone … Continue reading Custom RDP Certificate on Windows Server 2012 R2