Excerpt from "man Get-ScheduledJobOption -Full":
------
Example 2: Get all job options
PS C:\>Get-ScheduledJob | Get-ScheduledJobOptions
This command gets the job options of all scheduled jobs on the local computer.
-------
No, not here:
----
[...] PS> Get-ScheduledJob | Get-ScheduledJobOptions
Get-ScheduledJobOptions : The term 'Get-ScheduledJobOptions' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the
path is correct and try again.
At line:1 char:20
+ Get-ScheduledJob | Get-ScheduledJobOptions
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Get-ScheduledJobOptions:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
--------
Here the command from the example above only works like so:
Get-ScheduledJob | Get-ScheduledJobOption
i.e. no "s" at the end of "Get-ScheduledJobOption"
-----
Bugs in Powershell: Is this forum an appropriate place to report them?
Wolfgang
------
Example 2: Get all job options
PS C:\>Get-ScheduledJob | Get-ScheduledJobOptions
This command gets the job options of all scheduled jobs on the local computer.
-------
No, not here:
----
[...] PS> Get-ScheduledJob | Get-ScheduledJobOptions
Get-ScheduledJobOptions : The term 'Get-ScheduledJobOptions' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the
path is correct and try again.
At line:1 char:20
+ Get-ScheduledJob | Get-ScheduledJobOptions
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Get-ScheduledJobOptions:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
--------
Here the command from the example above only works like so:
Get-ScheduledJob | Get-ScheduledJobOption
i.e. no "s" at the end of "Get-ScheduledJobOption"
-----
Bugs in Powershell: Is this forum an appropriate place to report them?
Wolfgang