[파워쉘]IIS웹사이트 추출
# Script/Powershell2016. 2. 24. 09:25[파워쉘]IIS웹사이트 추출

# get-website | export-csv C:\my_list.csv 출처 : http://stackoverflow.com/questions/13126811/powershell-list-of-websites-using-get-website 참고1 : https://technet.microsoft.com/en-us/library/hh867835(v=wps.630).aspx 참고2 : http://vstarmanv.tistory.com/102

[파워쉘]로컬계정 활성화 및 비활성화
# 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..

[파워쉘]로컬사용자 패스워드 변경
# Script/Powershell2016. 1. 5. 13:58[파워쉘]로컬사용자 패스워드 변경

$user = [adsi]"WinNT://$env:computerName/[사용자이름] $user.setpassword("암호")

[파워쉘]로컬사용자 리스트 추출
# Script/Powershell2016. 1. 4. 18:07[파워쉘]로컬사용자 리스트 추출

Get-WmiObject -Class Win32_UserAccount -Filter "LocalAccount='True'" | Select PSComputername, Name, Status, Disabled, AccountType, Lockout, PasswordRequired, PasswordChangeable, SID 출처 : https://mcpmag.com/articles/2015/04/15/reporting-on-local-accounts.aspx

[error]PHP 컴파일 과정에서 흔히 볼 수 있는 오류 메시지 해결 방법2
# Script/PHP2015. 8. 16. 06:02[error]PHP 컴파일 과정에서 흔히 볼 수 있는 오류 메시지 해결 방법2

오류 메세지 : configure: error: xml2-config not found. Please check your libxml2 installation 해결 방법 : yum install libxml2 libxml2-devel -y 오류 메세지 : configure: error: Please reinstall the BZip2 distribution 해결 방법 : yum -y install bzip2-devel 오류 메세지 : configure: error: libjpeg.(a|so) not found. 해결 방법 : yum -y install libjpeg-devel 오류 메세지 : configure: error: libpng.(a|so) not found. 해결 방법 : yum -y insta..

image