Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

PC Tech Tool

$
0
0

So I'm very new to powershell and I only have a few questions because I've poked my way around it for the last few weeks creating several little GUIs in Powershell Studio and now I'd like to create them in one tool.

So this is my simple gui



The first button I would like to use to gather information such as, IP Address, BIOS Information, Computer Name and what OU it is in, last logged on, etc.  I can gather all that data with no problem.  What I'm running into is once the first command runs, it wipes out

It would be awesome if it read like


CanonicalName              : domain.net/Workstations/Managed Workstation/Computer1445
OperatingSystem            : Windows 7 Professional
OperatingSystemServicePack : Service Pack 1


Pinging Computer445.domain.net [1.1.1.1] with 32 bytes of data:
Reply from 1.1.1.1: bytes=32 time<1ms TTL=127

Ping statistics for 1.1.1.1:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms

Count Name                    
----- ----                    
   90 Service Control Manager 
   54 Configuration Manager ...
   22 Software Protection Pl...
   10 SceCli                  
    9 Microsoft-Windows-Grou...
    7 McLogEvent              
    2 Microsoft-Windows-Defrag
    2 WakeUpAgt               
    1 EventLog                
    1 VSS                     
    1 KIXTART                 
    1 Winlogon

SMBIOSBIOSVersion : 68IBD Ver. F.47
Manufacturer      : Hewlett-Packard
Name              : Default System BIOS
SerialNumber      : CNU343C304
Version           : HPQOEM - f

etc... with all of it in the scrollable window and also be able to export it to a specific file on the computer I searched.  I would just like the snap shot of the PC at the time I get a call

The second button " Clean PC" will look in temp directories, Users folders that have not been used in 90 days and certain cache files from our email client.

I do not mind having you fine people point me in the right direction but I have searched a lot of this gather process but am unable to come up with any solutions.


Viewing all articles
Browse latest Browse all 6937

Trending Articles