Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ��<?xml version="1.0" encoding="UTF-16"?>
- <Task version="1.4" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
- <RegistrationInfo>
- <Date>2019-09-27T10:31:50.1773472</Date>
- <Author>AzureAD\Username</Author>
- <URI>\GetAndOpenFileSharepoint</URI>
- </RegistrationInfo>
- <Triggers>
- <CalendarTrigger>
- <StartBoundary>2019-09-27T11:46:20</StartBoundary>
- <Enabled>true</Enabled>
- <ScheduleByDay>
- <DaysInterval>1</DaysInterval>
- </ScheduleByDay>
- </CalendarTrigger>
- </Triggers>
- <Principals>
- <Principal id="Author">
- <UserId>SomeUserID</UserId>
- <LogonType>Password</LogonType>
- <RunLevel>LeastPrivilege</RunLevel>
- </Principal>
- </Principals>
- <Settings>
- <MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy>
- <DisallowStartIfOnBatteries>false</DisallowStartIfOnBatteries>
- <StopIfGoingOnBatteries>false</StopIfGoingOnBatteries>
- <AllowHardTerminate>true</AllowHardTerminate>
- <StartWhenAvailable>false</StartWhenAvailable>
- <RunOnlyIfNetworkAvailable>false</RunOnlyIfNetworkAvailable>
- <IdleSettings>
- <StopOnIdleEnd>true</StopOnIdleEnd>
- <RestartOnIdle>false</RestartOnIdle>
- </IdleSettings>
- <AllowStartOnDemand>true</AllowStartOnDemand>
- <Enabled>true</Enabled>
- <Hidden>false</Hidden>
- <RunOnlyIfIdle>false</RunOnlyIfIdle>
- <DisallowStartOnRemoteAppSession>false</DisallowStartOnRemoteAppSession>
- <UseUnifiedSchedulingEngine>true</UseUnifiedSchedulingEngine>
- <WakeToRun>true</WakeToRun>
- <ExecutionTimeLimit>PT72H</ExecutionTimeLimit>
- <Priority>7</Priority>
- </Settings>
- <Actions Context="Author">
- <Exec>
- <Command>"C:\Path\To\OneDrive - Company Ltd\Scripts\pwsh\DonwloadOpen.ps1"</Command>
- <Arguments>-ExecutionPolicy Bypass</Arguments>
- </Exec>
- </Actions>
- </Task>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement