Browsed by
Category: PowerCLI

Spectre NG (CVE-2018-3639 and CVE-2018-3640)

Spectre NG (CVE-2018-3639 and CVE-2018-3640)

A short wrapup to the latest Intel security leaks for VMware Administrators: CVE-2018-3639 aka Speculative Store Bypass (SSB), Variant 4 CVE-2018-3640 aka Rogue System Register Read (RSRE), Variant 3a. Once again we have to patch the whole stack: Update vCenter CPU Microcode (BIOS Update) VMware ESXi Hypervisor Patch Check if the new CPU flags are mapped to a new VM All VMs – Shutdown and start (reboot is not enough!) Update Guest OS Get some hints about EVC-Mode and how…

Read More Read More

Configure Huawei Ultrapath with PowerCli

Configure Huawei Ultrapath with PowerCli

The last days we got two new All-Flash Storage Systems. These systems can present LUNs in a Metro-Cluster fashion. So I got the challenge to configure the Storage Plugin UltraPath from Huawei. In the manual from Huawei is explained how to configure the settings with esxcli on the ESXi-Host. That’s fine, but not enough šŸ˜‰ We want to configure this with PowerCli to easily manage more than one Host.   #get esxcli $esxcli2 = Get-ESXCLI -VMHost (Get-VMhost MyHost-001) -V2 #show…

Read More Read More

Got a PSOD? Check which VMs restarted by HA!

Got a PSOD? Check which VMs restarted by HA!

We design highly redundant Datacenters, Clusters, Storage Systems and even Networks, but in the end we still have some unplaned outages :/ This week we had a defect Memory DIMM that caused a PSOD on one ESXi Host. HA restarted the VMs fine, but we want to know quickly which VMs restarted. Check out a PowerCLI one liner to find the restarted VMs!

PowerCLI is now available on OSX and Linux too!

PowerCLI is now available on OSX and Linux too!

I was very happy to seeĀ Luc Dekens andĀ Alan Renouf @VMworldĀ SessionĀ #INF8092R. And I wasĀ even more happy to see PowerCLI is becoming availableĀ on other Platforms like OSX and Linux too. At the momentĀ it’s “only” a Fling, but this is quite sure only the beginning. Get the Fling PowerCLI CoreĀ atĀ https://labs.vmware.com/flings/powercli-core

Is the SSH-Service on your ESXi disabled?

Is the SSH-Service on your ESXi disabled?

In times like these, where daily security leaks areĀ published, it’s time to check some basics. Run the following PowerCLI Script to see ifĀ the SSH-Service is running and disable it! #List Hosts into Array $arr = @() $arr = (Get-VMHost * | Foreach {($_ | Get-VMHostService | Where { $_.Key -eq “TSM-SSH”})} | select VMHost,Label,Policy,Running | Sort VMHost) #Filter running SSH or Enabled $sshOn = $arr | Where-Object { ($_.Running -eq “True”) -or ($_.Policy -eq “on”) } #If SSH on ->…

Read More Read More

Get all the VMworld 2016 Sessions

Get all the VMworld 2016 Sessions

Updated:Ā The Sessions US are no more available onĀ this way, but the EU šŸ˜‰ You want all the Sessions from VMworld 2016? First, you have to download thisĀ raw_download_urlsĀ File.Ā In this file the URL’s are listed. Now, download the MP4-Files in PowerShell šŸ˜‰ $Filelocation = “c:\myFolder\raw_download_urls.txt” #Change the Location to your Path $SaveLocation = “c:\myFolder\” #Change the Location to your Path $List = Import-CSV $Filelocation -Header “ID”, “Link” -Delimiter “#” If (Get-Module BitsTransfer -ErrorAction SilentlyContinue) { $Bits=$true Write-Host “Using BITS transfer for faster…

Read More Read More

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close