Skip to content

• Downloading CMTrace for Log viewing if its not present. • Disable AD Account • Remove all Groups (except domain users) • Clear user Attribute (Telephone, manager, mobile, facsimile) • Move to Retired OU • Set Full permission to Mailbox for the User Deputy • Archive and or Delete User Mailbox • Remove Skype User • Revoke CS Client Certs • Set F…

Notifications You must be signed in to change notification settings

fscorrupt/PS-Employee-Exit-Script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Modules Required:

ActiveDirectory Module is Required. (Install-Module -Name ActiveDirectory -Force)
PoshProgressBar Module is Required. (Install-Module -Name PoshProgressBar -Force)

Code Adjust:

Adjust Code on Line 999 -  1057

GUI Looks Like this:

alt text

Mail Body/Log looks like this:

alt text

Feature List:

Gui Feature:

Live Search in AD for deputyUser and exitUser

ADPart:

Disable AD Account
Remove all Groups and add user to Domain Guests
Clear user Attribute (Telephone, manager, mobile, facsimile, Primary Computer......)
Move to Retired OU

Exchange Part:

Set Full permission to Mailbox for the User Deputy
Hide user from AdressBook
Remove User Picture
Remove Active Sync Devices
Archive and or Delete User Mailbox

Skype4Business Part:

Remove Skype User
Revoke CS Client Certs

User Files Part:

Set Full permission to my documents for the User Deputy
Zipping those files to an Archive share
Delete User Files

O365 Part:

Disable Sign-In in O365

Formatting and Logging Part:

Formats Log File to a readable Mail Body
Sending mail to Ticket System with Log Output
Read-CMTrace LogFile Function

About

• Downloading CMTrace for Log viewing if its not present. • Disable AD Account • Remove all Groups (except domain users) • Clear user Attribute (Telephone, manager, mobile, facsimile) • Move to Retired OU • Set Full permission to Mailbox for the User Deputy • Archive and or Delete User Mailbox • Remove Skype User • Revoke CS Client Certs • Set F…

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages