<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Trying to understand this VSAN script and if I can run it in VMware PowerCLI Discussions</title>
    <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Trying-to-understand-this-VSAN-script-and-if-I-can-run-it/m-p/2936188#M108947</link>
    <description>&lt;P&gt;Line 222&amp;nbsp;&lt;/P&gt;&lt;P&gt;$magneticDiskCounter = ($vSanDisks | Where-Object {$_.IsSsd -eq &lt;FONT color="#FF0000"&gt;$false&lt;/FONT&gt;}).Count&lt;/P&gt;</description>
    <pubDate>Tue, 01 Nov 2022 07:53:40 GMT</pubDate>
    <dc:creator>JOJO2009</dc:creator>
    <dc:date>2022-11-01T07:53:40Z</dc:date>
    <item>
      <title>Trying to understand this VSAN script and if I can run it</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Trying-to-understand-this-VSAN-script-and-if-I-can-run-it/m-p/2931363#M108495</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I've been looking for a PS script to run to show our VSAN info and to my luck found&amp;nbsp;&lt;A href="https://www.powershellgallery.com/packages/vDocumentation/2.4.3/Content/Public%5CGet-vSANInfo.ps1" target="_self"&gt;this&lt;/A&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;From what I can see it would be safe to run as it's just a get?&lt;/P&gt;&lt;P&gt;It's a shame there is now screenshot of how it might look before running.&lt;/P&gt;&lt;P&gt;Do you think it looks ok to run?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2022 12:25:00 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Trying-to-understand-this-VSAN-script-and-if-I-can-run-it/m-p/2931363#M108495</guid>
      <dc:creator>G0nz0UK</dc:creator>
      <dc:date>2022-09-30T12:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to understand this VSAN script and if I can run it</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Trying-to-understand-this-VSAN-script-and-if-I-can-run-it/m-p/2931365#M108496</link>
      <description>&lt;P&gt;There don't seem to be any New- or Set- cmdlets in there, only Get-&lt;BR /&gt;Shouldn't pose any threat&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2022 12:27:44 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Trying-to-understand-this-VSAN-script-and-if-I-can-run-it/m-p/2931365#M108496</guid>
      <dc:creator>LucD</dc:creator>
      <dc:date>2022-09-30T12:27:44Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to understand this VSAN script and if I can run it</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Trying-to-understand-this-VSAN-script-and-if-I-can-run-it/m-p/2931366#M108497</link>
      <description>&lt;P&gt;Btw, that script is part of the &lt;A href="https://github.com/arielsanchezmora/vDocumentation" target="_blank" rel="noopener"&gt;vDocumentation&lt;/A&gt; project, which is available as a module &lt;A href="https://www.powershellgallery.com/packages/vDocumentation/2.4.7" target="_blank" rel="noopener"&gt;vDocumentation&lt;/A&gt; in the PS Gallery..&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2022 12:33:59 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Trying-to-understand-this-VSAN-script-and-if-I-can-run-it/m-p/2931366#M108497</guid>
      <dc:creator>LucD</dc:creator>
      <dc:date>2022-09-30T12:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to understand this VSAN script and if I can run it</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Trying-to-understand-this-VSAN-script-and-if-I-can-run-it/m-p/2931933#M108582</link>
      <description>&lt;P&gt;Ah ok thanks, does that mean I can run it differently?&lt;/P&gt;</description>
      <pubDate>Tue, 04 Oct 2022 15:43:14 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Trying-to-understand-this-VSAN-script-and-if-I-can-run-it/m-p/2931933#M108582</guid>
      <dc:creator>G0nz0UK</dc:creator>
      <dc:date>2022-10-04T15:43:14Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to understand this VSAN script and if I can run it</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Trying-to-understand-this-VSAN-script-and-if-I-can-run-it/m-p/2931934#M108583</link>
      <description>&lt;P&gt;The &lt;A href="https://github.com/arielsanchezmora/vDocumentation" target="_blank" rel="noopener"&gt;vDocumentation&lt;/A&gt; module brings 8 new cmdlets, each of which you can run independently.&lt;BR /&gt;The problem might be that the code hasn't been updated since a couple of years.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Oct 2022 15:52:27 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Trying-to-understand-this-VSAN-script-and-if-I-can-run-it/m-p/2931934#M108583</guid>
      <dc:creator>LucD</dc:creator>
      <dc:date>2022-10-04T15:52:27Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to understand this VSAN script and if I can run it</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Trying-to-understand-this-VSAN-script-and-if-I-can-run-it/m-p/2932288#M108638</link>
      <description>&lt;P&gt;I don't suppose it runs for you if you have a moment to test?&lt;/P&gt;&lt;P&gt;I've installed the module and now 'Get-vSANInfo' runs and I get some nice info.&lt;/P&gt;&lt;P&gt;If I run the script it runs and instantly returns to the next line with no error or output.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 17:56:52 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Trying-to-understand-this-VSAN-script-and-if-I-can-run-it/m-p/2932288#M108638</guid>
      <dc:creator>G0nz0UK</dc:creator>
      <dc:date>2022-10-06T17:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to understand this VSAN script and if I can run it</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Trying-to-understand-this-VSAN-script-and-if-I-can-run-it/m-p/2932313#M108642</link>
      <description>&lt;P&gt;The&amp;nbsp;Get-vSANInfo.ps1 defines a function (Get-VSANInfo), dot-source that file and after that you can call that function.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="csharp"&gt;. .\Get-vSANInfo.ps1
