Private/CloudInit/Set-UnattendedCloudInitAdministratorName.ps1

function Set-UnattendedCloudInitAdministratorName
{
    param
    (
        [Parameter(Mandatory = $true)]
        [string]
        $Name
    )

    $Script:un.identity.username = $Name
}