{"action":"closed","issue":{"url":"https://api.github.com/repos/jhulbe/PowerCLI/issues/1","repository_url":"https://api.github.com/repos/jhulbe/PowerCLI","labels_url":"https://api.github.com/repos/jhulbe/PowerCLI/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/jhulbe/PowerCLI/issues/1/comments","events_url":"https://api.github.com/repos/jhulbe/PowerCLI/issues/1/events","html_url":"https://github.com/jhulbe/PowerCLI/issues/1","id":165070928,"number":1,"title":"Upgrade VM Memory","user":{"login":"jhulbe","id":16581877,"avatar_url":"https://avatars.githubusercontent.com/u/16581877?v=3","gravatar_id":"","url":"https://api.github.com/users/jhulbe","html_url":"https://github.com/jhulbe","followers_url":"https://api.github.com/users/jhulbe/followers","following_url":"https://api.github.com/users/jhulbe/following{/other_user}","gists_url":"https://api.github.com/users/jhulbe/gists{/gist_id}","starred_url":"https://api.github.com/users/jhulbe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhulbe/subscriptions","organizations_url":"https://api.github.com/users/jhulbe/orgs","repos_url":"https://api.github.com/users/jhulbe/repos","events_url":"https://api.github.com/users/jhulbe/events{/privacy}","received_events_url":"https://api.github.com/users/jhulbe/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-12T12:44:18Z","updated_at":"2016-07-12T12:45:11Z","closed_at":"2016-07-12T12:45:11Z","body":"$VMS = Get-Content .\\vmlist.txt\r\n# foreach ($VM in $VMS){Get-VM $VM | Shutdown-VMGuest -Confirm:$False}\r\nforeach ($VM in $VMS){Get-VM $VM | Set-VM -memorygb 24 -Confirm:$False}\r\nforeach ($VM in $VMS){Start-VM $VM}\r\n\r\n\r\n#shutsdown VMs one by one, sets memory, powers them up. "}}
{"actor":{"display_login":"jhulbe"}}