Giter Club home page Giter Club logo

barmpscripts's Introduction

BarmpScripts

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.

To do:

  • 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.

CS50 Problemset Code

  1. 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.

Linux Projects

  1. 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.

Powershell

  1. 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.
  2. 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.
  3. DNS Management: Basic script using dnscmd to remove and recreate DNS entries - intended for use in a DR scenario.

Printer Deployment

  1. Configure_Workstation_Printers.bat by @Barmp; utilizes built in printer management vbs scripts in Windows 7 to configure printer ports, drivers and installed printers.
  2. 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).

Python

  1. 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.
  2. stringCounter by @Barmp; Homework. String counter function to list number of Uppercase & Lowercase letters, digits, and non-alphanumeric characters in a string.

barmpscripts's People

Contributors

barmp avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.