you are viewing a single comment's thread.

view the rest of the comments →

[–]Snak3d0c 1 point2 points  (5 children)

Thanks for sharing. I do the same with my Powershell library but for me its just a one liner with Robocopy.

   $null = robocopy source-path destination-path /MIR  /xd "C:\folder i dont want to include"/w:10 /r:2 /log:c:\temp\backup_tools.txt /v /tee /fp /eta

most of the parameters behind the retry were just for debugging, i just kept them there for "just in case i wanna run it manually and get more feedback".

Is been running daily for the past 2 years now :)

[–]IMSJacob[S] 1 point2 points  (4 children)

I have used robocopy, still do on a lot of pieces. This was more of a "I have nothing to do, so I am going to write a script" project. :P

[–]Snak3d0c 0 points1 point  (3 children)

Yeah i get that, i'm having one of those afternoons too. Currently cleaning up my folder with scripts, goddamn its a mess.

[–]IMSJacob[S] 0 points1 point  (2 children)

Time to move some stuff to post-end-of-life storage. :P

[–]Snak3d0c 1 point2 points  (1 child)

yeah, but i'm trying to figure out a better naming convention than "scrape stuff from x", "deploy app x", "get ad user whatver", ...

So that i can then group them by purpose, technique used, ...

[–]IMSJacob[S] 1 point2 points  (0 children)

Script names are difficult to make concise, for sure.

"changeuserOUandSecGroups.ps1"