This is a test page. This is a test page. This is a test page. This is a test page. This is a test page. This is a test page.
<br>Write-Host "Connecting to" $VMWareServer"…"<br>Connect-VIServer -Server $VMWareServer -Protocol https -User $USER -Password $PASSWD</p> <!-- /wp:paragraph --> <!-- wp:paragraph --> <p>function ResourcePoolFullPath{<br>param($Object)<br>#$path = $object.Name<br>$parent = Get-View $Object.ExtensionData.ResourcePool<br>while($parent){<br>$path = $parent.Name + "/" + $path<br>if($parent.Parent){<br>$parent = Get-View $parent.Parent<br>}<br>else{$parent = $null}<br>}<br>$path<br>}</p> <!-- /wp:paragraph --> <!-- wp:paragraph --> <p>$ErrorActionPreference = “Stop”<br>Write-Host ""</p> <!-- /wp:paragraph --> <!-- wp:paragraph --> <p>
This is a test page. This is a test page. This is a test page. This is a test page. This is a test page. This is a test page. This is a test page. This is a test page. This is a test page.
Be First to Comment