<?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: vCenter Certificate in VMware PowerCLI Discussions</title>
    <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/vCenter-Certificate/m-p/2818244#M98898</link>
    <description>&lt;P&gt;It looks as if you didn't do step 1 or 2 correctly.&lt;BR /&gt;Did you notice the 2 dots with a space in between in step 2?&lt;/P&gt;
&lt;P&gt;That is called dot-sourcing and that is how you make sure your session "knows" that function.&lt;/P&gt;</description>
    <pubDate>Fri, 18 Dec 2020 21:49:58 GMT</pubDate>
    <dc:creator>LucD</dc:creator>
    <dc:date>2020-12-18T21:49:58Z</dc:date>
    <item>
      <title>vCenter Certificate</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/vCenter-Certificate/m-p/2818216#M98895</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am looking for a script that can generate the Certificate expiry date of a vCenter(s).&lt;/P&gt;&lt;P&gt;I got this link: (Get-STSCerts.ps1) &lt;A href="https://code.vmware.com/samples?id=7336#comments" target="_blank"&gt;https://code.vmware.com/samples?id=7336#comments&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But&amp;nbsp;&lt;SPAN&gt;I was able to run the commands in the instruction Point 1 and 2. But getting the below error for point 3. Any suggestion? Or any other script that can use for ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Get-STSCerts : The term 'Get-STSCerts' is not recognized as the name of a cmdlet, function, script file, or operable&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;At line:1 char:1&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 19:49:51 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/vCenter-Certificate/m-p/2818216#M98895</guid>
      <dc:creator>Vimal348</dc:creator>
      <dc:date>2020-12-18T19:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: vCenter Certificate</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/vCenter-Certificate/m-p/2818244#M98898</link>
      <description>&lt;P&gt;It looks as if you didn't do step 1 or 2 correctly.&lt;BR /&gt;Did you notice the 2 dots with a space in between in step 2?&lt;/P&gt;
&lt;P&gt;That is called dot-sourcing and that is how you make sure your session "knows" that function.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 21:49:58 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/vCenter-Certificate/m-p/2818244#M98898</guid>
      <dc:creator>LucD</dc:creator>
      <dc:date>2020-12-18T21:49:58Z</dc:date>
    </item>
    <item>
      <title>Re: vCenter Certificate</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/vCenter-Certificate/m-p/2818264#M98899</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.vmware.com/t5/user/viewprofilepage/user-id/256147"&gt;@LucD&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is what I have run:&lt;/P&gt;&lt;P&gt;cd 'C:\Scripts\vCenter Certificate'&lt;BR /&gt;". ./Get-STSCerts.ps1"&lt;/P&gt;&lt;P&gt;Get-STSCerts -vcenters &amp;lt;vCenterName&amp;gt; -user 'xxxx.xxx.com' -password 'xxxxxx'&lt;/P&gt;</description>
      <pubDate>Sat, 19 Dec 2020 01:46:46 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/vCenter-Certificate/m-p/2818264#M98899</guid>
      <dc:creator>Vimal348</dc:creator>
      <dc:date>2020-12-19T01:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: vCenter Certificate</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/vCenter-Certificate/m-p/2818282#M98900</link>
      <description>&lt;P&gt;You can check if you did that correctly by running&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;Get-Command -Name Get-STSCerts&lt;/LI-CODE&gt;</description>
      <pubDate>Sat, 19 Dec 2020 06:50:23 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/vCenter-Certificate/m-p/2818282#M98900</guid>
      <dc:creator>LucD</dc:creator>
      <dc:date>2020-12-19T06:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: vCenter Certificate</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/vCenter-Certificate/m-p/2818344#M98905</link>
      <description>&lt;P&gt;Thank you for the reply&amp;nbsp;&lt;a href="https://communities.vmware.com/t5/user/viewprofilepage/user-id/256147"&gt;@LucD&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not sure what I am doing wrong:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vimal348_0-1608407793173.png" style="width: 400px;"&gt;&lt;img src="https://communities.vmware.com/t5/image/serverpage/image-id/85675i30B451A4CCD1DF37/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Vimal348_0-1608407793173.png" alt="Vimal348_0-1608407793173.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 19 Dec 2020 19:56:52 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/vCenter-Certificate/m-p/2818344#M98905</guid>
      <dc:creator>Vimal348</dc:creator>
      <dc:date>2020-12-19T19:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: vCenter Certificate</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/vCenter-Certificate/m-p/2818347#M98907</link>
      <description>&lt;P&gt;The problem is the quotes you used when you were dot-sourcing the .ps1 file.&lt;/P&gt;
&lt;P&gt;That should be (without the quotes)&lt;/P&gt;
&lt;LI-CODE lang="csharp"&gt;. .\Get-STSCerts.ps1&lt;/LI-CODE&gt;
&lt;P&gt;With the quotes, you are just showing a string on the console.&lt;/P&gt;</description>
      <pubDate>Sat, 19 Dec 2020 20:11:53 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/vCenter-Certificate/m-p/2818347#M98907</guid>
      <dc:creator>LucD</dc:creator>
      <dc:date>2020-12-19T20:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: vCenter Certificate</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/vCenter-Certificate/m-p/2818379#M98913</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://communities.vmware.com/t5/user/viewprofilepage/user-id/256147"&gt;@LucD&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I was still getting some other error. But I got it fixed by unblocking it ( ' &lt;SPAN&gt;PS C:\&amp;gt; Unblock-File -Path C:\Downloads\script1.ps1') and then ran as you said. Thank you&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 20 Dec 2020 02:52:17 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/vCenter-Certificate/m-p/2818379#M98913</guid>
      <dc:creator>Vimal348</dc:creator>
      <dc:date>2020-12-20T02:52:17Z</dc:date>
    </item>
  </channel>
</rss>

