Skip to content

Commit 83ec298

Browse files
author
Bruce Payette
authored
Merge pull request PowerShell#51 from tommymaynard/patch-1
Update Add-WinFunction in QuickStart.md
2 parents ad1b85e + 4bc1b55 commit 83ec298

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/QuickStart.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Get-EventLog -Newest 5 -LogName "Application"
2525
## Create a Windows PowerShell Function in PowerShell Core
2626

2727
```powershell
28-
Add-WinFunction -Name Get-WinPSVersion -ScriptBlock {
28+
Add-WinFunction -FunctionName Get-WinPSVersion -ScriptBlock {
2929
$PSVersionTable
3030
}
3131
Get-WinPSVersion

0 commit comments

Comments
 (0)