{"id":349,"date":"2021-04-12T18:29:10","date_gmt":"2021-04-12T18:29:10","guid":{"rendered":"https:\/\/thecloudwiki.com\/?p=349"},"modified":"2021-06-20T10:54:01","modified_gmt":"2021-06-20T10:54:01","slug":"powershell-powercli-capacity-report-for-virtual-machines","status":"publish","type":"post","link":"https:\/\/thecloudwiki.com\/?p=349","title":{"rendered":"Powershell\/PowerCLI &#8211; Capacity report for virtual machines"},"content":{"rendered":"\n<p class=\"has-extra-small-font-size wp-block-paragraph\">If your company won&#8217;t have any capacity reporting tools, then vCenter helps in getting some useful data about how the VM&#8217;s are getting utilized wrt to CPU\/Memory.<br>The below script helps in getting the reports on average for the weekdays. <\/p>\n\n\n\n<p class=\"has-extra-small-font-size wp-block-paragraph\"><br>At times it&#8217;s useful to inform management to add some CPU\/Memory to those highly CPU\/Memory utilized VM&#8217;s. This may not be accurate because we will get the average, but worth gives a try<\/p>\n\n\n\n<div class=\"wp-block-coblocks-gist\"><script src=\"https:\/\/gist.github.com\/sandeep-sr\/f5dc063a96cec4c484d53aa6c12d4239.js\"><\/script><noscript><a href=\"https:\/\/gist.github.com\/sandeep-sr\/f5dc063a96cec4c484d53aa6c12d4239\">View this gist on GitHub<\/a><\/noscript><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If your company won&#8217;t have any capacity reporting tools, then [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1289,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"default","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"default","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[23],"tags":[5],"class_list":["post-349","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-powershell","tag-powershell"],"uagb_featured_image_src":{"full":["https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/04\/powercli-capacityreport-feature-image-e1624186431402.png",400,253,false],"thumbnail":["https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/04\/powercli-capacityreport-feature-image-150x150.png",150,150,true],"medium":["https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/04\/powercli-capacityreport-feature-image-300x190.png",300,190,true],"medium_large":["https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/04\/powercli-capacityreport-feature-image-768x485.png",768,485,true],"large":["https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/04\/powercli-capacityreport-feature-image-1024x647.png",1024,647,true],"1536x1536":["https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/04\/powercli-capacityreport-feature-image-e1624186431402.png",400,253,false],"2048x2048":["https:\/\/thecloudwiki.com\/wp-content\/uploads\/2021\/04\/powercli-capacityreport-feature-image-e1624186431402.png",400,253,false]},"uagb_author_info":{"display_name":"Sandeep","author_link":"https:\/\/thecloudwiki.com\/?author=1"},"uagb_comment_info":0,"uagb_excerpt":"If your company won&#8217;t have any capacity reporting tools, then [&hellip;]","_links":{"self":[{"href":"https:\/\/thecloudwiki.com\/index.php?rest_route=\/wp\/v2\/posts\/349","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thecloudwiki.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thecloudwiki.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thecloudwiki.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thecloudwiki.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=349"}],"version-history":[{"count":6,"href":"https:\/\/thecloudwiki.com\/index.php?rest_route=\/wp\/v2\/posts\/349\/revisions"}],"predecessor-version":[{"id":1290,"href":"https:\/\/thecloudwiki.com\/index.php?rest_route=\/wp\/v2\/posts\/349\/revisions\/1290"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/thecloudwiki.com\/index.php?rest_route=\/wp\/v2\/media\/1289"}],"wp:attachment":[{"href":"https:\/\/thecloudwiki.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=349"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thecloudwiki.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=349"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thecloudwiki.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=349"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}