@Anthony,
Ok so my domain controllers had PS 2.0 so i updated to OS 5.0 and now it work. however i get some errors but not sure if thats because i already have AD module on local machine?
Import-PSSession : Proxy creation has been skipped for the ‘%’ command, because Windows PowerShell could not verify
the safety of the command name.
At C:\home\Posh\Modules\ArrowADTools\ArrowADTools.psm1:19 char:9
and then this error:
WARNING: Proxy creation has been skipped for the following command: ‘ac, asnp, cat, cd, CFS, chdir, clc, clear, clhy,
cli, clp, cls, clv, cnsn, compare, copy, cp, cpi, cpp, curl, cvpa, dbp, del, diff, dir, dnsn, ebp, echo, epal, epcsv,
epsn, erase, etsn, exsn, fc, fhx, fl, foreach, ft, fw, gal, gbp, gc, gci, gcm, gcs, gdr, ghy, gi, gjb, gl, gm, gmo, gp,
gps, gpv, group, gsn, gsnp, gsv, gu, gv, gwmi, h, history, icm, iex, ihy, ii, ipal, ipcsv, ipmo, ipsn, irm, ise, iwmi,
iwr, kill, lp, ls, man, md, measure, mi, mount, move, mp, mv, nal, ndr, ni, nmo, npssc, nsn, nv, ogv, oh, popd, ps,
pushd, pwd, r, rbp, rcjb, rcsn, rd, rdr, ren, ri, rjb, rm, rmdir, rmo, rni, rnp, rp, rsn, rsnp, rujb, rv, rvpa, rwmi,
sajb, sal, saps, sasv, sbp, sc, select, set, shcm, si, sl, sleep, sls, sort, sp, spjb, spps, spsv, start, sujb, sv,
swmi, tee, trcm, type, wget, where, wjb, write, A:, B:, C:, cd…, cd, Clear-Host, ConvertFrom-SddlString, D:, E:, F:,
Format-Hex, G:, Get-FileHash, Get-Verb, H:, help, I:, Import-PowerShellDataFile, ImportSystemModules, J:, K:, L:, M:,
mkdir, more, N:, New-Guid, New-TemporaryFile, O:, oss, P:, Pause, prompt, Q:, R:, S:, T:, TabExpansion2, U:, V:, W:,
X:, Y:, Z:, Add-History, Add-Member, Add-PSSnapin, Add-Type, Clear-History, Clear-Variable, Compare-Object,
Connect-PSSession, ConvertFrom-Csv, ConvertFrom-Json, ConvertFrom-String, ConvertFrom-StringData, Convert-String,
ConvertTo-Csv, ConvertTo-Html, ConvertTo-Json, ConvertTo-Xml, Debug-Job, Debug-Runspace, Disable-PSBreakpoint,
Disable-PSRemoting, Disable-PSSessionConfiguration, Disable-RunspaceDebug, Disconnect-PSSession, Enable-PSBreakpoint,
Enable-PSRemoting, Enable-PSSessionConfiguration, Enable-RunspaceDebug, Enter-PSHostProcess, Enter-PSSession,
Exit-PSHostProcess, Export-Alias, Export-Clixml, Export-Console, Export-Csv, Export-FormatData, Export-ModuleMember,
Export-PSSession, ForEach-Object, Format-Custom, Format-List, Format-Table, Format-Wide, Get-Alias, Get-Culture,
Get-Date, Get-Event, Get-EventSubscriber, Get-History, Get-Host, Get-Job, Get-Member, Get-Module, Get-PSBreakpoint,
Get-PSCallStack, Get-PSHostProcessInfo, Get-PSSession, Get-PSSessionCapability, Get-PSSessionConfiguration,
Get-PSSnapin, Get-Random, Get-Runspace, Get-RunspaceDebug, Get-TraceSource, Get-TypeData, Get-UICulture, Get-Unique,
Get-Variable, Group-Object, Import-Alias, Import-Clixml, Import-Csv, Import-LocalizedData, Import-Module,
Import-PSSession, Invoke-Command, Invoke-Expression, Invoke-History, Invoke-RestMethod, Invoke-WebRequest,
Measure-Command, New-Alias, New-Event, New-Module, New-ModuleManifest, New-Object, New-PSRoleCapabilityFile,
New-PSSession, New-PSSessionConfigurationFile, New-PSSessionOption, New-PSTransportOption, New-TimeSpan, New-Variable,
Out-File, Out-GridView, Out-Host, Out-Null, Out-Printer, Out-String, Read-Host, Receive-Job, Receive-PSSession,
Register-ArgumentCompleter, Register-EngineEvent, Register-ObjectEvent, Register-PSSessionConfiguration, Remove-Event,
Remove-Job, Remove-Module, Remove-PSBreakpoint, Remove-PSSession, Remove-PSSnapin, Remove-TypeData, Remove-Variable,
Resume-Job, Save-Help, Select-String, Select-Xml, Send-MailMessage, Set-Alias, Set-Date, Set-PSBreakpoint, Set-PSDebug,
Set-PSSessionConfiguration, Set-StrictMode, Set-TraceSource, Set-Variable, Show-Command, Sort-Object, Start-Job,
Start-Sleep, Stop-Job, Suspend-Job, Tee-Object, Test-ModuleManifest, Test-PSSessionConfigurationFile, Trace-Command,
Unblock-File, Unregister-Event, Unregister-PSSessionConfiguration, Update-FormatData, Update-Help, Update-List,
Update-TypeData, Wait-Debugger, Wait-Event, Wait-Job, Where-Object, Write-Debug, Write-Error, Write-Host,
Write-Information, Write-Output, Write-Progress, Write-Verbose, Write-Warning’, because it would shadow an existing
local command. Use the AllowClobber parameter if you want to shadow existing local commands.
ModuleType Version Name ExportedCommands
Script 1.0 tmp_1iaye12n.tvb {Add-ADComputerServiceAccount, Add-ADDomainControllerPassw…