Powershell: Securing credentials using the PSCredential class

This a pretty old one but a script block at times I revert back to in particular when there is a requirement to specify user credentials in order to complete a task. When requiring to store credentials in a script block, these should not be entered in plain text from a security perspective and can … More Powershell: Securing credentials using the PSCredential class

Disabling the Telnet protocol on Brocade SAN switches

By default Brocade SAN switches have the Telnet protocol enabled, you may wish to disable this as part of security hardening of your devices to mitigate to the session being transmitted in clear text and enforce SSH connectivity as the management protocol. In order to disable the Telnet protocol you will be required to modify the … More Disabling the Telnet protocol on Brocade SAN switches

PowerCLI – Joining an ESXi host to an Active Directory domain

I was recently configuring the Authentication Service on a number of ESXi hosts to join them to an Active Directory domain to manage local user authentication. This is possible using the vSphere Web Client or Client but requires the configuration change to be made on each ESXi host manually and adds an administrative overhead, so lets … More PowerCLI – Joining an ESXi host to an Active Directory domain

VMware: Modify the timeout settings of the vSphere Web Client

By default, the vSphere Web Client inactivity timeout period is 120 minutes. It may be that that you wish to reduce the value to close session automatically to minimize risk , by reducing the potential for unauthorised access to vCenter. This is possible by modifying the ‘webclient.properties’ file which by default is located in the directory ‘C:\ProgramData\VMware\vSphere Web Client’ … More VMware: Modify the timeout settings of the vSphere Web Client

VMware: Disable Managed Object Browser (MOB)

The managed object browser provides a way to explore the object model used by vCenter to manage the vSphere environment; it enables configurations to be changed as well. This interface is used primarily for debugging the vSphere SDK. This interface might potentially be used to perform malicious configuration changes or actions. In order to disable … More VMware: Disable Managed Object Browser (MOB)