mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-05-14 06:17:22 +00:00
Update assettag.md
This commit is contained in:
parent
c486711877
commit
aaf39cbea9
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user