Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

ActiveDirectory module, how to authenticate to an outside AD environment?

$
0
0

I have an interesting problem and I'm not sure how to work around it.

My AD environment is Windows 2008 R2. My workstation in Windows 8.1 NOT joined to active directory.

I need to run/develop some PS scripts that use the ActiveDirectory module, however as I just mentioned I'm not on AD (joining is not an option at this point). Is there any way I can establish a session with the AD environment, authenticate with my AD credentials so I can run the scripts? PS Remoting is also not an option.

When I try to "Import-Module ActiveDirectory" I get an error because I'm not on the domain:

WARNING: Error initializing default drive: 'Unable to find a default server with Active Directory Web Services running.'.

Thanks,
Paul


Viewing all articles
Browse latest Browse all 21975


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>