{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/azure-powershell/issues/428","labels_url":"https://api.github.com/repos/Azure/azure-powershell/issues/428/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-powershell/issues/428/comments","events_url":"https://api.github.com/repos/Azure/azure-powershell/issues/428/events","html_url":"https://github.com/Azure/azure-powershell/issues/428","id":81097787,"number":428,"title":"Get rid of Switch-Azuremode","user":{"login":"trondhindenes","id":1747120,"avatar_url":"https://avatars.githubusercontent.com/u/1747120?v=3","gravatar_id":"","url":"https://api.github.com/users/trondhindenes","html_url":"https://github.com/trondhindenes","followers_url":"https://api.github.com/users/trondhindenes/followers","following_url":"https://api.github.com/users/trondhindenes/following{/other_user}","gists_url":"https://api.github.com/users/trondhindenes/gists{/gist_id}","starred_url":"https://api.github.com/users/trondhindenes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trondhindenes/subscriptions","organizations_url":"https://api.github.com/users/trondhindenes/orgs","repos_url":"https://api.github.com/users/trondhindenes/repos","events_url":"https://api.github.com/users/trondhindenes/events{/privacy}","received_events_url":"https://api.github.com/users/trondhindenes/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Azure/azure-powershell/labels/Team","name":"Team","color":"DDDDDD"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":51,"created_at":"2015-05-26T19:17:48Z","updated_at":"2015-06-16T00:12:09Z","closed_at":null,"body":"The two \"modes\" in Azure are painful and confusing to work with. For example, there's two different \"Get-AzureVM\" cmdlets (one in each \"mode\"), each listing its own sets of vms (the \"ServiceManagement\" cmdlet lists \"v1\" vms and the \"ResourceManager\" cmdlet lists \"v2\" vms). This is a horrible design. Please build a PowerShell module where every module is available without having to perform confusing operations like \"Switch-AzureMode\": The Azure module is the only module on the planet with two modes, and for good reasons: It is a plain stupid design.\n<!---@tfsbridge:{\"tfsId\":4075071}-->"},"comment":{"url":"https://api.github.com/repos/Azure/azure-powershell/issues/comments/112242147","html_url":"https://github.com/Azure/azure-powershell/issues/428#issuecomment-112242147","issue_url":"https://api.github.com/repos/Azure/azure-powershell/issues/428","id":112242147,"user":{"login":"RobinDotNet","id":6608196,"avatar_url":"https://avatars.githubusercontent.com/u/6608196?v=3","gravatar_id":"","url":"https://api.github.com/users/RobinDotNet","html_url":"https://github.com/RobinDotNet","followers_url":"https://api.github.com/users/RobinDotNet/followers","following_url":"https://api.github.com/users/RobinDotNet/following{/other_user}","gists_url":"https://api.github.com/users/RobinDotNet/gists{/gist_id}","starred_url":"https://api.github.com/users/RobinDotNet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RobinDotNet/subscriptions","organizations_url":"https://api.github.com/users/RobinDotNet/orgs","repos_url":"https://api.github.com/users/RobinDotNet/repos","events_url":"https://api.github.com/users/RobinDotNet/events{/privacy}","received_events_url":"https://api.github.com/users/RobinDotNet/received_events","type":"User","site_admin":false},"created_at":"2015-06-16T00:12:09Z","updated_at":"2015-06-16T00:12:09Z","body":"@mvanotti Hahaha! That's funny. Hahaha! I mean, no. There's nothing about the visibility or about what features aren't available. My customer had to revert to v1. After discovering the network gateway lack, he was unwilling to continue, afraid we would hit something else that was missing. \r\n\r\nHere are some helpful links I found.\r\n\r\nI had considerable trouble creating my customer's infrastructure in PS (2 vm's in a load balancer and availability set). This shows how to do that, but doesn't explain why you're suddenly configuring nics and load balancers, which you didn't have to/couldn't do in v1. \r\n\r\nhttps://azure.microsoft.com/en-us/documentation/articles/virtual-machines-create-windows-powershell-resource-manager/\r\n\r\nAlso helpful was Neil Mackenzie’s blog article:\r\n\r\nhttp://blogs.msdn.com/b/cloud_solution_architect/archive/2015/05/05/creating-azure-vms-with-arm-powershell-cmdlets.aspx \r\n\r\nand most of all, his gist: https://gist.github.com/nmackenzie/042bdffdfa6098f5063a \r\n\r\nThis is about the templates:\r\nhttps://azure.microsoft.com/en-us/documentation/articles/virtual-machines-deploy-rmtemplates-powershell/\r\n\r\nAnd this is from Corey Sanders talking about the differences.\r\nhttps://azure.microsoft.com/en-us/documentation/articles/virtual-machines-azurerm-versus-azuresm/\r\n\r\nAnd this is from Ignite. Start at 7 minutes to learn about the different object models.\r\nhttp://channel9.msdn.com/events/Ignite/2015/BRK3505 \r\n\r\nGood luck to us all.\r\nRobin\r\n"}}