Forum Discussion

GNavya's avatar
GNavya
Copper Contributor
Apr 01, 2024
Solved

PowerShell doens't run correctly from scheduled task Job

Hi All,   I'm trying to schedule a job in task scheduler which has  a powershell code and needs to run on  every wednesday to get the share point online calendar to get updated.   Below is the co...
  • Harm_Veenstra's avatar
    Harm_Veenstra
    Apr 03, 2024
    I guess adding import-module PnP.Powershell should fix that. (Add it as the second line in the script after the Start-Transcript)

Resources