none
Import OS Powershell script giving error RRS feed

  • Question

  • Hi All,

    I am running the Powershell script which is the default script of MDT to import Operating System. This script is giving me error. in the following line.

    import-mdtoperatingsystem -path $DS_ID":\Operating Systems" -SourcePath $OS_SRC_DIR -DestinationFolder $OS_DS_DIR -Verbose

    "import-mdtoperatingsystem : Index (zero based) must be greater than or equal to zero and less than the size of the argument list."

    We are setting 
    Set–ExecutionPolicy Bypass

    Any help to solve this issue will be appreciated.

    Thanks,

    Sourav


    Born to Learn

    Monday, July 30, 2018 2:32 PM

All replies