{"id":5410,"date":"2015-06-15T10:41:00","date_gmt":"2015-06-15T07:41:00","guid":{"rendered":"http:\/\/msbro.ru\/?p=5410"},"modified":"2015-06-16T15:18:22","modified_gmt":"2015-06-16T12:18:22","slug":"zametki-upravlenie-vm-cherez-powershell","status":"publish","type":"post","link":"https:\/\/msbro.ru\/index.php\/archives\/5410","title":{"rendered":"\u0417\u0430\u043c\u0435\u0442\u043a\u0438: \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 VM \u0447\u0435\u0440\u0435\u0437 PowerShell"},"content":{"rendered":"<p>\u041a\u0440\u0430\u0442\u043a\u0438\u0439 \u0441\u043f\u0438\u0441\u043e\u043a \u043c\u0430\u043d\u0438\u043f\u0443\u043b\u044f\u0446\u0438\u0439 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 VM. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043d\u0430 Windows hyper-V 2012R2<\/p>\n<p><!--more--><\/p>\n<p>\u0421\u043f\u0438\u0441\u043e\u043a \u043c\u0430\u0448\u0438\u043d:<\/p>\n<pre>Get-VM\r\n<\/pre>\n<p>\u041f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430 VM:<\/p>\n<pre>Restart-VM TestVM\r\nRestart-VM Test*\r\nGet-VM | Restart-VM\r\n<\/pre>\n<p>\u0417\u0430\u043f\u0443\u0441\u043a VM:<\/p>\n<pre>Start-VM \u2013Name TestVM\r\nStart-VM \u2013Name Test*\r\n<\/pre>\n<p>\u041e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 VM:<\/p>\n<pre>Stop-VM \u2013Name TestVM\r\nStop-VM \u2013Name VM1 -Force\r\nStop-VM \u2013Name TestVM \u2013TurnOff\r\n<\/pre>\n<p>\u0431\u0440\u0430\u043b <a href=\"https:\/\/technet.microsoft.com\/en-us\/library\/hh848559(v=wps.630).aspx\" target=\"_blank\">\u0442\u0443\u0442<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041a\u0440\u0430\u0442\u043a\u0438\u0439 \u0441\u043f\u0438\u0441\u043e\u043a \u043c\u0430\u043d\u0438\u043f\u0443\u043b\u044f\u0446\u0438\u0439 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 VM. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043d\u0430 Windows hyper-V 2012R2<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[628],"tags":[1723,1745,1725,1119,1724,1731],"class_list":["post-5410","post","type-post","status-publish","format-standard","hentry","category-hyper-v","tag-2012r2","tag-hyper-v","tag-poweshell","tag-ps","tag-vm","tag-windows"],"_links":{"self":[{"href":"https:\/\/msbro.ru\/index.php\/wp-json\/wp\/v2\/posts\/5410"}],"collection":[{"href":"https:\/\/msbro.ru\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/msbro.ru\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/msbro.ru\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/msbro.ru\/index.php\/wp-json\/wp\/v2\/comments?post=5410"}],"version-history":[{"count":2,"href":"https:\/\/msbro.ru\/index.php\/wp-json\/wp\/v2\/posts\/5410\/revisions"}],"predecessor-version":[{"id":5416,"href":"https:\/\/msbro.ru\/index.php\/wp-json\/wp\/v2\/posts\/5410\/revisions\/5416"}],"wp:attachment":[{"href":"https:\/\/msbro.ru\/index.php\/wp-json\/wp\/v2\/media?parent=5410"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/msbro.ru\/index.php\/wp-json\/wp\/v2\/categories?post=5410"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/msbro.ru\/index.php\/wp-json\/wp\/v2\/tags?post=5410"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}<!-- WP Super Cache is installed but broken. The constant WPCACHEHOME must be set in the file wp-config.php and point at the WP Super Cache plugin directory. -->