hi all,
I am want to lear something about Scheduled Job and that lead me to searching for about_ help files.
My problem is that Get-Help produces duplicate topics and this way I can’t actually read their content.
Here’s what is happening on my Powershell:
PS C:\shelldemo> man about_scheduled* Name Category Module Synopsis
---- -------- ------ --------
about_Scheduled_Jobs HelpFile Describes scheduled jobs and explains how to use and manage
about_Scheduled_Jobs_Advanced HelpFile Explains advanced scheduled job topics, including the fi...
about_Scheduled_Jobs_Basics HelpFile Explains how to create and manage scheduled jobs. about_Scheduled_Jobs_Troublesh... HelpFile Explains how to resolve problems with scheduled jobs
about_Scheduled_Jobs HelpFile Describes scheduled jobs and explains how to use and manage
about_Scheduled_Jobs_Advanced HelpFile Explains advanced scheduled job topics, including the fi...
about_Scheduled_Jobs_Basics HelpFile Explains how to create and manage scheduled jobs.
about_Scheduled_Jobs_Troublesh... HelpFile Explains how to resolve problems with scheduled jobs
So that if i want to read one of them, say about_Scheduled_Jobs that is what happens:
PS C:\shelldemo> man about_scheduled_jobs -Full
Name Category Module Synopsis
---- -------- ------ --------
about_Scheduled_Jobs HelpFile Describes scheduled jobs and explains how to use and manage
about_Scheduled_Jobs HelpFile Describes scheduled jobs and explains how to use and manage
Any idea on what to do to remove the duplicate topics or at least leave them but been able to read an about_ file?
Thanks in advance
PS: I already issued the command
Due to this search, i already tried to modify the file name inside C:\Windows\System32\WindowsPowerShell\v1.0\Modules\PSScheduledJob\en-US
naming the helpfile Xabout_Scheduled_Jobs.help.txt make disappear the duplicate of that file.
Now probably in my early efforts to begin understanding powershell i messed around installing modules?
But the question that matter to me is: did I suppose to cancel helpfiles inside C:\Windows\System32\WindowsPowerShell\v1.0\Modules\PSScheduledJob\en-US?
According to Sean the about_ help files are stored inside C:\Windows\SysWOW64\WindowsPowerShell\v1.0\en-US (already checked, they are there indeed)
I tried to uninstall-module and remove-module PSSheduledJobs but nothing happened, i mean powershell cant find that module
A safer way would be to just rename the ‘…\Module\En-Us’ help files and get rid of it, but if erasing those files in your opinion do not ‘break’ anything
i will do it
By the way thank you all for pointing me in the right direction to figure out the duplicate problem
PS: here is the result after renaming:
PS C:\> man about_scheduled*
Name Category Module Synopsis
---- -------- ------ --------
about_Scheduled_Jobs HelpFile Describes scheduled jobs and explains how to use and manage
about_Scheduled_Jobs_Advanced HelpFile Explains advanced scheduled job topics, including the fi...
about_Scheduled_Jobs_Basics HelpFile Explains how to create and manage scheduled jobs.
about_Scheduled_Jobs_Troublesh... HelpFile Explains how to resolve problems with scheduled jobs
UPDATE:
every time I use Update-Help -Force -ea SilentlyContinue i have again duplicate about_Scheduled files.
Not a big deal to erase the ones in the ‘wrong’ directory, but if you think of a alternative/permanent solution let me know ^^
Is there any other method or cmdlet to find what modules are actually installed locally on my computer?
According to get-module cmdlet no “sheduled” module are redundant on my machine so the issue with duplicate topics is not solved yet.
I can leave with it, I just only remember myself to erase the duplicates, not a big deal. But i’d like to solve this issue permanently if I can.