Welcome,
Guest.
Please
Login
or
Register
.
News:
Home
Help
Search
Calendar
Register
Login
Vmware Scripting Forum
»
Scripts!
»
Powershell Scripts
»
Host Scripts
»
set domain name of esx host
Pages: [
1
]
« previous
next »
Print
Author
Topic: set domain name of esx host (Read 581 times)
esarakaitis
Administrator
Full Member
Posts: 241
set domain name of esx host
«
on:
January 13, 2009, 10:00:11 AM »
Code:
$esx = Get-VMHost "vmhost"] | Get-View
$ns = Get-View -Id $esx.configManager.networkSystem
$dns = $ns.networkConfig.dnsConfig
$dns.domainname = "domain.com"
$ns.UpdateDnsConfig($dns)
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Discussion
-----------------------------
=> Suggestion Area
-----------------------------
VMware Scripting!
-----------------------------
=> General Discussion
=> VMware Scripting Links
-----------------------------
Scripts!
-----------------------------
=> Powershell Scripts
===> Guest Scripts
===> Host Scripts
===> Networking Scripts
===> Reporting Scripts
===> Cluster Scripts
===> Datastore/Disk Scripts
=> Orchestrator Workflow's
=> .NET (C#/VB.NET)
=> RCLI
=> Bash Scripts
=> Perl Scripts
=> Vprobes
=> Python
-----------------------------
Scripting Language Resources
-----------------------------
=> Bash
=> PowerShell
=> Python
=> Perl
Loading...