Category Archive: Windows

Dec 06

Windows Symbolic Links

C:\>mklink /? Creates a symbolic link. MKLINK [[/D] | [/H] | [/J]] Link Target /D Creates a directory symbolic link. Default is a file symbolic link. /H Creates a hard link instead of a symbolic link. /J Creates a Directory Junction. Link specifies the new symbolic link name. Target specifies the path (relative or absolute) …

Continue reading »

Aug 02

Windows msc commands

Computer Management compmgmt.msc Disk Manager diskmgmt.msc Local Users and Groups Manager lusrmgr.msc Scheduled Tasks taskschd.msc Services Management services.msc

Aug 02

List Active Directory groups for a user

Paste this code into a PowerShell: (New-Object System.DirectoryServices.DirectorySearcher(“(&(objectCategory=User)(samAccountName=myUserID))”)).FindOne().GetDirectoryEntry().memberOf