Re: Switch statement and hash table
Gotcha, now on that note, if you pass an object to the switch statement, how does it know to evaluate $_.name? Don't you need a where statement in there? Is it hte curly braces that is used to...
View ArticleRemove an adapter from a vSwitch via PowerCLI
Hello community! I've been working on a script to remove an adapter from a vSwitch, but Remove-NetworkAdapter, Remove-VDSwitchPhysicalNetworkAdapter and Remove-VMHostNetworkAdapterdon't seem to work...
View ArticleRe: Virtual Network Editor not saving added networks
Just a quick question. Do you run VMware Workstation 9.0.2 like WoodyZ? The release notes for version 9.0.1 contain an entry about a resolved issue with preserving network settings. Not sure whether...
View ArticleRe: Switch statement and hash table
I think i've got it now. I think it makes more sense here if I break it down. So you can do a script block for Switch to evaluate if true and if you have an object you can do "object -eq "string" "...
View ArticleNetwork I/O 100% Utilization
Hi guys, vCOPS (5.7.1) is reporting that I have 100% Network I/O utilization on a few of my hosts. I don't want to say this is impossible, but I have 2x 10G network cables connected and they are...
View ArticleRe: ESXi 5.1 integration with HP SIM
Sorry, just to be clear ... have you already installed the Offline bundle on your hosts? - you can download it here http://vibsdepot.hp.com/ - or use VUM to deploy them...
View ArticleRe: Remove an adapter from a vSwitch via PowerCLI
I don't believe there is a remove adapter for the vswitch. What you can do is set the switch for the adapters you want it it to have as opposed to what to remove. IE, the below will set your virtual...
View ArticleHow do I edit files in the /opt directory and keep after reboot?
I figured out how to edit them, but the changes disappear after immediate reboot. I read this other post about using the autobackup.sh script, but that was for '/etc' and not '/opt' directory. The...
View ArticleRe: vSphere CLI: Error: Unknown Command
Outstanding.. that is what I was missting.. I didn't have it in the \bin directory. I knew it had to be something simple.
View ArticleRe: esxi 5.1 install - SD card big enough? - RAID5 config correct?
Hey thanks André, very useful. One question from your reference regarding "If installing on a very small drive, about 1 GB, or on USB, this scratch partition will be missing and the log files will be...
View ArticleRe: VMWare doesn't start after kernel update
Thanks for the tip, but it didn't work!I've downgraded the kernel to 3.9, and it's working fine! thanks!!
View ArticleRe: Nexus 1000v iscsi multipath not working for two hosts.
After re-installing the hosts, vcenter, N1KV from scratch, I have both hosts using iscsi multipathing and behind the router doing NAT. The only problem is after a reboot, the storage is not found even...
View ArticleRe: Hardware monitoring service on this host is not responding or not available
I encountered the same problem while configuring Protection Groups within SRM for a guest. I was able to partially trace the issue back to the installation of VMware tools on several guests. I...
View ArticleRe: Network I/O 100% Utilization
One other quick thing to note: With the exception of the VDS, that is backed by a Cisco 1110, we do have one Stand Switch, which is what my TrendMicro and vSheild Edge solution uses.
View ArticleRe: Network I/O 100% Utilization
Hi Chris, The Collector collects two values of each metric every 5min...and avg and a max value for the metric.It is this max value that is used to set the 100% of the Network Util.Example:Lets say a...
View ArticleHow to connect client to host
I've run into some trouble. I have Workstation 9 and I created a Win7 client, using 8GB of RAM, 2 CPU's with 2 cores, 60GB disk and installed Win7 64 Ultimate. I normally use VirtualBox and after this...
View ArticleRe: Network I/O 100% Utilization
If this is the case how will I know when a Max Capacity alert is triggered if it's accurate? I've been getting these alerts now every few days for different host servers. Furthermore, is this type of...
View ArticleRe: Get-NicTeamingPolicy not working
No luck. $pg = Get-VirtualPortGroup -name PGNAMEGet-NicTeamingPolicy -VirtualPortGroup $pg Get-NicTeamingPolicy : Cannot bind parameter 'VirtualPortGroup'. Cannot convert the "PGNAME" value of type...
View ArticleRe: Network I/O 100% Utilization
You will need to check the usage on the cards...they are located in the : Operations -> All Metric -> Network Ideally you want a setting to override the max Network setting per host /per...
View ArticleRe: esxi 5.1 install - SD card big enough? - RAID5 config correct?
With ESXi 5.0 and prior versions you needed to configure a persistent scratch location manually. With ESXi 5.1 this is now done automatically. Once ESXi detects a datastore, it will create a scratch...
View Article