This is a python script created with a single purpose: to test unzipping of OpenOffice.org (LibreOffice) word processor .odt document file, searching in its contents for a certain text and replacing it with a substitute, and, eventually, zipping it all back together to form a new .odt document. 244 more words
Tags » Scripting
NOTE: Be sure to change the Temp user/group entries in $NewGroup and $BaseOU to your required distinguished names.
# The current Domain
$DomainNC = (“LDAP://RootDSE”).DefaultNamingContext… 151 more words