I need to change the syslog server settings for 100 ESX Servers.
I would like to add this to the end of the file: *.* @192.168.0.10
Or replace the "/etc/syslog.conf" file completely
I would like to do this with PowerShell...
???Do you have a script???
Thanks much.
Try this. It's still beta. But i tested it on 20 esx hosts in our lab.
http://communities.vmware.com//thread/195312?tstart=30
I will connect to virtualcenter, you can select a server, get the syslog from a selected server, you can adjust the syslog.conf and then you can apply it to all servers in your environment.
I don't have a powershell script and I didn't think powershell had native command or syntax to manage linux. Either way have you tried scripting with winscp ?
Hello,
Moved to the VI Toolkit (Windows) forum.
Best regards,
Edward L. Haletky
VMware Communities User Moderator, VMware vExpert 2009
====
Author of the book 'VMWare ESX Server in the Enterprise: Planning and Securing Virtualization Servers', Copyright 2008 Pearson Education.
Blue Gears and SearchVMware Pro Blogs -- Top Virtualization Security Links -- Virtualization Security Round Table Podcast
There are currently no VITK cmdlets nor SDK methods that let you interface with the COS filesystem.
There are some methods based on plink but it is not very elegant.
Have a look at for an example of the use of plink.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Try this. It's still beta. But i tested it on 20 esx hosts in our lab.
http://communities.vmware.com//thread/195312?tstart=30
I will connect to virtualcenter, you can select a server, get the syslog from a selected server, you can adjust the syslog.conf and then you can apply it to all servers in your environment.