
This article has not been completed yet. However, it may already contain helpful Information and therefore it has been published at this stage.
Service principal creation






Generate the installation script from the Azure portal









Agent Installation

# Installing
$RemoteComputers= WACGW,.....
ForEach $RemoteComputer in $RemoteComputers)
{
If (Test-WSMan -ComputerName $RemoteComputer)
{
Invoke-Command -ComputerName $RemoteComputer -FilePath c:\temp\OnboardingScript.ps1
}

References:
Connect hybrid machines to Azure at scale - Azure Arc
In this article, you learn how to connect machines to Azure using Azure Arc-enabled servers using a service principal.

How to Run PowerShell Script on Remote Computer?