Skip to content

PowerShell scripts to assist with various administrative tasks

Notifications You must be signed in to change notification settings

charlesc90/powershell-scripts

Repository files navigation

powershell-scripts

This is a collection of PowerShell scripts to assist various administrative tasks.

Forms.ps1

This is a basic Windows Forms window template with buttons. Each button calls a function. Lines 125-140 show that when the button is clicked, the function in curly brackets is called.

Rename-Files.ps1

This script replaces a string with another string for all files' filenames in a directory.

Download-EmailHyperlinks.ps1

This script will download files from hyperlinks in your Outlook emails. You need to -

  1. Find the EntryID for the mailbox you want to download from.
  2. Use a regex to ensure you are downloading the file from the proper hyperlink
  3. Use a regex to match some pattern in the email to name the file
  4. Select an output directory

Extract-DOCEmbeddedPDFs.ps1

This script extracts PDFs embedded in Microsoft Word files. It requires 7zip.

About

PowerShell scripts to assist with various administrative tasks

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published