Rapidhands

Results 5 comments of Rapidhands

Same comment about get-adgroupmember "domain controller" for the function Test-DCOnline

Something like this ``` # Gather All Scripts in RootPath $AllScripts = Get-ChildItem -Path "$RootPath\Scripts\" -File #Array Initialization $Data = @() #Populate Array foreach ($Script in $AllScripts) { $Extension =...

Display is OK but export to a file is KO (cause the previous error)

Line 10 if ($psversiontable.PsVersion.Major -lt 5 -or ($psversiontable.PsVersion.Major -eq 5 -and $psversiontable.PsVersion.Major -lt 1)) {....} I'm thinking that it's : if ($psversiontable.PsVersion.Major -lt 5 -or ($psversiontable.PsVersion.Major -eq 5 -and $psversiontable.PsVersion.MINOR...

it seems that this line is used in many other Private .ps1 file.