Forum Discussion
Mike_Moniz
Professor
16 days agoTaking a quick peak, there are few existing ones that have "powershell" in the name like addCategory_Veeam_BackupAndReplication_PowerShell. But really you just need to have it output the values and an exit code:
if ($ComputerOU) {
Write-Output "auto.activedirectory.ou=$ComputerOU"
exit 0
} else {
exit 1
}
(Write-Host also works)