You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By design, PowerShell will hide parts of an object that have very little relevance to scripting or interactive PowerShell use. Often, these are .NET properties and methods that are automatically added. You can see them using Get-Member -Force. This command is designed to simplify the process.
1772
+
1773
+
```dos
1774
+
PS C:\> "powershell" | Show-HiddenMember
1775
+
1776
+
Type: System.String
1777
+
1778
+
Name MemberType
1779
+
---- ----------
1780
+
pstypenames CodeProperty
1781
+
psadapted MemberSet
1782
+
psbase MemberSet
1783
+
psextended MemberSet
1784
+
psobject MemberSet
1785
+
get_Chars Method
1786
+
get_Length Method
1787
+
```
1788
+
1789
+
This command is especially useful with custom commands.
The `Get-PSWorkItem` command is from the [PSWorkItem](https://github.com/jdhitsolutions/PSWorkitem)module. It uses a custom class. `Show-HiddenMember` reveals a hidden property. Once you know the name, you can use it.
This command will create the code for a dynamic parameter that you can insert into your PowerShell script file. You need to specify a parameter name and a condition. The condition value is code that would run inside an If statement. Use a value like $True if you want to add it later in your scripting editor.
If you are running this in the PowerShell ISE this is the default behavior, even if you don't specify the parameter.
2072
2119
2120
+
> _This command makes its best guess at identifying code samples in the help content. If the help is malformed or deviates from the expected norm, you might not see any help examples._
2121
+
2073
2122
### [Get-GitSize](docs/Get-GitSize.md)
2074
2123
2075
2124
Use this command to determine how much space the hidden `.git` folder is consuming.
@@ -2129,20 +2178,17 @@ When writing PowerShell commands, sometimes the culture you are running under be
-a--- 7/8/2026 11:49 AM 65449488 Git-2.55.0.2-64-bit.exe
2342
+
```
2343
+
2344
+
You can also opt to download the ARM64 standalone installer.
2345
+
2346
+
```powershell
2347
+
Save-GitSetup -Path D:\temp -ARM64
2296
2348
```
2297
2349
2298
2350
You will need to manually install the file. Or you can try something like this:
@@ -2350,7 +2402,7 @@ Root\PEH
2350
2402
2351
2403
### [Get-CimClassList](docs/Get-CimClassList.md)
2352
2404
2353
-
Sometimes `Get-CimClass` is overkill when all you want is a list of class names under a given namespace. `Get-CimClassList` is designed to quickly give you a list of class names. You can filter by name and exclude.
2405
+
Sometimes `Get-CimClass` is overkill when all you want is a list of class names under a given namespace. `Get-CimClassList` is designed to quickly give you a list of class names. You can filter by name and exclude names.
This command is intended to make it easier to copy code snippets from help examples to the clipboard. You can select one or more examples which have been trimmed of comments, blank lines and most prompts. Some code examples contain the output or have several lines of code. You will need to manually delete what you don't want. If this command is run on a Windows system you have a dynamic parameter to use Out-GridView to display your choices. When prompted enter a comma-separated list of the examples you wish to copy. Otherwise, the command will display a console-based menu. Note that if you are using the PowerShell ISE you will be forced to use Out-GridView.
24
24
25
+
This command makes its best guess at identifying code samples in the help content. If the help is malformed or deviates from the expected norm, you might not see any help examples
0 commit comments