Skip to content

Commit

Permalink
Update Get-Drivers.psm1
Browse files Browse the repository at this point in the history
  • Loading branch information
TonyPhipps authored Oct 2, 2024
1 parent ca0fba7 commit 7333005
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions Modules/Get-Drivers.psm1
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
function Get-Drivers {
<#
.SYNOPSIS
Gets a list of drivers.
Collects information from all drivers installed on the system.
.DESCRIPTION
Gets a list of drivers.
Collects information from all drivers installed on the system.
.EXAMPLE
Get-Drivers
.EXAMPLE
Get-Drivers |
Select-Object -Property * -ExcludeProperty PSComputerName,RunspaceID |
Export-Csv -NoTypeInformation ("c:\temp\Drivers.csv")
.EXAMPLE
Invoke-Command -ComputerName remoteHost -ScriptBlock ${Function:Get-Drivers} |
Select-Object -Property * -ExcludeProperty PSComputerName,RunspaceID |
Expand Down Expand Up @@ -80,4 +85,4 @@ function Get-Drivers {
Write-Verbose ("Total time elapsed: {0}" -f $elapsed)
Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ"))
}
}
}

0 comments on commit 7333005

Please sign in to comment.