From aaf39cbea921daa9bbda1d29b6e15fa5e89a2c2a Mon Sep 17 00:00:00 2001 From: John Kaiser <35939694+CoveMiner@users.noreply.github.com> Date: Tue, 29 Jan 2019 12:44:34 -0800 Subject: [PATCH] Update assettag.md --- devices/surface/assettag.md | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/devices/surface/assettag.md b/devices/surface/assettag.md index b8b4bf626c..ad0a8e6600 100644 --- a/devices/surface/assettag.md +++ b/devices/surface/assettag.md @@ -79,16 +79,13 @@ Surface Go. > **Figure 1.** Results of running Surface Asset Tag tool on Surface Go -Alternately, you can use WMI to query the existing asset tag on a -device: - - - (Get-WmiObject -query “Select \* from Win32\_SystemEnclosure”) - - For example: - -C:\\Windows\\System32\> (Get-WmiObject -query “Select \* from -Win32\_SystemEnclosure”) + Alternately, you can use WMI to query the existing asset tag on a device: +(Get-WmiObject -query “Select * from Win32_SystemEnclosure”) + ``` + **Example:** +C:\Windows\System32> (Get-WmiObject -query “Select * from Win32_SystemEnclosure”) + ``` ### Using PowerShell You can use the script below as a way of getting the proposed value and