PSWinVitals icon indicating copy to clipboard operation
PSWinVitals copied to clipboard

Add remoting capability

Open jdhitsolutions opened this issue 3 years ago • 1 comments

The Get-VitalInformation command is begging to support querying remote computers.

jdhitsolutions avatar Aug 30 '22 13:08 jdhitsolutions

Agree this would be nice, though I expect it'd be a lot of work. For now the easiest method is to simply install the module on all computers (which itself can be done via PowerShell remoting), and then invoke it on said computers as a remote command.

Something like:

Invoke-Command -ComputerName PC1,PC2 -ScriptBlock { $null = Install-Module -Name PSWinVitals; Get-VitalInformation }

ralish avatar Sep 05 '22 02:09 ralish