Per BATCH Loginskript Computeraccount Location updaten?
Hallo zusammen,
ist es möglich per Batch ein einfaches Updateskript für das Update vom Location Attribut zu machen?
Ich würde gern so was wie hier for /F %%i in ('dsquery * -filter "&(objectcategory=user)(samaccountname=%username%)" -attr l ^| find /v "l"') do set USERSLOC=%%i und dann einfach das was da bei der userloc drinsteht auf das Attribut vom Computerkonto schreiben. Hat da jemand was? Ich weiß gerade nicht wie ich das mit dsmod weitermachen kann
Gruß
Heiko
ist es möglich per Batch ein einfaches Updateskript für das Update vom Location Attribut zu machen?
Ich würde gern so was wie hier for /F %%i in ('dsquery * -filter "&(objectcategory=user)(samaccountname=%username%)" -attr l ^| find /v "l"') do set USERSLOC=%%i und dann einfach das was da bei der userloc drinsteht auf das Attribut vom Computerkonto schreiben. Hat da jemand was? Ich weiß gerade nicht wie ich das mit dsmod weitermachen kann
Gruß
Heiko
Please also mark the comments that contributed to the solution of the article
Content-Key: 231212
Url: https://administrator.de/contentid/231212
Printed on: May 4, 2024 at 13:05 o'clock