PowerShell コマンドを使用して、Unified Access Gateway を Azure にデプロイできます。
手順
-
Omnissa Customer Connect から、Unified Access Gateway (UAG) 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
このページは役に立ちましたか?