vmware powercli (2) 썸네일형 리스트형 PowerCLI: 폐쇄망에서의 환경 구축 방법 1. Windows PowerShell ISE 관리자 권한으로 실행 2. 내 컴퓨터에 있는 PowerCLI 의 modules 의 export (save) : ~~ -Path 저장하고자 하는 폴더 명령어: Save-Module VMware.PowerCLI -Path D:\modules * 잠시 대기 필요 대기 후 저장이 시작됨. 3. 저장한 폴더 (위: D:\modules)를 설치하고자 하는 폐쇄망의 PC 로 이동 1) PowerShell ISE 를 관리자 권한으로 실행 2) 폐쇄망에 위치한 PC의 모듈 동장 경로를 검색 (PowerShell에서 명령어 실행) 명령어: $env:PSModulePath 3) 위의 사용자 지정 경로 확인 * 세미콜론(;) 전까지의 사용자 저장 경로 확인 (위의 세미콜론 이후의.. PowerCLI: PowerShell 환경 설정 및 스크립트 실행 절차 1. Windows PowerShell ISE 실행 (관리자로 실행) 2. VMWare Powershell 설치 (Nuget) (최초 수행) 1) "Install-Module -Name VMware.PowerCLI -Scope CurrentUser" 명령어 실행 2) "Set-ExecutionPolicy Unrestricted" 명령어 실행 PowerCLI 모듈 및 스크립트 사용을 위해 서명되지 않은 PowerShell 스크립트에 대한 호출 제약을 해제 함. 조회 명령: Get-ExecutionPolicy 3) "Import-Module VMware.PowerCLI" 명령어를 실행 PowerCLI 모듈 사용 준비 완료 폐쇄망에서의 VMware.PowerCLI Import https://kkangi.tis.. 이전 1 다음