In this screenshot, I ran the Update-Help command but appended it with a "&" character. With this, PowerShell runs the job in the background. Of course, if you exit the PowerShell session that is running this background job, the job is terminated immediately.
This is a neat new feature. You could add the Update-Help to your PowerShell profile and every time you start PowerShell 7, the profile would ensure your help files are up to date. And unlike doing it in the foreground, updating help as a job means it's transparent -you probably would never notice the job running!
No comments:
Post a Comment