Powershell GUI fronted (WPF) to run categorized console scripts

โŒˆโŒ‹ โŽ‡ branch:  ClickyColoury


Artifact [d6f2b4f739]

Artifact d6f2b4f739592659eb9f3a576e9aa47b63e1606c:

  • File tools/user/cmd_adaccount.ps1 — part of check-in [95d14828c0] at 2017-09-23 02:42:38 on branch trunk — Simple Get-ADUser script (user: mario size: 540)

# api: multitool
# version: 1.0
# title: AD account
# description: Get detailed AD account information
# type: psexec
# category: user
# img: users.png
# hidden: 0
# key: 7|ad-?account|account
# config: -
#
# Get all propertires via Get-ADUser
#
# Alternatives:
#  ยท [ADSISearcher]
#  ยท WMI Win32_user
#

Param($user = (Read-Host "Username"))

#-- ActiveDirectory query
Get-ADUser $user -Properties * | SELECT SamAccountName,Enabled,LockedOut,PasswordExpired,PasswordLastSet,AccountExpirationDate | Format-List