A Quick and Dirty Method for Auditing Permissions by Keyword with Powershell

Auditing NTFS permissions in Windows is not a fun task, especially in environments that may have a lot of broken inheritance deeper in the file structure. In such scenarios, Powershell can be a powerful tool to help spot check permissions, given certain keywords. The script below would be run from the Windows Server sharing the … Continue reading A Quick and Dirty Method for Auditing Permissions by Keyword with Powershell

Installing Postfix as an Outgoing Mail Relay

Mail relays are common to networks to facilitate alerting, etc.  In Windows environments, IIS SMTP relay is often used, but Postfix could be used as well. We'll walk through how to configure an outgoing Postfix as an outbound mail relay on Ubuntu 16.04. Enter the domain from which your messages will come.  Technically, this doesn't … Continue reading Installing Postfix as an Outgoing Mail Relay

Detecting where Folder Permissions are not Inherited with Powershell

Occasionally, you'll find a file server that has had permissions no longer inherited in a bunch of seemingly random places and it can be difficult to sort out where to begin with necessary changes moving forward. I happen to stumble upon how to get better visibility into inheritance with Powershell: In the example below, I … Continue reading Detecting where Folder Permissions are not Inherited with Powershell

Powershell Text to Speech

My uses for Powershell have always been very utilitarian.  However, recently I became aware that you can actually do text-to-speech, so I thought I'd play around with it a bit. This is about the simplest example: Add-Type -AssemblyName System.speech  $speak = New-Object System.Speech.Synthesis.SpeechSynthesizer  $speak.Speak('Hello, Is it me you're looking for?') There are some additional options I came across here. As … Continue reading Powershell Text to Speech

Powershell Snippets: Working with Zipped Files

Ok, here's just some basic syntax for working with Zip files with Powershell.  This was tested with Powershell 5.1...likely backwards compatible a few versions. This does the following: Creates a local folder if it doesn't exist Downloads a zip file from the web to the created local folder (URL below just a random zip I … Continue reading Powershell Snippets: Working with Zipped Files

Windows Activation Issue on Server 2016

I recently installed Server 2016 from volume license. Everything went normally on the install. However, when going to activate, I'd click on Change product key and nothing would happen. Nothing. However, launching the same activation GUI from the CMD line worked just fine. I can't find a lot of documentation on this issue, so it … Continue reading Windows Activation Issue on Server 2016