Enable SSH on VMhost with PowerCLI

How to Enable SSH for VMhost with PowerCli

To enable SSH:

Get-VMHost <HostName> | Get-VMHostService | Where Key -EQ "TSM-SSH" | Start-VMhostService

Enable SSH via PowerCli

To disable SSH:

Get-VMHost <HostName> | Get-VMHostService | Where Key -EQ "TSM-SSH" | Stop-VMHostService -Confirm:$False

Disable SSH via PowerCli

– Stuart… Continue reading

PowerShell to gather Lenovo Warranty information

Lenovo Warranty Information Lookup

To continue with the theme of my last post, I’m going to show how to gather the warranty information for Lenovo Servers.  This was a bit tricky as this isn’t an API call, but more of a website parsing.

Getting the Lenovo Server information

To be able to perform this warranty lookup, the server information will need to be retrieved, and what a better way than getting it from the VMhosts themselves.… Continue reading

PowerShell to gather HP Warranty information

Using PowerShell to get HP warranty information

Have you ever need to find the warranty information for your environment’s workstations, and didn’t want to spend hours to get the answers.  That is where PowerShell and HP warranty API will come in handy.

Sign up for an HP Developer’s account

Before you can begin you will need to sign up for an account on HP’s website, https://developers.hp.com/. … Continue reading