Windows equivalent of whois command


















Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Who command in windows Ask Question. Asked 4 years, 8 months ago. Active 4 years, 8 months ago.

Viewed 4k times. Add a comment. Active Oldest Votes. Jeffrey Rennie Jeffrey Rennie 2, 1 1 gold badge 14 14 silver badges 14 14 bronze badges. Yes there is and it's also whoami — DeepSpace Add a comment. Active Oldest Votes. Improve this answer. GianT Do you mean LocalSystem? There isn't a way for that account since it's not associated with a logged on user.

Typically this account is used for services and when a service is running as LocalSystem then it takes on the security context of the service control manager. Yes that's what I meant. Maybe with latest versions of PowerShell it is possible, as when running a. NET app invoking Environment. Username under LocalSystem account, the result is "System".

GianT You could spawn cmd or powershell processes and run scripts, but you won't get an interactive shell. Show 2 more comments. This reports most of the same information that everyone else is saying but you can also just type SET U It will return any environment variables that start with U.

As an aside, SET L can be handy for debugging logonserver problems. Dayton Brown Dayton Brown 1, 2 2 gold badges 13 13 silver badges 22 22 bronze badges. Somtimes you just see tips that have to be shared, those two are great. From a graphical session, ctrl-alt-del will give you a screen with the logged in user displayed. RedFilter RedFilter 1 1 gold badge 6 6 silver badges 17 17 bronze badges. Kara Marfia Kara Marfia 7, 5 5 gold badges 31 31 silver badges 56 56 bronze badges. On Unix, pressing the control key and D simultaneously logs the user out of the shell.

These are edited with a text editor rather than with a special-purpose editing program. To get the prompt with Unix, use rm -i. The i means "interactive". On Windows, the equivalent is start command. See How to run a Windows command as a background job like Unix?



0コメント

  • 1000 / 1000