1 Answers
Best Answer
help 文档位于每个module的子目录。
你如果确定要删除,可以用remove-item,我这里只负责展示:
PS> ls "$PShome\Modules" -Recurse *-help.xml | select FullName FullName -------- C:\Windows\System32\WindowsPowerShell\v1.0\Modules\AppLocker\zh-CN\Microsoft.Security.ApplicationId.PolicyManagement.Cmdlets.dll-Help.xml C:\Windows\System32\WindowsPowerShell\v1.0\Modules\BitsTransfer\zh-CN\Microsoft.BackgroundIntelligentTransfer.Management.dll-Help.xml C:\Windows\System32\WindowsPowerShell\v1.0\Modules\CimCmdlets\en-US\Microsoft.Management.Infrastructure.CimCmdlets.dll-help.xml C:\Windows\System32\WindowsPowerShell\v1.0\Modules\ISE\en-US\ISE-help.xml C:\Windows\System32\WindowsPowerShell\v1.0\Modules\Microsoft.PowerShell.Archive\en-US\Microsoft.PowerShell.Archive-help.xml C:\Windows\System32\WindowsPowerShell\v1.0\Modules\Microsoft.PowerShell.LocalAccounts\1.0.0.0\en-US\Microsoft.Powershell.LocalAccounts.dll-Help.xml C:\Windows\System32\WindowsPowerShell\v1.0\Modules\Microsoft.PowerShell.ODataUtils\en-US\Microsoft.PowerShell.ODataUtils-help.xml C:\Windows\System32\WindowsPowerShell\v1.0\Modules\NetworkSwitchManager\en-US\NetworkSwitchConfiguration.psm1-help.xml C:\Windows\System32\WindowsPowerShell\v1.0\Modules\NetworkSwitchManager\en-US\NetworkSwitchEthernetPort.psm1-help.xml C:\Windows\System32\WindowsPowerShell\v1.0\Modules\NetworkSwitchManager\en-US\NetworkSwitchFeature.psm1-help.xml C:\Windows\System32\WindowsPowerShell\v1.0\Modules\NetworkSwitchManager\en-US\NetworkSwitchGlobalSettingData.psm1-help.xml C:\Windows\System32\WindowsPowerShell\v1.0\Modules\NetworkSwitchManager\en-US\NetworkSwitchVlan.psm1-help.xml C:\Windows\System32\WindowsPowerShell\v1.0\Modules\PSDesiredStateConfiguration\en-US\Disable-DscDebug.cdxml-help.xml C:\Windows\System32\WindowsPowerShell\v1.0\Modules\PSDesiredStateConfiguration\en-US\Enable-DscDebug.cdxml-help.xml C:\Windows\System32\WindowsPowerShell\v1.0\Modules\PSDesiredStateConfiguration\en-US\Get-DSCConfiguration.cdxml-help.xml C:\Windows\System32\WindowsPowerShell\v1.0\Modules\PSDesiredStateConfiguration\en-US\Get-DscConfigurationStatus.cdxml-help.xml C:\Windows\System32\WindowsPowerShell\v1.0\Modules\PSDesiredStateConfiguration\en-US\Get-DSCLocalConfigurationManager.cdxml-help.xml C:\Windows\System32\WindowsPowerShell\v1.0\Modules\PSDesiredStateConfiguration\en-US\Microsoft.Windows.DSC.CoreConfProviders.dll-Help.xml C:\Windows\System32\WindowsPowerShell\v1.0\Modules\PSDesiredStateConfiguration\en-US\PSDesiredStateConfiguration-help.xml C:\Windows\System32\WindowsPowerShell\v1.0\Modules\PSDesiredStateConfiguration\en-US\Remove-DscConfigurationDocument.cdxml-help.xml C:\Windows\System32\WindowsPowerShell\v1.0\Modules\PSDesiredStateConfiguration\en-US\Restore-DSCConfiguration.cdxml-help.xml C:\Windows\System32\WindowsPowerShell\v1.0\Modules\PSDesiredStateConfiguration\en-US\Stop-DscConfiguration.cdxml-help.xml C:\Windows\System32\WindowsPowerShell\v1.0\Modules\PSScheduledJob\en-US\Microsoft.PowerShell.ScheduledJob.dll-Help.xml C:\Windows\System32\WindowsPowerShell\v1.0\Modules\PSWorkflow\en-US\Microsoft.PowerShell.Workflow.ServiceCore.dll-Help.xml C:\Windows\System32\WindowsPowerShell\v1.0\Modules\PSWorkflow\en-US\PSWorkflow-help.xml C:\Windows\System32\WindowsPowerShell\v1.0\Modules\PSWorkflowUtility\en-US\PSWorkflowUtility-help.xml C:\Windows\System32\WindowsPowerShell\v1.0\Modules\TroubleshootingPack\zh-CN\Microsoft.Windows.Diagnosis.TroubleshootingPack.dll-Help.xml C:\Windows\System32\WindowsPowerShell\v1.0\Modules\WebAdministration\zh-CN\Microsoft.IIS.Powershell.Provider.dll-Help.xml