Skip to content

Properties of Get-ADSIPrincipalGroupMembership doesn't begin with capital letter #121

Description

@DennisL68

The property names of Get-ADSIPrincipalGroupMembership is lower case initial letter

Get-ADSIPrincipalGroupMembership -Identity $env:COMPUTERNAME | Get-Member

   TypeName: System.Management.Automation.PSCustomObject

Name        MemberType   Definition
----        ----------   ----------
Equals      Method       bool Equals(System.Object obj)
GetHashCode Method       int GetHashCode()
GetType     Method       type GetType()
ToString    Method       string ToString()
description NoteProperty string description=All workstations and servers joined to the domain
name        NoteProperty string name=Domain Computers

where best practice for PowerShell is to use upper case initial letter for property names.

Description
Name

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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