When creating a string variable
$a="aaa"if I run $a, powershell prints out the string value. But how it this output actually derived? When doing get-member, I don't see any properties which point to the string value.
When creating a string variable
$a="aaa"if I run $a, powershell prints out the string value. But how it this output actually derived? When doing get-member, I don't see any properties which point to the string value.
@Garegin Asatryan, please go through the link below, in the description section you will find what you are looking for…
Thank you.
There is a character array:
'hi' | gm chars TypeName: System.String Name MemberType Definition ---- ---------- ---------- Chars ParameterizedProperty char Chars(int index) {get;}