{"action":"created","issue":{"url":"https://api.github.com/repos/pester/Pester/issues/392","labels_url":"https://api.github.com/repos/pester/Pester/issues/392/labels{/name}","comments_url":"https://api.github.com/repos/pester/Pester/issues/392/comments","events_url":"https://api.github.com/repos/pester/Pester/issues/392/events","html_url":"https://github.com/pester/Pester/issues/392","id":96597500,"number":392,"title":"Test ConfirmImpact Setting","user":{"login":"ahaid","id":2990017,"avatar_url":"https://avatars.githubusercontent.com/u/2990017?v=3","gravatar_id":"","url":"https://api.github.com/users/ahaid","html_url":"https://github.com/ahaid","followers_url":"https://api.github.com/users/ahaid/followers","following_url":"https://api.github.com/users/ahaid/following{/other_user}","gists_url":"https://api.github.com/users/ahaid/gists{/gist_id}","starred_url":"https://api.github.com/users/ahaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahaid/subscriptions","organizations_url":"https://api.github.com/users/ahaid/orgs","repos_url":"https://api.github.com/users/ahaid/repos","events_url":"https://api.github.com/users/ahaid/events{/privacy}","received_events_url":"https://api.github.com/users/ahaid/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-22T15:40:22Z","updated_at":"2015-07-22T15:44:59Z","closed_at":null,"body":"There should be a way to test the confirm impact setting of a cmdlet. I want to know that I was challenged if I should have been."},"comment":{"url":"https://api.github.com/repos/pester/Pester/issues/comments/123763757","html_url":"https://github.com/pester/Pester/issues/392#issuecomment-123763757","issue_url":"https://api.github.com/repos/pester/Pester/issues/392","id":123763757,"user":{"login":"dlwyatt","id":5107604,"avatar_url":"https://avatars.githubusercontent.com/u/5107604?v=3","gravatar_id":"","url":"https://api.github.com/users/dlwyatt","html_url":"https://github.com/dlwyatt","followers_url":"https://api.github.com/users/dlwyatt/followers","following_url":"https://api.github.com/users/dlwyatt/following{/other_user}","gists_url":"https://api.github.com/users/dlwyatt/gists{/gist_id}","starred_url":"https://api.github.com/users/dlwyatt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlwyatt/subscriptions","organizations_url":"https://api.github.com/users/dlwyatt/orgs","repos_url":"https://api.github.com/users/dlwyatt/repos","events_url":"https://api.github.com/users/dlwyatt/events{/privacy}","received_events_url":"https://api.github.com/users/dlwyatt/received_events","type":"User","site_admin":false},"created_at":"2015-07-22T15:44:59Z","updated_at":"2015-07-22T15:44:59Z","body":"That is possible already, but I don't think it needs to be part of Pester itself.  Something like this should be fine:\r\n\r\n```posh\r\nDescribe 'ConfirmImpact sample' {\r\n    $command = Get-Command Enable-PSRemoting\r\n    $metadata = [System.Management.Automation.CommandMetadata]$command\r\n    \r\n    It 'Has a ConfirmImpact of High' {\r\n        $metadata.ConfirmImpact | Should Be 'High'\r\n    }\r\n}\r\n```"}}