Windows 용 모듈을 Mac에 설치하는게 웃기기는 하지만 이게 업이라...
우선 Homebrew를 사용해서 Powershell 먼저 설치..
Installing PowerShell on macOS - PowerShell
Information about installing PowerShell on macOS
learn.microsoft.com
이건 공식 문서가 너무 잘나와서 딱히 내가 보탤 말이 없다.
그 다음에 VMware PowerCLI 설치인데
https://github.com/vmware/PowerCLI-Example-Scripts
GitHub - vmware/PowerCLI-Example-Scripts
Contribute to vmware/PowerCLI-Example-Scripts development by creating an account on GitHub.
github.com
GitHub에서 VMware PowerCLI 모듈을 몽땅 다운 받은 후
Terminal 실행 - Powershell을 구동하기 위해 pwsh 입력
$env:PSModulePath 를 입력하면 모듈이 설치되는 위치가 나온다.
다운로드한 파일 압축 풀어서 해당 경로에 mv로 넣으면 모듈 준비 완료.
Import-Module VMware.VimAutomation.Core
Import-Module VMware.VimAutomation.HorizonView
Import-Module VMware.Hv.Helper
등 모듈 Import 후 Connect-VIserver, Connect-HVServer 등의 명령어가 호출되면 정상 로딩 완료.
'Computer > VMware' 카테고리의 다른 글
PowerCLI로 Orphaned VM을 찾아 재등록하는 스크립트 (0) | 2025.04.02 |
---|---|
VMware Horizon Admin Console에서 Domain 이 2개로 보일 때 (0) | 2025.02.06 |
VMware Horizon Connection Server를 DHCP로 설치하기 (0) | 2025.02.06 |
vCenter Service list (0) | 2025.02.03 |
VMware VCSA(vCenter Server Appliance) Service list (0) | 2025.02.03 |