{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/azure-powershell/issues/1255","labels_url":"https://api.github.com/repos/Azure/azure-powershell/issues/1255/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-powershell/issues/1255/comments","events_url":"https://api.github.com/repos/Azure/azure-powershell/issues/1255/events","html_url":"https://github.com/Azure/azure-powershell/issues/1255","id":115697513,"number":1255,"title":"AzureRm cmdlets do not implement \"-WhatIf\" correctly","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":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-07T22:47:16Z","updated_at":"2015-11-11T00:43:56Z","closed_at":null,"body":"When running Remove-AzureRmResourceGroup <rgname> -whatif, PowerShell still prompts to confirm deletion of the specified resource group. This is NOT in accordance with the guidelines (https://technet.microsoft.com/en-us/library/bb204629(v=vs.85).aspx). I'm suspecting that this bug is related to #1135, #718 and #475, and in these bugs make me suspect there's something very wrong with how the AzureRm modules implement ShouldProcess/ShouldContinue. I'd really like some feedback some feedback from the team on this.\n<!---@tfsbridge:{\"tfsId\":5113504}-->"},"comment":{"url":"https://api.github.com/repos/Azure/azure-powershell/issues/comments/155614760","html_url":"https://github.com/Azure/azure-powershell/issues/1255#issuecomment-155614760","issue_url":"https://api.github.com/repos/Azure/azure-powershell/issues/1255","id":155614760,"user":{"login":"singhkay","id":6164178,"avatar_url":"https://avatars.githubusercontent.com/u/6164178?v=3","gravatar_id":"","url":"https://api.github.com/users/singhkay","html_url":"https://github.com/singhkay","followers_url":"https://api.github.com/users/singhkay/followers","following_url":"https://api.github.com/users/singhkay/following{/other_user}","gists_url":"https://api.github.com/users/singhkay/gists{/gist_id}","starred_url":"https://api.github.com/users/singhkay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/singhkay/subscriptions","organizations_url":"https://api.github.com/users/singhkay/orgs","repos_url":"https://api.github.com/users/singhkay/repos","events_url":"https://api.github.com/users/singhkay/events{/privacy}","received_events_url":"https://api.github.com/users/singhkay/received_events","type":"User","site_admin":false},"created_at":"2015-11-11T00:43:56Z","updated_at":"2015-11-11T00:43:56Z","body":"@markcowl @devigned Any ideas if this needs to be done in the base class/cmdlets or does each service own this?"}}