cancel
Showing results for 
Search instead for 
Did you mean: 

ADMU migration tool - Invoke ADMU from jcagent - error running script

darling
Novitiate I

I am hoping to find a solution to the following. I am trying to invoke ADMU from jcagent. For this I am running the 1_ADMU_Collect.ps1 script from within PowerShell (script updated December 11th 2024).

When executing the script, I am getting the following error and am wondering if it is something that can be easily fixed...

Line 42: Unexpected token ':"en"' in expression or statement.

darling_0-1743204949770.png

Since I'm trying this for the first time, I am following the instructions on GitHub to the letter. Am I missing something?

1 ACCEPTED SOLUTION

RenataSuarez
Novitiate I

Hey @darling,
It looks like you've saved the webpage not the script and attempted to run that as a PS1 file. Please make sure you are following the instructions here and are comfortable editing a PowerShell script file before attempting to run this remote migration workflow.

View solution in original post

2 REPLIES 2

RenataSuarez
Novitiate I

Hey @darling,
It looks like you've saved the webpage not the script and attempted to run that as a PS1 file. Please make sure you are following the instructions here and are comfortable editing a PowerShell script file before attempting to run this remote migration workflow.

OMG. I feel so embarrassed now. I did download the script both raw as well as the actual page... and used the wrong one to execute. Thanks for pointing this out. I have corrected my mistake and will continue the process.

You Might Like

New to the site? Take a look at these additional resources:

Community created scripts

Keep up with Product News

Read our community guidelines

Ready to join us? You can register here.

Type a product name