none
ScheduledTasks Module isn't included in all PowerShell version 3 RRS feed

  • Question

  • Hello Guy's,

    We created a bunch of scripts that use the ScheduledTasks module that work correctly on Windows server 2012 but fail on Windows server 2008 and 2008 R2.  

    We then realized that we had to update PowerShell to version 3.  But the command Get-Module -ListAvailable still report that the ScheduledTasks module is missing.

    Is there an update this is missing on those 2008 servers ?

    Thanks

    iv


    Tuesday, October 20, 2015 2:56 PM

Answers

All replies

  • The scheduled task module only runs on Windows 8 and later.

    Learn to check version reference: https://technet.microsoft.com/en-us/library/jj649808(v=wps.620).aspx


    \_(ツ)_/

    • Marked as answer by m o r i n y Tuesday, November 17, 2015 7:39 PM
    Tuesday, October 20, 2015 3:12 PM
  • Hi,

    These cmdlets require a minimum OS of WS2012/W8.

    https://technet.microsoft.com/en-us/library/jj649816%28v=wps.630%29.aspx


    Tuesday, October 20, 2015 3:12 PM
  • I thought that PowerShell version 3 was the same for all OS's

    Thanks for the information

    Tuesday, November 17, 2015 7:42 PM
  • I thought that PowerShell version 3 was the same for all OS's

    Thanks for the information

    Modules are not part of PowerShell.  In many cases they are delivered as part of the OS.

    The API for the tasks module is only available on Windows 8 and later.


    \_(ツ)_/

    Tuesday, November 17, 2015 7:50 PM
  • Hi JRV- maybe you could actually just show us the version reference quote since the page you linked to has no information about this whatsoever. Maybe YOU should check your material prior to chastising the community.

    Learn to be nice, Microsoft! We make you rich!!


    • Edited by Skybua Friday, August 10, 2018 9:24 PM
    Friday, August 10, 2018 9:18 PM
  • Only available in Windows 2012r2 and later as part of the OS.

    See MS docs on  docs.microsoft.com.

    The module APIs are not available on earlier OS versions.   

    When in doubt use your search engine to find the module page and blog describing the module of interested.


    \_(ツ)_/

    Friday, August 10, 2018 10:48 PM