Updates from: 03/29/2021 03:10:19
Service Microsoft Docs article Related commit history on GitHub Change details
Microsoft.PowerShell.Utility Get Typedata (5.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/5.1/Microsoft.PowerShell.Utility/Get-TypeData.md
This example gets all extended type data in the current session.
Get-TypeData ```
-### Example 2: Get types by name
+### Example 2: Get type data by name
-This example gets all types in the current session that have names that contain Eventing.
+This example gets all type data in the current session whose name is qualified with "System.IO".
- ```powershell
-"*Eventing*" | Get-TypeData
+```powershell
+Get-TypeData -TypeName System.IO.*
``` ```Output
-TypeName Members
-System.Diagnostics.Eventing.Reader.EventLogConfiguration {}System.Diagnostics.Eventing.Reader.EventLogRecord
- {}System.Diagnostics.Eventing.Reader.ProviderMetadata
- {[ProviderName, System.Management.Automation.Runspaces.AliasProper...
+TypeName Members
+-------- -------
+System.IO.DirectoryInfo {[Mode, System.Management.Automation.Runspaces.CodePropert…
+System.IO.FileInfo {[Mode, System.Management.Automation.Runspaces.CodePropert…
``` ### Example 3: Get the script block that creates a property value
Microsoft.PowerShell.Utility Get Typedata (7.0) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.0/Microsoft.PowerShell.Utility/Get-TypeData.md
This example gets all extended type data in the current session.
Get-TypeData ```
-### Example 2: Get types by name
+### Example 2: Get type data by name
-This example gets all types in the current session that have names that contain Eventing.
+This example gets all type data in the current session whose name is qualified with "System.IO".
- ```powershell
-"*Eventing*" | Get-TypeData
+```powershell
+Get-TypeData -TypeName System.IO.*
``` ```Output
-TypeName Members
-System.Diagnostics.Eventing.Reader.EventLogConfiguration {}System.Diagnostics.Eventing.Reader.EventLogRecord
- {}System.Diagnostics.Eventing.Reader.ProviderMetadata
- {[ProviderName, System.Management.Automation.Runspaces.AliasProper...
+TypeName Members
+-------- -------
+System.IO.DirectoryInfo {[Mode, System.Management.Automation.Runspaces.CodePropert…
+System.IO.FileInfo {[Mode, System.Management.Automation.Runspaces.CodePropert…
``` ### Example 3: Get the script block that creates a property value
Microsoft.PowerShell.Utility Get Typedata (7.1) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.1/Microsoft.PowerShell.Utility/Get-TypeData.md
This example gets all extended type data in the current session.
Get-TypeData ```
-### Example 2: Get types by name
+### Example 2: Get type data by name
-This example gets all types in the current session that have names that contain Eventing.
+This example gets all type data in the current session whose name is qualified with "System.IO".
- ```powershell
-"*Eventing*" | Get-TypeData
+```powershell
+Get-TypeData -TypeName System.IO.*
``` ```Output
-TypeName Members
-System.Diagnostics.Eventing.Reader.EventLogConfiguration {}System.Diagnostics.Eventing.Reader.EventLogRecord
- {}System.Diagnostics.Eventing.Reader.ProviderMetadata
- {[ProviderName, System.Management.Automation.Runspaces.AliasProper...
+TypeName Members
+-------- -------
+System.IO.DirectoryInfo {[Mode, System.Management.Automation.Runspaces.CodePropert…
+System.IO.FileInfo {[Mode, System.Management.Automation.Runspaces.CodePropert…
``` ### Example 3: Get the script block that creates a property value
Microsoft.PowerShell.Utility Get Typedata (7.2) https://github.com/MicrosoftDocs/PowerShell-Docs/commits/staging/reference/7.2/Microsoft.PowerShell.Utility/Get-TypeData.md
This example gets all extended type data in the current session.
Get-TypeData ```
-### Example 2: Get types by name
+### Example 2: Get type data by name
-This example gets all types in the current session that have names that contain Eventing.
+This example gets all type data in the current session whose name is qualified with "System.IO".
- ```powershell
-"*Eventing*" | Get-TypeData
+```powershell
+Get-TypeData -TypeName System.IO.*
``` ```Output
-TypeName Members
-System.Diagnostics.Eventing.Reader.EventLogConfiguration {}System.Diagnostics.Eventing.Reader.EventLogRecord
- {}System.Diagnostics.Eventing.Reader.ProviderMetadata
- {[ProviderName, System.Management.Automation.Runspaces.AliasProper...
+TypeName Members
+-------- -------
+System.IO.DirectoryInfo {[Mode, System.Management.Automation.Runspaces.CodePropert…
+System.IO.FileInfo {[Mode, System.Management.Automation.Runspaces.CodePropert…
``` ### Example 3: Get the script block that creates a property value