File tree Expand file tree Collapse file tree 4 files changed +32
-12
lines changed
5.1/Microsoft.PowerShell.Core/About
7.2/Microsoft.PowerShell.Core/About
7.3/Microsoft.PowerShell.Core/About
7.4/Microsoft.PowerShell.Core/About Expand file tree Collapse file tree 4 files changed +32
-12
lines changed Original file line number Diff line number Diff line change 11---
22description : Describes automatic members in all PowerShell objects
33Locale : en-US
4- ms.date : 08/21/2023
4+ ms.date : 01/10/2024
55online version : https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_Inrinsic_Members?view=powershell-5.1&WT.mc_id=ps-gethelp
66schema : 2.0.0
77title : about_Intrinsic_Members
@@ -59,7 +59,12 @@ The **Force** parameter of `Get-Member` shows us the intrinsic members of the
5959object.
6060
6161``` powershell
62- $hash | Get-Member -Force -Type MemberSet, CodeProperty
62+ $hash = @{
63+ Age = 33
64+ Name = 'Bob'
65+ }
66+
67+ $hash | Get-Member -Force -MemberType MemberSet, CodeProperty
6368```
6469
6570``` Output
@@ -114,7 +119,7 @@ the **PSCustomObject**. The new properties are now part of the `psextended`
114119** MemberSet** .
115120
116121``` powershell
117- $user | Get-Member -Force -Type MemberSet, CodeProperty
122+ $user | Get-Member -Force -MemberType MemberSet, CodeProperty
118123```
119124
120125``` Output
Original file line number Diff line number Diff line change 11---
22description : Describes automatic members in all PowerShell objects
33Locale : en-US
4- ms.date : 08/21/2023
4+ ms.date : 01/10/2024
55online version : https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_Inrinsic_Members?view=powershell-7.2&WT.mc_id=ps-gethelp
66schema : 2.0.0
77title : about_Intrinsic_Members
@@ -59,7 +59,12 @@ The **Force** parameter of `Get-Member` shows us the intrinsic members of the
5959object.
6060
6161``` powershell
62- $hash | Get-Member -Force -Type MemberSet, CodeProperty
62+ $hash = @{
63+ Age = 33
64+ Name = 'Bob'
65+ }
66+
67+ $hash | Get-Member -Force -MemberType MemberSet, CodeProperty
6368```
6469
6570``` Output
@@ -114,7 +119,7 @@ the **PSCustomObject**. The new properties are now part of the `psextended`
114119** MemberSet** .
115120
116121``` powershell
117- $user | Get-Member -Force -Type MemberSet, CodeProperty
122+ $user | Get-Member -Force -MemberType MemberSet, CodeProperty
118123```
119124
120125``` Output
Original file line number Diff line number Diff line change 11---
22description : Describes automatic members in all PowerShell objects
33Locale : en-US
4- ms.date : 08/21/2023
4+ ms.date : 01/10/2024
55online version : https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_Inrinsic_Members?view=powershell-7.3&WT.mc_id=ps-gethelp
66schema : 2.0.0
77title : about_Intrinsic_Members
@@ -59,7 +59,12 @@ The **Force** parameter of `Get-Member` shows us the intrinsic members of the
5959object.
6060
6161``` powershell
62- $hash | Get-Member -Force -Type MemberSet, CodeProperty
62+ $hash = @{
63+ Age = 33
64+ Name = 'Bob'
65+ }
66+
67+ $hash | Get-Member -Force -MemberType MemberSet, CodeProperty
6368```
6469
6570``` Output
@@ -114,7 +119,7 @@ the **PSCustomObject**. The new properties are now part of the `psextended`
114119** MemberSet** .
115120
116121``` powershell
117- $user | Get-Member -Force -Type MemberSet, CodeProperty
122+ $user | Get-Member -Force -MemberType MemberSet, CodeProperty
118123```
119124
120125``` Output
Original file line number Diff line number Diff line change 11---
22description : Describes automatic members in all PowerShell objects
33Locale : en-US
4- ms.date : 08/21/2023
4+ ms.date : 01/10/2024
55online version : https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_Inrinsic_Members?view=powershell-7.4&WT.mc_id=ps-gethelp
66schema : 2.0.0
77title : about_Intrinsic_Members
@@ -59,7 +59,12 @@ The **Force** parameter of `Get-Member` shows us the intrinsic members of the
5959object.
6060
6161``` powershell
62- $hash | Get-Member -Force -Type MemberSet, CodeProperty
62+ $hash = @{
63+ Age = 33
64+ Name = 'Bob'
65+ }
66+
67+ $hash | Get-Member -Force -MemberType MemberSet, CodeProperty
6368```
6469
6570``` Output
@@ -114,7 +119,7 @@ the **PSCustomObject**. The new properties are now part of the `psextended`
114119** MemberSet** .
115120
116121``` powershell
117- $user | Get-Member -Force -Type MemberSet, CodeProperty
122+ $user | Get-Member -Force -MemberType MemberSet, CodeProperty
118123```
119124
120125``` Output
You can’t perform that action at this time.
0 commit comments