The PowerShell and DevOps Global Summit 2019 is one of the largest gatherings of the PowerShell community. Not only is this conference packed full of sessions, it also gives you a chance to connect with many people from the community. This is a conference that has something for everyone.[Read More]
Powershell: Everything you wanted to know about arrays
Powershell: Building Modules with the Azure DevOps Pipeline
Powershell: DependsOn Module
One nice feature of a DSC configuration is that all resources support specifying a
DependsOn property that ensures that the resources that it depends on are ran first. Every once in a while, I find myself wanting to use that feature in other scripts. I created a module called DependsOn to do that for me.
Powershell: How to create a Standard Library Binary Module
I recenty had an idea for module that I wanted to implement as a binary module. I have yet to create one using the PowerShell Standard Library so this felt like a good opportunity. I was able to use the Creating a cross-platform binary module guide to create this module without any roadblocks. We are going to walk that same process and I’ll add a little extra commentary along the way.[Read More]
Powershell: Generating random data with NameIT
I find that I often need random datasets for testing or for examples in my presentations. My favorite tool for that is NameIT. This is a PowerShell module written by Doug Finke that makes it super easy to create good looking but random data.
PS:> Invoke-Generate '[person]' -Count 3 Heather Rogers John Bailey Julia Perez
I was just at the PowerShell and DevOps Summit last week. It was great to meet so many of the people that I have worked with online. I also walked way with several ideas that I wanted to work on.
One idea came to me while sitting in Kirk Munro’s session on debugging. I was writing a lot of notes and reflecting on how I was debugging my scripts. Then I realized I could make a simple function to make it easier.[Read More]
Powershell: The PowerShell News Podcast
If you have a few minutes, I would like you to check out The PowerShell News Podcast. The Podcast is hosted by two Microsoft MVPs, Mick Pletcher and Harjit Dhaliwal. They have several episodes posted that cover a good range of PowerShell topics.
I met with Mick in person on his travels back from the MVP Summit and we connected with Harjit remotely for their latest episode, Episode 6 - Interview with Kevin Marquette from the SoCal PowerShell User Group. We talked about the SoCal PowerShell User Group, the great team that I work with at loanDepot, and a bit about my contributions to the PowerShell community.
I look forward to listening to their future episodes and connecting with them again in the future.[Read More]
Powershell: Publishing community modules to an internal PSRepository
I touched base on the idea of Using a NuGet server for a PSRepository a few days ago. This is the ideal way to distribute modules to other systems. This can include community modules. Today, I am going to cover the process that I use to republish modules from the PSGallery to an internal PSRepository.[Read More]
Powershell: Using a NuGet server for a PSRepository
Powershell: You need a Get-MyServer function
As your library of scripts and automation grows, everything you do will start to depend on your common datasets. Datasets like your user information or server details. Just think about how many scripts and tools you already have that either get a list of servers or you provide it a list of servers. It may be time for you to create a common interface to your data.[Read More]
Powershell: PSGraph 2.1.17 the record release
I just released another major update to PSGraph. This release includes new keywords and helps unlock more features of Graphviz. These features will make it easier to build entity and data model diagrams.
Powershell: Windows Defender vs PowerShell Modules, Peasecto.A
For a period of time, Windows Defender was flagging several important PowerShell modules as infected with Peasecto.A. This would prevent users from running or installing those modules. Some of the impacted modules included
VMware.PowerCLI. Even VSCode was feeling the pain. The good news is that the issue is resolved for some modules now.
Powershell: My thoughts on the future of DSC
I just saw the PowerShell team post an update on the future of Desired State Configuration (DSC). This is the first real update after the release of PowerShell Core 6.0. Without DSC support in PowerShell Core, there have been a lot of questions in the community. I want to take a moment to share my thoughts on what the PowerShell Team had to say.[Read More]
Powershell: Everything you ever wanted to know about the switch statement
Like many other languages, PowerShell has commands for controlling the flow of execution within your scripts. One of those statement is the switch statement and in PowerShell, it offers features that are not found in other languages. Today we will take a deep dive into working with the PowerShell