LogoLogo
OSDeploy.comTwitterPowerShell GalleryGitHub
  • Overview
  • Release Notes
  • OSDeploy Home
  • Module
    • Install and Update
    • Functions
      • Get-DellModelPack
      • Get-HpModelPack
      • Save-OSDDriverPack
      • Save-OSDIntelPack
      • Save-OSDModelPack
      • Save-OSDMultiPack
      • Show-OSDWmiQuery
      • Update-ModuleOSDDrivers
      • Update-OSDDriverScripts
      • Update-OSDMultiPack
    • PowerShell Gallery
    • GitHub
  • Docs
    • Driver Basics
      • SystemSKU
      • HardwareID
      • SUBSYS
      • Microsoft Update Catalog
      • OEM Drivers
      • Generic Drivers
      • Audio Drivers
      • Driver Family Packs
      • Security
      • Recommendation
    • AmdPack (AMD Video)
      • AMD Reference
        • Enterprise Drivers
        • CVE
        • ISV Certifications
        • OEM Radeon Compatibility
        • OEM Radeon Pro Compatibility
      • Real World OEM Compatibility
      • AmdPack Download
      • AmdPack Package
    • NvidiaPack (Nvidia Video)
      • Nvidia Enterprise Drivers
      • Nvidia CVE
      • Nvidia vs OEM
      • Standard vs DCH
    • OSDDriver Basics
      • WorkspacePath
      • Save-DellModelPack
      • MultiPack
        • Create a Single Model MultiPack
        • Add a Similar Model Pack
        • Add a Different Model Pack
        • DellMultiPack (Full)
        • DellMultiPack (Size Comparison)
        • Create a Generation Pack
        • Final Results
        • Deployment
    • How I Roll
      • Drivers
        • IntelPack MDT
        • IntelPack 10.0 x64
        • IntelPack 10.0 x86
        • NvidiaPack 10.0 x64
        • NvidiaPacks (MultiOS)
        • DellMultiPack 10.0 x64 MDT
        • MDT - DellMultiPack (MultiOS)
        • Update-DellMultiPack
        • CM - Dell Generation Packs
      • MDT - Microsoft Deployment
        • MDT Integration
        • MDT Deployment
      • CM - Configuration Manager
        • CM Packages
        • CM Task Sequence
        • CM Deployment Test
  • Links
    • Dell
      • Model Packs
      • Family Packs
      • Family Packs (DIA)
    • Intel
      • Bluetooth
      • Ethernet
      • Wireless
    • Nvidia
      • Driver Search
      • Advanced Driver Search
      • Quadro Branch History
      • CVE
  • Development
    • Solutions
      • Deploy Cabs
      • Intel Video - Part 1
      • Intel Video - Tests
      • Remove Intel Video Drivers
      • AMD Video Drivers
      • Nvidia Video Drivers
    • NvidiaPack
      • NvidiaPack Test
    • Examples
      • MDT Dell Win7 + Win10 x64
      • Windows 7 to Windows 10 Upgrade
    • ConfigMgr
      • Packages
        • IntelPack 10.0 x64
        • NvidiaPack 10.0 x64
      • Task Sequence
    • Deployment
      • Integration
        • ConfigMgr Package
        • ConfigMgr Task Sequence
      • Execution
        • Local Test
        • Windows Setup
        • ConfigMgr Package Deploy
  • Real World
    • HPMultiPack
      • Heine Hanevik
Powered by GitBook
On this page
  • Console Results
  • C:\Drivers Results
  • OSDDrivers.log
  • MyHardware.csv
  • MyHardware.xml

Was this helpful?

  1. Development
  2. Deployment
  3. Execution

Local Test

PreviousExecutionNextWindows Setup

Last updated 5 years ago

Was this helpful?

If I want to test to see how my Packages work, I can easily browse to my OSDDrivers Workspace Package directory and open Deploy-OSDDrivers.ps1 in PowerShell ISE. I do this instead of PowerShell so it keeps the Window open for me to view results.

The PowerShell script is quite simple. It will import the Deploy-OSDDrivers Script Module and execute an Expand-OSDDrivers

#===================================================================================================
#   Import Deploy-OSDDrivers Module
#===================================================================================================
Import-Module -Name "$PSScriptRoot\Deploy-OSDDrivers.psm1" -Force -Verbose
#===================================================================================================
#   Expand-OSDDrivers
#===================================================================================================
Expand-OSDDrivers -PublishPath "$PSScriptRoot"
#===================================================================================================
#   Complete
#===================================================================================================
#Start-Sleep 10

Console Results

Here are the results from my PowerShell ISE Console

C:\Drivers Results

This contains the matched Drivers, a Log, and a Hardware Inventory

OSDDrivers.log

This is a simple PowerShell Transcript of the Console with full details

MyHardware.csv

This is a full list of all the Hardware found on the system

MyHardware.xml

This is a PowerShell Clixml of the Hardware that can be viewed using the following command

Import-Clixml "C:\Drivers\MyHardware.xml" | Out-GridView