<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Scripts - GetToTheCloud</title><link>https://www.gettothe.cloud/tag/scripts/</link><description>Latest Scripts posts on GetToTheCloud</description><generator>Hugo</generator><language>en</language><lastBuildDate>Tue, 03 Mar 2026 10:14:00 +0100</lastBuildDate><atom:link href="https://www.gettothe.cloud/tag/scripts/index.xml" rel="self" type="application/rss+xml"/><item><title>Azure Local | DevOps – Custom Image Part I</title><link>https://www.gettothe.cloud/azure-local-devops-custom-image-part-i/</link><pubDate>Tue, 03 Mar 2026 10:14:00 +0100</pubDate><guid>https://www.gettothe.cloud/azure-local-devops-custom-image-part-i/</guid><category>Azure</category><category>Azure DevOps</category><category>Azure Local</category><category>Azure Virtual Desktop</category><category>Infrastructure</category><category>Onpremises</category><category>PowerShell</category><description>This DevOps pipeline automates the replication of images from the Azure Compute Gallery to Azure Local. It validates the environment, imports the latest image version, cleans up temporary resources, and optionally applies retention policies to remove outdated images. With support for dry‑run mode and customizable scheduling, the pipeline offers a reliable, repeatable, and fully automated workflow, …</description></item><item><title>Azure Local | DevOps – Custom Image Part II</title><link>https://www.gettothe.cloud/azure-local-devops-custom-image-part-ii/</link><pubDate>Tue, 03 Mar 2026 10:14:00 +0100</pubDate><guid>https://www.gettothe.cloud/azure-local-devops-custom-image-part-ii/</guid><category>Azure</category><category>Azure DevOps</category><category>Azure Local</category><category>Azure Virtual Desktop</category><category>Code</category><category>Infrastructure</category><category>PowerShell</category><description>This DevOps pipeline automates the full lifecycle of images in an Azure Local environment. It analyzes existing versions, applies retention rules, and identifies outdated images for cleanup. Temporary artifacts are removed and detailed validation ensures only approved image versions remain. With optional dry‑run mode and flexible scheduling, the pipeline delivers a reliable, repeatable process …</description></item><item><title>Azure Local | PowerShell – Get Latest ISO image</title><link>https://www.gettothe.cloud/azure-local-powershell-get-latest-iso-image/</link><pubDate>Thu, 22 Jan 2026 15:29:29 +0100</pubDate><guid>https://www.gettothe.cloud/azure-local-powershell-get-latest-iso-image/</guid><category>Azure Local</category><category>Code</category><category>PowerShell</category><description>A reliable PowerShell script can streamline the process of fetching the latest Azure Local ISO, ensuring your environment remains up to date with minimal effort. By automating version checks, downloading the newest build, and validating file integrity, this script removes manual overhead and reduces deployment risks. It’s a simple yet powerful addition to any administrator’s toolkit, enabling …</description></item><item><title>Graph API | Function to retrieve data until all is retrieved</title><link>https://www.gettothe.cloud/graph-api-function-to-retrieve-data-until-all-is-retrieved/</link><pubDate>Tue, 04 Apr 2023 10:31:56 +0200</pubDate><guid>https://www.gettothe.cloud/graph-api-function-to-retrieve-data-until-all-is-retrieved/</guid><category>Code</category><category>Microsoft Graph API</category><category>PowerShell</category><description>Graph API will only result the first 999 results with an odata.nextlink parameter. In this function we will use this parameter to add the rest of the “next page” untill all is retrieved.</description></item><item><title>Terraform | Deploy Virtual Machines to AWS</title><link>https://www.gettothe.cloud/terraform-deploy-virtual-machines-to-aws-2/</link><pubDate>Fri, 24 Mar 2023 11:08:05 +0100</pubDate><guid>https://www.gettothe.cloud/terraform-deploy-virtual-machines-to-aws-2/</guid><category>AWS</category><category>Cloud</category><category>Infrastructure</category><category>Terraform</category><description>Before we used Terraform to deploy virtual machines with needed resources to Azure. Now we are using Terraform to accomplish the same to AWS. A Blogpost about the ins and outs.</description></item><item><title>Azure Bicep | Deploy Virtual Machines</title><link>https://www.gettothe.cloud/azure-bicep-deploy-virtual-machines/</link><pubDate>Mon, 13 Mar 2023 11:46:19 +0100</pubDate><guid>https://www.gettothe.cloud/azure-bicep-deploy-virtual-machines/</guid><category>Azure</category><category>Cloud</category><category>Code</category><category>Infrastructure</category><description>Using Azure Bicep will give you the the control of deployment of resources in Azure. Every time deploying the bicep will check if the desired state still is available or needs to be changed. Using it in a DevOps Pipeline is great for continuous deployment.</description></item><item><title>Azure Active Directory Assessment | Part VI</title><link>https://www.gettothe.cloud/azure-active-directory-assessment-part-vi/</link><pubDate>Fri, 10 Mar 2023 11:57:43 +0100</pubDate><guid>https://www.gettothe.cloud/azure-active-directory-assessment-part-vi/</guid><category>Azure Active Directory</category><category>Cloud</category><category>Identity</category><category>Microsoft Graph API</category><category>PowerShell</category><description>In this part we are going to get all RBAC roles for Azure Active Directory and their members. Some identities are Eligible and some are Active. An overview of the status is needed to see if there is no legacy permissions assigned.</description></item><item><title>Azure Active Directory Assessment | Part V</title><link>https://www.gettothe.cloud/azure-active-directory-assessment-part-v/</link><pubDate>Sun, 05 Mar 2023 12:00:00 +0100</pubDate><guid>https://www.gettothe.cloud/azure-active-directory-assessment-part-v/</guid><category>Azure Active Directory</category><category>Cloud</category><category>Identity</category><category>Microsoft Graph API</category><category>PowerShell</category><description>In this part we will get an export of the Conditional Access Policies and App Regsitrations and Enterprise Applications with there API permissions. Also the client secret or certificate information will be exported to get a good sight on it.</description></item><item><title>Azure Active Directory Assessment | Part IV</title><link>https://www.gettothe.cloud/azure-active-directory-assessment-part-iv/</link><pubDate>Wed, 01 Mar 2023 12:00:00 +0100</pubDate><guid>https://www.gettothe.cloud/azure-active-directory-assessment-part-iv/</guid><category>Azure Active Directory</category><category>Cloud</category><category>M365</category><category>PowerShell</category><description>In this part we will take a look how to retrieve the licenses and organization information. We are going to use this information to write a small report at the end of the assessment.</description></item><item><title>Azure Active Directory Assessment | Part I</title><link>https://www.gettothe.cloud/azure-active-directory-assessment-part-i/</link><pubDate>Fri, 24 Feb 2023 08:22:02 +0100</pubDate><guid>https://www.gettothe.cloud/azure-active-directory-assessment-part-i/</guid><category>Azure Active Directory</category><category>Cloud</category><category>Identity</category><category>Security</category><description>With the use of Azure Active Directory and multiple administrator, the chance that it is going to be messy is big. To check if everything is correct created and managed, you can do an assessment.</description></item><item><title>Active Directory | Setup Test Domain Controller</title><link>https://www.gettothe.cloud/active-directory-setup-test-domain-controller/</link><pubDate>Fri, 03 Feb 2023 09:21:35 +0100</pubDate><guid>https://www.gettothe.cloud/active-directory-setup-test-domain-controller/</guid><category>Active Directory</category><category>Onpremises</category><category>PowerShell</category><description>Using Azure Active Directory in a production environment is not a place to play around and to test. For that you can setup a new domain controller with some fictive users and groups. Let’s set it up quickly with PowerShell.</description></item><item><title>M365 Migration | Exchange Inventory v2</title><link>https://www.gettothe.cloud/m365-migration-exchange-inventory-v2/</link><pubDate>Fri, 27 Jan 2023 16:13:28 +0100</pubDate><guid>https://www.gettothe.cloud/m365-migration-exchange-inventory-v2/</guid><category>Cloud</category><category>Exchange</category><category>Identity</category><category>M365</category><category>PowerShell</category><description>Being able to do a proper Exchange migration (on-premises to online or online to online), you will need a good inventory. Now we improved the scripting to speed it up.</description></item><item><title>M365 Cross Tenant Migration | Part V</title><link>https://www.gettothe.cloud/m365-cross-tenant-migration-part-v/</link><pubDate>Thu, 19 Jan 2023 10:00:00 +0100</pubDate><guid>https://www.gettothe.cloud/m365-cross-tenant-migration-part-v/</guid><category>Cloud</category><category>Exchange</category><category>M365</category><category>Tenant to Tenant Migration</category><description>After the migration, the SMTP domain needs to be moved. Disable all the references to the domain and remove from source tenant. Add the domain to the target tenant and add the original primary smtp address to the EmailAddresses.</description></item><item><title>M365 Migration | Exchange Inventory</title><link>https://www.gettothe.cloud/m365-migration-exchange-inventory/</link><pubDate>Wed, 18 Jan 2023 09:43:16 +0100</pubDate><guid>https://www.gettothe.cloud/m365-migration-exchange-inventory/</guid><category>Cloud</category><category>Exchange</category><category>M365</category><description>Being able to do a proper Exchange migration (on-premises to online or online to online), you will need a good inventory. Let’s get some information from Exchange.</description></item><item><title>M365 Cross Tenant Migration | Part IV</title><link>https://www.gettothe.cloud/m365-cross-tenant-migration-part-iv/</link><pubDate>Tue, 17 Jan 2023 14:24:23 +0100</pubDate><guid>https://www.gettothe.cloud/m365-cross-tenant-migration-part-iv/</guid><category>Cloud</category><category>Exchange</category><category>M365</category><category>Tenant to Tenant Migration</category><description>Migrating users can be done with the migration endpoint. Distribution lists are not supported to be migrated, so you need to do it manually.</description></item><item><title>M365 Migration | Exchange Unattended App Registration</title><link>https://www.gettothe.cloud/m365-migration-exchange-unattended-app-registration/</link><pubDate>Wed, 11 Jan 2023 13:33:20 +0100</pubDate><guid>https://www.gettothe.cloud/m365-migration-exchange-unattended-app-registration/</guid><category>Cloud</category><category>Exchange</category><description>Creating an app registration and saving that information can be risky. Just creating through powershell with a generated password and saving encrypted to XML is a solution…</description></item><item><title>M365 Cross Tenant Migration | Part III</title><link>https://www.gettothe.cloud/m365-cross-tenant-migration-part-iii/</link><pubDate>Mon, 02 Jan 2023 11:25:05 +0100</pubDate><guid>https://www.gettothe.cloud/m365-cross-tenant-migration-part-iii/</guid><category>Cloud</category><category>M365</category><category>Tenant to Tenant Migration</category><description>Creating migration batches for the users that are created for migration.</description></item><item><title>M365 Cross Tenant Migration | Part II</title><link>https://www.gettothe.cloud/m365-cross-tenant-migration-part-ii/</link><pubDate>Mon, 02 Jan 2023 11:24:12 +0100</pubDate><guid>https://www.gettothe.cloud/m365-cross-tenant-migration-part-ii/</guid><category>Cloud</category><category>M365</category><category>Tenant to Tenant Migration</category><description>Preparing users that needs to be migrated between tenants. In the target tenant you need to create mail users with specific information from the source tenant.</description></item><item><title>M365 Cross Tenant Migration | Part I</title><link>https://www.gettothe.cloud/m365-cross-tenant-migration/</link><pubDate>Mon, 02 Jan 2023 11:22:40 +0100</pubDate><guid>https://www.gettothe.cloud/m365-cross-tenant-migration/</guid><category>Cloud</category><category>M365</category><category>Tenant to Tenant Migration</category><description>At the 1st. of November 2022 Microsoft released the Cross Tenant User Data Migration option in M365. Giving administrators to consolidate multiple tenants to a single tenant.</description></item></channel></rss>