Hi,
I’m having a strange issue here , i have multiple about_ files duplicated when i ask for
help about_*
, for example about_Sequence , so if i do ‘help about_Sequence’ , it returns
PS C:\> help about_Sequence
Name Category Module Synopsis
---- -------- ------ --------
about_Sequence HelpFile Describes the Sequence keyword, which runs selected
about_Sequence HelpFile Describes the Sequence keyword, which runs selected
I searched the windows drive , but i can only find one file in C:\Windows\System32\WindowsPowerShell\v1.0\en-US , so why does it return two records and how can i fix it ?
Seems like it has something to do with
C:\Windows\System32\WindowsPowerShell\v1.0\en-US
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\en-US
on 64bit systems , but strangely if i rename the file in C:\Windows\SysWOW64\WindowsPowerShell\v1.0\en-US , it still shows the output like above , if i do the same with the file in C:\Windows\System32\WindowsPowerShell\v1.0\en-US , then the output is as expected so … something strange is happening here.
I don’t have duplicate modules , the only issue is with the about_ files , not cmdlets
Not sure it’s what i said above , both dirs contain the same files , so why would one act out and not the other ?
Managed to finally reproduce this one from scratch. Looks like you hit this in x64 Windows PowerShell after running Update-Help from within an x86 instance of Windows PowerShell and from within an x64 Windows PowerShell.
Workaround for now is to delete the about_*.txt files in SysWOW64.
We’ve already fixed this problem in PowerShell Core 6.0 (as a consequence of some other bugs), but depending on how widespread this problem is, we can investigate servicing Windows PowerShell.
Thanks Joey , but doesn’t fix it for me , see linked print screen
I rebooted the PC just to be sure, no joy.
For me the issue was C:\Windows\System32\WindowsPowerShell\v1.0\Modules\PSWorkflow\en-US , which contains these files