desktop,
run this little script for me please and attach file placed on your desktop.
run this little script for me please and attach file placed on your desktop.
PHP:
# ************************************************
# Collects information about your operating system
# Places OSinfo.txt on the desktop
# ************************************************
# Create an empty array to hold objects
$arr = @()
# ######### OS ############################
$os = gwmi win32_operatingsystem
# $e = current element in the following foreach loop
foreach ($e in $OS) {
# Create and populate a hash table for os info
$hash = @{
"OPERATING SYSTEM" = "*" * 40
"OS Version" = $e.caption
"Service Pack" = $e.csdversion
"Installed" = ($e.converttodatetime($e.installdate)).tostring("d")
"Last Bootup" = ($e.converttodatetime($e.lastbootuptime))
"Local Date-Time" = ($e.converttodatetime($e.localdatetime))
"Number of Users" = $e.numberofusers
"OS Architecture" = $e.osarchitecture
"Registered User" = $e.registereduser
"Product ID" = $e.serialnumber
"Service Pack Version" = [string]$e.servicepackmajorversion + "." + [string]$e.servicepackminorversion
"System Drive" = $e.systemdrive
"Windows Directory" = $e.windowsdirectory
} # end of hash array
# create object using hash array
$obj = new-object -type psobject -property $hash |
Select "Operating System", "OS Version", "Service Pack", Installed, "Last Bootup", "Local Date-Time", "Number of Users", "OS Architecture", `
"Registered User", "Product ID","service pack version", "System Drive", "Windows Directory"
# add to result array
$arr += $obj
} # end of foreach loop
$arr > $env:userprofile\desktop\OSinfo.txt
EXIT
EXIT
My Computer
- Computer Manufacturer/Model Number
- Toshiba Satellite S875D-S7239 laptop
- OS
- MS Windows 7 Ultimate SP1 64-bit
- CPU
- AMD A10-4600M
- Motherboard
- AMD Pumori (Socket FT1)
- Memory
- 6.00 GB Dual-Channel DDR3 @ 798MHz (11-11-12-28)
- Graphics Card(s)
- AMD Radeon HD 7660G
- Sound Card
- High Definition Audio Device
- Monitor(s) Displays
- Generic PnP Monitor (1600x900@60Hz)
- Screen Resolution
- 1600x900@60Hz
- Hard Drives
- SSD 119GB Corsair CSSD-V128GB2 ATA Device
- Keyboard
- Standard PS/2 Keyboard
- Mouse
- HP Wireless Optical Mobile Mouse Model FHA-3410
- Internet Speed
- What the local pub, local coffee shop offers.
- Other Info
- Optical Drive:MATSHITA BD-CMB UJ160B ATA Device
Also have an Asus ha1002xp netbook with Win 7 Ultimate installed.