Skip to content

[Get-PEB] argument transformation on parameter 'Id' #9

@ZeeWanderer

Description

@ZeeWanderer

Taken from .EXAMPLE

$NotepadPEB = Get-PEB -Id (ps notepad)
Get-PEB : Cannot process argument transformation on parameter 'Id'. Cannot convert the "System.Diagnostics.Process (notepad)" value of type "System.Diagnostics.Process" to type "System.UInt16[]".
At line:1 char:27
+ $NotepadPEB = Get-PEB -Id (ps notepad)
+                           ~~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (:) [Get-PEB], ParameterBindingArgumentTransformationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,Get-PEB

my ps version:

Major Minor Build Revision
5 1 17763 316

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