Skip to content

Get-LogUserAssist returns null results for jobs, crashing Get-TargetData #215

@MurrayR0123

Description

@MurrayR0123

Hi Folks,

I have identified in my lab environment that Get-LogUserAssist is returning child jobs with NULL results, causing Get-TargetData to hard fail on line 894 (when attempting to remove excess properties returned by the modules) and leading to kansa.ps1 to exit. Adding a check for NULL values in job data for this operation fixes this, but lead the script to fail at the switch statement on line 916 when saving results.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions