PowerShell Notes - continuing adding

2013-09-18

Query Active Directory Domain Controller Info
  •  Current AD server site belongs to

  •  Current AD Site

Check PowerShell Version

Engine version (reliable)


  1: $psversiontable.psversion

Host Version (current window you r opening)


  1: $host.version

Remote PC check


  1: invoke-command -computername myRemotePC -Credential foo {$host}

Newer Older