/
How to add a Windows server to Azure Arc

How to add a Windows server to Azure Arc

Azure Arc is a cloud-based server management platform. To add an on-prem windows physical or virtual server you need to fun a powershell script that already has some important information already included.

 Instructions

Background information:

  1. The script, with all needed information included is on the Master share on Vulcan in the Azure Arc subfolder of the Azure folder “\\master\vulcan\azure\azure arc”

  2. The az_connect_win.ps1 script can be found at azure_arc/azure_arc_servers_jumpstart/scripts/az_connect_win.ps1 at main · microsoft/azure_arc I found the download link at Azure Arc Jumpstart

  3. The script first sets some environmental variables based on information that we provide. This has already been configured in the script saved on the master share

    02-20240924-170319.png
  4. The script then downloads the Azure Arc agent and installs it.

    image-20240924-171238.png

The script then runs the connect command for the agent and provides all the configuration information

Installation instructions:

SCCM

Run the script Azure Arc - add server

Powershell

Copy the az_connect_win.ps1 script from the Azure share on Master to the temp folder on the server. Open a Powershell window as an administrator, navigate to the temp folder, and then run the following command .\az_connect_win.ps1

Manual Download

Download the agent and install it.

Run the az_connect_win_NoDOWNLOAD.ps1 script with admin rights that is also located in the Azure share on Master.

 

 Related articles