timmcmic / DLConversionV2

MIT License
44 stars 9 forks source link

import-module DLConversionV2 from C: drive in start-MultipleDistributionListMigration.ps1 #107

Closed TPok1707 closed 1 year ago

TPok1707 commented 1 year ago

Some commits ago the line

Start-Job -Name $jobName -InitializationScript {import-module DLConversionV2} -ScriptBlock ...

was changed to

Start-Job -Name $jobName -InitializationScript {import-module c:\repository\dlconversionv2\dlconversionv2.psd1 -force} -ScriptBlock...

in start-MultipleDistributionListMigration.ps1 twice.

This leads to a crash during migration because the module cannot be found there.

timmcmic commented 1 year ago

Thanks - I accidentally submitted my test code. Let me fix it and republish asap.

============================== Timothy J. McMichael Senior Support Escalation Engineer @.**@.> (980)-776-7465

Hours: Sunday – Wednesday 08:00 – 16:00 eastern time zone.

Manager: Tom Roughley @.**@.>)

Premier Support - (800)-936-3100 Broad Commercial Support - (800)-936-4900

==============================


From: TPok1707 @.> Sent: Thursday, February 2, 2023 11:44 AM To: timmcmic/DLConversionV2 @.> Cc: Subscribed @.***> Subject: [timmcmic/DLConversionV2] import-module DLConversionV2 from C: drive in start-MultipleDistributionListMigration.ps1 (Issue #107)

Some commits ago the line

Start-Job -Name $jobName -InitializationScript {import-module DLConversionV2} -ScriptBlock ...

was changed to

Start-Job -Name $jobName -InitializationScript {import-module c:\repository\dlconversionv2\dlconversionv2.psd1 -force} -ScriptBlock...

in start-MultipleDistributionListMigration.ps1 twice.

This leads to a crash during migration because the module cannot be found there.

— Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ftimmcmic%2FDLConversionV2%2Fissues%2F107&data=05%7C01%7Ctimmcmic%40microsoft.com%7C0f24abf56b3d4566c4e408db053cbd10%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638109530652929202%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=BSKU8ZxYm2P%2FV65nsJdQKCrlOoJqPer47jWKlde54ac%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAKGTN6N4NZMKAWKJ6UMBSZLWVPP6NANCNFSM6AAAAAAUPIFZNI&data=05%7C01%7Ctimmcmic%40microsoft.com%7C0f24abf56b3d4566c4e408db053cbd10%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638109530652929202%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=%2BANcuFI9VHpOgkbuNq7pCcn6enwbaLxXqfH062q9AXc%3D&reserved=0. You are receiving this because you are subscribed to this thread.Message ID: @.***>

TPok1707 commented 1 year ago

Fine. I fixed it locally for me currently.

Thank you for your great work. I don't know how would have ever done my current task without your migration scripts.

timmcmic commented 1 year ago

Fixed 2.9.6.3