blog

Blog

Technical articles, tutorials, and insights on PowerShell, .NET, Active Directory, and enterprise IT automation.

Tag
Category

Type to search across all blog posts.

How to Efficiently Remove Comments from Your PowerShell Script

blog

How to Efficiently Remove Comments from Your PowerShell Script

As part of my daily development, I create lots of code that I subsequently comment on and leave to ensure I understand what I tried, what worked, and what didn’t. This i…

cleanupcommentpowershellremovescript
Unlocking PowerShell Magic: Different Approach to Creating ‘Empty’ PSCustomObjects

blog

Unlocking PowerShell Magic: Different Approach to Creating ‘Empty’ PSCustomObjects

Today I saw an article from Christian Ritter, “PowerShell: Creating an “empty” PSCustomObject” on X that got me curious. Do people create empty objects like Christian pr…

conversionhashtableordereddictionarypowershellpscustomobject
Report Active Directory Accounts that are Synchronized with Azure AD

blog

Report Active Directory Accounts that are Synchronized with Azure AD

I was scrolling X (aka Twitter) today and saw this blog post, “PowerShell: Report On-Premises Active Directory Accounts that are Synchronized with Azure AD Connect” by K…

active directoryadazure admicrosoft graphpowershell
Function cannot be created because function capacity 4096 has been exceeded for this scope

blog

Function cannot be created because function capacity 4096 has been exceeded for this scope

I had a long day today when my long-running script (10 hours) gave me weird errors with Microsoft Graph for Teams. Finally, I solved my mistakes and reran the hand to se…

aliaseserrorsfunctionslimitspowershellwindows powershell
Connect-MgGraph: Keyset does not exist

blog

Connect-MgGraph: Keyset does not exist

I had this little issue today when I tried to schedule the Microsoft Graph script to run as a service account on a certificate. To my surprise, even tho I had all permis…

connet-mggraphgraphgraph-sdkmicrosoft graphpowershell
Strengthening Password Security in Active Directory: A PowerShell-Powered Approach

blog

Strengthening Password Security in Active Directory: A PowerShell-Powered Approach

PasswordSolution uses the DSInternals PowerShell module to gather Active Directory hashes and then combines that data into a prettified report. If you have ever used DSI…

active directoryaddsinternalshtmlpassword qualitypasswordsolution
Track Ubiquiti Unifi Stock, and get notified of changes

blog

Track Ubiquiti Unifi Stock, and get notified of changes

I am a pretty big fan of Ubiquiti and their Unifi products line. Whether it’s network equipment or their camera systems, Unifi Protect, I have it all, and I’m pretty hap…

notificationspowershellstocktrackerubiquitiunifi
Free Microsoft Azure/Office365 Fundamentals Training starting February 6th 2023

blog

Free Microsoft Azure/Office365 Fundamentals Training starting February 6th 2023

Being a Microsoft MVP has quite a few benefits. You get to be part of unique offers that help you enhance your knowledge even further. Microsoft Learning team decided to…

azurefreeo365office 365training
Upload and Download files from Azure Blob Storage using Connection String

blog

Upload and Download files from Azure Blob Storage using Connection String

They say there is a first time for everything. For me, it’s how to download and upload files to Azure Blog Storage using Connection String. Recently I was given Connecti…

az.storageazure adazure blob storagedownloadpowershellupload
PowerBGInfo – PowerShell alternative to Sysinternals BGInfo

blog

PowerBGInfo – PowerShell alternative to Sysinternals BGInfo

When I created ImagePlayground, I thought about how to show its usefulness to the general community. On how to deliver what PowerShell can do. Then I saw on some forum p…

bginfodesktop managermodulepowerbginfopowershellwallpaper