Posts in this category are mainly related to Powershell scripting.
Ok , exporting values of custom attributes , in other words our custom annotations for vms. When running with specific -Attribute…
Posts in this category are mainly related to Powershell scripting.
Ok , exporting values of custom attributes , in other words our custom annotations for vms. When running with specific -Attribute…
I had to get some info about host memory dimms layout, so i wrote this one. It is utilizing CIM_PhysicalMemory. Not…
$si = get-view serviceinstance $sc= $si.Content $sm = get-view -id $sc.SessionManager $vms=get-vm $i=1 foreach ($v in $vms) { .\vmrc.exe vmrc://clone:$($sm.AcquireCloneTicket())@myVC.internetz.biz/?moid=$($v.ExtensionData.MoRef.value) $i++…
for exmaple: $vms = get-view -viewtype virtualmachine $vms | ?{$_.runtime.question} | select name In order to answer assuming there is 1…
https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2145686 apply patches.
New-Item -Path HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\KeyExchangeAlgorithms -Name Diffie-Hellman –Force New-ItemProperty -Path HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\KeyExchangeAlgorithms\Diffie-Hellman -Value 0x00000200 -PropertyType DWord -Name ‘ClientMinKeyBitLength’
That’s the only way so far i have figured out how to do it. Getting the information through CIM. [sourcecode language=”powershell”]…
I have created this tiny program that will help me sometimes look for other vms that are supposed to sit inside…
vSphere Client Version 5.0.0 Build 1300600 vCenter Server Version 5.0.0 Build 1300600 This is just a note to myself about an…
Today i wanted to add another section to my health check scripts, i wanted to get all unresolved, not acknowledged alerts…
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1008643 http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2040707 http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2033073 http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2037798 scratch partition http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1033696
Today i want to show a way of finding vms that are orphaned, disconnected, inaccessible, invalid vms using PowerCLI. Again ,…