Artifact [f55354bfb0]
Artifact f55354bfb0192b06a79c800091c54294a20bcb31:
- File tools/wmi/sid.ps1 — part of check-in [06df8ad9bd] at 2017-09-22 23:34:42 on branch trunk — Derived from current base version 0.8.0; some sample and generic scripts added. (user: mario size: 402)
# api: multitool # version: 1.0 # title: [WMI] $user # description: Show SID and other AD user properties # type: inline # category: wmi # hidden: 0 # key: w1|sid|wmi_user|userid # config: {} # # Get detailed user info (such as SID for AD name) via WMI query. Param($user = (Read-Host User)) [wmi] "win32_userAccount.Domain='$($cfg.domain)',Name='$user'" | Format-List -Prop *