Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
# [Administrator] を [ServerworldAdmin] に変更
PS C:\Users\Administrator> Rename-LocalUser -Name "Administrator" -NewName "ServerworldAdmin"
PS C:\Users\Administrator> Get-LocalUser
# 変更された
Name Enabled Description
---- ------- -----------
DefaultAccount False A user account managed by the system.
Guest False Built-in account for guest access to the computer/domain
Serverworld True Administrator of this Computer
ServerworldAdmin True Built-in account for administering the computer/domain
sshd True
WDAGUtilityAccount False A user account managed and used by the system for Windows Defender Application Guard scen...
|