-
Archives
-
Meta
Monthly Archives: April 2015
Use Datastore and Inventory Providers
use this command to get the environment variables PowerCLI C:\> Get-PSDrive | select name Name —- X X vi vis vmstore vmstores will show several output , I just care about above ones. to switch to vmstores as an example: … Continue reading
Posted in VCAP5-DCA, Vmware
Leave a comment
Use basic and advanced Cmdlets to manage VMs and ESXi Hosts – Part 2 {Managing ESXi Host}
[Vmware] Managing ESXi Host: Displaying hosts related commands Get running Services on vCenter Hosts Stop , Start , Restart services on all ESXi hosts Display specific services on all ESXi hosts Stop specific services on all ESXi hosts list related … Continue reading
Posted in Uncategorized, VCAP5-DCA, Vmware
Leave a comment
Use basic and advanced Cmdlets to manage VMs and ESXi Hosts – Part1 {Managing VM}
In this note I did the following: Force power Off & power on VM Create VM with various parameters Get All Virtual machines having a CD drive connected Add a network adapter and HardDisk Increase virtual machine memory Creating a … Continue reading
Posted in Uncategorized, VCAP5-DCA, Vmware
Leave a comment
Configure a shared repository
Create a directory under wwwroot "the default IIS directory" Execute the command PS C:Program Files (x86)VMwareInfrastructureUpdate Manager> .vmware-umds.exe -E –export-store C:inetpubwwwrootUMDS I did run out of space so I am trying it once more after extending partition "I recommend to … Continue reading
Posted in Uncategorized, VCAP5-DCA, Vmware
Leave a comment
Install and configure Update Manager PowerShell Library
Get all commands related to update manager PowerCLI C:> Get-Command -PSSnapin vmware.VumAutomation Downloading Patches : PowerCLI C:> Get-VM | Where-Object {$_.Name -like "WSUS*"} PowerCLI C:> Scan-Inventory -Entity WSUS-DR You can search in data range for updates: PowerCLI C:> Get-Patch -Severity … Continue reading
Posted in Uncategorized, VCAP5-DCA, Vmware
Leave a comment
Install and configure Update Manager Download Service
Navigate UMDS installation directory , this tool you can use to change the proxy or Database settings: To get help: PS C:Program Files (x86)VMwareInfrastructureUpdate Manager> .vmware-umds -H -e [ –enable-host-platform ] -d [ –disable-host-platform ] Get the current configuration to … Continue reading
Posted in Uncategorized, VCAP5-DCA, Vmware
Leave a comment
The domain either does not exist or could not be contacted
While installing VMware Authentication proxy , I got this message: The domain either does not exist or could not be contacted. VMWare advise to install Microsoft Windows Hot Fix (KB Article 981506 ) But it was not applicable as it … Continue reading
Posted in Uncategorized, VCAP5-DCA, Vmware
Leave a comment
Calculate and Create a custom slot size configuration
Slot size is comprised of two components, CPU and memory. · vSphere HA calculates the CPU component by obtaining the CPU reservation of each powered-on virtual machine and selecting the largest value. If you have not specified a CPU reservation … Continue reading
Posted in Uncategorized, VCAP5-DCA, Vmware
Leave a comment
Configure vSS and vDS settings using command line tools
I already talked about Standard Switches in: https://ahmadelgendi.wordpress.com/2015/02/23/create-and-configure-a-standard-virtual-switch-using-powercli-esxcli-3/ So here I will play little with Distributed one ! PowerCLI C:> get-command *net* | Where-Object {$_.CommandType -eq ‘cmdlet’} Another one: get-command *switch* | Where-Object {$_.CommandType -eq ‘cmdlet’} New-VDSwitch -Name So,, PowerCLI C:> … Continue reading
Posted in Uncategorized, VCAP5-DCA, Vmware
Leave a comment