I’ve started running a D&D campaign using the Fantasy Grounds software with my friends. After a few quick mini-adventures to get used to the system, we’re going to launch into the Out of the Abyss campaign.
Normally a spoiler warning would be appropriate in case you want to play this yourself in the future but the likelihood of my players;
- Staying alive
- Sticking to the plot
- Not alienating the key NPCs
is pretty infinitesimal so take it with a pinch of salt. If the Forgotten Realms is still standing at the end we’ll clock it as a major win. Continue reading “Apocalypse Maybe: A D&D Campaign Log. Introduction to the Merry Band of Heroes.”
This is an update to my function to extract Mailbox folder permissions as PowerShell objects, allowing various forms of processing.
The main script is here.
In this update I’ve made the function skip some default folders it can’t process, treat the root of the mailbox better and improved the logging.
Continue reading “PowerShell: Export All Exchange Mailbox Folder Permissions In A Format For Further Processing: Part 2”
This is the next part detailing how the script here works. The first part detailed the rough design of the script and the main function that creates the transaction objects that are passed through the script.
This part adds some sample Task functions and the main body of the script to kick it all off. Continue reading “PowerShell: A Simple Batch Processing System, Part 2”
Hi. I’ve written a few scripts that have gotten to be quite large. In all cases they’ve needed to make a series of changes to a set of objects and log the results. It’s normally important that some of the later changes only get made if the earlier ones are successful; for example only changing the default SMTP address on a mailbox if another SMTP address was added earlier.
This series of posts will go into a decent system I’ve found for accomplishing this with some skeleton examples that are (hopefully!) easy to adapt. Continue reading “PowerShell: A Simple Batch Processing System, Part 1”
This is the skeleton of a Batch Processing System (Importing from a CSV file, performing consecutive tasks that are dependant on the previous task completing and then outputting the result).
I detailed how it works in Part 1 here and in Part 2 here. Continue reading “PowerShell: A Simple Batch Processing System”
The following is a simple script to generate a mailbox size report CSV for a set of email addresses. The full function and explanation follows.
Continue reading “PowerShell: Create a CSV Report of Mailbox Sizes”
Within Exchange (on-premise or Online) it’s sometimes helpful to export the delegate permissions that a user can set within their mailbox. Get-MailboxFolderPermission is the cmdlet which will export that information for a particular folder. The identifier needs to be in the format “firstname.lastname@example.org:\Marketing\Reports”.
That said there’s not an easy way to export the permissions on ALL folders within a mailbox and the output for that command isn’t very helpful for further processing.
So; script. It’ll take a mailbox as a parameter and output the permissions on all the mailbox folders (and subfolders) as objects.
I wrote a post about the initial version of the script and how it works in Part 1 here.
The first update, allowing the function to deal with special folders and the root better is here (Part 2).
I’ve also made the script stand-alone now (rather than a function). So just save this as a .ps1 file and run it with the MailboxToProcess parameter and it will work.
c:\scripts\path\New-FolderPermissionReportObjectArray.ps1 -MailboxToProcess $MB
Continue reading “PowerShell: Export All Exchange Mailbox Folder Permissions In A Format For Further Processing”