Powershellユーザーアカウント
ワークグループ環境におけるユーザーアカウント制御
ADSIでゴニョゴニョすればできる。 ADSIって何? ADSIはActiveDirectory Service Interface 所謂Directory ServiceのAPI
PS 3.0以上用
Get-CimInstance使用 http://tech.guitarrapc.com/entry/2013/09/06/230957
プリミティブ対応
http://www.vwnet.jp/Windows/PowerShell/MaintenanceLocalAccunt.htm
Active Directory
cmdletにお任せ
http://win.just4fun.biz/?PowerShell/ユーザーアカウント情報を確認する
ADSI
Active Directory Service Interfaces System.DirectoryServices名前空間 この名前空間には2つのコンポーネントクラス 1. DirectoryEntry 2. DirectorySearcher
http://www.weblio.jp/content/System.DirectoryServices+名前空間
Acrive Directory サービスプロバイダ
下記の4種類あり 1. IIS Internet Information Service 2. LDAP 3. NDS 4. WinNT