Skip to content

Add-Member errors when calling Get-Turtle #85

@ninmonkey

Description

@ninmonkey

To reproduce

> Import-module ./Turtle.psd1 -Force -Verbose
> $error.clear()
> $t = Get-Turtle

# Error: The SecondValue parameter is not necessary for a member of type "NoteProperty", and 
#    should not be specified. Do not specify the SecondValue parameter when you add members of this type

> $t.Position

# Error: The SecondValue parameter is not necessary for a member of type "NoteProperty", and 
#    should not be specified. Do not specify the SecondValue parameter when you add members of this type

> $error.count # 3

> $null -eq (Get-Turtle).Position
# true

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