Powershell works ;)

SCRIPTING BLOG

  • Trigger Azure Automation Runbook with Cloned Parameters

    This PowerShell script demonstrates how to re-trigger an Azure Automation runbook using the exact parameters of a previous job, while still allowing you to override individual values before starting the new run. This approach is extremely useful , especially when a runbook failed due to temporary issues or incorrect input. Instead of manually reconstructing all…

  • Automatically renew access token during script execution in PowreShell

    Sometimes we encounter scenarios where scripts have a longer runtime. If we are using tokens with expiration time, this can cause issues if the script runs longer than the token’s validity period. I have written a small script that automatically renews the token during script execution. This way, you don’t have to worry about managing…

  • Trigger Azure Automation Runbooks Using the Azure Management API

      Introduction This lines providing you step-by-step instructions on how to use a PowerShell script to trigger an Azure Automation Runbook using Azure REST API. We will explore each step from setting up authentication to retrieving the execution output of the runbook. Prerequisites Before starting, ensure that you have the following: Azure Subscription: You need…

  • Reset Microsoft Authentication Methods

    Normally, it isn’t much effort to Reset the Multifactor Authentication Methods.Find the User record in Entra ID and require re-registration of the Multifactor Authentication Methods.If you wondering why we need to reset these authentication methods What are the Reasons for an Reset ? But what if you have a big amount of Tickets a day…

  • Using RBAC and Application Access Policys for Applications using Exchange Online

    As automation heros we are often confronteed with tasks like automating stuff in exchange online. One task we had was not very difficult but also not that straight forward. We are speaking from sending mails over the Graph API. There are multiple aproaches to do it. For sure you can do it wrong and you…

Erhalte Benachrichtigungen über neue Inhalte direkt per E-Mail.