Scripts which are startet during the WinPE can’t write a log file to the client. It’s hard to troubleshoot them witout logging infromation. A easy way to get back information to the sccm server are status messages.
Use the following commands to get a log directly to the status messages.
Powershell: Write-Host "Text"
VBS: Wscript.Echo "Text"
Principal Workplace Consultant | MVP at baseVISION AG
I’m a consultant, trainer and architect for modern workplace and enterprise mobility projects with Microsoft Technologies in the past eight years. I love to push and design the modern workplace based on Windows 10, EM&S and O365 for my customers which is the only answer for the current security threats, agile world and the fast-changing business requirements of my customers. Important for me is to simplify and automate the operational processes, because there are the highest costs.
Follow me
Latest posts by Thomas Kurth (see all)
- Microsoft Purview Information protect predefined permission groups demystified - February 28, 2023
- Extending Microsoft Sentinel with important device data - January 30, 2023
- SOC Monitor wall – Develop your Video Wall Application (Part 2) - August 22, 2022
0 Comments