ICYMI: PowerShell Week of 15-November-2019

Topics include string manipulation, bash, Python and Slack applications.

Special thanks to Robin Dadswell, Prasoon Karunan V, and Kevin Laux.

Speeding Up String Manipulation

by Tobias Weltner on 10th November

Appending text to strings using “+=” is convenient but slow. Learn how to do string manipulation without slowing down PowerShell.

Monitoring with PowerShell: Monitoring Active Directory replication

by Kelvin Tegelaar on 11th November

To make sure that the domain controllers keep replicating correctly and we detect issues early we use the Active Directory cmdlets in combination with our RMM system. This makes it so we can monitor the current status of the replication and alert if it does not work for a longer period of time.

I sat down to learn enough PowerShell to recreate one of my bash functions.

by Jessica Joy Kerr on 12th November

As a user of Linux and Bash Jessica details the differences good and bad that she discovered while learning PowerShell.

Snek – Integrating Python in PowerShell

by Adam Driscoll on 14th November

Snek is a cross-platform PowerShell module for integrating with Python. It uses the Python for .NET library to load the Python runtime directly into PowerShell. Using the dynamic language runtime, it can then invoke Python scripts and modules and return the result directly to PowerShell as managed .NET objects.

Automate Azure Disk Encryption for Windows Virtual Machines

by Elan Shudnow on 14th November

The purpose of this article is to provide a script and demonstrate different scenarios in which my script can be used to help provide an automated method which can encrypt your OS and Data disks as well as automatically creating a Key Vault if one does not exist including the Access Policy configuration.

Reddit /r/PowerShell – Most Popular Weekly Post

Get-History exists, don’t forget!

Tweet of the Week

Happy Birthday PowerShell?

Youtube: Building a Slack application with PowerShell

In this video, I show how to create a Slack App with PowerShell using Universal Dashboard. I also show how to tunnel the webserver from localhost via ngrok.

@TobiasPSP @KelvinTegelaar @jessitron @AdamDriscoll @ElanShudnow