Today we will use PowerCLI to create a local user for ESXi hosts and exclude that user from Lockdown Mode. The challenge is to communicate both with vCenter and ESXi at the same time. As one should know by now using the cmdlet: by default, PowerCLI will talk to vCenter instead of the ESXi host.…
Read moreTag: Lockdown
PowerCLI: Enable/Disable SSH and Lockdown Mode
Today I will show you quick and easy way to enable and disable SSH and Lockdown mode for all hosts in the cluster. Let’s start by connecting to vCenter: Next let’s grab list of hosts in the cluster and put it to variable Now we will disable SSH To enable SSH change Stop-VMHostService to Start-VMHostService…
Read more