PowerShell - Working with Objects
Which of the following is the correct syntax to add a NoteProperty named
Age with value 30 to an existing object $person?Age with value 30 to an existing object $person?Add-Member are -InputObject, -MemberType, -Name, and -Value.NoteProperty is the correct member type for adding simple properties. The property name is specified with -Name.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions