PowerShell 명령을 사용하여 Unified Access Gateway를 Azure에 배포할 수 있습니다.
절차
-
Omnissa Customer Connect에서 UAG(Unified Access Gateway) PowerShell 스크립트 파일로 이동한 후 지금 다운로드를 클릭합니다.
zip 파일uagdeploy-xx.xx.x.x-xxxxxxxx이(가) 로컬 시스템에 다운로드됩니다. -
zip 파일에서 파일의 압축을 풉니다. 시스템에 다음 PowerShell 스크립트가 있는지 확인합니다.
uagdeployaz.ps1및uagdeploy.psm1 -
PowerShell 창을 열고 명령을 실행합니다.
uagdeployaz.ps1 uag1.ini
PowerShell 5를 사용하는 경우 Azure 배포
AzureRM 모듈에 대한 지원은 Microsoft에서 더 이상 사용되지 않습니다.
Unified Access Gateway 스크립트가 PowerShell 5 환경을 감지하면 AzureRM 모듈을 사용하여 구축된 uagdeployaz.ps1 스크립트를 사용합니다. PowerShell 5를 사용하여 uagdeployaz.ps1을 실행하는 동안 다음과 같은 경고 메시지가 표시될 수 있습니다.
The AzureRM PowerShell module has been officially deprecated as of February 29, 2024. Users are advised to migrate from AzureRM to the Az PowerShell module to ensure continued support and updates.
이 문제를 해결하려면 Az 모듈을 사용하여 구축된 uagdeployaz_ps7.ps1 스크립트를 사용합니다.
해결 방법
AzureRM모듈을 제거하려면 이 명령을 실행합니다.uninstall-module AzureRM $Modules = Get-Module -ListAvailable | Where {$_.Name -like 'AzureRM.*'} Foreach ($Module in $Modules) {Uninstall-Module $Module}Az모듈을 설치합니다. 자세한 내용은 Windows에 Azure PowerShell 설치를 참조하십시오.- 다운로드한 파일
uagdeployaz_ps7.ps1의 이름을uagdeployaz.ps1로 바꿉니다. - 명령을 실행합니다.
uagdeployaz.ps1 uag1.ini
이 페이지가 도움이 되었나요?