Get Android phone notifications on your Windows 10 PC; work with multiple documents in Microsoft Word
Subscription | Read Online | Twitter Facebook Google+

Windows tip of the week

Use the Whoami command to get details about your user account

By Ed Bott

"Who am I?" is a philosophy question designed for late-night debates in college dorm rooms. Whoami, on the other hand, is an obscure but extremely useful Windows command.

When you run the whoami command at a Windows command prompt without any switches, you get the barest of details: Your current domain and user name, in the form domainusername (if you're signed in with a local account or a Microsoft account, domain shows your computer name).

Tack the /? switch to the end of the command to see options for displaying and formatting additional information about the user account that's currently signed in. For the most complete display, use whoami /all /fo list, which displays the security identifier (SID) for the current user, along with information about group memberships and privileges.

The /fo list switch changes the default display from table (which can be hard to read) to a neatly formatted list. Use /fo csv switch to change the output to comma-separated values, which you can import into a spreadsheet.

More from TechRepublic

How to securely and completely delete files in Windows 10 without third-party software

What does a cloud data warehouse look like?

Amazon Prime Day 2019: Best deals for professionals

Why Apple should follow Microsoft's move to get rid of passwords

What does Arm's new N1 architecture mean for Windows servers?

Featured download

Managing the multicloud: Companies capitalize on using multiple cloud providers

It's now much easier for enterprises to take a multicloud approach, which offers such benefits as avoiding vendor lock-in and competitive pricing, to name a few. Has managing multiple cloud providers become the new default for enterprise computing? A TechRepublic Premium online survey wanted to find out.

The latest from ZDNet

Windows 10 security: Bad bug in our CPU diagnostics app, so patch now, says Intel

Microsoft July 2019 Patch Tuesday fixes zero-day exploited by Russian hackers

How much RAM does your Windows 10 PC need? (2019 edition)

Coles partners with Microsoft to transform its business for the future

Multimedia spotlight

Photos: 13 realistic movies about NASA and space exploration

Today's recommended downloads

5 Signs Your Healthcare Network is due for an upgrade

(Cisco)

Securing Students’ Safety Everywhere

(Cisco)

Don't Risk It. Higher Education Cybersecurity 101

(Cisco)

Cisco Umbrella Case Study: How cloud security keeps patient an d employee data safe at Memorial Hermann Health System

(Cisco)

Ransomware: How healthcare organizations can stay ahead of attacks

(Cisco)

A special feature from ZDNet and TechRepublic

Managing the multicloud

A multicloud approach has been talked about for years within enterprises, but few companies have gone that direction. Now it's easier to go multicloud and AWS, Azure and Google Cloud Platform all share customers. Here's a look at managing multiple cloud providers, how to play them off each other and what vendors and tools can help you manage multiple clouds.

Connect with TechRepublic

Visit the Subscription Center to get other free newsletters, manage your account settings or to be removed from TechRepublic communications.

Unsubscribe | Send Feedback | FAQ | Advertise | Privacy Policy

© 2019 CBS Interactive, Inc. All rights reserved.

TechRepublic is a registered service mark of CBS Interactive, Inc.

TechRepublic

235 Second Street

San Francisco, CA 94105

U.S.A.