|
|
|
@ -36,7 +36,6 @@ function Get-BetterADUser {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#check for old version
|
|
|
|
|
$version = ([String]$PSVersionTable.PSVersion).Substring(0,1)
|
|
|
|
|
if($version -lt 7) {
|
|
|
|
|
if($PSVersionTable.PSVersion.Major -le 5){
|
|
|
|
|
Write-Host -ForegroundColor Red 'start pwsh instead of powershell'
|
|
|
|
|
}
|