PowerShell

29 posts, newest first.

PowerShell 4 min read 31 Aug 2026 Separate configuration, execution and reporting in PowerShell Structure PowerShell scripts to separate configuration, execution, and reporting for better performance and maintainability. MN Marcos Nogueira Read →
PowerShell 3 min read 22 Aug 2026 Export a small Azure resource inventory with PowerShell PowerShell 4 min read 9 Jul 2026 Build an automation script that can resume after a failure

All posts in this category

Investigate a scheduled script that works interactively 3 min read · 14 May 2026 #troubleshooting#powershell#error-handling Pin module versions for a repeatable automation job 3 min read · 22 Mar 2026 #powershell#automation PowerShell 7.6 LTS: prepare an automation compatibility check 5 min read · 19 Mar 2026 #powershell#automation#compatibility#lts#breaking-changes Use ShouldProcess for an infrastructure change function 3 min read · 25 Jan 2026 #powershell#shouldprocess#cmdletbinding Test a reusable function with Pester 5 min read · 2 Dec 2025 #pester#powershell#modules#testing Decide when parallel execution improves a script 5 min read · 10 Oct 2025 #powershell Check native command exit codes in an automation script 4 min read · 18 Aug 2025 #powershell#exit-codes#error-handling#native-commands#troubleshooting Read and validate JSON configuration in PowerShell 2 min read · 23 Jun 2025 #powershell#configuration#json#error-handling#troubleshooting Use remoting to inspect several Windows servers 5 min read · 30 Apr 2025 #powershell#windows-server#remoting#windows#invoke-command#pssession Choose a safe approach to PowerShell credential handling 4 min read · 3 Mar 2025 #powershell#credential-handling#script-injection PowerShell 7.5 is available: review compatibility before upgrading automation 4 min read · 15 Feb 2025 #powershell#compatibility#azure-automation#net-9#upgrade#linux Add structured logging to an infrastructure script 4 min read · 6 Jan 2025 #powershell#structured-logging#transcripts#troubleshooting Investigate a module that loads in one shell but not another 4 min read · 11 Nov 2024 #powershell#troubleshooting#modules#profiles#psmodulepath Export an Azure inventory without losing object structure 3 min read · 13 Sept 2024 #powershell#inventory#select-object#azure-virtual-machines Handle script failures using try, catch and ErrorAction 4 min read · 19 Jul 2024 #error-handling#powershell#try-catch#troubleshooting Choose objects rather than formatted text for script output 4 min read · 27 May 2024 #powershell#objects#get-member#pipeline Write a reusable function with clear parameters 5 min read · 1 Apr 2024 #powershell#parameters#functions#help#validation Install PowerShell 7.4 alongside Windows PowerShell 5 min read · 7 Feb 2024 #powershell#side-by-side#windows#installation#remoting Auto shutdown an Azure VM with PowerShell 1 min read · 29 Jan 2019 #powershell#azure-virtual-machines#devtest-labs How to overwrite Tags on an Azure Resource 1 min read · 10 Jul 2018 #powershell#resource-tags How to get Tags for all the resources on the same Resource Group 1 min read · 4 Jul 2018 #powershell#resource-tags#resource-groups#azure-automation Image1 Azure Resource Manager PowerShell Module 1 min read · 15 Sept 2017 #powershell#azure-resource-manager#azure-powershell Image1 Using PowerShell on Azure Cloud Shell 1 min read · 24 May 2017 #powershell#azure-cloud-shell Using PowerShell to create VMs in Azure 2 min read · 1 Mar 2017 #powershell Azure PowerShell to manage Azure Subscriptions 2 min read · 5 Aug 2016 #powershell#azure-powershell#azure-subscriptions Azure PowerShell - Overview 3 min read · 26 Jul 2016 #powershell#azure-powershell#windows-server#microsoft-entra-id
Search