Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <![LOG[scriptParams is ]LOG]!><time="20:36:28.7216508" date="3-26-2022" component="AgentExecutor" context="" type="1" thread="1" file="">
- <![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="">
- <![LOG[runAs32BitOn64 = False, so Disable Wow64FsRedirection]LOG]!><time="20:36:28.7216508" date="3-26-2022" component="AgentExecutor" context="" type="1" thread="1" file="">
- <![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="">
- <![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="">
- <![LOG[Powershell exit code is 0]LOG]!><time="20:36:31.9092586" date="3-26-2022" component="AgentExecutor" context="" type="1" thread="1" file="">
- <![LOG[lenth of out=2]LOG]!><time="20:36:31.9092586" date="3-26-2022" component="AgentExecutor" context="" type="1" thread="1" file="">
- <![LOG[lenth of error=634]LOG]!><time="20:36:31.9092586" date="3-26-2022" component="AgentExecutor" context="" type="1" thread="1" file="">
- <![LOG[error from script =winget : The term 'winget' is not recognized as the name of a cmdlet, function, script file, or operable program.
- Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
- At C:\Program Files (x86)\Microsoft Intune Management
- Extension\Policies\Scripts\43c459be-ebab-4d3d-b98e-28dce8b93177_48d7abba-104a-4796-8061-b0be7e04d6b7.ps1:1 char:1
- + winget install 7zip.7zip --silent --accept-package-agreements --accep ...
- + ~~~~~~
- + CategoryInfo : ObjectNotFound: (winget:String) [], CommandNotFoundException
- + FullyQualifiedErrorId : CommandNotFoundException
- ]LOG]!><time="20:36:31.9092586" date="3-26-2022" component="AgentExecutor" context="" type="1" thread="1" file="">
- <![LOG[Powershell script is successfully executed.]LOG]!><time="20:36:31.9092586" date="3-26-2022" component="AgentExecutor" context="" type="1" thread="1" file="">
- <![LOG[write output done. output =
- , error = winget : The term 'winget' is not recognized as the name of a cmdlet, function, script file, or operable program.
- Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
- At C:\Program Files (x86)\Microsoft Intune Management
- Extension\Policies\Scripts\43c459be-ebab-4d3d-b98e-28dce8b93177_48d7abba-104a-4796-8061-b0be7e04d6b7.ps1:1 char:1
- + winget install 7zip.7zip --silent --accept-package-agreements --accep ...
- + ~~~~~~
- + CategoryInfo : ObjectNotFound: (winget:String) [], CommandNotFoundException
- + FullyQualifiedErrorId : CommandNotFoundException
- ]LOG]!><time="20:36:31.9092586" date="3-26-2022" component="AgentExecutor" context="" type="1" thread="1" file="">
- <![LOG[Revert Wow64FsRedirection]LOG]!><time="20:36:31.9092586" date="3-26-2022" component="AgentExecutor" context="" type="1" thread="1" file="">
- <![LOG[Agent executor completed.]LOG]!><time="20:36:31.9092586" date="3-26-2022" component="AgentExecutor" context="" type="1" thread="1" file="">
- <![LOG[{0} software distribution gets invoked]LOG]!><time="20:36:34.3936354" date="3-26-2022" component="AgentExecutor" context="" type="1" thread="1" file="">
- <![LOG[PowershellDetection option gets invoked]LOG]!><time="20:36:34.3936354" date="3-26-2022" component="AgentExecutor" context="" type="1" thread="1" file="">
- <![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="">
- <![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="">
- <![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="">
- <![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="">
- <![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="">
Add Comment
Please, Sign In to add comment