Guest User

Untitled

a guest
Mar 26th, 2022
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.06 KB | None | 0 0
  1. <![LOG[scriptParams is ]LOG]!><time="20:36:28.7216508" date="3-26-2022" component="AgentExecutor" context="" type="1" thread="1" file="">
  2. <![LOG[cmd line for running powershell is -NoProfile -executionPolicy bypass -file "C:\Program Files (x86)\Microsoft Intune Management Extension\Policies\Scripts\43c459be-ebab-4d3d-b98e-28dce8b93177_48d7abba-104a-4796-8061-b0be7e04d6b7.ps1" ]LOG]!><time="20:36:28.7216508" date="3-26-2022" component="AgentExecutor" context="" type="1" thread="1" file="">
  3. <![LOG[runAs32BitOn64 = False, so Disable Wow64FsRedirection]LOG]!><time="20:36:28.7216508" date="3-26-2022" component="AgentExecutor" context="" type="1" thread="1" file="">
  4. <![LOG[PowerShell path is C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe]LOG]!><time="20:36:28.7216508" date="3-26-2022" component="AgentExecutor" context="" type="1" thread="1" file="">
  5. <![LOG[[Executor] created powershell with process id 6996]LOG]!><time="20:36:28.7374168" date="3-26-2022" component="AgentExecutor" context="" type="1" thread="1" file="">
  6. <![LOG[Powershell exit code is 0]LOG]!><time="20:36:31.9092586" date="3-26-2022" component="AgentExecutor" context="" type="1" thread="1" file="">
  7. <![LOG[lenth of out=2]LOG]!><time="20:36:31.9092586" date="3-26-2022" component="AgentExecutor" context="" type="1" thread="1" file="">
  8. <![LOG[lenth of error=634]LOG]!><time="20:36:31.9092586" date="3-26-2022" component="AgentExecutor" context="" type="1" thread="1" file="">
  9. <![LOG[error from script =winget : The term 'winget' is not recognized as the name of a cmdlet, function, script file, or operable program.
  10. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
  11. At C:\Program Files (x86)\Microsoft Intune Management
  12. Extension\Policies\Scripts\43c459be-ebab-4d3d-b98e-28dce8b93177_48d7abba-104a-4796-8061-b0be7e04d6b7.ps1:1 char:1
  13. + winget install 7zip.7zip --silent --accept-package-agreements --accep ...
  14. + ~~~~~~
  15. + CategoryInfo : ObjectNotFound: (winget:String) [], CommandNotFoundException
  16. + FullyQualifiedErrorId : CommandNotFoundException
  17.  
  18.  
  19. ]LOG]!><time="20:36:31.9092586" date="3-26-2022" component="AgentExecutor" context="" type="1" thread="1" file="">
  20. <![LOG[Powershell script is successfully executed.]LOG]!><time="20:36:31.9092586" date="3-26-2022" component="AgentExecutor" context="" type="1" thread="1" file="">
  21. <![LOG[write output done. output =
  22. , error = winget : The term 'winget' is not recognized as the name of a cmdlet, function, script file, or operable program.
  23. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
  24. At C:\Program Files (x86)\Microsoft Intune Management
  25. Extension\Policies\Scripts\43c459be-ebab-4d3d-b98e-28dce8b93177_48d7abba-104a-4796-8061-b0be7e04d6b7.ps1:1 char:1
  26. + winget install 7zip.7zip --silent --accept-package-agreements --accep ...
  27. + ~~~~~~
  28. + CategoryInfo : ObjectNotFound: (winget:String) [], CommandNotFoundException
  29. + FullyQualifiedErrorId : CommandNotFoundException
  30.  
  31.  
  32. ]LOG]!><time="20:36:31.9092586" date="3-26-2022" component="AgentExecutor" context="" type="1" thread="1" file="">
  33. <![LOG[Revert Wow64FsRedirection]LOG]!><time="20:36:31.9092586" date="3-26-2022" component="AgentExecutor" context="" type="1" thread="1" file="">
  34. <![LOG[Agent executor completed.]LOG]!><time="20:36:31.9092586" date="3-26-2022" component="AgentExecutor" context="" type="1" thread="1" file="">
  35. <![LOG[{0} software distribution gets invoked]LOG]!><time="20:36:34.3936354" date="3-26-2022" component="AgentExecutor" context="" type="1" thread="1" file="">
  36. <![LOG[PowershellDetection option gets invoked]LOG]!><time="20:36:34.3936354" date="3-26-2022" component="AgentExecutor" context="" type="1" thread="1" file="">
  37. <![LOG[C:\Program Files (x86)\Microsoft Intune Management Extension\Content\DetectionScripts\a04bb53e-b291-4c8c-8cdd-c2c92527705d_1.ps1]LOG]!><time="20:36:34.3936354" date="3-26-2022" component="AgentExecutor" context="" type="1" thread="1" file="">
  38. <![LOG[C:\Program Files (x86)\Microsoft Intune Management Extension\Content\DetectionScripts\a04bb53e-b291-4c8c-8cdd-c2c92527705d_1.ps1quotedResultFilePath.txt]LOG]!><time="20:36:34.3936354" date="3-26-2022" component="AgentExecutor" context="" type="1" thread="1" file="">
  39. <![LOG[C:\Program Files (x86)\Microsoft Intune Management Extension\Content\DetectionScripts\a04bb53e-b291-4c8c-8cdd-c2c92527705d_1.ps1quotedErrorFilePath.txt]LOG]!><time="20:36:34.3936354" date="3-26-2022" component="AgentExecutor" context="" type="1" thread="1" file="">
  40. <![LOG[C:\Program Files (x86)\Microsoft Intune Management Extension\Content\DetectionScripts\a04bb53e-b291-4c8c-8cdd-c2c92527705d_1.ps1quotedTimeoutFilePath.txt]LOG]!><time="20:36:34.3936354" date="3-26-2022" component="AgentExecutor" context="" type="1" thread="1" file="">
  41. <![LOG[C:\Program Files (x86)\Microsoft Intune Management Extension\Content\DetectionScripts\a04bb53e-b291-4c8c-8cdd-c2c92527705d_1.ps1quotedExitCodeFilePath.txt]LOG]!><time="20:36:34.3936354" date="3-26-2022" component="AgentExecutor" context="" type="1" thread="1" file="">
  42.  
Add Comment
Please, Sign In to add comment