Skip to content

Latest commit

 

History

History
10 lines (9 loc) · 1.51 KB

File metadata and controls

10 lines (9 loc) · 1.51 KB

ScriptsAndStuff

Helpful script(let)s for daily administration.

/Scripts

  • FixDFSReplication.ps1 - When you find that GPO versions mismatch between DCs.
  • InstallNSClient.ps1 - Downloads the latest NSClient++, installs it, makes changes to the configuration files, protects the configuration file from regular users and creates new firewall rules for the client. NSClient++ is used to monitor Windows hosts with Nagios.
  • InstallZabbixAgent.ps1 - Downloads the latest 64-bit Zabbix Agent 2, tries to determine which role the server plays, based on installed roles and services. This is used to assign a template to the host. This assumes that specifc templates are already present in Zabbix. The agent gets installed with the template name as hostmetadata.
  • NetworkAdapterProfileCheck.ps1 - Windows Server 2012 R2 VMs boot up before the network is ready and the network category will be set as either Private or Public. This script, when added to a scheduled task (at boot), is supposed to help fix that. If the network category is incorrect at boot, it will wait for a successful connection to specified DC and then restarts the network adapter after which the network category profile should be domain authenticated. Not extensively tested.
  • UninstallMicrosoftLAPS.ps1 - Uninstall Microsoft Local Account Password Solution.
  • UserProfileUpdate.ps1 - Remap a renamed user account to existing profile in user's computer, instead of creating a new profile. Fully automatic solution assumes AD RSAT are installed on the user's computer.