<?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>jravnsba1 Tracker</title>
    <link>https://communities.vmware.com/wbsdv95928/tracker</link>
    <description>jravnsba1 Tracker</description>
    <pubDate>Wed, 15 Nov 2023 14:09:02 GMT</pubDate>
    <dc:date>2023-11-15T14:09:02Z</dc:date>
    <item>
      <title>Re: Script to convert VM from thin to thick eager zeroed while it is powered on</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Script-to-convert-VM-from-thin-to-thick-eager-zeroed-while-it-is/m-p/1861950#M63684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess I should use something like this from one of your other great solutions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Lucida Console'; color: #ff4500;"&gt;$vmdkMgr&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Lucida Console'; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Lucida Console'; color: #000000;"&gt;MoveVirtualDisk&lt;SPAN style="font-family: 'Lucida Console'; color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Lucida Console'; color: #ff4500;"&gt;$srcVMDK&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Lucida Console'; color: #a9a9a9;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Lucida Console'; color: #ff4500;"&gt;$srcDC&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Lucida Console'; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Lucida Console'; color: #000000;"&gt;ExtensionData&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Lucida Console'; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Lucida Console'; color: #000000;"&gt;MoRef&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Lucida Console'; color: #a9a9a9;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Lucida Console'; color: #ff4500;"&gt;$dstVMDK&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Lucida Console'; color: #a9a9a9;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Lucida Console'; color: #ff4500;"&gt;$dstDC&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Lucida Console'; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Lucida Console'; color: #000000;"&gt;ExtensionData&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Lucida Console'; color: #a9a9a9;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Lucida Console'; color: #000000;"&gt;MoRef&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Lucida Console'; color: #a9a9a9;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Lucida Console'; color: #ff4500;"&gt;$force&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Lucida Console'; color: #a9a9a9;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Lucida Console'; color: #ff4500;"&gt;$null&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Lucida Console'; color: #000000;"&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Lucida Console';"&gt;But I'm not sure how to use it ?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Dec 2019 13:47:28 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Script-to-convert-VM-from-thin-to-thick-eager-zeroed-while-it-is/m-p/1861950#M63684</guid>
      <dc:creator>jravnsba1</dc:creator>
      <dc:date>2019-12-13T13:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: Script to convert VM from thin to thick eager zeroed while it is powered on</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Script-to-convert-VM-from-thin-to-thick-eager-zeroed-while-it-is/m-p/1861948#M63682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Luc&lt;/P&gt;&lt;P&gt;Yes but the VMs has to remain powered on. (it +1000 VMs and lots of them are in production with no downtime available in normal business hours)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I guess that I need to move the thin disk to another datastore to be able to do it while its online.&lt;/P&gt;&lt;P&gt;Or migrate the thin disk to a temporary datastore and then move (convert) it back to source datastore.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Dec 2019 12:54:01 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Script-to-convert-VM-from-thin-to-thick-eager-zeroed-while-it-is/m-p/1861948#M63682</guid>
      <dc:creator>jravnsba1</dc:creator>
      <dc:date>2019-12-13T12:54:01Z</dc:date>
    </item>
    <item>
      <title>Script to convert VM from thin to thick eager zeroed while it is powered on</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Script-to-convert-VM-from-thin-to-thick-eager-zeroed-while-it-is/m-p/1861946#M63680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My VM has two disks located on Datastore_005 and Datastore_006&lt;/P&gt;&lt;P&gt;The disk located on Datastore_005 is Thin&lt;/P&gt;&lt;P&gt;The disk located on Datastore_006 is EagerZeroedThick&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can convert the VMs disks from thin to thick eager Zeroed by:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;move-vm MyVM01 -datastore Datastore_007 -DiskStorageFormat&amp;nbsp; EagerZeroedThick&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to convert on the disk located on Datastore_005 to Thick Eager Zeroed without moving it to another Datastore while the VM is online ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Dec 2019 12:13:29 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Script-to-convert-VM-from-thin-to-thick-eager-zeroed-while-it-is/m-p/1861946#M63680</guid>
      <dc:creator>jravnsba1</dc:creator>
      <dc:date>2019-12-13T12:13:29Z</dc:date>
    </item>
    <item>
      <title>Create alias in $profile to connect to all vCenters</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Create-alias-in-profile-to-connect-to-all-vCenters/m-p/2262352#M77983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is is possible to create an alias in $profile to connect to all your vCenters ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried but it doesn't work as expected:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$credential = import-clixml -path 'C:\documents\PowerCLI\My-credfile.xml'&lt;/P&gt;&lt;P&gt;$vCenterServers = @("vcsa1","vcsa2","vcsa3","vcsa4","vcsa5")&lt;/P&gt;&lt;P&gt;new-alias allvc connect-viserver $vCenterServers -Credential $credential&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I run it from commandline it works:&lt;/P&gt;&lt;P&gt;$credential = import-clixml -path 'C:\documents\PowerCLI\My-credfile.xml'&lt;/P&gt;&lt;P&gt;$vCenterServers = @("vcsa1","vcsa2","vcsa3","vcsa4","vcsa5")&lt;/P&gt;&lt;P&gt;connect-viserver $vCenterServers -Credential $credential&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Nov 2019 10:17:30 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Create-alias-in-profile-to-connect-to-all-vCenters/m-p/2262352#M77983</guid>
      <dc:creator>jravnsba1</dc:creator>
      <dc:date>2019-11-01T10:17:30Z</dc:date>
    </item>
    <item>
      <title>Ssacli - use “esxcli ssacli” or “/opt/smartstorage..../saclike” ?</title>
      <link>https://communities.vmware.com/t5/VMware-vSAN-Discussions/Ssacli-use-esxcli-ssacli-or-opt-smartstorage-saclike/m-p/2224174#M8403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I notice that VMware KB 2077426 are usi the specific HP command &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: rgba(77, 76, 76, 0.901961); font-family: 'Courier New'; font-size: small;"&gt;/opt/hp/hpssacli/bin/hpssacli controller slot=&amp;lt;slot#&amp;gt; show config detail&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: rgba(77, 76, 76, 0.901961); font-family: 'Courier New'; font-size: small;"&gt;Bu isn’t i equivalent to use &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: rgba(77, 76, 76, 0.901961); font-family: 'Courier New'; font-size: small;"&gt;esxcli ssacli ctrl &lt;SPAN style="color: rgba(77, 76, 76, 0.901961); font-family: 'Courier New'; font-size: small;"&gt;slot=&amp;lt;slot#&amp;gt; show config detail&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: rgba(77, 76, 76, 0.901961); font-family: 'Courier New'; font-size: small;"&gt;Doesn’t “esxcli ssacli” point to “&lt;SPAN style="color: rgba(77, 76, 76, 0.901961); font-family: 'Courier New'; font-size: small;"&gt;/opt/hp/hpssacli/bin/hpssacli” ?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Feb 2018 12:42:21 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-vSAN-Discussions/Ssacli-use-esxcli-ssacli-or-opt-smartstorage-saclike/m-p/2224174#M8403</guid>
      <dc:creator>jravnsba1</dc:creator>
      <dc:date>2018-02-17T12:42:21Z</dc:date>
    </item>
    <item>
      <title>Protect Custom Attributes from deletion but allow modification or deletion of value ?</title>
      <link>https://communities.vmware.com/t5/vSphere-Update-Manager-PowerCLI/Protect-Custom-Attributes-from-deletion-but-allow-modification/m-p/937637#M269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible configure a role that has no right to delete an Custom Attribute, but are able to delete the value of an Custom Attribute ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to limit deletion rights becase a user by accident deleted an important Custom Attributes &lt;img class="lia-deferred-image lia-image-emoji" src="https://communities.vmware.com/html/@8D3AC78033E090809829B1C8262B7619/emoticons/1f61e.png" alt=":disappointed_face:" title=":disappointed_face:" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Nov 2017 14:27:43 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/vSphere-Update-Manager-PowerCLI/Protect-Custom-Attributes-from-deletion-but-allow-modification/m-p/937637#M269</guid>
      <dc:creator>jravnsba1</dc:creator>
      <dc:date>2017-11-27T14:27:43Z</dc:date>
    </item>
    <item>
      <title>Passing items from array to Get-VM ?</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Passing-items-from-array-to-Get-VM/m-p/1384608#M44324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;$MyList = @()&lt;/P&gt;&lt;P&gt;$MyList += "VM1";&lt;/P&gt;&lt;P&gt;$MyList += "VM2";&lt;/P&gt;&lt;P&gt;$Mylist[1]|Get-VM;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This gives an error instead of showing the result for Get-VM VM2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background: #012456;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Lucida Console'; color: red;"&gt;Get-VM : Cannot process argument transformation on parameter 'Location'. Strings as pipeline input are not supported.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: #012456;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Lucida Console'; color: red;"&gt;At line:4 char:12&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: #012456;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Lucida Console'; color: red;"&gt;+ $Mylist[1]|Get-VM;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: #012456;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Lucida Console'; color: red;"&gt;+ ~~~~~~&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: #012456;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Lucida Console'; color: red;"&gt; + CategoryInfo&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : InvalidData: (VM2:String) [Get-VM], ParameterBindingArgumentTransformationException&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background: #012456;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Lucida Console'; color: red;"&gt; + FullyQualifiedErrorId : ParameterArgumentTransformationError,VMware.VimAutomation.ViCore.Cmdlets.Commands.GetVM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This workaround works:&lt;/P&gt;&lt;P&gt; &lt;SPAN lang="DA" style="font-size: 9.0pt; font-family: 'Lucida Console'; color: orangered;"&gt;$Mylist&lt;/SPAN&gt;&lt;SPAN lang="DA" style="font-size: 9.0pt; font-family: 'Lucida Console'; color: darkgray;"&gt;[&lt;/SPAN&gt;&lt;SPAN lang="DA" style="font-size: 9.0pt; font-family: 'Lucida Console'; color: purple;"&gt;1&lt;/SPAN&gt;&lt;SPAN lang="DA" style="font-size: 9.0pt; font-family: 'Lucida Console'; color: darkgray;"&gt;]&lt;/SPAN&gt;&lt;SPAN lang="DA" style="font-size: 9.0pt; font-family: 'Lucida Console';"&gt; &lt;SPAN style="color: darkgray;"&gt;|&lt;/SPAN&gt; &lt;SPAN style="color: blue;"&gt;ForEach-Object&lt;/SPAN&gt;{ &lt;SPAN style="color: blue;"&gt;Get-VM&lt;/SPAN&gt; &lt;SPAN style="color: orangered;"&gt;$_&lt;/SPAN&gt;} &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="DA" style="font-size: 9.0pt; font-family: 'Lucida Console';"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="DA" style="font-size: 9.0pt; font-family: 'Lucida Console';"&gt;Why isn't is possible just to use&amp;nbsp; &lt;SPAN lang="DA" style="font-size: 9pt; font-family: 'Lucida Console'; color: orangered;"&gt;$Mylist&lt;/SPAN&gt;&lt;SPAN lang="DA" style="font-size: 9pt; font-family: 'Lucida Console'; color: darkgray;"&gt;[&lt;/SPAN&gt;&lt;SPAN lang="DA" style="font-size: 9pt; font-family: 'Lucida Console'; color: purple;"&gt;1&lt;/SPAN&gt;&lt;SPAN lang="DA" style="font-size: 9pt; font-family: 'Lucida Console'; color: darkgray;"&gt;]&lt;/SPAN&gt;&lt;SPAN lang="DA" style="font-size: 9pt; font-family: 'Lucida Console';"&gt; &lt;SPAN style="color: darkgray;"&gt;|&lt;/SPAN&gt; &lt;SPAN style="color: blue;"&gt;Get-VM &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2017 10:12:29 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Passing-items-from-array-to-Get-VM/m-p/1384608#M44324</guid>
      <dc:creator>jravnsba1</dc:creator>
      <dc:date>2017-06-22T10:12:29Z</dc:date>
    </item>
    <item>
      <title>Re: Stop SSH not working if select property is specified ?</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Stop-SSH-not-working-if-select-property-is-specified/m-p/2227708#M74995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I added the select vmhost,running to display the hosts that was reconfigured:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Stop-VmHostService -Confirm:$false | select vmhost,running&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jan 2017 13:13:24 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Stop-SSH-not-working-if-select-property-is-specified/m-p/2227708#M74995</guid>
      <dc:creator>jravnsba1</dc:creator>
      <dc:date>2017-01-03T13:13:24Z</dc:date>
    </item>
    <item>
      <title>Re: Stop SSH not working if select property is specified ?</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Stop-SSH-not-working-if-select-property-is-specified/m-p/2227706#M74993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Luc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes this script works, but no hostname is displayed, so you :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Key&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Label&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Policy&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Running&amp;nbsp; Required&lt;/P&gt;&lt;P&gt;---&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -----&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ------&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -------&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; --------&lt;/P&gt;&lt;P&gt;TSM-SSH&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SSH&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; off&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; True&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; False&amp;nbsp; &lt;/P&gt;&lt;P&gt;TSM-SSH&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SSH&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; off&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; True&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; False&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you select the vmhost the properties are missing from the Hostservice object and the script fail &lt;img class="lia-deferred-image lia-image-emoji" src="https://communities.vmware.com/html/@8D3AC78033E090809829B1C8262B7619/emoticons/1f61e.png" alt=":disappointed_face:" title=":disappointed_face:" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Lucida Console;"&gt;&lt;SPAN style="color: #0000ff;"&gt;Get-VMHost &lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;| &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;Get-VMHostService&lt;/SPAN&gt;&amp;nbsp; &lt;SPAN style="color: #a9a9a9;"&gt;|&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;where&lt;/SPAN&gt; {&lt;SPAN style="color: #ff4500;"&gt;$_&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;.&lt;/SPAN&gt;Key &lt;SPAN style="color: #a9a9a9;"&gt;-eq&lt;/SPAN&gt; &lt;SPAN style="color: #8b0000;"&gt;'TSM-SSH'&lt;/SPAN&gt; &lt;SPAN style="color: #a9a9a9;"&gt;-and&lt;/SPAN&gt; &lt;SPAN style="color: #ff4500;"&gt;$_&lt;/SPAN&gt;&lt;SPAN style="color: #a9a9a9;"&gt;.&lt;/SPAN&gt;Running} &lt;SPAN style="color: #a9a9a9;"&gt;| select vmhost |&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Lucida Console;"&gt;&lt;SPAN style="color: #0000ff;"&gt;Out-GridView&lt;/SPAN&gt; &lt;SPAN style="color: #000080;"&gt;-OutputMode&lt;/SPAN&gt; &lt;SPAN style="color: #8a2be2;"&gt;Multiple&lt;/SPAN&gt; &lt;SPAN style="color: #000080;"&gt;-Title&lt;/SPAN&gt; &lt;SPAN style="color: #8b0000;"&gt;"Select ESX where SSH should be stopped"&lt;/SPAN&gt; &lt;SPAN style="color: #a9a9a9;"&gt;|&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Lucida Console;"&gt;&lt;SPAN style="color: #0000ff;"&gt;Stop-VMHostService&lt;/SPAN&gt; &lt;SPAN style="color: #000080;"&gt;-confirm:&lt;/SPAN&gt;&lt;SPAN style="color: #ff4500;"&gt;$false&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jan 2017 15:02:13 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Stop-SSH-not-working-if-select-property-is-specified/m-p/2227706#M74993</guid>
      <dc:creator>jravnsba1</dc:creator>
      <dc:date>2017-01-02T15:02:13Z</dc:date>
    </item>
    <item>
      <title>Stop SSH not working if select property is specified ?</title>
      <link>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Stop-SSH-not-working-if-select-property-is-specified/m-p/2227703#M74990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: Lucida Console;"&gt;I'm unable to figure out why this script only works when no select property are specified.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: Lucida Console;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;This doesn't work&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: Lucida Console;"&gt;Get-VMHost|Get-VMHostService|where {$_.Key -eq 'TSM-SSH' -and $_.Running} |&lt;SPAN style="color: #3366ff;"&gt;&lt;STRONG&gt;select vmhost, label, running&lt;/STRONG&gt;&lt;SPAN style="color: #575757;"&gt;|ogv -PassThru -title "Select ESX where SSH should be stopped"|Stop-VMHostService -confirm:$false&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; font-size: 12pt; text-decoration: underline; font-family: Lucida Console;"&gt;This works but the view doesn't contain hostnames &lt;img class="lia-deferred-image lia-image-emoji" src="https://communities.vmware.com/html/@8D3AC78033E090809829B1C8262B7619/emoticons/1f61e.png" alt=":disappointed_face:" title=":disappointed_face:" /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: Lucida Console;"&gt;Get-VMHost|Get-VMHostService|where {$_.Key -eq 'TSM-SSH' -and $_.Running} |ogv -PassThru -title "Select ESX where SSH should be stopped"|Stop-VMHostService -confirm:$false&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: Lucida Console;"&gt;Any help appreciated&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2016 14:01:51 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VMware-PowerCLI-Discussions/Stop-SSH-not-working-if-select-property-is-specified/m-p/2227703#M74990</guid>
      <dc:creator>jravnsba1</dc:creator>
      <dc:date>2016-12-22T14:01:51Z</dc:date>
    </item>
  </channel>
</rss>

