PowerShell – Fetch Logon Scripts to Create AD group Creation and Populate

In today’s fast-paced IT environments, automation is key to managing resources efficiently. PowerShell, Microsoft’s task automation and configuration management framework, is a powerful tool for system administrators. We have got a new requirement:   Download the script from Git or PowerShell gallery from below links: Git: https://github.com/VikasSukhija/Downloads logonscript2aadgroups.ps1 PowerShell Gallery: https://www.powershellgallery.com/packages/logonscript2aadgroups Install-Script -Name logonscript2aadgroups Update…

Monitor PowerAutomate Flows for Failures

Most of the admins and developers working on automation have built hundreds of flows in PowerAutomate but they do not get timely failure alerts so that they can resubmit the flows. We were also facing the same issues with our ever-increasing flows and not getting the flow failure messages until later in the week. After…

PowerShell TIP – .replace vs -replace

I have been writing PowerShell scripts simple to advanced from a long time but still sometimes I get amazed with things that I come across while reviewing the automations and scripts. These are smaill things but can cause big issues if awareness is not there. We always consider Powershell as case insensitive but this scenario…

Get-IntuneManagedDevice | Get-MSGraphAllPages Stopped Fetching All Devices

We have recently faced issues with few of our automations that were fetching all the managed devices using below command: Get-IntuneManagedDevice | Get-MSGraphAllPages Our automations were working since last 2 years and suddenly in September 2021, these started giving issues, on troubleshooting more we have found that above command was only returning 950 devices whereas…