{"id":53428,"date":"2025-06-30T09:08:25","date_gmt":"2025-06-29T23:08:25","guid":{"rendered":"https:\/\/www.cloudproinc.com.au\/?p=53428"},"modified":"2025-06-30T09:08:27","modified_gmt":"2025-06-29T23:08:27","slug":"run-azure-powershell-cmdlets-using-docker-containers","status":"publish","type":"post","link":"https:\/\/www.cloudproinc.com.au\/index.php\/2025\/06\/30\/run-azure-powershell-cmdlets-using-docker-containers\/","title":{"rendered":"Run Azure PowerShell cmdlets using Docker Containers"},"content":{"rendered":"\n<p>In this blog post, we\u2019ll show you how to run Azure PowerShell cmdlets using Docker containers.<\/p>\n\n\n\n<!--more-->\n\n\n\n<div class=\"wp-block-yoast-seo-table-of-contents yoast-table-of-contents\"><h2>Table of contents<\/h2><ul><li><a href=\"#h-prerequisites\" data-level=\"2\">Prerequisites<\/a><\/li><li><a href=\"#h-pull-the-azure-powershell-docker-image\" data-level=\"2\">Pull the Azure PowerShell Docker Image<\/a><\/li><li><a href=\"#h-run-the-container-and-connect-to-azure\" data-level=\"2\">Run the Container and Connect to Azure<\/a><\/li><li><a href=\"#h-running-scripts-from-your-local-machine\" data-level=\"2\">Running Scripts from Your Local Machine<\/a><\/li><\/ul><\/div>\n\n\n\n<p><a href=\"https:\/\/www.cloudproinc.com.au\/index.php\/category\/azure-powershell\/\">Azure PowerShell<\/a> provides a familiar PowerShell interface to manage <a href=\"https:\/\/www.cloudproinc.com.au\/index.php\/category\/microsoft-azure\/\">Azure<\/a> resources and infrastructure. It enables you to automate tasks, provision resources, and integrate scripting into CI\/CD pipelines in Azure DevOps. As of its version 14 release, Azure PowerShell supports 100% of all Azure services, giving organizations the ability to automate business processes and reduce manual operations via the Azure portal.<\/p>\n\n\n\n<p>Running Azure PowerShell from a Docker container offers several key benefits:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>No local installation required<\/strong>: Azure PowerShell runs from an isolated Docker image, eliminating the need to install or manage it locally.<\/li>\n\n\n\n<li><strong>Support for multiple versions<\/strong>: You can run different versions of Azure PowerShell in containers, which is helpful when newer versions lack support for specific cmdlets.<\/li>\n\n\n\n<li><strong>Always up to date<\/strong>: The image runs the latest stable release by default.<\/li>\n\n\n\n<li><strong>Multi-environment support<\/strong>: Easily manage multiple Azure environments without repeatedly signing in and out.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-prerequisites\">Prerequisites<\/h2>\n\n\n\n<p>To get started, ensure you have the following installed:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>WSL<\/strong> (Windows Subsystem for Linux) for Windows users<\/li>\n\n\n\n<li><strong>Docker Desktop<\/strong><\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"557\" data-src=\"\/wp-content\/uploads\/2025\/06\/image-4-1024x557.png\" alt=\"\" class=\"wp-image-53429 lazyload\" data-srcset=\"\/wp-content\/uploads\/2025\/06\/image-4-1024x557.png 1024w, \/wp-content\/uploads\/2025\/06\/image-4-300x163.png 300w, \/wp-content\/uploads\/2025\/06\/image-4-768x417.png 768w, \/wp-content\/uploads\/2025\/06\/image-4-1080x587.png 1080w, \/wp-content\/uploads\/2025\/06\/image-4-980x533.png 980w, \/wp-content\/uploads\/2025\/06\/image-4-480x261.png 480w, \/wp-content\/uploads\/2025\/06\/image-4.png 1159w\" data-sizes=\"(max-width: 1024px) 100vw, 1024px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1024px; --smush-placeholder-aspect-ratio: 1024\/557;\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-pull-the-azure-powershell-docker-image\">Pull the Azure PowerShell Docker Image<\/h2>\n\n\n\n<p>Download the official <a href=\"https:\/\/github.com\/Azure\/azure-powershell\/blob\/main\/docker\/Dockerfile-ubuntu-20.04\" target=\"_blank\" rel=\"noreferrer noopener\">Azure PowerShell Docker<\/a> image with:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background has-link-color wp-elements-ce4eaf648ecd7bf0f16e5fb9edee649b\"><code>docker pull mcr.microsoft.com\/azure-powershell:latest<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-run-the-container-and-connect-to-azure\">Run the Container and Connect to Azure<\/h2>\n\n\n\n<p>Launch a container using:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background has-link-color wp-elements-87ac5f54aa76a1c6fe9ccb83ce4bb8bb\"><code>docker run -it mcr.microsoft.com\/azure-powershell:latest<\/code><\/pre>\n\n\n\n<p>Once inside the container, authenticate with Azure:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background has-link-color wp-elements-d6b5723cc79118e57b485d4966045fe4\"><code>Connect-AzAccount -UseDeviceAuthentication<\/code><\/pre>\n\n\n\n<p>You can now begin executing Azure PowerShell commands.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-running-scripts-from-your-local-machine\">Running Scripts from Your Local Machine<\/h2>\n\n\n\n<p>To run scripts stored on your local machine, mount a folder into the container:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background has-link-color wp-elements-5fe36fa0c9b15ef7513214e92376d43f\"><code>docker run -it --rm -v C:\\\\localfolder:\/data mcr.microsoft.com\/azure-powershell:latest<\/code><\/pre>\n\n\n\n<p>Inside the container, the mounted folder will appear at <code>\/data<\/code>, allowing access to your local scripts.<\/p>\n\n\n\n<p>Using Docker to run Azure PowerShell is a simple and powerful way to streamline automation without cluttering your local development environment.<\/p>\n\n\n\n<ul class=\"wp-block-yoast-seo-related-links yoast-seo-related-links\">\n<li><a href=\"https:\/\/cloudproinc.azurewebsites.net\/index.php\/2025\/06\/25\/containerize-a-blazor-net-application\/\">Containerize a Blazor .NET Application<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.cloudproinc.com.au\/index.php\/2024\/07\/25\/deploy-azure-openai-gpt-4o-resource-and-model-using-bicep\/\">Deploy Azure OpenAI GPT-4o Resource and Model using Bicep<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.cloudproinc.com.au\/index.php\/2024\/07\/25\/assigning-local-admins-to-windows-11-through-intune\/\">Assigning Local Admins to Windows 11 through Intune<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.cloudproinc.com.au\/index.php\/2025\/01\/28\/running-c-net-applications-in-azure-devops-pipelines\/\">Running C# .NET Applications in Azure DevOps Pipelines<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/cloudproinc.com.au\/index.php\/2024\/03\/28\/how-to-add-a-registry-key-to-windows-11-using-microsoft-intune\/\">How to Add a Registry Key to Windows 11 Using Microsoft Intune<\/a><\/li>\n<\/ul>\n\n\n","protected":false},"excerpt":{"rendered":"<p>In this blog post, we\u2019ll show you how to run Azure PowerShell cmdlets using Docker containers.<\/p>\n","protected":false},"author":1,"featured_media":53430,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_yoast_wpseo_focuskw":"Run Azure PowerShell cmdlets using Docker Containers","_yoast_wpseo_title":"","_yoast_wpseo_metadesc":"Learn how to run Azure PowerShell cmdlets using Docker containers for easier resource management and automation.","_yoast_wpseo_opengraph-title":"","_yoast_wpseo_opengraph-description":"","_yoast_wpseo_twitter-title":"","_yoast_wpseo_twitter-description":"","_et_pb_use_builder":"off","_et_pb_old_content":"","_et_gb_content_width":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[16,20,13,70],"tags":[],"class_list":["post-53428","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-microsoft-azure","category-azure-powershell","category-blog","category-docker"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.3 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Run Azure PowerShell cmdlets using Docker Containers - CPI Consulting<\/title>\n<meta name=\"description\" content=\"Learn how to run Azure PowerShell cmdlets using Docker containers for easier resource management and automation.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/cloudproinc.azurewebsites.net\/index.php\/2025\/06\/30\/run-azure-powershell-cmdlets-using-docker-containers\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Run Azure PowerShell cmdlets using Docker Containers\" \/>\n<meta property=\"og:description\" content=\"Learn how to run Azure PowerShell cmdlets using Docker containers for easier resource management and automation.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/cloudproinc.azurewebsites.net\/index.php\/2025\/06\/30\/run-azure-powershell-cmdlets-using-docker-containers\/\" \/>\n<meta property=\"og:site_name\" content=\"CPI Consulting\" \/>\n<meta property=\"article:published_time\" content=\"2025-06-29T23:08:25+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-06-29T23:08:27+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.cloudproinc.com.au\/wp-content\/uploads\/2025\/06\/run-auzre-powershell-using-docker-1024x683.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"683\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"CPI Staff\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"CPI Staff\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/cloudproinc.azurewebsites.net\\\/index.php\\\/2025\\\/06\\\/30\\\/run-azure-powershell-cmdlets-using-docker-containers\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/cloudproinc.azurewebsites.net\\\/index.php\\\/2025\\\/06\\\/30\\\/run-azure-powershell-cmdlets-using-docker-containers\\\/\"},\"author\":{\"name\":\"CPI Staff\",\"@id\":\"https:\\\/\\\/cloudproinc.com.au\\\/#\\\/schema\\\/person\\\/192eeeb0ce91062126ce3822ae88fe6e\"},\"headline\":\"Run Azure PowerShell cmdlets using Docker Containers\",\"datePublished\":\"2025-06-29T23:08:25+00:00\",\"dateModified\":\"2025-06-29T23:08:27+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/cloudproinc.azurewebsites.net\\\/index.php\\\/2025\\\/06\\\/30\\\/run-azure-powershell-cmdlets-using-docker-containers\\\/\"},\"wordCount\":346,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/cloudproinc.com.au\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/cloudproinc.azurewebsites.net\\\/index.php\\\/2025\\\/06\\\/30\\\/run-azure-powershell-cmdlets-using-docker-containers\\\/#primaryimage\"},\"thumbnailUrl\":\"\\\/wp-content\\\/uploads\\\/2025\\\/06\\\/run-auzre-powershell-using-docker.png\",\"articleSection\":[\"Azure\",\"Azure PowerShell\",\"Blog\",\"Docker\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/cloudproinc.azurewebsites.net\\\/index.php\\\/2025\\\/06\\\/30\\\/run-azure-powershell-cmdlets-using-docker-containers\\\/#respond\"]}],\"accessibilityFeature\":[\"tableOfContents\"]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/cloudproinc.azurewebsites.net\\\/index.php\\\/2025\\\/06\\\/30\\\/run-azure-powershell-cmdlets-using-docker-containers\\\/\",\"url\":\"https:\\\/\\\/cloudproinc.azurewebsites.net\\\/index.php\\\/2025\\\/06\\\/30\\\/run-azure-powershell-cmdlets-using-docker-containers\\\/\",\"name\":\"Run Azure PowerShell cmdlets using Docker Containers - CPI Consulting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/cloudproinc.com.au\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/cloudproinc.azurewebsites.net\\\/index.php\\\/2025\\\/06\\\/30\\\/run-azure-powershell-cmdlets-using-docker-containers\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/cloudproinc.azurewebsites.net\\\/index.php\\\/2025\\\/06\\\/30\\\/run-azure-powershell-cmdlets-using-docker-containers\\\/#primaryimage\"},\"thumbnailUrl\":\"\\\/wp-content\\\/uploads\\\/2025\\\/06\\\/run-auzre-powershell-using-docker.png\",\"datePublished\":\"2025-06-29T23:08:25+00:00\",\"dateModified\":\"2025-06-29T23:08:27+00:00\",\"description\":\"Learn how to run Azure PowerShell cmdlets using Docker containers for easier resource management and automation.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/cloudproinc.azurewebsites.net\\\/index.php\\\/2025\\\/06\\\/30\\\/run-azure-powershell-cmdlets-using-docker-containers\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/cloudproinc.azurewebsites.net\\\/index.php\\\/2025\\\/06\\\/30\\\/run-azure-powershell-cmdlets-using-docker-containers\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/cloudproinc.azurewebsites.net\\\/index.php\\\/2025\\\/06\\\/30\\\/run-azure-powershell-cmdlets-using-docker-containers\\\/#primaryimage\",\"url\":\"\\\/wp-content\\\/uploads\\\/2025\\\/06\\\/run-auzre-powershell-using-docker.png\",\"contentUrl\":\"\\\/wp-content\\\/uploads\\\/2025\\\/06\\\/run-auzre-powershell-using-docker.png\",\"width\":1536,\"height\":1024},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/cloudproinc.azurewebsites.net\\\/index.php\\\/2025\\\/06\\\/30\\\/run-azure-powershell-cmdlets-using-docker-containers\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/cloudproinc.com.au\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Run Azure PowerShell cmdlets using Docker Containers\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/cloudproinc.com.au\\\/#website\",\"url\":\"https:\\\/\\\/cloudproinc.com.au\\\/\",\"name\":\"Cloud Pro Inc - CPI Consulting Pty Ltd\",\"description\":\"Cloud, AI &amp; Cybersecurity Consulting | Melbourne\",\"publisher\":{\"@id\":\"https:\\\/\\\/cloudproinc.com.au\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/cloudproinc.com.au\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/cloudproinc.com.au\\\/#organization\",\"name\":\"Cloud Pro Inc - Cloud Pro Inc - CPI Consulting Pty Ltd\",\"url\":\"https:\\\/\\\/cloudproinc.com.au\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/cloudproinc.com.au\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/favfinalfile.png\",\"contentUrl\":\"\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/favfinalfile.png\",\"width\":500,\"height\":500,\"caption\":\"Cloud Pro Inc - Cloud Pro Inc - CPI Consulting Pty Ltd\"},\"image\":{\"@id\":\"https:\\\/\\\/cloudproinc.com.au\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/cloudproinc.com.au\\\/#\\\/schema\\\/person\\\/192eeeb0ce91062126ce3822ae88fe6e\",\"name\":\"CPI Staff\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2d96eeb53b791d92c8c50dd667e3beec92c93253bb6ff21c02cfa8ca73665c70?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2d96eeb53b791d92c8c50dd667e3beec92c93253bb6ff21c02cfa8ca73665c70?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2d96eeb53b791d92c8c50dd667e3beec92c93253bb6ff21c02cfa8ca73665c70?s=96&d=mm&r=g\",\"caption\":\"CPI Staff\"},\"sameAs\":[\"http:\\\/\\\/www.cloudproinc.com.au\"],\"url\":\"https:\\\/\\\/www.cloudproinc.com.au\\\/index.php\\\/author\\\/cpiadmin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Run Azure PowerShell cmdlets using Docker Containers - CPI Consulting","description":"Learn how to run Azure PowerShell cmdlets using Docker containers for easier resource management and automation.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/cloudproinc.azurewebsites.net\/index.php\/2025\/06\/30\/run-azure-powershell-cmdlets-using-docker-containers\/","og_locale":"en_US","og_type":"article","og_title":"Run Azure PowerShell cmdlets using Docker Containers","og_description":"Learn how to run Azure PowerShell cmdlets using Docker containers for easier resource management and automation.","og_url":"https:\/\/cloudproinc.azurewebsites.net\/index.php\/2025\/06\/30\/run-azure-powershell-cmdlets-using-docker-containers\/","og_site_name":"CPI Consulting","article_published_time":"2025-06-29T23:08:25+00:00","article_modified_time":"2025-06-29T23:08:27+00:00","og_image":[{"width":1024,"height":683,"url":"https:\/\/www.cloudproinc.com.au\/wp-content\/uploads\/2025\/06\/run-auzre-powershell-using-docker-1024x683.png","type":"image\/png"}],"author":"CPI Staff","twitter_card":"summary_large_image","twitter_misc":{"Written by":"CPI Staff","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/cloudproinc.azurewebsites.net\/index.php\/2025\/06\/30\/run-azure-powershell-cmdlets-using-docker-containers\/#article","isPartOf":{"@id":"https:\/\/cloudproinc.azurewebsites.net\/index.php\/2025\/06\/30\/run-azure-powershell-cmdlets-using-docker-containers\/"},"author":{"name":"CPI Staff","@id":"https:\/\/cloudproinc.com.au\/#\/schema\/person\/192eeeb0ce91062126ce3822ae88fe6e"},"headline":"Run Azure PowerShell cmdlets using Docker Containers","datePublished":"2025-06-29T23:08:25+00:00","dateModified":"2025-06-29T23:08:27+00:00","mainEntityOfPage":{"@id":"https:\/\/cloudproinc.azurewebsites.net\/index.php\/2025\/06\/30\/run-azure-powershell-cmdlets-using-docker-containers\/"},"wordCount":346,"commentCount":0,"publisher":{"@id":"https:\/\/cloudproinc.com.au\/#organization"},"image":{"@id":"https:\/\/cloudproinc.azurewebsites.net\/index.php\/2025\/06\/30\/run-azure-powershell-cmdlets-using-docker-containers\/#primaryimage"},"thumbnailUrl":"\/wp-content\/uploads\/2025\/06\/run-auzre-powershell-using-docker.png","articleSection":["Azure","Azure PowerShell","Blog","Docker"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/cloudproinc.azurewebsites.net\/index.php\/2025\/06\/30\/run-azure-powershell-cmdlets-using-docker-containers\/#respond"]}],"accessibilityFeature":["tableOfContents"]},{"@type":"WebPage","@id":"https:\/\/cloudproinc.azurewebsites.net\/index.php\/2025\/06\/30\/run-azure-powershell-cmdlets-using-docker-containers\/","url":"https:\/\/cloudproinc.azurewebsites.net\/index.php\/2025\/06\/30\/run-azure-powershell-cmdlets-using-docker-containers\/","name":"Run Azure PowerShell cmdlets using Docker Containers - CPI Consulting","isPartOf":{"@id":"https:\/\/cloudproinc.com.au\/#website"},"primaryImageOfPage":{"@id":"https:\/\/cloudproinc.azurewebsites.net\/index.php\/2025\/06\/30\/run-azure-powershell-cmdlets-using-docker-containers\/#primaryimage"},"image":{"@id":"https:\/\/cloudproinc.azurewebsites.net\/index.php\/2025\/06\/30\/run-azure-powershell-cmdlets-using-docker-containers\/#primaryimage"},"thumbnailUrl":"\/wp-content\/uploads\/2025\/06\/run-auzre-powershell-using-docker.png","datePublished":"2025-06-29T23:08:25+00:00","dateModified":"2025-06-29T23:08:27+00:00","description":"Learn how to run Azure PowerShell cmdlets using Docker containers for easier resource management and automation.","breadcrumb":{"@id":"https:\/\/cloudproinc.azurewebsites.net\/index.php\/2025\/06\/30\/run-azure-powershell-cmdlets-using-docker-containers\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cloudproinc.azurewebsites.net\/index.php\/2025\/06\/30\/run-azure-powershell-cmdlets-using-docker-containers\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cloudproinc.azurewebsites.net\/index.php\/2025\/06\/30\/run-azure-powershell-cmdlets-using-docker-containers\/#primaryimage","url":"\/wp-content\/uploads\/2025\/06\/run-auzre-powershell-using-docker.png","contentUrl":"\/wp-content\/uploads\/2025\/06\/run-auzre-powershell-using-docker.png","width":1536,"height":1024},{"@type":"BreadcrumbList","@id":"https:\/\/cloudproinc.azurewebsites.net\/index.php\/2025\/06\/30\/run-azure-powershell-cmdlets-using-docker-containers\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/cloudproinc.com.au\/"},{"@type":"ListItem","position":2,"name":"Run Azure PowerShell cmdlets using Docker Containers"}]},{"@type":"WebSite","@id":"https:\/\/cloudproinc.com.au\/#website","url":"https:\/\/cloudproinc.com.au\/","name":"Cloud Pro Inc - CPI Consulting Pty Ltd","description":"Cloud, AI &amp; Cybersecurity Consulting | Melbourne","publisher":{"@id":"https:\/\/cloudproinc.com.au\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/cloudproinc.com.au\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/cloudproinc.com.au\/#organization","name":"Cloud Pro Inc - Cloud Pro Inc - CPI Consulting Pty Ltd","url":"https:\/\/cloudproinc.com.au\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cloudproinc.com.au\/#\/schema\/logo\/image\/","url":"\/wp-content\/uploads\/2022\/01\/favfinalfile.png","contentUrl":"\/wp-content\/uploads\/2022\/01\/favfinalfile.png","width":500,"height":500,"caption":"Cloud Pro Inc - Cloud Pro Inc - CPI Consulting Pty Ltd"},"image":{"@id":"https:\/\/cloudproinc.com.au\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/cloudproinc.com.au\/#\/schema\/person\/192eeeb0ce91062126ce3822ae88fe6e","name":"CPI Staff","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/2d96eeb53b791d92c8c50dd667e3beec92c93253bb6ff21c02cfa8ca73665c70?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/2d96eeb53b791d92c8c50dd667e3beec92c93253bb6ff21c02cfa8ca73665c70?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2d96eeb53b791d92c8c50dd667e3beec92c93253bb6ff21c02cfa8ca73665c70?s=96&d=mm&r=g","caption":"CPI Staff"},"sameAs":["http:\/\/www.cloudproinc.com.au"],"url":"https:\/\/www.cloudproinc.com.au\/index.php\/author\/cpiadmin\/"}]}},"jetpack_featured_media_url":"\/wp-content\/uploads\/2025\/06\/run-auzre-powershell-using-docker.png","jetpack-related-posts":[{"id":231,"url":"https:\/\/www.cloudproinc.com.au\/index.php\/2024\/03\/28\/how-to-add-a-registry-key-to-windows-11-using-microsoft-intune\/","url_meta":{"origin":53428,"position":0},"title":"How to Add a Registry Key to Windows 11 Using Microsoft Intune","author":"CPI Staff","date":"March 28, 2024","format":false,"excerpt":"In this article, we'll guide you through the process of adding a registry key to Windows 11 utilizing Microsoft Intune. Estimated reading time: 2 minutes Table of contentsListen to articlePowerShell Script:Adding Script to Intune:Related Articles Listen to article As businesses increasingly embrace cloud-based solutions, the necessity for streamlined and centralized\u2026","rel":"","context":"In &quot;Blog&quot;","block_context":{"text":"Blog","link":"https:\/\/www.cloudproinc.com.au\/index.php\/category\/blog\/"},"img":{"alt_text":"","src":"\/wp-content\/uploads\/2024\/03\/WindowsReg.webp","width":350,"height":200,"srcset":"\/wp-content\/uploads\/2024\/03\/WindowsReg.webp 1x, \/wp-content\/uploads\/2024\/03\/WindowsReg.webp 1.5x, \/wp-content\/uploads\/2024\/03\/WindowsReg.webp 2x"},"classes":[]},{"id":53466,"url":"https:\/\/www.cloudproinc.com.au\/index.php\/2025\/07\/09\/top-vs-code-extensions-for-developers-and-devops-engineers\/","url_meta":{"origin":53428,"position":1},"title":"Top VS Code Extensions for Developers and DevOps Engineers","author":"CPI Staff","date":"July 9, 2025","format":false,"excerpt":"If you're searching for the Top VS Code Extensions for Developers and DevOps Engineers, you've come to the right place. Visual Studio Code (VS Code) has become one of the most popular editors for modern software development due to its speed, flexibility, and the massive ecosystem of extensions. In this\u2026","rel":"","context":"In &quot;Blog&quot;","block_context":{"text":"Blog","link":"https:\/\/www.cloudproinc.com.au\/index.php\/category\/blog\/"},"img":{"alt_text":"","src":"\/wp-content\/uploads\/2025\/07\/image-13.png","width":350,"height":200,"srcset":"\/wp-content\/uploads\/2025\/07\/image-13.png 1x, \/wp-content\/uploads\/2025\/07\/image-13.png 1.5x, \/wp-content\/uploads\/2025\/07\/image-13.png 2x"},"classes":[]},{"id":53439,"url":"https:\/\/www.cloudproinc.com.au\/index.php\/2025\/07\/02\/use-dev-containers-for-net-development\/","url_meta":{"origin":53428,"position":2},"title":"Use Dev Containers for .NET Development","author":"CPI Staff","date":"July 2, 2025","format":false,"excerpt":"In this blog post, we\u2019ll show you how to use Dev Containers for .NET development. Table of contentsWhy Use Dev Containers?RequirementsGetting StartedDevelopment in a Dev ContainerSummary The VS Code Dev Containers extension allows you to develop .NET and other applications inside a containerized environment that is isolated from your host\u2026","rel":"","context":"In &quot;.NET&quot;","block_context":{"text":".NET","link":"https:\/\/www.cloudproinc.com.au\/index.php\/category\/net\/"},"img":{"alt_text":"","src":"\/wp-content\/uploads\/2025\/05\/Add-Bootstrap-icons-dc.png","width":350,"height":200,"srcset":"\/wp-content\/uploads\/2025\/05\/Add-Bootstrap-icons-dc.png 1x, \/wp-content\/uploads\/2025\/05\/Add-Bootstrap-icons-dc.png 1.5x, \/wp-content\/uploads\/2025\/05\/Add-Bootstrap-icons-dc.png 2x, \/wp-content\/uploads\/2025\/05\/Add-Bootstrap-icons-dc.png 3x, \/wp-content\/uploads\/2025\/05\/Add-Bootstrap-icons-dc.png 4x"},"classes":[]},{"id":53432,"url":"https:\/\/www.cloudproinc.com.au\/index.php\/2025\/07\/01\/automate-app-development-with-openais-codex\/","url_meta":{"origin":53428,"position":3},"title":"Automate App Development with OpenAI&#8217;s Codex","author":"CPI Staff","date":"July 1, 2025","format":false,"excerpt":"In this blog post, we explore how to automate app development with OpenAI's Codex. Table of contentsWhat is Codex?Requirements to Use CodexAutomate App Development with OpenAI's CodexUsing Codex with TasksReviewing Codex Pull RequestsFinal Thoughts Codex is an AI development agent that enables developers to manage and enhance projects through natural\u2026","rel":"","context":"In &quot;Blog&quot;","block_context":{"text":"Blog","link":"https:\/\/www.cloudproinc.com.au\/index.php\/category\/blog\/"},"img":{"alt_text":"","src":"\/wp-content\/uploads\/2025\/07\/codex-datacentre-image.png","width":350,"height":200,"srcset":"\/wp-content\/uploads\/2025\/07\/codex-datacentre-image.png 1x, \/wp-content\/uploads\/2025\/07\/codex-datacentre-image.png 1.5x, \/wp-content\/uploads\/2025\/07\/codex-datacentre-image.png 2x"},"classes":[]},{"id":644,"url":"https:\/\/www.cloudproinc.com.au\/index.php\/2024\/09\/10\/identify-azure-users-without-mfa-using-powershell\/","url_meta":{"origin":53428,"position":4},"title":"Identify Azure Users Without MFA Using PowerShell","author":"CPI Staff","date":"September 10, 2024","format":false,"excerpt":"This Microsoft Azure post will show how to Identify Azure users without MFA Using PowerShell. If you are a Microsoft Azure customer and recently logged into the Microsoft Azure portal, you have probably seen the notification that from October 15th, 2024, Azure will enforce MFA for all users. This change\u2026","rel":"","context":"In &quot;Azure&quot;","block_context":{"text":"Azure","link":"https:\/\/www.cloudproinc.com.au\/index.php\/category\/microsoft-azure\/"},"img":{"alt_text":"","src":"\/wp-content\/uploads\/2024\/09\/Identify-Azure-Users-Without-MFA-Using-PowerShell.webp","width":350,"height":200,"srcset":"\/wp-content\/uploads\/2024\/09\/Identify-Azure-Users-Without-MFA-Using-PowerShell.webp 1x, \/wp-content\/uploads\/2024\/09\/Identify-Azure-Users-Without-MFA-Using-PowerShell.webp 1.5x, \/wp-content\/uploads\/2024\/09\/Identify-Azure-Users-Without-MFA-Using-PowerShell.webp 2x"},"classes":[]},{"id":369,"url":"https:\/\/www.cloudproinc.com.au\/index.php\/2024\/07\/11\/list-classic-azure-administrators-using-powershell-and-azure-rest-api\/","url_meta":{"origin":53428,"position":5},"title":"List Classic Azure Administrators Using PowerShell and Azure REST API","author":"CPI Staff","date":"July 11, 2024","format":false,"excerpt":"This Microsoft Azure article will show how to list classic Azure Administrators using PowerShell and Azure REST API. As an IT consultancy company that helps companies safeguard their Azure tenant, we perform many tenant assessments. As part of our identity and access review, we always check how many users have\u2026","rel":"","context":"In &quot;Azure&quot;","block_context":{"text":"Azure","link":"https:\/\/www.cloudproinc.com.au\/index.php\/category\/microsoft-azure\/"},"img":{"alt_text":"","src":"\/wp-content\/uploads\/2024\/07\/AzureAdmins.webp","width":350,"height":200,"srcset":"\/wp-content\/uploads\/2024\/07\/AzureAdmins.webp 1x, \/wp-content\/uploads\/2024\/07\/AzureAdmins.webp 1.5x, \/wp-content\/uploads\/2024\/07\/AzureAdmins.webp 2x, \/wp-content\/uploads\/2024\/07\/AzureAdmins.webp 3x, \/wp-content\/uploads\/2024\/07\/AzureAdmins.webp 4x"},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/posts\/53428","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/comments?post=53428"}],"version-history":[{"count":1,"href":"https:\/\/www.cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/posts\/53428\/revisions"}],"predecessor-version":[{"id":53431,"href":"https:\/\/www.cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/posts\/53428\/revisions\/53431"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/media\/53430"}],"wp:attachment":[{"href":"https:\/\/www.cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/media?parent=53428"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/categories?post=53428"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cloudproinc.com.au\/index.php\/wp-json\/wp\/v2\/tags?post=53428"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}