#UAC
check
    $UAC = Get-ItemProperty
-Path registry::HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\policies\system
-Name EnableLUA
    if($UAC.EnableLUA
-eq 0){
        "[X]
UAC - User Access Control disabled"
    }else{
        "[ ]
UAC - User Access Control disabled : run Set-ServerSettings"
    }