40 lines
1.3 KiB
Markdown
40 lines
1.3 KiB
Markdown
# Get-PCDetails.ps1
|
|
|
|
A script that when run will give you an output of information relating to the device.
|
|
|
|
Designed to be a 'one liner' with the ShortKeys macro application in mind.
|
|
|
|
### Example Output
|
|
|
|
```
|
|
WindowsRegisteredOrganization :
|
|
WindowsProductName : Windows 10 Pro
|
|
WindowsVersion : 2009
|
|
OsVersion : 10.0.22631
|
|
CsDNSHostName : <hostname>
|
|
CsDomain : domain.com
|
|
CsUserName : ad.domain\user
|
|
CsModel : System Product Name
|
|
BiosSeralNumber : System Serial Number
|
|
CsNetworkAdapters : {Ethernet, VPN-Name, Local Area Connection 2, etc...}
|
|
OsArchitecture : 64-bit
|
|
LogonServer : \\<domain controller>
|
|
TimeZone : (UTC+08:00) Perth
|
|
OsLocalDateTime : 13/04/2025 2:36:06 AM
|
|
OsLastBootUpTime : 5/04/2025 1:34:29 AM
|
|
OsUptime : 1.01:01:36.6426750
|
|
KeyboardLayout : en-US
|
|
|
|
|
|
|
|
|
|
IPAddress InterfaceAlias
|
|
--------- --------------
|
|
x.x.x.x vEthernet (Default Switch)
|
|
x.x.x.x Local Area Connection 2
|
|
x.x.x.x Ethernet
|
|
x.x.x.x VPN-Name
|
|
127.0.0.1 Loopback Pseudo-Interface 1
|
|
VPN-Name
|
|
Ethernet
|
|
``` |