Welcome,
Guest.
Please
Login
or
Register
.
News:
Home
Help
Search
Calendar
Register
Login
Vmware Scripting Forum
»
Scripts!
»
Bash Scripts
»
Set every virtual switch to listen and advertise
Pages: [
1
]
« previous
next »
Print
Author
Topic: Set every virtual switch to listen and advertise (Read 3107 times)
esarakaitis
Administrator
Sr. Member
Posts: 256
Set every virtual switch to listen and advertise
«
on:
January 14, 2009, 08:08:32 AM »
Code:
#!/bin/bash
for SWITCH in $( esxcfg-vswitch -l | awk '/vSwitch/ {print $1}'); do
/usr/sbin/esxcfg-vswitch -B both $SWITCH
done
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...