Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GUI Import OS Tab Missing Org Name field #4

Open
J-Hoff389 opened this issue Jun 9, 2019 · 1 comment
Open

GUI Import OS Tab Missing Org Name field #4

J-Hoff389 opened this issue Jun 9, 2019 · 1 comment

Comments

@J-Hoff389
Copy link

J-Hoff389 commented Jun 9, 2019

When doing an Import of an ISO on the Import OS tab, the Minimized PowerShell Window throws an error
"Missing an argument for parameter
'OrgName'. Specify a parameter of type 'System.Object' and try again.
At line:1 char:93"

Is this because I have a wrong build account/password ? Doesn't like my Customer name.

@Omneinfluat
Copy link

Orgname is read from XML not user input, Change line 533 in imf.ps1 seems to resolve it.

There seems to be an error in imf.ps1 line 533 when calling imf-importiso.ps1 it tries to find orgname in $settings but the imf.ps1 script doesn’t load the xml file in $settings but rather $xmldata.
The line ought to read: $ScriptBlock = [ScriptBlock]::Create(“.\Scripts\IMF-ImportISO.ps1 -ISOImage $($TextBox1Tab2.Text) -OSFolder $($TextBox2Tab2.Text) -OrgName $($XMLdata.Settings.CustomerName)”)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants