Skip to content

Working on Users Report - Method invocation failed because.... #47

@thetootall

Description

@thetootall

Running the script and encountering this error

Working on Users Report...
Method invocation failed because [System.Management.Automation.PSCustomObject] does not contain a method named 'Add'.
At C:\temp\adreport.ps1:630 char:1

  • $userphaventloggedonrecentlytable.Add($obj)
  •   + CategoryInfo          : InvalidOperation: (Add:String) [], RuntimeException
      + FullyQualifiedErrorId : MethodNotFound
    

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