How to use Connect-MgGraph – All Options

Connect MgGraph

The Microsoft Graph module in PowerShell allows you to interact with different Microsoft 365 services. But to use the module, you will first need to connect to Microsoft Graph, using the Connect-MgGraph cmdlet. There are different options when it comes … Read moreHow to use Connect-MgGraph – All Options

How to Set an Environment Variable in PowerShell

powershell set env var

Environment variables are used by the operating system and applications to store configuration settings, system paths, and other information. All programs on your computer can access this data. We can use PowerShell to view, change, or set an environment variable. … Read moreHow to Set an Environment Variable in PowerShell

PowerShell ForEach-Object and ForEach Loop Explained

PowerShell Foreach Object

PowerShell ForEach and ForEach-Objects loops are one of the most commonly used functions. They allow you to easily iterate through collections. But what is the difference between ForEach-Object and the ForEach() cmdlets? Both cmdlets look similar, and basically, they allow … Read morePowerShell ForEach-Object and ForEach Loop Explained