ucdavis / Departing_Windows_SysAdmin

A collection of scripts to run when a colleague leaves your unit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Departing Windows SysAdmin

We've all had colleagues leave our units for greener pastures. The idea behind this repo was to keep a collection of scripts to run when that happens and suggestions on next steps.

In our situation, the departing admin managed our file, print, and various other resource servers.

Each script is designed to be run on the server they are reporting on. Making sure we didn't miss anything due to a firewall configuration or GPO setting.

File Server Script

  • Report on all established shares
  • Report sharing and ACL permissions for each share

General Server Script

  • Report on the currently running processes. If possible, list the ports they are listening on
  • Report on all services on the system
  • Report on all scheduled tasks
  • For each determine which account they are running under and the location of the executable

Print Server Script

  • Report all printers on the server
  • Show port name and driver information

Suggestions

  • Look over reports and find any resources running under or configured to use the account of the departing admin
  • Check for any unfamiliar file shares or services

About

A collection of scripts to run when a colleague leaves your unit


Languages

Language:PowerShell 100.0%