<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>6989</bug_id>
          
          <creation_ts>2014-11-21 04:00:59 +0000</creation_ts>
          <short_desc>Error in Create-DevboardKey script, when trying to make a Win8.1 installation</short_desc>
          <delta_ts>2015-01-16 11:15:35 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>12</classification_id>
          <classification>Hardware Platforms</classification>
          <product>MinnowBoard MAX Firmware</product>
          <component>minnowboard-firmware</component>
          <version>2C A2</version>
          <rep_platform>MinnowBoard Max</rep_platform>
          <op_sys>x86</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>Production Release</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>shacharweis</reporter>
          <assigned_to name="Ivan Rouzanov">ivan.rouzanov</assigned_to>
          <cc>sjolley.yp.pm</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>47130</commentid>
    <comment_count>0</comment_count>
    <who name="">shacharweis</who>
    <bug_when>2014-11-21 04:00:59 +0000</bug_when>
    <thetext>I am following this guide to install Win8.1 on MinnowBoard Max
http://msdn.microsoft.com/en-us/library/windows/hardware/dn781278%28v=vs.85%29.aspx

Step #6 is to run this command line in PowerShell:
.\Create-DevboardKey.ps1 -ImagePath Setup\sources\install.wim -Index 2

It fails with this error:

You must provide a value expression on the right-hand side of the &apos;-&apos; operator.
At D:\MAX\Create-DevboardKey.ps1:313 char:42
+             } elseif ($DiskNumber.Value - &lt;&lt;&lt;&lt; notin ($disks | Select-Object
-ExpandProperty Number)) {
    + CategoryInfo          : ParserError: (:) [], ParseException
    + FullyQualifiedErrorId : ExpectedValueExpression</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47131</commentid>
    <comment_count>1</comment_count>
    <who name="Stephen K Jolley">sjolley.yp.pm</who>
    <bug_when>2014-11-21 04:11:45 +0000</bug_when>
    <thetext>Ivan, Please check if this is a problem with the Windows install or the web site.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47150</commentid>
    <comment_count>2</comment_count>
    <who name="">shacharweis</who>
    <bug_when>2014-11-21 19:47:42 +0000</bug_when>
    <thetext>I just tried this under Win8.1, and it works. 
I was on Win7 SP2 before.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47967</commentid>
    <comment_count>3</comment_count>
    <who name="Ivan Rouzanov">ivan.rouzanov</who>
    <bug_when>2015-01-16 11:13:17 +0000</bug_when>
    <thetext>This is expected - Microsoft scripts are designed to work under Windows 8.1.
Windows 7 at this point is &quot;old&quot; - it was released in 2009 and mainline support for it has been stopped.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47968</commentid>
    <comment_count>4</comment_count>
    <who name="Ivan Rouzanov">ivan.rouzanov</who>
    <bug_when>2015-01-16 11:14:18 +0000</bug_when>
    <thetext>This is expected - Microsoft scripts are designed to work under Windows 8.1.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47969</commentid>
    <comment_count>5</comment_count>
    <who name="Ivan Rouzanov">ivan.rouzanov</who>
    <bug_when>2015-01-16 11:14:50 +0000</bug_when>
    <thetext>By design.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47970</commentid>
    <comment_count>6</comment_count>
    <who name="Ivan Rouzanov">ivan.rouzanov</who>
    <bug_when>2015-01-16 11:15:35 +0000</bug_when>
    <thetext>Closing this one.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>