Local Test
Last updated
Was this helpful?
Last updated
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
Here are the results from my PowerShell ISE Console
This contains the matched Drivers, a Log, and a Hardware Inventory
This is a simple PowerShell Transcript of the Console with full details
This is a full list of all the Hardware found on the system
This is a PowerShell Clixml of the Hardware that can be viewed using the following command
Import-Clixml "C:\Drivers\MyHardware.xml" | Out-GridView