/ Published in: Windows PowerShell
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
@(1..25) + @(99..100) | ForEach-Object { Write-Host $hostname Connect-VIServer -Server $hostname -User root -Password blah }
@(1..25) + @(99..100) | ForEach-Object { Write-Host $hostname Connect-VIServer -Server $hostname -User root -Password blah }