0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

ユーザーアカウントの詳細情報をPowershellで確認する方法

Posted at

GUI上でコンピューターの管理からユーザー情報を確認することができる
こちらをPowershellで確認する方法を記述

ユーザーアカウントの詳細情報をPowershellで確認

Get-WmiObject Win32_UserAccount | ? { $_.LocalAccount -eq $true } | Format-List *

出力結果は以下の形となる

名前 説明
AccountType アカウントの種類
caption アカウント名の説明
Description アカウントの詳細な説明
Disabled アカウントが無効かどうか(True/False)
FullName アカウントのフルネーム
LocalAccount ローカルアカウントかどうか(True/False)
Lockout アカウントがロック状態であるか
Name ユーザー名
PasswordChangeable パスワードが変更可能か
SID セキュリティ識別子
Status ステータス
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?