PowerShell Information Command





To list all currently logged-in users (especially useful in multi-user environments): 

query user


For more detailed information, including the domain:


whoami

Comments

Popular posts from this blog

PowerShell Command With Ipv6 in PC

Important Windows Command Line