Skip to main content

2026 年 3 月 14 日

`uagdeployaz.ps1` PowerShell コマンドを使用した Azure への Unified Access Gateway のデプロイ

PowerShell コマンドを使用して、Unified Access Gateway を Azure にデプロイできます。

手順

  1. Omnissa Customer Connect から、Unified Access Gateway (UAG) PowerShell スクリプト ファイルに移動し、[今すぐダウンロード] をクリックします。
    zip ファイル uagdeploy-xx.xx.x.x-xxxxxxxx がローカル マシンにダウンロードされます。

  2. zip ファイルを解凍します。次の PowerShell スクリプトがマシン上で使用可能であることを確認します。
    uagdeployaz.ps1 および uagdeploy.psm1

  3. 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 スクリプトを使用します。

回避策

  1. 次のコマンドを実行して、AzureRM モジュールをアンインストールします。
    uninstall-module AzureRM
    $Modules = Get-Module -ListAvailable | Where {$_.Name -like 'AzureRM.*'}
    Foreach ($Module in $Modules) {Uninstall-Module $Module}
    
  2. Az モジュールをインストールします。詳細については、「Windows への Azure PowerShell のインストール」を参照してください。
  3. ダウンロードしたファイルの名前 uagdeployaz_ps7.ps1uagdeployaz.ps1 に変更します。
  4. 次のコマンドを実行します。
    uagdeployaz.ps1 uag1.ini
    

このページは役に立ちましたか?

このトピックについてフィードバックを送信

このトピックは役に立ちましたか?

個人情報や機密情報は入力しないでください。

リンクを生成しています…