CMD file to add a VHD(x) boot object in BCD

Page 2 of 2 FirstFirst 12

  1. Posts : 4,144
    Windows 3.1 to Windows 11
       #11

    Here is my "Win10XPE\Projects\MoPlugins\Utilities\Diskpart_Partitions_XPE.Script" > To create Partition & VHD cmd scripts

    And My "Deployment" Folder, which has many deployment cmd scripts

    At one time I used WinPE with CMD scripts -
    Now I use XPE as visual means of OS deployment
      My Computer


  2. Posts : 2,800
    Windows 7 Pro
    Thread Starter
       #12

    @Kyhi,

    That Is a sweet XPE script... Thanks for sharing it.

    Since It's raining again today, I will take some time to make flat.cmd able to use all options on the command line.

    So it will be able to use any drive, configure all partitions with custom size for EFI and Recovery, restore OS image and create stand alone boot files, in one command.

    Cheers !
      My Computers


  3. Posts : 15,491
    Windows10
       #13

    MaloK said:
    @Kyhi,

    That Is a sweet XPE script... Thanks for sharing it.

    Since It's raining again today, I will take some time to make flat.cmd able to use all options on the command line.

    So it will be able to use any drive, configure all partitions with custom size for EFI and Recovery, restore OS image and create stand alone boot files, in one command.

    Cheers !
    I use that script (slightly modified for my needs) all the time. If I am feeling lazy, I sometimes use easybcd instead.
      My Computer


  4. Posts : 1
    W11
       #14

    Did update the module again.

    Code:
    # Ver 1.6 [SE]
    # Auther Mr X.Y.Z
    
    extract to folder:
    C:\windows\system32\WindowsPowerShell\v1.0\Modules
    
    Export Functions:
    "Get_Boot_info"
    "Get-VHD-Path"
    "Is-VHD-System"
    "Add_VHDX_BOOT"
    "Add_PARTITION_BOOT"
    "Add_RAM_DRIVE_BOOT"
    
    Optional Tags
    #Requires -Version 4
    #Requires -RunAsAdministrator
    #Requires -Modules Microsoft.Windows.BcdLIB.Cmdlets
    Microsoft.Windows.BcdLIB.Cmdlets 1.6 [se].rar
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 04:08.
Find Us




Windows 10 Forums