when you want list all restore points or you to switch back to a system restore point use the Windows System Restore Point GUI.
Start it with
It shows you a Window where you can switch back to the latest restore point
or it gets you a list from all available restore points.
Advertisment to support michlstechblog.info
the following powershell one liner lists all WWNs of all attached Fibre Channel HBAs.
The “net” builtin commands of Windows have some limitations: It truncates groupnames longer then 20 Characters, it cannot resolve group in group memberships….
dsget/dsquery are (LDAP) command line interfaces for active directory. For using these commands you have to install the Windows RSAT Tools (Remote Server Administration Tools).
here are the code snippets to list all members of an Active Directory Group.
# Define LDAP search root, the Global catalog of the domain
# The Groupname to looking for
if you want to list all Users which are currently logged on to the box use the query command.
List all sessions
c:\> query session
SESSIONNAME USERNAME ID STATE TYPE DEVICE
services 0 Disc
console 1 Conn
>rdp-tcp#0 user1 2 Active rdpwd
rdp-tcp 65536 Listen
Or list all users
c:\> query user
USERNAME SESSIONNAME ID STATE IDLE TIME LOGON TIME
>user1 rdp-tcp#0 2 Active . 21.02.2015 19:42
You can also list the processes of the user
c:\> query process
USERNAME SESSIONNAME ID PID IMAGE
>user1 rdp-tcp#0 2 6076 taskhost.exe
>user1 rdp-tcp#0 2 6592 rdpclip.exe
>user1 rdp-tcp#0 2 4840 dwm.exe
>user1 rdp-tcp#0 2 4680 explorer.exe
>user1 rdp-tcp#0 2 7092 vmtoolsd.exe