Category: PowerShell
Posted in PowerShell
PowerShell workshop with Angry Admin – Security guide for ESXi
Piotr Tarnawski 10 July 2021
Today I will show you how to apply VMware security recommendation to ESXi hosts using PowerShell. The script is smart way check the hosts compliance…
Posted in PowerShell
Set-VMHostSysLogServer – Configure syslog on VMware ESXi hosts
Piotr Tarnawski 31 May 2021
Connect to vCenter server: Set up variable for all hosts: Set up syslog: Check if settings have been applied: If you need explanation or you…
Posted in PowerShell
Get-VM – Retreving a list of VMs in your envirnoment
Piotr Tarnawski 31 May 2021
First thing to remember is to connect to the VCAS. Meet the GET-VM command! Syntax: If you want to retrieve VMs connected to specific Virtual…
Posted in PowerShell
PowerShell – Disable SLP on ESXi firewall – VMSA-2019-0022 (CVE-2019-5544), VMSA-2020-0023 (CVE-2020-3992) and VMSA-2021-0002 (CVE-2021-21974).
Piotr Tarnawski 21 April 2021
OpenSLP vulnerabilities have been disclosed that affect ESXi. The possibility of exploitation can be removed by performing the steps detailed in this article I will…