Connect hybrid machines to Azure at scale
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
}