DSQuery

Ask your PowerShell-related questions, including questions on cmdlet development!
Forum rules
Do not post any licensing information in this forum.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 7 years and 9 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked
User avatar
bsmith1965
Posts: 5
Last visit: Tue Sep 14, 2021 7:22 am

DSQuery

Post by bsmith1965 »

My windows 7 client computers are all PS 2.0 with no modules , I am looking to read/write 3 extension attributes . I can use ps remoting to write the attributes but it is quite slow.

I was looking to use dsquery or dsget to read this data as all clients have this software.

Can it be done ?
jvierra
Posts: 15439
Last visit: Tue Nov 21, 2023 6:37 pm
Answers: 30
Has voted: 4 times
Been upvoted: 33 times

Re: DSQuery

Post by jvierra »

dsquery is only available on domain controllers.

Your question appears to have nothing to do with scripting.

There is not reason that PsRemoting "New-PsSession"" would be slow. In most cases it is faster than most methods.
User avatar
dan.potter
Posts: 709
Last visit: Wed Nov 14, 2018 11:39 am

Re: DSQuery

Post by dan.potter »

This topic is 7 years and 9 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked