ben604 Posted May 30, 2012 Author Posted May 30, 2012 So close...it's putting the right information in the right place, but I'm getting an error: An error occurred while trying to execute the command. Error Code: 0xC1040133 Error Description: The specified computer could not be found. Putting them in individually works ok...peculiar...
ben604 Posted May 30, 2012 Author Posted May 30, 2012 Right, worked it out. It should be /Add-Device not /Set-Device... all added to AD finally..!
plexer Posted May 30, 2012 Posted May 30, 2012 Glad you got there in the end. Amazing how a one line batch file can cause such head ache Ben
plexer Posted May 30, 2012 Posted May 30, 2012 You should see my 1 line batch file using For that searches students folder for a file matching criteria and then copies it to a destination within a subfolder named after that user. Ben
X-13 Posted May 30, 2012 Posted May 30, 2012 You should see my 1 line batch file using For that searches students folder for a file matching criteria and then copies it to a destination within a subfolder named after that user. Ben Should see = It's good... or Should see = It'll make your head spin? Also, well done @ben604 Soon, you'll be scripting in your sleep.
X-13 Posted May 30, 2012 Posted May 30, 2012 Should see = it's good for what it acheives. Ben Share the code, bro. It's always nice to find random [working] code when you really need it.
mac_shinobi Posted May 30, 2012 Posted May 30, 2012 Will stick it up tomorrow. Ben @X-13 Stick it to the man
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now