by Jason Zheng | Oct 23, 2018 | Active Directory
By default windows only allows a maximum of 14 character in its password field: To modify this, open ADSI Edit shown below: ‘msDS-MinimumPasswordLength’ = 20 will allow 20 characters in the password. The setting below targets domain groups for this new...
by Jason Zheng | Oct 23, 2018 | Active Directory
To check AD replication status use the following in command prompt: [shell] Repadmin /replsum [/shell] If an error comes up with: (8606) Insufficient attributes were given to create an object. This object may not exist because it may have been deleted and already...
by Jason Zheng | Oct 23, 2018 | Automation
Use this script with ReliefJet to pull attachments from Outlook. [shell]DEL /F /Q “C:\Tasks\ReliefJet Essentials\Work\Production\interfax\*.*” “C:\Program Files (x86)\ReliefJet Essentials\ExecutorCli.exe” /p IgnoreErrors=True /p Profie=Outlook...
by Jason Zheng | Oct 23, 2018 | Automation
This script will check for files that exists at least 10 minutes ago. [powershell]Param ( [string]$Path = “O:\Path\”, [string]$SMTPServer = “Server.com”, [string]$emailSmtpServerPort = “25”, [string]$emailSmtpUser =...
by Jason Zheng | Oct 23, 2018 | Automation
Prior to building the code, we need to get the name of the printer in Devices and Printers in Control Panel. Change (Name of Printer) to the actual name of the target printer and set all custom printing options. $ExportPath = Path of Drop Folder $OutputPath =...