You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You have a hardcoded domain name "lab.com" in the script. You might want to have the user enter it as a parameter., or auto discover it. Perhaps use [System.DirectoryServices.ActiveDirectory.Domain]::GetComputerDomain().Name.ToString() for this (haven't verified it).
The text was updated successfully, but these errors were encountered:
You have a hardcoded domain name "lab.com" in the script. You might want to have the user enter it as a parameter., or auto discover it. Perhaps use [System.DirectoryServices.ActiveDirectory.Domain]::GetComputerDomain().Name.ToString() for this (haven't verified it).
The text was updated successfully, but these errors were encountered: