Powershell: ConvertTo-Breakpoint

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]
Tags: PowerShell

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]
Tags: Podcast

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]
Tags: PowerShell

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 PackageManagement, MSOnline, PSScriptAnalyzer, and VMware.PowerCLI. Even VSCode was feeling the pain. The good news is that the issue is resolved for some modules now.

[Read More]
Tags: PowerShell

What have you done with PowerShell this year?

Over on /r/PowerShell, we share with each other things that we have done with PowerShell every month and reflect on that at the end of the year. As I look back on my year in PowerShell, I see that I have accomplished quite a bit. Not only have I done great work in a professional setting but I have also done a lot for the PowerShell community this year.

[Read More]
Tags: PowerShell

Powershell: Introducing PSGraphPlus with Show-GitGraph

I have been presenting my PSGraph module to a few Powershell user groups. One thing I do in my demos is use local system information to generate graphs. Things like network connections and process relationships. Some of them have turned out to be quite useful. So I have started compiling them into a new module called PSGraphPlus.

One of the commands that I find myself running all the time from this module is Show-GitGraph. I spent today working on it and I would like to share my progress.

[Read More]
Tags: PowerShell

Powershell: Tracking changes

Every once in a while, I see someone ask for a way to track changes to something. It reminds me of a script I wrote once to track changes made in Active Directory. Twice a day, my team was emailed with a report showing all the user account, group membership, and group policies that were changed. It turned out to be a valuable tool in giving everyone visibility to the changes that were recently made.

I’m reminded of that script because I handled that scenario in a very generic way that could be applied to many other things that you would want to monitor.

[Read More]
Tags: PowerShell