PS One-Liner: Pull Dell Service Tag

Every now and then, I’ll need to pull the Service Tag from a Dell system that I’m working on remotely.

From cmd line this can be done with:

wmic bios get serialnumber

However, if you want to do something with the output, Powershell is a bit better:


If you’re wanting to only return the value without the column:


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s