Advertisement
Guest User

Untitled

a guest
Sep 30th, 2019
258
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.86 KB | None | 0 0
  1. ��<?xml version="1.0" encoding="UTF-16"?>
  2. <Task version="1.4" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
  3.   <RegistrationInfo>
  4.     <Date>2019-09-27T10:31:50.1773472</Date>
  5.     <Author>AzureAD\Username</Author>
  6.     <URI>\GetAndOpenFileSharepoint</URI>
  7.   </RegistrationInfo>
  8.   <Triggers>
  9.     <CalendarTrigger>
  10.       <StartBoundary>2019-09-27T11:46:20</StartBoundary>
  11.       <Enabled>true</Enabled>
  12.       <ScheduleByDay>
  13.         <DaysInterval>1</DaysInterval>
  14.       </ScheduleByDay>
  15.     </CalendarTrigger>
  16.   </Triggers>
  17.   <Principals>
  18.     <Principal id="Author">
  19.       <UserId>SomeUserID</UserId>
  20.       <LogonType>Password</LogonType>
  21.       <RunLevel>LeastPrivilege</RunLevel>
  22.     </Principal>
  23.   </Principals>
  24.   <Settings>
  25.     <MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy>
  26.     <DisallowStartIfOnBatteries>false</DisallowStartIfOnBatteries>
  27.     <StopIfGoingOnBatteries>false</StopIfGoingOnBatteries>
  28.     <AllowHardTerminate>true</AllowHardTerminate>
  29.     <StartWhenAvailable>false</StartWhenAvailable>
  30.     <RunOnlyIfNetworkAvailable>false</RunOnlyIfNetworkAvailable>
  31.     <IdleSettings>
  32.       <StopOnIdleEnd>true</StopOnIdleEnd>
  33.       <RestartOnIdle>false</RestartOnIdle>
  34.     </IdleSettings>
  35.     <AllowStartOnDemand>true</AllowStartOnDemand>
  36.     <Enabled>true</Enabled>
  37.     <Hidden>false</Hidden>
  38.     <RunOnlyIfIdle>false</RunOnlyIfIdle>
  39.     <DisallowStartOnRemoteAppSession>false</DisallowStartOnRemoteAppSession>
  40.     <UseUnifiedSchedulingEngine>true</UseUnifiedSchedulingEngine>
  41.     <WakeToRun>true</WakeToRun>
  42.     <ExecutionTimeLimit>PT72H</ExecutionTimeLimit>
  43.     <Priority>7</Priority>
  44.   </Settings>
  45.   <Actions Context="Author">
  46.     <Exec>
  47.       <Command>"C:\Path\To\OneDrive - Company Ltd\Scripts\pwsh\DonwloadOpen.ps1"</Command>
  48.       <Arguments>-ExecutionPolicy Bypass</Arguments>
  49.     </Exec>
  50.   </Actions>
  51. </Task>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement