An import and organization of a number of my old scripts and projects for ease of use. This will start life as a private repository until the scripts are scrubbed of any reference to private or identifying data.
-
12 Dec 2020: Imported, cleaned up and created comments for script and project data imported from my oldest backups. Listed basic descriptions for each script or project.
-
19 Dec 2020: Imported gists and other code snippits I've found. Updated Readme script listing and descriptions.
- Find and import additional scripts and side projects not on my backup drives.
- Check for functions or scripts in my other Github repos that can be included in this collection.
- Solutions for the first two C code problemsets I worked on. Basic C code, code usually includes the cs50.h library which is not present here.
- Simple Rsync Backup is a small project that created an offsite, file level backup of data from a number of remote sites. Unfortunately I only have the early stages of the project, the code from later stages of the project is lost. This is a useful demonstration of how rsyncd.conf can be configured and accessed, how a variety of SMB / CIFS file servers can be accessed and mounted via fstab, and a simple loop and switch is used to fork processes that execute the individual rsync backups.
- 3rd Party Scripts: a few scripts I'd saved from one place or another.
- Get-LastLogin by Tim Rhymer; basic function to query all domain controllers and export a list of users and their last logon times.
- GetServices-WithDomainAdminCredentials by reddit user RampageUT; script to query all Windows Servers in an AD Domain and print a list of services that have a service account with Domain Admin credentials.
- RADTool by Ryan Abbott; an example of setting up a console menu program in Powershell.
- User Creation by Rich Prescott; example using XML data and using winforms windows.
- View-Cats by unknown author; example use of com objects and interacting with an API.
- WPMonsterDomainReport by Michael Lindsley; Very large report on all domain controllers in a domain, has a number of useful examples using the ActiveDirectory powershell module.
- Active Directory Discovery: A few common scripts I've used to discover and report on Active Directory environments.
- Check FSMO Roles by @Barmp; Will check Forest/Domain operational level and role holders and print a formatted list.
- DHCP-Reconfiguration by @Barmp; command sequence I used to reconfigure two DHCP servers for a client in a live environment. May be helpful to keep around for future use.
- FindServers-GetServices by @Barmp; Script to enumerate the services for each computer in a list of OUs.
- ScanADComputers-ForSoftware by @Barmp; Searches specified OUs in Active Directory for Computer accounts, then scan those Computers for software.
- DNS Management: Basic script using dnscmd to remove and recreate DNS entries - intended for use in a DR scenario.
- Configure_Workstation_Printers.bat by @Barmp; utilizes built in printer management vbs scripts in Windows 7 to configure printer ports, drivers and installed printers.
- HP_Universal_Driver_Remote_Install.bat by @Barmp; saved the command to remote install the HP universal driver (assuming the local user account has sufficient rights to do so).
- shuffle by @Barmp; Homework. Function to shuffle two lists together, emulating a riffle shuffle like a deck of cards that does not perfectly interlace the list.
- stringCounter by @Barmp; Homework. String counter function to list number of Uppercase & Lowercase letters, digits, and non-alphanumeric characters in a string.