Skip to content

Commit e4e89c6

Browse files
committedDec 22, 2023
Support passing by property to pipeline.
1 parent 48764db commit e4e89c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎Windows/Fonts/Uninstall-Font.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ function Uninstall-Font {
66
(
77
[Alias('Name')]
88
[ValidateNotNullOrEmpty()]
9-
[Parameter(Mandatory = $true, ValueFromPipeline = $true)]
9+
[Parameter(Mandatory = $true, ValueFromPipeline = $true, ValueFromPipelineByPropertyName = $true)]
1010
[string] $FontName,
1111

1212
[ValidateSet('User', 'Machine')]

0 commit comments

Comments
 (0)
Failed to load comments.