Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 886 Bytes

README.md

File metadata and controls

24 lines (14 loc) · 886 Bytes

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.