{"id":78,"date":"2018-01-21T21:08:03","date_gmt":"2018-01-21T21:08:03","guid":{"rendered":"http:\/\/labiol.xyz\/?p=78"},"modified":"2018-01-21T21:10:02","modified_gmt":"2018-01-21T21:10:02","slug":"powercli-vm-nazwa-i-cluster-w-jednej-linii","status":"publish","type":"post","link":"https:\/\/www.labiol.xyz\/index.php\/2018\/01\/21\/powercli-vm-nazwa-i-cluster-w-jednej-linii\/","title":{"rendered":"powercli, vm nazwa i cluster w jednej linii"},"content":{"rendered":"<h2>powercli, vm nazwa i cluster w jednej linii<\/h2>\n<h3><\/h3>\n<p>Doskona\u0142y blog mo\u017cna odnale\u015b\u0107 tutaj:<\/p>\n<p><a href=\"http:\/\/ict-freak.nl\/2009\/11\/17\/powercli-one-liner-to-get-vms-clusters-esx-hosts-and-datastores\/\" target=\"_blank\" rel=\"noopener\">http:\/\/ict-freak.nl\/2009\/11\/17\/powercli-one-liner-to-get-vms-clusters-esx-hosts-and-datastores\/<\/a><\/p>\n<p>generalnie:<\/p>\n<pre>Get-VM | Select Name, @{N=\"Cluster\";E={Get-Cluster -VM $_}},\r\n\u00a0` @{N=\"ESX Host\";E={Get-VMHost -VM $_}},\r\n\u00a0` @{N=\"Datastore\";E={Get-Datastore -VM $_}}<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>powercli, vm nazwa i cluster w jednej linii Doskona\u0142y blog mo\u017cna odnale\u015b\u0107 tutaj: http:\/\/ict-freak.nl\/2009\/11\/17\/powercli-one-liner-to-get-vms-clusters-esx-hosts-and-datastores\/ generalnie: Get-VM | Select Name, @{N=&#8221;Cluster&#8221;;E={Get-Cluster -VM $_}}, \u00a0` @{N=&#8221;ESX Host&#8221;;E={Get-VMHost -VM $_}}, \u00a0` @{N=&#8221;Datastore&#8221;;E={Get-Datastore -VM $_}}<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-78","post","type-post","status-publish","format-standard","hentry","category-vmware"],"_links":{"self":[{"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/posts\/78","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/comments?post=78"}],"version-history":[{"count":1,"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/posts\/78\/revisions"}],"predecessor-version":[{"id":79,"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/posts\/78\/revisions\/79"}],"wp:attachment":[{"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/media?parent=78"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/categories?post=78"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.labiol.xyz\/index.php\/wp-json\/wp\/v2\/tags?post=78"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}