Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ?$VMHosts = Get-VMHost *
- foreach ($vh in $VMHosts.name)
- {
- Get-VMHost $vh | Add-VMHostNtpServer -NtpServer ntp.yourdomain.local
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement