New
#11
Church,
did you know:
a) click anywhere within the script (which I'm including here again for you).
b) use your cursor to select everything within the script block
c) use the CTRL + C key combo to copy the selected text.
d) now go to PowerShell
e) Right-click anywhere within Powershell
f) now the script is pasted in there and will run and then will close PowerShell for you.
Script:
# ***********************************************************************
# Puts COMPUTERINFO.TXT on your desktop
# COMPUTERINFO.TXT contains info about your bios and your computer system
# ***********************************************************************
function get-ID {
param ([string]$title, [int]$arraycnt, [int]$arrayndx)
$id = " " + $title + " "
If ($arraycnt -ne 1) {$id = $id + [string]$arrayndx + " "}
$id }
function get-title { param ([string]$id)
$hashes = ([int](51 - $id.length)/2)
$hashstr = '#' * $hashes
$title = $hashstr + $id + $hashstr
If ($title.length -le 51) {$title += "#"}
$title }
$sterne = "*" * 79
$CS = gwmi Win32_ComputerSystem
$CSprod = gwmi Win32_ComputerSystemProduct
$id = get-id "BIOS" 1 0
$csid = get-id "COMPUTER SYSTEM" 1 0
$bios = gwmi win32_bios
$obj = new-object -typename PSobject
$obj | Add-member -membertype noteproperty -name (Get-title $id ) -value $sterne -passthru |
add-member -membertype noteproperty -name ($id + "Name") -value($bios.name) -passthru |
add-member -membertype noteproperty -name ($id + "Manufacturer") -value($bios.manufacturer) -passthru|
add-member -membertype noteproperty -name ($id + "Release Date") -value($bios.converttodatetime($bios.releasedate)) -passthru |
add-member -membertype noteproperty -name ($id + "Serial Number") -value($bios.SerialNumber) -passthru |
Add-member -membertype noteproperty -name (Get-title $csid) -value $sterne -passthru |
add-member -membertype noteproperty -name ($csid + "Manufacturer") -value($cs.manufacturer) -passthru |
add-member -membertype noteproperty -name ($csid + "Model") -value($cs.model) -passthru |
add-member -membertype noteproperty -name ($csid + "Primary Owner") -value($cs.primaryownername) -passthru |
add-member -membertype noteproperty -name ($csid + "Type") -value($cs.systemtype) -passthru |
add-member -membertype noteproperty -name ($csid + "Total Memory") -value(([string][int]($cs.totalphysicalmemory/1073741824) + " GB")) -passthru |
add-member -membertype noteproperty -name ($csid + "User Name") -value($cs.username) -passthru |
add-member -membertype noteproperty -name ($csid + "Product Name") -value($csprod.name) -passthru |
add-member -membertype noteproperty -name ($csid + "Version") -value($csprod.version) -passthru |
add-member -membertype noteproperty -name ($csid + "Identifying Number") -value($csprod.identifyingnumber) -passthru |
add-member -membertype noteproperty -name ($csid + "Vendor") -value($csprod.vendor)
$obj > $env:userprofile\desktop\COMPUTERINFO.TXT
EXIT
EXIT
he could run Notepad, click format, then font and see if courier new is in the font box.
Many thanks for posting as a text file for him.
Church may I suggest that unplugging all those USB goodies while these fine people are trying to help you. It could help them help you.
There should be at least 3 devices. One of those is probably built into the computer case.
Note(2) Generic- Compact Flash USB Device (3) Generic- MS/MS-Pro USB Device (4) Generic- SD/MMC USB Device (5) Generic- SM/xD-Picture USB Device
This is a single-unit 7-in-1 Memory Card Reader, either internal (connected to USB headers on the mainboard) or external (connected to the USB 2.0 bus). Some configurations will include a built-in card reader into their builds due to the wide variety of portable devices (cameras, cell phones, GPS, MP3 players, etc.) that will use different types of flash memory for it. It is not necessary to include a 7-in-1 card slot in your System Specs.
church,
I must take issue with Honeycomb. You can never put too much info into your specs. Everything there helps us to build a picture of the system you are working with.
do let us hear from you.
karl