{"id":9086,"date":"2016-10-14T07:49:44","date_gmt":"2016-10-14T05:49:44","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/manage-azure-in-powershell-rm\/"},"modified":"2016-10-14T07:49:44","modified_gmt":"2016-10-14T05:49:44","slug":"manage-azure-in-powershell-rm","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/manage-azure-in-powershell-rm\/","title":{"rendered":"Manage Azure in PowerShell (RM)"},"content":{"rendered":"<p>Azure offers two deployment models for cloud components: Resource Manager (RM) and Classic deployment model. Newer and more easier to manage, Microsoft recommends to use the <a href=\"https:\/\/azure.microsoft.com\/en-us\/documentation\/articles\/resource-group-overview\/\" title=\"Resource Manager\">Resource Manager<\/a>.<br \/>\nEven if these two models can exist at the same time in Azure, they are different and managed differently: in PowerShell cmdlets are specific to RM.<\/p>\n<p>In order to be able to communicate with Azure from On-Premises in PowerShell, you need to download and install the <a title=\"Azure PowerShell\" href=\"http:\/\/aka.ms\/webpi-azps\">Azure PowerShell<\/a> from WebPI. For more details, please refer to this Microsoft Azure post &#8220;<a title=\"Install and configure Azure PowerShell\" href=\"https:\/\/azure.microsoft.com\/en-us\/documentation\/articles\/powershell-install-configure\/\">How to install and configure Azure PowerShell<\/a>&#8220;.<br \/>\n&nbsp;<br \/>\n&nbsp;<br \/>\nAzure PowerShell installs many modules located in C:Program Files (x86)Microsoft SDKsAzurePowerShell:<br \/>\n<code>Get-module -ListAvailable -Name *AzureRm*<br \/>\nModuleType Version    Name                                ExportedCommands<br \/>\n---------- -------    ----                                ----------------<br \/>\nManifest   1.1.3      AzureRM.ApiManagement               {Add-AzureRmApiManagementRegion, Get-AzureRmApiManagementSsoToken, New-AzureRmApiManagementHostnam...<br \/>\nManifest   1.0.11     AzureRM.Automation                  {Get-AzureRMAutomationHybridWorkerGroup, Get-AzureRmAutomationJobOutputRecord, Import-AzureRmAutom...<br \/>\nBinary     0.9.8      AzureRM.AzureStackAdmin             {Get-AzureRMManagedLocation, New-AzureRMManagedLocation, Remove-AzureRMManagedLocation, Set-AzureR...<br \/>\nManifest   0.9.9      AzureRM.AzureStackStorage           {Add-ACSFarm, Get-ACSEvent, Get-ACSEventQuery, Get-ACSFarm...}<br \/>\nManifest   1.0.11     AzureRM.Backup                      {Backup-AzureRmBackupItem, Enable-AzureRmBackupContainerReregistration, Get-AzureRmBackupContainer...<br \/>\nManifest   1.1.3      AzureRM.Batch                       {Remove-AzureRmBatchAccount, Get-AzureRmBatchAccount, Get-AzureRmBatchAccountKeys, New-AzureRmBatc...<br \/>\nManifest   1.0.5      AzureRM.Cdn                         {Get-AzureRmCdnCustomDomain, New-AzureRmCdnCustomDomain, Remove-AzureRmCdnCustomDomain, Get-AzureR...<br \/>\nManifest   0.1.2      AzureRM.CognitiveServices           {Get-AzureRmCognitiveServicesAccount, Get-AzureRmCognitiveServicesAccountKey, Get-AzureRmCognitive...<br \/>\nManifest   1.3.3      AzureRM.Compute                     {Remove-AzureRmAvailabilitySet, Get-AzureRmAvailabilitySet, New-AzureRmAvailabilitySet, Get-AzureR...<br \/>\nManifest   1.0.11     AzureRM.DataFactories               {Remove-AzureRmDataFactory, Get-AzureRmDataFactoryRun, Get-AzureRmDataFactorySlice, Save-AzureRmDa...<br \/>\nManifest   1.1.3      AzureRM.DataLakeAnalytics           {Get-AzureRmDataLakeAnalyticsDataSource, Remove-AzureRmDataLakeAnalyticsCatalogSecret, Set-AzureRm...<br \/>\nManifest   1.0.11     AzureRM.DataLakeStore               {Add-AzureRmDataLakeStoreItemContent, Export-AzureRmDataLakeStoreItem, Get-AzureRmDataLakeStoreChi...<br \/>\nManifest   1.0.2      AzureRM.DevTestLabs                 {Get-AzureRmDtlAllowedVMSizesPolicy, Get-AzureRmDtlAutoShutdownPolicy, Get-AzureRmDtlAutoStartPoli...<br \/>\nManifest   1.0.11     AzureRM.Dns                         {Get-AzureRmDnsRecordSet, New-AzureRmDnsRecordConfig, Remove-AzureRmDnsRecordSet, Set-AzureRmDnsRe...<br \/>\nManifest   1.1.3      AzureRM.HDInsight                   {Get-AzureRmHDInsightJob, New-AzureRmHDInsightSqoopJobDefinition, Wait-AzureRmHDInsightJob, New-Az...<br \/>\nManifest   1.0.11     AzureRM.Insights                    {Add-AzureRmMetricAlertRule, Add-AzureRmLogAlertRule, Add-AzureRmWebtestAlertRule, Get-AzureRmAler...<br \/>\nManifest   1.1.10     AzureRM.KeyVault                    {Get-AzureRmKeyVault, New-AzureRmKeyVault, Remove-AzureRmKeyVault, Remove-AzureRmKeyVaultAccessPol...<br \/>\nManifest   1.0.7      AzureRM.LogicApp                    {Get-AzureRmIntegrationAccountAgreement, Get-AzureRmIntegrationAccountCallbackUrl, Get-AzureRmInte...<br \/>\nManifest   0.9.2      AzureRM.MachineLearning             {Export-AzureRmMlWebService, Get-AzureRmMlWebServiceKeys, Import-AzureRmMlWebService, Remove-Azure...<br \/>\nManifest   1.0.12     AzureRM.Network                     {Add-AzureRmApplicationGatewayBackendAddressPool, Get-AzureRmApplicationGatewayBackendAddressPool,...<br \/>\nManifest   1.0.11     AzureRM.NotificationHubs            {Get-AzureRmNotificationHubsNamespaceAuthorizationRules, Get-AzureRmNotificationHubsNamespaceListK...<br \/>\nManifest   1.0.11     AzureRM.OperationalInsights         {Get-AzureRmOperationalInsightsSavedSearch, Get-AzureRmOperationalInsightsSavedSearchResults, Get-...<br \/>\nManifest   1.0.0      AzureRM.PowerBIEmbedded             {Remove-AzureRmPowerBIWorkspaceCollection, Get-AzureRmPowerBIWorkspaceCollection, Get-AzureRmPower...<br \/>\nManifest   1.0.11     AzureRM.Profile                     {Enable-AzureRmDataCollection, Disable-AzureRmDataCollection, Remove-AzureRmEnvironment, Get-Azure...<br \/>\nManifest   1.1.3      AzureRM.RecoveryServices            {Get-AzureRmRecoveryServicesBackupProperties, Get-AzureRmRecoveryServicesVault, Get-AzureRmRecover...<br \/>\nManifest   1.0.3      AzureRM.RecoveryServices.Backup     {Backup-AzureRmRecoveryServicesBackupItem, Get-AzureRmRecoveryServicesBackupManagementServer, Get-...<br \/>\nManifest   1.1.9      AzureRM.RedisCache                  {Reset-AzureRmRedisCache, Export-AzureRmRedisCache, Import-AzureRmRedisCache, Remove-AzureRmRedisC...<br \/>\nManifest   2.0.2      AzureRM.Resources                   {Get-AzureRmADApplication, Get-AzureRmADGroupMember, Get-AzureRmADGroup, Get-AzureRmADServicePrinc...<br \/>\nManifest   1.0.2      AzureRM.ServerManagement            {Install-AzureRmServerManagementGatewayProfile, Reset-AzureRmServerManagementGatewayProfile, Save-...<br \/>\nManifest   1.1.10     AzureRM.SiteRecovery                {Stop-AzureRmSiteRecoveryJob, Get-AzureRmSiteRecoveryNetwork, Get-AzureRmSiteRecoveryNetworkMappin...<br \/>\nManifest   1.0.11     AzureRM.Sql                         {Get-AzureRmSqlDatabaseImportExportStatus, New-AzureRmSqlDatabaseExport, New-AzureRmSqlDatabaseImp...<br \/>\nManifest   1.1.3      AzureRM.Storage                     {Get-AzureRmStorageAccount, Get-AzureRmStorageAccountKey, Get-AzureRmStorageAccountNameAvailabilit...<br \/>\nManifest   1.0.11     AzureRM.StreamAnalytics             {Get-AzureRmStreamAnalyticsFunction, Get-AzureRmStreamAnalyticsDefaultFunctionDefinition, New-Azur...<br \/>\nManifest   1.0.11     AzureRM.Tags                        {Remove-AzureRmTag, Get-AzureRmTag, New-AzureRmTag}<br \/>\nManifest   1.0.11     AzureRM.TrafficManager              {Disable-AzureRmTrafficManagerEndpoint, Enable-AzureRmTrafficManagerEndpoint, Set-AzureRmTrafficMa...<br \/>\nManifest   1.0.11     AzureRM.UsageAggregates             Get-UsageAggregates<br \/>\nManifest   1.1.3      AzureRM.Websites                    {Get-AzureRmAppServicePlanMetrics, New-AzureRmWebAppDatabaseBackupSetting, Restore-AzureRmWebAppBa...<\/code><br \/>\n&nbsp;<br \/>\nThe basic cmdlets to connect and navigate between your different Accounts or Subscriptions are located in &#8220;AzureRM.Profile&#8221; module:<br \/>\n<code>PS C:&gt; Get-Command -Module AzureRM.Profile<br \/>\nCommandType     Name                                               Version    Source<br \/>\n-----------     ----                                               -------    ------<br \/>\nAlias           Login-AzureRmAccount                               1.0.11     AzureRM.Profile<br \/>\nAlias           Select-AzureRmSubscription                         1.0.11     AzureRM.Profile<br \/>\nCmdlet          Add-AzureRmAccount                                 1.0.11     AzureRM.Profile<br \/>\nCmdlet          Add-AzureRmEnvironment                             1.0.11     AzureRM.Profile<br \/>\nCmdlet          Disable-AzureRmDataCollection                      1.0.11     AzureRM.Profile<br \/>\nCmdlet          Enable-AzureRmDataCollection                       1.0.11     AzureRM.Profile<br \/>\nCmdlet          Get-AzureRmContext                                 1.0.11     AzureRM.Profile<br \/>\nCmdlet          Get-AzureRmEnvironment                             1.0.11     AzureRM.Profile<br \/>\nCmdlet          Get-AzureRmSubscription                            1.0.11     AzureRM.Profile<br \/>\nCmdlet          Get-AzureRmTenant                                  1.0.11     AzureRM.Profile<br \/>\nCmdlet          Remove-AzureRmEnvironment                          1.0.11     AzureRM.Profile<br \/>\nCmdlet          Save-AzureRmProfile                                1.0.11     AzureRM.Profile<br \/>\nCmdlet          Select-AzureRmProfile                              1.0.11     AzureRM.Profile<br \/>\nCmdlet          Set-AzureRmContext                                 1.0.11     AzureRM.Profile<br \/>\nCmdlet          Set-AzureRmEnvironment                             1.0.11     AzureRM.Profile<br \/>\n<\/code><br \/>\nAccording to the cmdlets present in &#8220;AzureRM.Profile&#8221; module, you will be able to connect to your Azure Account(enter your credentials):<br \/>\n<code>PS C:&gt; Login-AzureRmAccount<br \/>\nEnvironment           : AzureCloud<br \/>\nAccount               : n.courtine@xxxxxx.com<br \/>\nTenantId              : a123456b-789b-123c-4de5-67890fg123h4<br \/>\nSubscriptionId        : z123456y-789x-123w-4vu5-67890ts123r4<br \/>\nSubscriptionName      : ** Subscription Name **<br \/>\nCurrentStorageAccount :<\/code><br \/>\n&nbsp;<br \/>\nYou can list your associated Azure Subscriptions:<br \/>\n<code>Get-AzureRmSubscription<br \/>\nSubscriptionName      : ** Subscription Name **<br \/>\nSubscriptionId        : z123456y-789x-123w-4vu5-67890ts123r4<br \/>\nTenantId              : a123456b-789b-123c-4de5-67890fg123h4 <\/code><br \/>\n&nbsp;<br \/>\nTo switch your Subscription, do as follows:<br \/>\n<code>Select-AzureRmSubscription -SubscriptionId z123456y-789x-123w-4vu5-67890ts123r4<br \/>\nEnvironment           : AzureCloud<br \/>\nAccount               : n.courtine@xxxxxx.com<br \/>\nTenantId              : a123456b-789b-123c-4de5-67890fg123h4<br \/>\nSubscriptionId        : z123456y-789x-123w-4vu5-67890ts123r4<br \/>\nSubscriptionName      : ** Subscription Name **<br \/>\nCurrentStorageAccount :<\/code><br \/>\n&nbsp;<br \/>\nOr you can take a specific &#8220;snapshot&#8221; of your current location in Azure. It will help you to easily return to a specific context at the moment you ran the command:<br \/>\n<code>PS C:&gt; $context = Get-AzureRmContext<br \/>\nEnvironment           : AzureCloud<br \/>\nAccount               : n.courtine@xxxxxx.com<br \/>\nTenantId              : a123456b-789b-123c-4de5-67890fg123h4<br \/>\nSubscriptionId        : z123456y-789x-123w-4vu5-67890ts123r4<br \/>\nSubscriptionName      : ** Subscription Name **<br \/>\nCurrentStorageAccount :<br \/>\n...<br \/>\nPS C:&gt; Set-AzureRmContext -Context $context<br \/>\nEnvironment           : AzureCloud<br \/>\nAccount               : n.courtine@xxxxxx.com<br \/>\nTenantId              : a123456b-789b-123c-4de5-67890fg123h4<br \/>\nSubscriptionId        : z123456y-789x-123w-4vu5-67890ts123r4<br \/>\nSubscriptionName      : ** Subscription Name **<br \/>\nCurrentStorageAccount :<\/code><br \/>\n&nbsp;<br \/>\nIt is also possible to list all the available Storage Account associated to your current subscriptions:<br \/>\n<code>PS C:&gt; Get-AzureRmStorageAccount | Select StorageAccountName, Location<br \/>\nStorageAccountName    Location<br \/>\n------------------    --------<br \/>\nsemicroustillants259  westeurope<br \/>\nsemicroustillants4007 westeurope<br \/>\nsemicroustillants8802 westeurope<\/code><br \/>\n&nbsp;<br \/>\nTo see the existing blob container in each Storage Account:<br \/>\n<code>PS C:&gt; Get-AzureRmStorageAccount | Select StorageAccountName, ResourceGroupName, Location<br \/>\n   Blob End Point: https:\/\/dbimssql.blob.core.windows.net\/<br \/>\nName                 Uri                                                          LastModified<br \/>\n----                 ---                                                          ------------<br \/>\nbootdiagnostics-t... https:\/\/dbimssql.blob.core.windows.net\/bootdiagnostics-ta... 30.09.2016 12:36:12 +00:00<br \/>\ndemo                 https:\/\/dbimssql.blob.core.windows.net\/demo                  05.10.2016 14:16:01 +00:00<br \/>\nvhds                 https:\/\/dbimssql.blob.core.windows.net\/vhds                  30.09.2016 12:36:12 +00:00<br \/>\n   Blob End Point: https:\/\/semicroustillants259.blob.core.windows.net\/<br \/>\nName                 Uri                                                          LastModified<br \/>\n----                 ---                                                          ------------<br \/>\nmastervhds           https:\/\/semicroustillants259.blob.core.windows.net\/master... 28.09.2016 13:41:19 +00:00<br \/>\nuploads              https:\/\/semicroustillants259.blob.core.windows.net\/uploads   28.09.2016 13:41:19 +00:00<br \/>\nvhds                 https:\/\/semicroustillants259.blob.core.windows.net\/vhds      28.09.2016 13:55:57 +00:00<br \/>\n   Blob End Point: https:\/\/semicroustillants4007.blob.core.windows.net\/<br \/>\nName                 Uri                                                          LastModified<br \/>\n----                 ---                                                          ------------<br \/>\nartifacts            https:\/\/semicroustillants4007.blob.core.windows.net\/artif... 28.09.2016 13:59:47 +00:00<\/code><\/p>\n<p>Azure infrastructure can be easily managed from On-Premises in PowerShell. In a <a href=\"http:\/\/dbi-services.com\/blog\/wp-admin\/post.php?post=10188&amp;action=edit\">previous post<\/a>, I explained how to deploy a Virtual Machine from an Image in Azure PowerShell.<br \/>\nIf you have remarks or advises, do not hesitate to share \ud83d\ude09<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Azure offers two deployment models for cloud components: Resource Manager (RM) and Classic deployment model. Newer and more easier to manage, Microsoft recommends to use the Resource Manager. Even if these two models can exist at the same time in Azure, they are different and managed differently: in PowerShell cmdlets are specific to RM. In&hellip;&nbsp;<\/p>\n","protected":false},"author":14,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","neve_meta_reading_time":"","_themeisle_gutenberg_block_has_review":false,"footnotes":""},"categories":[4133,42],"tags":[135,49,272],"class_list":["post-9086","post","type-post","status-publish","format-standard","category-database","category-operating-systems","tag-cloud","tag-microsoft","tag-powershell"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v28.9 (Yoast SEO v28.9) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Manage Azure in PowerShell (RM) - dbi services Blog<\/title>\n<meta name=\"description\" content=\"Azure offers two deployment models for cloud components: Resource Manager (RM) and Classic deployment model. We will see how to manage RM in PowerShell...\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.dbi-services.com\/blog\/manage-azure-in-powershell-rm\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Manage Azure in PowerShell (RM)\" \/>\n<meta property=\"og:description\" content=\"Azure offers two deployment models for cloud components: Resource Manager (RM) and Classic deployment model. We will see how to manage RM in PowerShell...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/manage-azure-in-powershell-rm\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi services Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/dbiservices\/\" \/>\n<meta property=\"article:published_time\" content=\"2016-10-14T05:49:44+00:00\" \/>\n<meta name=\"author\" content=\"Nathan Courtine\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@dbiservices\" \/>\n<meta name=\"twitter:site\" content=\"@dbiservices\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Nathan Courtine\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/manage-azure-in-powershell-rm\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/manage-azure-in-powershell-rm\\\/\"},\"author\":{\"name\":\"Nathan Courtine\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/7c4623e3223cf21614c4a06c853ca363\"},\"headline\":\"Manage Azure in PowerShell (RM)\",\"datePublished\":\"2016-10-14T05:49:44+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/manage-azure-in-powershell-rm\\\/\"},\"wordCount\":273,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/#organization\"},\"keywords\":[\"Cloud\",\"Microsoft\",\"PowerShell\"],\"articleSection\":[\"Database\",\"Operating System\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/manage-azure-in-powershell-rm\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/manage-azure-in-powershell-rm\\\/\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/manage-azure-in-powershell-rm\\\/\",\"name\":\"Manage Azure in PowerShell (RM) - dbi services Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\"},\"datePublished\":\"2016-10-14T05:49:44+00:00\",\"description\":\"Azure offers two deployment models for cloud components: Resource Manager (RM) and Classic deployment model. We will see how to manage RM in PowerShell...\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/manage-azure-in-powershell-rm\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/manage-azure-in-powershell-rm\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/manage-azure-in-powershell-rm\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Manage Azure in PowerShell (RM)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/\",\"name\":\"dbi services Blog\",\"description\":\"#BeSharing\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/#organization\",\"name\":\"dbi services\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/dbi-services-logo.png\",\"contentUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/dbi-services-logo.png\",\"width\":512,\"height\":512,\"caption\":\"dbi services\"},\"image\":{\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/dbiservices\\\/\",\"https:\\\/\\\/x.com\\\/dbiservices\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/dbi-services\\\/\",\"https:\\\/\\\/www.youtube.com\\\/user\\\/dbiservices\"],\"description\":\"Swiss IT consulting and services company specialized in efficient data infrastructures and platforms: databases, application servers, cloud, DevOps, digitalization, analytics, data quality and monitoring. Headquartered in Del\u00e9mont with offices in Nyon, Basel, Bern and Zurich.\",\"email\":\"info@dbi-services.com\",\"telephone\":\"+41 32 422 96 00\",\"legalName\":\"dbi services SA\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/#\\\/schema\\\/person\\\/7c4623e3223cf21614c4a06c853ca363\",\"name\":\"Nathan Courtine\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/NAC_web-min-scaled.jpg\",\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/NAC_web-min-scaled.jpg\",\"contentUrl\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/NAC_web-min-scaled.jpg\",\"caption\":\"Nathan Courtine\"},\"description\":\"Nathan Courtine has more than nine years of experience in Microsoft solutions, specializing in SQL Server installation, migration, performance analysis, and automation. He holds Microsoft Certified Solutions Expert (MCSE), Microsoft Certified Azure Administrator Associate, and AWS Certified Solutions Architect Associate credentials. He holds a Computer Science degree from ENSISA Mulhouse. His industry experience covers the public sector, pharma, IT, and banking\\\/financial services.\",\"sameAs\":[\"https:\\\/\\\/www.sequotech.com\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/vincentheimann\\\/\"],\"url\":\"https:\\\/\\\/www.dbi-services.com\\\/blog\\\/author\\\/nathan-courtine\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Manage Azure in PowerShell (RM) - dbi services Blog","description":"Azure offers two deployment models for cloud components: Resource Manager (RM) and Classic deployment model. We will see how to manage RM in PowerShell...","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:\/\/www.dbi-services.com\/blog\/manage-azure-in-powershell-rm\/","og_locale":"en_US","og_type":"article","og_title":"Manage Azure in PowerShell (RM)","og_description":"Azure offers two deployment models for cloud components: Resource Manager (RM) and Classic deployment model. We will see how to manage RM in PowerShell...","og_url":"https:\/\/www.dbi-services.com\/blog\/manage-azure-in-powershell-rm\/","og_site_name":"dbi services Blog","article_publisher":"https:\/\/www.facebook.com\/dbiservices\/","article_published_time":"2016-10-14T05:49:44+00:00","author":"Nathan Courtine","twitter_card":"summary_large_image","twitter_creator":"@dbiservices","twitter_site":"@dbiservices","twitter_misc":{"Written by":"Nathan Courtine","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbi-services.com\/blog\/manage-azure-in-powershell-rm\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/manage-azure-in-powershell-rm\/"},"author":{"name":"Nathan Courtine","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/7c4623e3223cf21614c4a06c853ca363"},"headline":"Manage Azure in PowerShell (RM)","datePublished":"2016-10-14T05:49:44+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/manage-azure-in-powershell-rm\/"},"wordCount":273,"commentCount":0,"publisher":{"@id":"https:\/\/www.dbi-services.com\/#organization"},"keywords":["Cloud","Microsoft","PowerShell"],"articleSection":["Database","Operating System"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/manage-azure-in-powershell-rm\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/manage-azure-in-powershell-rm\/","url":"https:\/\/www.dbi-services.com\/blog\/manage-azure-in-powershell-rm\/","name":"Manage Azure in PowerShell (RM) - dbi services Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"datePublished":"2016-10-14T05:49:44+00:00","description":"Azure offers two deployment models for cloud components: Resource Manager (RM) and Classic deployment model. We will see how to manage RM in PowerShell...","breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/manage-azure-in-powershell-rm\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/manage-azure-in-powershell-rm\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/manage-azure-in-powershell-rm\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Manage Azure in PowerShell (RM)"}]},{"@type":"WebSite","@id":"https:\/\/www.dbi-services.com\/blog\/#website","url":"https:\/\/www.dbi-services.com\/blog\/","name":"dbi services Blog","description":"#BeSharing","publisher":{"@id":"https:\/\/www.dbi-services.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.dbi-services.com\/#organization","name":"dbi services","url":"https:\/\/www.dbi-services.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2026\/09\/dbi-services-logo.png","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2026\/09\/dbi-services-logo.png","width":512,"height":512,"caption":"dbi services"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/dbiservices\/","https:\/\/x.com\/dbiservices","https:\/\/www.linkedin.com\/company\/dbi-services\/","https:\/\/www.youtube.com\/user\/dbiservices"],"description":"Swiss IT consulting and services company specialized in efficient data infrastructures and platforms: databases, application servers, cloud, DevOps, digitalization, analytics, data quality and monitoring. Headquartered in Del\u00e9mont with offices in Nyon, Basel, Bern and Zurich.","email":"info@dbi-services.com","telephone":"+41 32 422 96 00","legalName":"dbi services SA"},{"@type":"Person","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/7c4623e3223cf21614c4a06c853ca363","name":"Nathan Courtine","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/08\/NAC_web-min-scaled.jpg","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/08\/NAC_web-min-scaled.jpg","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/2022\/08\/NAC_web-min-scaled.jpg","caption":"Nathan Courtine"},"description":"Nathan Courtine has more than nine years of experience in Microsoft solutions, specializing in SQL Server installation, migration, performance analysis, and automation. He holds Microsoft Certified Solutions Expert (MCSE), Microsoft Certified Azure Administrator Associate, and AWS Certified Solutions Architect Associate credentials. He holds a Computer Science degree from ENSISA Mulhouse. His industry experience covers the public sector, pharma, IT, and banking\/financial services.","sameAs":["https:\/\/www.sequotech.com\/","https:\/\/www.linkedin.com\/in\/vincentheimann\/"],"url":"https:\/\/www.dbi-services.com\/blog\/author\/nathan-courtine\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/9086","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/users\/14"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/comments?post=9086"}],"version-history":[{"count":0,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/9086\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=9086"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=9086"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=9086"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}