![[파워쉘]로컬계정 활성화 및 비활성화](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FelG0tE%2FbtrCcEUOuBC%2FjkhbC7vSJtOCwmSut3IjGk%2Fimg.png)
# Script/Powershell2016. 1. 5. 16:50[파워쉘]로컬계정 활성화 및 비활성화
EnableDisableUser.ps1 param($computer="localhost", $a, $user, $password, $help) function funHelp() { $helpText=@" DESCRIPTION: NAME: EnableDisableUser.ps1 Enables or Disables a local user on either a local or remote machine. PARAMETERS: -computer Specifies the name of the computer upon which to run the script -a(ction) Action to perform -user Name of user to create -help p..
![[파워쉘]로컬사용자 패스워드 변경](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FbWpzCY%2FbtrB5VW4qMg%2Fj4q2CzncNkafKGfgplaU70%2Fimg.png)
# Script/Powershell2016. 1. 5. 13:58[파워쉘]로컬사용자 패스워드 변경
$user = [adsi]"WinNT://$env:computerName/[사용자이름] $user.setpassword("암호")