VMware Cloud Community
advunips2
Contributor
Contributor
Jump to solution

Configuration ESXi via Script

Hello,

Does anyone have a prepared script to perform the basic configuration (DNS, NTP, Network, activation of services...) of an ESX server (6.5/6.7) and could share it?

This makes it easier to set up multiple servers in parallel with the same configuration.

Thanks

Peter

Tags (3)
1 Solution

Accepted Solutions
sk84
Expert
Expert
Jump to solution

Hi Peter,

Why don't you use host profiles? Or does this not allow your license?

If you want to script the whole configuration of multiple hosts, this might help: Automate ESXI Host Configuration with PowerCLI and CSV - The Art of Information Technology

--- Regards, Sebastian VCP6.5-DCV // VCP7-CMA // vSAN 2017 Specialist Please mark this answer as 'helpful' or 'correct' if you think your question has been answered correctly.

View solution in original post

6 Replies
sk84
Expert
Expert
Jump to solution

Hi Peter,

Why don't you use host profiles? Or does this not allow your license?

If you want to script the whole configuration of multiple hosts, this might help: Automate ESXI Host Configuration with PowerCLI and CSV - The Art of Information Technology

--- Regards, Sebastian VCP6.5-DCV // VCP7-CMA // vSAN 2017 Specialist Please mark this answer as 'helpful' or 'correct' if you think your question has been answered correctly.
a_p_
Leadership
Leadership
Jump to solution

Since you're asking for a script, I've moved the discussion from VMware vSphere™ to VMware PowerCLI

LucD
Leadership
Leadership
Jump to solution

The script mentioned earlier is a good start.
Check what is still missing, I'm pretty sure we can find samples in this community


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

advunips2
Contributor
Contributor
Jump to solution

Thank you very much!

At the Moment where I configure the servers (inhouse at our company) i didn't have an vCenter.

Peter

Reply
0 Kudos
UberGeek1
Enthusiast
Enthusiast
Jump to solution

You may want to look at using a Kickstart script to perform these actions at install time.  That's really the only option I can think of without vCenter because you probably don't have licensing for PowerCLI either.

Sincerely, Jody L. Whitlock
Reply
0 Kudos
LucD
Leadership
Leadership
Jump to solution

There is no licensing for PowerCLI.

You can use it with any vSphere server, beit a vCenter or an ESXi node.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference