Utilizando NET

Tambien podriamos validar con el siguiente comando:

PS C:\Windows\system32> net user dnsadmin.user /domain
User name                    dnsadmin.user
Full Name
Comment
User's comment
Country/region code          000 (System Default)
Account active               Yes
Account expires              Never

Password last set            9/29/2023 2:03:19 AM
Password expires             Never
Password changeable          9/30/2023 2:03:19 AM
Password required            Yes
User may change password     Yes

Workstations allowed         All
Logon script
User profile
Home directory
Last logon                   Never

Logon hours allowed          All

Local Group Memberships      *DnsAdmins
Global Group memberships     *Domain Users
The command completed successfully.

Última actualización