NTP Update PoSH for ESX

NTP Update PoSH for ESX

$Cluster = "<cluster name>"
$Hosts = Get-Cluster $Cluster | Get-VMHost
ForEach ($Host in $Hosts)
{
Remove-VmHostNtpServer -NtpServer "x.x.x.x" -VMHost $Host | Out-Null
Remove-VmHostNtpServer -NtpServer "x.x.x.x" -VMHost $Host | Out-Null
Add-VmHostNtpServer -NtpServer "ntp0.sysxperts.com" -VMHost $Host | Out-Null
Add-VmHostNtpServer -NtpServer "ntp1.sysxperts.com" -VMHost $Host | Out-Null
Get-VMHostService -VMHost $Host | Where-Object {$_.key -eq "ntpd"} | Restart-VMHostService Confirm:$false | Out-Null
write "NTP Server was changed on $host"
}

Enabling a VirtualBox Win7 guest to connect to 8021x

Enabling a VirtualBox Win7 Guest to Connect to 802.1x Corporate Network


Disable everything but the VirtualBox Bridged Networking Driver on the interface connected to the corp. LAN and also disable authentication as this will be handled by the guest OS.


 image


image



Disable VirtualBox on the interface connected to your Internet enabled network

image



Create 1 bridged interface and 1 host only interface on your VirtualBox Guest under Virtual Box Settings then power on Guest and go to Network Connections to verify

image

  image



On the bridged interface you will enable authentication for 802.1x and edit settings as follows.

image

 

 

Settings - edit servernames with your own Domain Controllers/802.1x auth providers

image



Additional settings - Set to User Authentication and replace credentials with your Domain auth in the form DOMAINNAME\username

On the Host Only interface set it to a static IP in the same range as that which is configured on the Host as shown under File > Preferences > Network


image

 

image



Now you should be able to join your Windows 7 guest to the domain and access corporate resources with 802.1x authentication.

And your shared local drive too if you added under Devices > Shared Folders

image


Enabling a VirtualBox Win7 guest to connect to 8021x

Enabling a VirtualBox Win7 Guest to Connect to 802.1x Corporate Network


Disable everything but the VirtualBox Bridged Networking Driver on the interface connected to the corp. LAN and also disable authentication as this will be handled by the guest OS.


 image


image



Disable VirtualBox on the interface connected to your Internet enabled network

image



Create 1 bridged interface and 1 host only interface on your VirtualBox Guest under Virtual Box Settings then power on Guest and go to Network Connections to verify

image

  image



On the bridged interface you will enable authentication for 802.1x and edit settings as follows.

image

 

 

Settings - edit servernames with your own Domain Controllers/802.1x auth providers

image



Additional settings - Set to User Authentication and replace credentials with your Domain auth in the form DOMAINNAME\username

On the Host Only interface set it to a static IP in the same range as that which is configured on the Host as shown under File > Preferences > Network


image

 

image



Now you should be able to join your Windows 7 guest to the domain and access corporate resources with 802.1x authentication.

And your shared local drive too if you added under Devices > Shared Folders

image