Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

dsquery | dsmove problem

Featured Replies

can anyone see what I have done wrong in the below?

dsquery computer -scope onelevel "ou=standard workstations,ou=workstations,ou=01 computers,dc=orr" -stalepwd 150 -limit 0 | dsmove -newparent "ou=tombstone computer accounts,ou=05 maintenance,dc=o
rr"

dsmove failed:`CN=HELPDESK,OU=Standard Workstations,OU=Workstations,OU=01 Computers,DC=orr' is an unknown parameter.

type dsmove /? for help.

If I do a dsquery -computer name helpdesk | dsmove -newparent "ou= etc etc" then it works fine...??


what is the full domain name? when you use the domain it should be ie "dc=something,DC=com" for something.com, you need the full domain name.

how many machines are suppose to be in the ou, and are the ou's that you are querying listed correctly on the same level?

  • Author

the domain name is flat... just "orr" I know this is not the problem because the command works perfectly if there is only one result. As soon as there are more than one result I run into this problem

i.e

dsquery computer -stalepwd xx | dsmove xx

(fails with unknown paramater)

but when I specify a limit of one result

dsquery computer -stalepwd xx -limit 1 | dsmove xx

(command works perfectly)

as soon as I change the limit to more than 1 I receive the unknown paramater error again and the error is always against the second result

if you just run the query (dsquery computer -stalepwd xx) does it return all the computers listed there?

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.