Update assettag.md

This commit is contained in:
John Kaiser 2019-01-29 12:44:34 -08:00 committed by GitHub
parent c486711877
commit aaf39cbea9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -79,16 +79,13 @@ Surface Go.
> **Figure 1.** Results of running Surface Asset Tag tool on 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 Alternately, you can use WMI to query the existing asset tag on a device:
device:
- (Get-WmiObject -query “Select \* from Win32\_SystemEnclosure”)
For example:
C:\\Windows\\System32\> (Get-WmiObject -query “Select \* from
Win32\_SystemEnclosure”)
(Get-WmiObject -query “Select * from Win32_SystemEnclosure”)
```
**Example:**
C:\Windows\System32> (Get-WmiObject -query “Select * from Win32_SystemEnclosure”)
```
### Using PowerShell ### Using PowerShell
You can use the script below as a way of getting the proposed value and You can use the script below as a way of getting the proposed value and