Power Automate: Running PowerShell Scripts
Run PowerShell scripts from your Flows using the Azure Automation connector.
PowerShell is the scripting language that quietly powers a huge amount of Microsoft automation, and this area is where I help you put it to work. If you administer SharePoint, Azure, or Microsoft 365, PowerShell handles in seconds what would take ages by clicking through menus. Here you find my hands-on scripts and the explanations that go with them, so you understand not just what to run but why it works. In How to create or associate a HubSite, I walk through managing modern SharePoint structure from the command line, which is a lifesaver when you are shaping a larger intranet. In How to replace accents in strings, I share a handy text-cleaning trick that comes up constantly when you deal with names and imported data. Many of these techniques slot right into the automations you already build with Power Automate.
Run PowerShell scripts from your Flows using the Azure Automation connector.