PowerShell Scripts - Quick Reference

Modified on Fri, 03 Nov 2023 at 01:58 PM

TABLE OF CONTENTS


Move a User Migration to a new process/sub-process

This command can be used when a Datamining Report has a web button calling a script.


Move-MSUserMigrationProcesses -MigrationIds @($ScriptArgs.Items) -ProcessName "4. Migrating" -SubProcessName "Migration Commenced" | Out-Null

Send a User Migration an email

This command can be used when a Datamining Report has a web button calling a script.


Send-MSEmails -Module UserMigrations -ToIds @($ScriptArgs.Items) -EmailTemplateId X -SpreadOverHours 0