Jeff Brown
Blogs, Articles, and Posts
Azure Automation Hybrid Worker Groups: Getting Started Guide
(jeffbrown.tech)
In previous posts, you learned how to create your first Azure Automation PowerShell runbook and
By: Jeff Brown submitted:Aug 5 2022
In previous posts, you learned how to create your first Azure Automation PowerShell runbook and
configure authentication to Azure resources. With these tools available, your next step is to expand your runbook's reach outside of Azure to on-premises resources. Azure Automation makes this possible with Hybrid Worker Groups. In this guide, you will learn how
By: Jeff Brown submitted:Aug 5 2022
Azure Automation Managed Identity: Getting Started
(jeffbrown.tech)
Azure Automation accounts have traditionally used Run As accounts to authenticate to other Azure
By: Jeff Brown submitted:May 26 2023
Azure Automation accounts have traditionally used Run As accounts to authenticate to other Azure
services. However, Microsoft is deprecating Azure Automation Run As accounts in favor of using a managed identity. In this tutorial, you will learn what exactly is a managed identity, how to authenticate to Azure using the managed identity in a PowerShell [...]
By: Jeff Brown submitted:May 26 2023
Azure DevOps Workload Identity & Terraform Authentication
(jeffbrown.tech)
Azure DevOps supports Workload Identity federation (powered by OpenID Connect) to authenticate to
By: Jeff Brown submitted:Apr 26 2024
Azure DevOps supports Workload Identity federation (powered by OpenID Connect) to authenticate to
Azure and Azure DevOps from your pipelines for deploying Terraform configurations. Workload Identity federation To follow along with this tutorial, you will need: To follow along with more code examples, check out this GitHub repository:JeffBrownTech/azure-devops-terraform-oidc-examples What is Workload Identity federation?
By: Jeff Brown submitted:Apr 26 2024
Errors Connecting to Skype for Business Online PowerShell Module
(jeffbrown.tech)
While Teams may have its own PowerShell module, many of the management tasks still reside in legacy
By: Jeff Brown submitted:Jun 16 2022
While Teams may have its own PowerShell module, many of the management tasks still reside in legacy
Skype for Business Online PowerShell. To connect to this service, you need to download and install the latest SkypeOnlineConnector module and create a remote PowerShell session to the service.
By: Jeff Brown submitted:Jun 16 2022
Going Deep Converting PowerShell Objects to JSON
(jeffbrown.tech)
When working with APIs, you often need to convert between PowerShell objects and JSON. Web APIs
By: Jeff Brown submitted:Jun 16 2022
When working with APIs, you often need to convert between PowerShell objects and JSON. Web APIs
accept requests in JSON notation, and your PowerShell script might have data represented as a PowerShell object. In order to use this data in a web request, you convert it to JSON.
By: Jeff Brown submitted:Jun 16 2022
How to Create Prompts in PowerShell
(jeffbrown.tech)
In this post, I'm going to demonstrate two ways to create prompts in PowerShell and how to take
By: Jeff Brown submitted:Jun 15 2022
In this post, I'm going to demonstrate two ways to create prompts in PowerShell and how to take
action on the response.
By: Jeff Brown submitted:Jun 15 2022
How to Write Awesome Functions with PowerShell Parameter Sets
(jeffbrown.tech)
PowerShell parameter sets are a great tool to have in your function writing arsenal. With PowerShell
By: Jeff Brown submitted:Jun 16 2022
PowerShell parameter sets are a great tool to have in your function writing arsenal. With PowerShell
parameter sets, you can create a function that has different parameters for multiple scenarios. The user can specify different parameters so the function can take different actions based on the input.
By: Jeff Brown submitted:Jun 16 2022
Mastering PowerShell Dynamic Arrays
(jeffbrown.tech)
PowerShell arrays are a powerful construct when working with a group of similar items. You can loop
By: Jeff Brown submitted:Dec 16 2022
PowerShell arrays are a powerful construct when working with a group of similar items. You can loop
through them and access items using their index values. However, adding or removing items to a fixed array is not intuitive and, depending on the method, can cause performance issues. This article will teach you different strategies
By: Jeff Brown submitted:Dec 16 2022
PowerShell Begin Process End Blocks Demystified
(jeffbrown.tech)
If you want to take your PowerShell function writing skills to the next level, consider implementing
By: Jeff Brown submitted:Jan 13 2023
If you want to take your PowerShell function writing skills to the next level, consider implementing
Begin, Process, and End blocks. These input processing methods enable your functions to process pipeline input and multiple parameter values. In this article, you will learn the basic syntax of PowerShell Begin, Process, and End blocks.
By: Jeff Brown submitted:Jan 13 2023
PowerShell Confirm Parameter: Best Practices for Safe Scripting
(jeffbrown.tech)
The PowerShell Confirm parameter is an essential safeguard that prompts users before performing
By: Jeff Brown submitted:Sep 27 2024
The PowerShell Confirm parameter is an essential safeguard that prompts users before performing
potentially destructive actions. This article will explore how to implement the -Confirm parameter in custom PowerShell functions to make them more robust and user-friendly. What is the PowerShell Confirm parameter?
By: Jeff Brown submitted:Sep 27 2024
PowerShell ForEach: Everything You Need to Know
(jeffbrown.tech)
The PowerShell ForEach loop is an excellent tool for iterating through a collection, such as an
By: Jeff Brown submitted:Jun 2 2023
The PowerShell ForEach loop is an excellent tool for iterating through a collection, such as an
array of items. You can take action on each item in the array using one or more commands. In this tutorial, you will learn all about the different ForEach statements available in PowerShell and how to implement each.
By: Jeff Brown submitted:Jun 2 2023
PowerShell RegEx: Getting Started Guide
(jeffbrown.tech)
PowerShell stands out as a versatile tool in scripting and automation, offering a wide array of
By: Jeff Brown submitted:Aug 23 2024
PowerShell stands out as a versatile tool in scripting and automation, offering a wide array of
functionalities to manage systems and process data. One PowerShell feature is the ability to use Regular Expressions (RegEx), a method for searching, matching, and manipulating strings based on specific patterns.
By: Jeff Brown submitted:Aug 23 2024
PowerShell Script Parameters: Getting Started Guide
(jeffbrown.tech)
PowerShell script parameters are vital components that enable the customization and versatility of
By: Jeff Brown submitted:Mar 1 2024
PowerShell script parameters are vital components that enable the customization and versatility of
scripts, functions, and cmdlets. PowerShell parameters enhance the usability and adaptability of scripts by allowing users to pass information into the code instead of hardcoding values. Understanding how to define, manipulate, and leverage PowerShell parameters is essential for proficient scripting in PowerShell.
By: Jeff Brown submitted:Mar 1 2024
PowerShell Splatting: Make Commands Shorter Again!
(jeffbrown.tech)
PowerShell commands can have lots of parameters. It can be difficult typing all of them out with
By: Jeff Brown submitted:Jun 16 2022
PowerShell commands can have lots of parameters. It can be difficult typing all of them out with
their values or using backticks to perform line continuation. Sounds like a case for PowerShell splatting!
By: Jeff Brown submitted:Jun 16 2022
PowerShell Tab Completion: The Ultimate Guide
(jeffbrown.tech)
Adding tab completion to your PowerShell parameters (or arguments) is a great way to enhance the
By: Jeff Brown submitted:Dec 2 2022
Adding tab completion to your PowerShell parameters (or arguments) is a great way to enhance the
user experience. You provide the user with possible values or build a dynamic list of values so the user knows what they can use. This article will teach you five ways to add tab completion to PowerShell functions. Using [...]
By: Jeff Brown submitted:Dec 2 2022
Tips and Tricks to Using PowerShell Dynamic Parameters
(jeffbrown.tech)
A neat but often unknown feature is the PowerShell dynamic parameter. These are no ordinary
By: Jeff Brown submitted:Jun 16 2022
A neat but often unknown feature is the PowerShell dynamic parameter. These are no ordinary
parameters as dynamic parameters only exist when certain conditions are met. Imagine the possibilities!
By: Jeff Brown submitted:Jun 16 2022
Using PowerShell WhatIf So You Don’t Break Stuff
(jeffbrown.tech)
PowerShell is a powerful scripting language and automation tool. You make changes for one thing or
By: Jeff Brown submitted:Jun 16 2022
PowerShell is a powerful scripting language and automation tool. You make changes for one thing or
hundreds of things using the same script or function. One amazing feature to add to your functions is the PowerShell -WhatIf parameter. This parameter tells you what the function is going to do before you execute it for real.
By: Jeff Brown submitted:Jun 16 2022
Books, Media, and Learning Resources
PowerShell Advanced Functions: Getting Started Guide
(jeffbrown.tech)
Advanced functions take your PowerShell development to the next level, letting you create
By: Jeff Brown submitted:Sep 20 2024
Advanced functions take your PowerShell development to the next level, letting you create
cmdlet-like scripts with advanced features. In this article, we'll dive into what makes cmdlets and advanced functions essential in PowerShell, with examples and tips to help you master them. What is a cmdlet? A PowerShell cmdlet (pronounced "command-let") performs a specific task
By: Jeff Brown submitted:Sep 20 2024