Tag Info

New answers tagged


Assuming source.txt is formatted as follows: myfolder\mynewdir1 myfolder\mynewdir2 myfolder2\subdir\mynewdir3 Batch: @echo off setlocal set folders=C:\source.txt for /f %%d in ("%folders%") do ( md %%d ) Powershell: $folders=@(Get-Content 'C:\source.txt') ForEach ($folder in $folders) { New-Item -ItemType directory -Path C:\$folder ...


Old post, but relevant question. The computer object will have an SID attached of which object created it. Use ADSIedit for this. Also, AD Audit Logging: http://technet.microsoft.com/en-us/library/cc731607(v=ws.10).aspx

Top 50 recent answers are included