Hi Doug,
Quesiton ,
I want to use your script but just to get the refresh information for 1 HOST, could you please make me a script where I can enter the host name please? thanks!!
Call it on the HostNetworkSystem object
(To get an mor of HostNetworkSystem, you can traverse from the HostSystem.configManager.networkSystem)...
my $hostViews = Vim::find_entity_views(view_type => 'HostSystem' );
foreach (@$hostViews ) {
my $netMgr = Vim::get_view(mo_ref => $_->configManager->networkSystem);
$netMgr->RefreshNetworkSystem();
}