Get-VSANInfo&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 21:22:23 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Trying-to-understand-this-VSAN-script-and-if-I-can-run-it/m-p/2932313#M108642</guid>
      <dc:creator>LucD</dc:creator>
      <dc:date>2022-10-06T21:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to understand this VSAN script and if I can run it</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Trying-to-understand-this-VSAN-script-and-if-I-can-run-it/m-p/2932467#M108650</link>
      <description>&lt;P&gt;That runs and produces a nice summary:&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;LI-CODE lang="python"&gt;vSAN Cluster Name                   : xxx
Effective Hosts                     : 123
Oldest vSAN Version                 : 7.0.203
Oldest Disk Format                  : 15
Cluster Type                        : Hybrid
Disk Claim Mode                     : Manual
Deduplication &amp;amp; Compression Enabled : False
Stretched Cluster Enabled           : False
Host Failures To Tolerate           : 
vSAN Stripe Width                   : 
Total vSAN Claimed Disks            : 114
Total Disk Groups                   : 16
Total Capacity (GB)                 : 43817.87
Provisioned Space (GB)              : 30692.68
Free Space (GB)                     : 21371.22&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;Do you know if there is a more details script that shows all the disks like these from vcenter&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Summary per host&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="G0nz0UK_0-1665158717606.png" style="width: 400px;"&gt;&lt;img src="https://communities.vmware.com/t5/image/serverpage/image-id/97676i7FE231F45C9C582F/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="G0nz0UK_0-1665158717606.png" alt="G0nz0UK_0-1665158717606.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;More detail per host:&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="G0nz0UK_1-1665158875888.png" style="width: 400px;"&gt;&lt;img src="https://communities.vmware.com/t5/image/serverpage/image-id/97677iA754BC5E75C2552C/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="G0nz0UK_1-1665158875888.png" alt="G0nz0UK_1-1665158875888.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 07 Oct 2022 16:10:06 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Trying-to-understand-this-VSAN-script-and-if-I-can-run-it/m-p/2932467#M108650</guid>
      <dc:creator>G0nz0UK</dc:creator>
      <dc:date>2022-10-07T16:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to understand this VSAN script and if I can run it</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Trying-to-understand-this-VSAN-script-and-if-I-can-run-it/m-p/2932469#M108652</link>
      <description>&lt;P&gt;Have a look in Jase's &lt;A href="https://core.vmware.com/resource/powercli-cookbook-vsan" target="_blank" rel="noopener"&gt;PowerCLI Cookbook for VSAN&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Oct 2022 16:18:16 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Trying-to-understand-this-VSAN-script-and-if-I-can-run-it/m-p/2932469#M108652</guid>
      <dc:creator>LucD</dc:creator>
      <dc:date>2022-10-07T16:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to understand this VSAN script and if I can run it</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Trying-to-understand-this-VSAN-script-and-if-I-can-run-it/m-p/2932754#M108674</link>
      <description>&lt;P&gt;Thanks, I will do, lots of info.&lt;/P&gt;&lt;P&gt;I'm just exploring a way to have a detailed output of our VSAN clusters to CSV.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Oct 2022 10:44:17 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Trying-to-understand-this-VSAN-script-and-if-I-can-run-it/m-p/2932754#M108674</guid>
      <dc:creator>G0nz0UK</dc:creator>
      <dc:date>2022-10-10T10:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to understand this VSAN script and if I can run it</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Trying-to-understand-this-VSAN-script-and-if-I-can-run-it/m-p/2934701#M108862</link>
      <description>&lt;P&gt;Hello, how would I send this to CSV?&lt;/P&gt;&lt;LI-CODE lang="python"&gt;Connect-VIServer -Server vvsupport1.thisisglobal.com -Credential $credentials

