Skip to content

Commit

Permalink
Update Get-ComputerDetails.psm1
Browse files Browse the repository at this point in the history
  • Loading branch information
TonyPhipps authored Oct 2, 2024
1 parent 4d7b223 commit 31f8fec
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions Modules/Get-ComputerDetails.psm1
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
Function Get-ComputerDetails {
<#
.SYNOPSIS
Gets general system information.
Collects multiple points of information from the system from various Windows Management Instrumentation (WMI) classes.
.DESCRIPTION
Gets general system information. Includes data from
Win32_ComputerSystem, Win32_OperatingSystem, and win32_BIOS.
Collects multiple points of information from the system from various Windows Management Instrumentation (WMI) classes.
.EXAMPLE
Get-ComputerDetails
.EXAMPLE
Get-ComputerDetails |
Select-Object -Property * -ExcludeProperty PSComputerName,RunspaceID |
Export-Csv -NoTypeInformation ("c:\temp\ComputerDetails.csv")
.EXAMPLE
Invoke-Command -ComputerName remoteHost -ScriptBlock ${Function:Get-Computer} |
Select-Object -Property * -ExcludeProperty PSComputerName,RunspaceID |
Expand Down

0 comments on commit 31f8fec

Please sign in to comment.