Přeskočit na hlavní obsah

Install Dell SMBIOS using Dell Command PowerShell Provider in Windows PE

Shrnutí: How to download, install, and configure Dell Command PowerShell Provider (DCPP) and Dell Command Configure (DCC) with Windows PE and CCTK binaries. Follow instructions for a perfect setup. ...

Tento článek se vztahuje na Tento článek se nevztahuje na Tento článek není vázán na žádný konkrétní produkt. V tomto článku nejsou uvedeny všechny verze produktu.

Pokyny

Affected Products:

  • Dell Command | PowerShell Provider
  • Dell Command | Configure

Note: The correct Windows PE with the CCTK binaries is under the temporary directory located at ISO\sources\boot.wim.

For DCC 4.4 and later or DCPP 2.4 and later

For Dell Command | Configure 4.3.1 and prior or Dell Command | PowerShell Provider 2.3.1 and earlier:

  1. Click the Start menu and search for PowerShell.
  2. Right-click PowerShell and then select Run as administrator.
  3. From the PowerShell prompt, type Find-Module DellBIOSProvider and then press Enter.
  4. Press Y and then press Enter.
  5. Type Install-Module DellBIOSProvider and then press Enter.
  6. Press Y and then press Enter.
  7. Type Set-ExecutionPolicy Unrestricted and then press Enter.
  8. Press A and then press Enter.
  9. Type Import-Module DellBIOSProvider -Verbose and then press Enter.
  10. Download and install the latest Windows Assessment and Deployment Kit This hyperlink is taking you to a website outside of Dell Technologies. (ADK).
  11. Install DCC to be used in Windows PE as well (recommended), reference Dell Command | Configure.
  12. Click the Start menu and search for Dell Command Configure Prompt.
  13. Right-click Dell Command Configure Prompt and then select Run as administrator.
  14. Make temporary directories to contain the CCTK Windows PE:
    • Type MD c:\dcshare
    • Type MD c:\dcshare\temp
    • Type MD c:\dcshare\temp\mount
  15. Go to the DCC installation directory in the Dell Command Configure Prompt.
    • For 64 bit: CD C:\Program Files (x86)\Dell\Command Configure\X86_64
    • For 32-bit: CD C:\Program Files (x86)\Dell\Command Configure\X86
  16. Have DCC create a Windows 10 PE file with the DCC binaries using the following command. From Command Prompt, type cctk_x86_64_winpe_10.bat c:\dcshare\pe344 c:\progra~2\dell\comman~1\ and then press Enter.
    Note:
    • The first parameter to the .bat file represents the path to the local directory for the customized Windows PE 10.0 image to create
    • The second parameter represents the path to the extracted Command Configure toolkit.
  17. Mount the boot.wim in the Deployment and Imaging Tools Command Prompt using DISM:
    Note: PowerShell in Windows PE requires additional features that are in the Automated Deployment Kit, this must be installed before installing WinPE-PowerShell:
    • WinPE-WMI
    • WinPE-NetFX
    • WinPE-Scripting
    DISM /Mount-WIM /wimfile:c:\dcshare\pe344\ISO\sources\boot.wim /index:1 /MountDir:c:\dcshare\temp\mount
    
    Dism /Add-Package /Image:"C:\Dcshare\temp\mount" /PackagePath:"C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\WinPE-WMI.cab"
    
    Dism /Add-Package /Image:"C:\Dcshare\temp\mount" /PackagePath:"C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\en-us\WinPE-WMI_en-us.cab"
    
    Dism /Add-Package /Image:"C:\Dcshare\temp\mount" /PackagePath:"C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\WinPE-NetFX.cab"
    
    Dism /Add-Package /Image:"C:\Dcshare\temp\mount" /PackagePath:"C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\en-us\WinPE-NetFX_en-us.cab"
    
    Dism /Add-Package /Image:"C:\Dcshare\temp\mount" /PackagePath:"C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\WinPE-Scripting.cab"
    
    Dism /Add-Package /Image:"C:\Dcshare\temp\mount" /PackagePath:"C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\en-us\WinPE-Scripting_en-us.cab"
    
    Dism /Add-Package /Image:"C:\Dcshare\temp\mount" /PackagePath:"C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\WinPE-PowerShell.cab"
    
    Dism /Add-Package /Image:"C:\Dcshare\temp\mount" /PackagePath:"C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\en-us\WinPE-PowerShell_en-us.cab"
    
    Dism /Add-Package /Image:"C:\Dcshare\temp\mount" /PackagePath:"C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\WinPE-StorageWMI.cab"
    
    Dism /Add-Package /Image:"C:\Dcshare\temp\mount" /PackagePath:"C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\en-us\WinPE-StorageWMI_en-us.cab"
    
    Dism /Add-Package /Image:"C:\Dcshare\temp\mount" /PackagePath:"C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\WinPE-DismCmdlets.cab"
    
    Dism /Add-Package /Image:"C:\Dcshare\temp\mount" /PackagePath:"C:\Program Files\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\en-us\WinPE-DismCmdlets_en-us.cab"
  18. Copy the DellBIOSProvider files from the DCPP Install directory (for example copy C:\Program Files\WindowsPowerShell\Modules\DellBIOSProvider\2.4.0 to the mount\Program Files\WindowsPowerShell\Modules) directory.
    DELLBIOSProvider directory
  19. Copy the following (previously installed) Visual C++ DLL files from C:\Windows\System32 to mount\Program Files\WindowsPowerShell\Modules.
    • For DCPP 2.4 and later
      • msvcp140.dll
      • vcruntime140.dll
      • vcruntime140_1.dll
        DSMBLivrary.dll
    • For DCPP 2.3.1 and earlier
      • msvcp100.dll
      • msvcr100.dll
      • msvcp140.dll
      • vccorlib140.dll
      • vcruntime140.dll
        DellBIOSProvider
  20. Unmount the modified Windows 10 PE CCTK WIM file. Type DISM /unmount-wim /mountdir:c:\dcshare\temp\mount /commit and then press Enter.
  21. Import the modified CCTK - Powershell boot.wim to Windows Deployment Services (WDS), Microsoft System Center Configuration Manager (SCCM), or a USB drive.
  22. Once booted, open PowerShell
    • Type Set-executionpolicy unrestricted and then press Enter.
    • Type Import-Module DellBIOSProvider -Verbose and then press Enter.
    • Type CD DellSMBIOS: and then press Enter.

Dotčené produkty

Dell Command | Configure, Dell Command | Powershell Provider
Vlastnosti článku
Číslo článku: 000146531
Typ článku: How To
Poslední úprava: 13 srp 2024
Verze:  9
Najděte odpovědi na své otázky od ostatních uživatelů společnosti Dell
Služby podpory
Zkontrolujte, zda se na vaše zařízení vztahují služby podpory.