Skip to content

Get-ComputerInfo incorrectly implemented #131

@comnam90

Description

@comnam90

Hi guys,

It seems that in response to issue #123, a pull request #126 was created to introduce the use of Get-ComputerInfo.
This is a great addition to the data collection, however it was implemented incorrectly and as such isn't actually working.
Image of error

Currently it is trying to use the -CimSession parameter, but this isn't a supported parameter and instead should be executed via Invoke-Command to be run remotely when collecting the information.

Invoke-Command -ComputerName _C_ -ScriptBlock { Get-ComputerInfo }

Cheers,
Ben

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions