Announcement

Collapse
No announcement yet.

Dsmove

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Dsmove

    Hello, i'm rather new to this forum.
    First of all "Hi!"

    Oke.

    According to technical documentation you can pipe the result of you dsquery.
    But i never succeeded in doing so. has anyone succeeded in using the pipe option? When i run a search on google i get multiple threads of users experiencing the same problem. Is the pipe option not working or am i doing something wrong?

    Example:
    dsquery user -name u* | dsmove user -newparent ou=%name%,dc=%name%,dc=%name%

    Have tried this in Windows 2000, 2003 and 2008.
    [Powershell]
    Start-DayDream
    Set-Location Malibu Beach
    Get-Drink
    Lay-Back
    Start-Sleep
    ....
    Wake-Up!
    Resume-Service
    Write-Warning
    [/Powershell]

    BLOG: Therealshrimp.blogspot.com
Working...
X