@dashrender said in M365 Migration - helpful scripts:

@jaredbusch said in M365 Migration - helpful scripts:

@dashrender said in M365 Migration - helpful scripts:

@jaredbusch said in M365 Migration - helpful scripts:

@dashrender You used $group but did not define it in your first example.

it's not defined on purpose - several of these have undefined, it's expected that you will define/replace them yourself.

That is a very poor guide. You posted a script. I expect to copy and paste it and see something work.

Jared is right to a point.

I've now gone back and added variables to all of my scripts making it easier for someone using these to see that they need to enter their own information into the variables to make it work.
I could take it a step further and prompt for that data - but one thing at a time.

1ac5e2e9-a96b-4311-b299-0cd34fcc7b14-image.png