From 9aa46d735744f72a3331851a1856fd4d382a8962 Mon Sep 17 00:00:00 2001 From: Kyle Date: Fri, 11 Apr 2025 11:42:04 +0800 Subject: [PATCH] Initial commit - adding main script. --- Get-PCDetails.ps1 | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 Get-PCDetails.ps1 diff --git a/Get-PCDetails.ps1 b/Get-PCDetails.ps1 new file mode 100644 index 0000000..a14dddb --- /dev/null +++ b/Get-PCDetails.ps1 @@ -0,0 +1,2 @@ +Get-ComputerInfo | Format-List WindowsRegisteredOrganization, WindowsProductName, WindowsVersion, OSVersion, CsDNSHostName, CsDomain, CsUserName, CsModel, BiosSeralNumber, CsNetworkAdapters, OSArchitecture, LogonServer, TimeZone, OSLocalDateTime, OSLastBootUpTime, OSUptime, KeyboardLayout; Get-NetIPAddress -AddressFamily IPv4 | Select-Object -Property IPAddress, InterfaceAlias +Get-NetAdapter | Where-Object {$_.Status -eq "Up"} \ No newline at end of file