web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

onprem setup script error.

(0) ShareShare
ReportReport
Posted on by 743

Hi, 

When i am running this script for remote install for prereques 

# If Remoting, execute
.\Configure-PreReqs-AllVMs.ps1 -MSIFilePath \\fileserverv2\Preq -ConfigurationFilePath .\ConfigTemplate.xml

it says

Cannot process argument transformation on parameter 'Test'. Cannot convert value "System.String" to type "System.Manage
ment.Automation.SwitchParameter". Boolean parameters accept only Boolean values and numbers, such as $True, $False, 1 o
r 0.

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Muratvzr Profile Picture
    743 on at

    It's a script error ithink I remove -Test:$Test parm from

    Configure-PreReqs-AllVMs line 56

      $scriptBlock = [ScriptBlock]::Create("& $RemoteLbdScriptsPath\Configure-PreReqs.ps1 -MSIFilePath $MSIFilePath ")

    its working

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans