Hi
In the PowerShell 2.0 console in Windows 7 SP1, I wrote:
Where I'm wrong?Code:PS C:\Users\test\Documents\PowerShell> Get-Help * | Get-Help -Detailed | Out-File C:\Users\test\Documents\PowerShell\PowerShell_2,0_Guide.txt Out-File: Can not convert 'System.Object[]' to 'System.String' type required from 'FilePath' parameter. Specified method is not supported. In line:1 car:43 + Get-Help * | Get-Help -Detailed | Out-File <<<< C:\Users\test\Documents\PowerShell\PowerShell_2,0_Guide.txt + CategoryInfo : InvalidArgument: (:) [Out-File], ParameterBindingException + FullyQualifiedErrorId : CannotConvertArgument,Microsoft.PowerShell.Commands.OutFileCommand PS C:\Users\test\Documents\PowerShell> Get-Help * | Get-Help -Detailed > C:\Users\test\Documents\PowerShell\PowerShell_2,0_Guide.txt Get-Help : Can not convert 'System.Object[]' to 'System.String' type required from 'Name' parameter. Specified method is not supported. In line:1 car:22 + Get-Help * | Get-Help <<<< -Detailed > C:\Users\test\Documents\PowerShell\PowerShell_2,0_Guide.txt + CategoryInfo : InvalidArgument: (:) [Get-Help], ParameterBindingException + FullyQualifiedErrorId : CannotConvertArgument,Microsoft.PowerShell.Commands.GetHelpCommand PS C:\Users\test\Documents\PowerShell>
Thanks
Bye



LinkBack URL
About LinkBacks








Windows 7 Forums is an open discussion forum, and member of the Microsoft Partner Network. This website is not owned or operated by Microsoft Corporation. All trademarks are