. .\Get-vSANInfo.ps1
Get-VSANInfo

Export-Csv C:\vmware\powercli\reports\vSAN.csv -NoTypeInformation -UseCulture&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;I get:&lt;/P&gt;&lt;P&gt;cmdlet Export-Csv at command pipeline position 1&lt;/P&gt;&lt;P&gt;Supply values for the following parameters:&lt;/P&gt;&lt;P&gt;InputObject: &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2022 06:48:47 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Trying-to-understand-this-VSAN-script-and-if-I-can-run-it/m-p/2934701#M108862</guid>
      <dc:creator>G0nz0UK</dc:creator>
      <dc:date>2022-10-21T06:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to understand this VSAN script and if I can run it</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Trying-to-understand-this-VSAN-script-and-if-I-can-run-it/m-p/2934720#M108864</link>
      <description>&lt;P&gt;You have to use the pipeline symbol&lt;/P&gt;
&lt;LI-CODE lang="csharp"&gt;Get-VSANInfo |
Export-Csv C:\vmware\powercli\reports\vSAN.csv -NoTypeInformation -UseCulture&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 21 Oct 2022 09:17:14 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Trying-to-understand-this-VSAN-script-and-if-I-can-run-it/m-p/2934720#M108864</guid>
      <dc:creator>LucD</dc:creator>
      <dc:date>2022-10-21T09:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to understand this VSAN script and if I can run it</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Trying-to-understand-this-VSAN-script-and-if-I-can-run-it/m-p/2936188#M108947</link>
      <description>&lt;P&gt;Line 222&amp;nbsp;&lt;/P&gt;&lt;P&gt;$magneticDiskCounter = ($vSanDisks | Where-Object {$_.IsSsd -eq &lt;FONT color="#FF0000"&gt;$false&lt;/FONT&gt;}).Count&lt;/P&gt;</description>
      <pubDate>Tue, 01 Nov 2022 07:53:40 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Trying-to-understand-this-VSAN-script-and-if-I-can-run-it/m-p/2936188#M108947</guid>
      <dc:creator>JOJO2009</dc:creator>
      <dc:date>2022-11-01T07:53:40Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to understand this VSAN script and if I can run it</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Trying-to-understand-this-VSAN-script-and-if-I-can-run-it/m-p/2936189#M108948</link>
      <description>&lt;P&gt;Is there a question in there?&lt;/P&gt;</description>
      <pubDate>Tue, 01 Nov 2022 07:57:08 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Trying-to-understand-this-VSAN-script-and-if-I-can-run-it/m-p/2936189#M108948</guid>
      <dc:creator>LucD</dc:creator>
      <dc:date>2022-11-01T07:57:08Z</dc:date>
    </item>
  </channel>
</rss>

