Developer License Registration from installer scripts using powershell RRS feed

  • Question

  • Hi,

    I am writting a Metro Apps installer using Powershell. I need to get a developer's license as part of this installer.

    When I run the command Show-WindowsDeveloperLicenseRegistration it works perfectly fine from the command prompt but when I run it from the script I get the following

    ObjectNotFound: (Show-Show-WindowsDeveloperLicenseRegistration :String) {}, CommandNotFoundException.

    I am surely missing the class/namespace for this. Any idea which namespace this belongs too?

    Also, Is it possible to send in the Live id and password too from the command and avoid getting the pop-up to fill in the credentials?



    Friday, April 13, 2012 11:50 PM


All replies