在Mac上的PowerShell上更新帮助 [英] Updating help on PowerShell on Mac
问题描述
我是PowerShell的新手,我知道在Windows上的PowerShell上您需要以管理员身份运行才能更新帮助文件,但是如何在Mac上的PowerShell上更新帮助文件?
I'm new to PowerShell and I know on PowerShell on windows you need to run as administrator to update the help files, but how do you update help files on PowerShell on Mac?
推荐答案
目前,Mac或Linux似乎不支持Update-Help Cmdlet.目前,我建议您访问technet网站上的每个帮助文件.
At this time, it does not look like the Update-Help Cmdlet is supported for Mac or Linux. For the time being I would suggest going to the technet website for each help file.
您可以使用-Online参数从命令行到达那里:
You can get there from the Command Line with the -Online parameter:
Get-Help Write-Output -Online
或
Get-Help about_Functions -Online
这些命令将直接带您到所需的technet页面.这些页面将始终是最新的.
These commands will take you directly to technet page you need. These pages will always be up to date.
这篇关于在Mac上的PowerShell上更新帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!