mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-05-12 05:17:22 +00:00
Update windows/client-management/mdm/diagnosticlog-csp.md
Co-authored-by: JohanFreelancer9 <48568725+JohanFreelancer9@users.noreply.github.com>
This commit is contained in:
parent
a9eac9ce2c
commit
64cd49d15c
@ -229,7 +229,7 @@ Administrators can apply automation to 'results.xml' to create their own preferr
|
|||||||
```powershell
|
```powershell
|
||||||
Select-XML -Path results.xml -XPath '//RegistryKey | //Command | //Events | //FoldersFiles' | Foreach-Object -Begin {$i=1} -Process { [pscustomobject]@{DirectiveNumber=$i; DirectiveHRESULT=$_.Node.HRESULT; DirectiveInput=$_.Node.('#text')} ; $i++}
|
Select-XML -Path results.xml -XPath '//RegistryKey | //Command | //Events | //FoldersFiles' | Foreach-Object -Begin {$i=1} -Process { [pscustomobject]@{DirectiveNumber=$i; DirectiveHRESULT=$_.Node.HRESULT; DirectiveInput=$_.Node.('#text')} ; $i++}
|
||||||
```
|
```
|
||||||
This example produces output similar to the following.
|
This example produces output similar to the following:
|
||||||
```
|
```
|
||||||
DirectiveNumber DirectiveHRESULT DirectiveInput
|
DirectiveNumber DirectiveHRESULT DirectiveInput
|
||||||
--------------- ---------------- --------------
|
--------------- ---------------- --------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user