Page 1 of 8 123 ... LastLast
Results 1 to 15 of 107
  1. #1
    Super Moderator RetiredGeek's Avatar
    Join Date
    Mar 2004
    Location
    Manning, South Carolina
    Posts
    9,489
    Thanks
    377
    Thanked 1,473 Times in 1,340 Posts

    Latest Version! - PowerShell PC Information Program

    Hey Y'all,

    Tried to reply to this thread but got the older than 91 days msg!

    Here's the latest build which adds a Write to File button so you can save all the info and kill some trees if you are so inclined. You'll notice that when you press the button it disappears and the location of the file is displayed on the status line.

    CMsPCInfo-FormVersion.ps1: CMsPCInfo-FormVersion.zip

    Enjoy!
    Last edited by RetiredGeek; 2015-12-22 at 17:44.
    May the Forces of good computing be with you!

    RG

    PowerShell & VBA Rule!

    My Systems: Desktop Specs
    Laptop Specs

  2. #2
    WS Lounge VIP access-mdb's Avatar
    Join Date
    Dec 2009
    Location
    Oxfordshire, UK
    Posts
    1,763
    Thanks
    150
    Thanked 161 Times in 154 Posts
    RG, the link is invalid......

  3. #3
    Super Moderator RetiredGeek's Avatar
    Join Date
    Mar 2004
    Location
    Manning, South Carolina
    Posts
    9,489
    Thanks
    377
    Thanked 1,473 Times in 1,340 Posts
    Access,

    Thanks! It must have gotten buggered when I copied the post to a new thread when it wouldn't let me post to the old one. I've fixed it in the OP.

    May the Forces of good computing be with you!

    RG

    PowerShell & VBA Rule!

    My Systems: Desktop Specs
    Laptop Specs

  4. #4
    Silver Lounger wavy's Avatar
    Join Date
    Dec 2009
    Location
    ny
    Posts
    2,408
    Thanks
    239
    Thanked 150 Times in 139 Posts
    +1 still ng
    David

    Just because you don't know where you are going doesn't mean any road will get you there.

  5. #5
    Super Moderator RetiredGeek's Avatar
    Join Date
    Mar 2004
    Location
    Manning, South Carolina
    Posts
    9,489
    Thanks
    377
    Thanked 1,473 Times in 1,340 Posts
    David,

    I just successfully downloaded it! You might do a refresh of the page.
    May the Forces of good computing be with you!

    RG

    PowerShell & VBA Rule!

    My Systems: Desktop Specs
    Laptop Specs

  6. #6
    WS Lounge VIP access-mdb's Avatar
    Join Date
    Dec 2009
    Location
    Oxfordshire, UK
    Posts
    1,763
    Thanks
    150
    Thanked 161 Times in 154 Posts
    +1, David you're just too quick!

  7. #7
    Silver Lounger wavy's Avatar
    Join Date
    Dec 2009
    Location
    ny
    Posts
    2,408
    Thanks
    239
    Thanked 150 Times in 139 Posts
    got it!
    David

    Just because you don't know where you are going doesn't mean any road will get you there.

  8. #8
    Super Moderator RetiredGeek's Avatar
    Join Date
    Mar 2004
    Location
    Manning, South Carolina
    Posts
    9,489
    Thanks
    377
    Thanked 1,473 Times in 1,340 Posts
    Can anyone explain this anomaly?

    In both cases below the Storage Tab is highlighted

    PowerShell CMD 64 Bit:
    PSCMDVer.JPG

    PowerShell ISE 64 Bit:
    PSISEVer.JPG

    It has me baffled why when run in the CMD window the tab is not highlighted but it is when run from the ISE and yes it is the exact same code.

    May the Forces of good computing be with you!

    RG

    PowerShell & VBA Rule!

    My Systems: Desktop Specs
    Laptop Specs

  9. #9
    Super Moderator
    Join Date
    Jun 2011
    Location
    New England
    Posts
    4,849
    Thanks
    173
    Thanked 671 Times in 591 Posts
    Couldn't we have a description of the purpose of this program and for whom it's intended? And then a proper thread title? I couldn't even figure it out from the original thread.

  10. #10
    Silver Lounger wavy's Avatar
    Join Date
    Dec 2009
    Location
    ny
    Posts
    2,408
    Thanks
    239
    Thanked 150 Times in 139 Posts
    Quote Originally Posted by RetiredGeek View Post
    Can anyone explain this anomaly?

    In both cases below the Storage Tab is highlighted

    It has me baffled why when run in the CMD window the tab is not highlighted but it is when run from the ISE and yes it is the exact same code.

    Man RG you are really delving deep into the mysteries of the Universe!


    David

    Just because you don't know where you are going doesn't mean any road will get you there.

  11. #11
    Super Moderator RetiredGeek's Avatar
    Join Date
    Mar 2004
    Location
    Manning, South Carolina
    Posts
    9,489
    Thanks
    377
    Thanked 1,473 Times in 1,340 Posts
    Bruce,

    Ok. I've changed the title on the OP. The program is intended for anyone who wants to know what is in their computer and/or wants to learn a little about PowerShell. Of course you can do the same thing with Speccy or Belarc Advisor, etc. I programmed this as a tool to help me learn PowerShell and keep "improving" it as I learn more.

    HTH
    May the Forces of good computing be with you!

    RG

    PowerShell & VBA Rule!

    My Systems: Desktop Specs
    Laptop Specs

  12. The Following User Says Thank You to RetiredGeek For This Useful Post:

    BruceR (2015-12-23)

  13. #12
    Super Moderator RetiredGeek's Avatar
    Join Date
    Mar 2004
    Location
    Manning, South Carolina
    Posts
    9,489
    Thanks
    377
    Thanked 1,473 Times in 1,340 Posts
    Ok Y'all,

    The program is now up to version 12.2.

    New Features:
    1. Reports the Status of Trim for those of you with SSDs.
    2. Reports the Alignment status of all disk partitions on all attached disks.
    3. Releases variables as the program progresses to cut down on the memory foot print.


    CMsPCInfo.ps1: CMsPCInfo.zip

    HTH
    May the Forces of good computing be with you!

    RG

    PowerShell & VBA Rule!

    My Systems: Desktop Specs
    Laptop Specs

  14. The Following User Says Thank You to RetiredGeek For This Useful Post:

    holdum333 (2016-02-26)

  15. #13
    Super Moderator RetiredGeek's Avatar
    Join Date
    Mar 2004
    Location
    Manning, South Carolina
    Posts
    9,489
    Thanks
    377
    Thanked 1,473 Times in 1,340 Posts
    Hey Y'all,

    Ok, we're up to Version 14.00 now. I've added a lot of new information including a Battery tab that will only show up if you have a laptop.

    I've also completely reorganized the code as I've put the code for each tab into it's own Function. This wasn't necessary but It does allow me to take advantage of some of the features of the PowerShell ISE, e.g. code expansion/compression. It's really neat when you compress a Function by clicking on the - sign next to the function name you can then easily highlight that one line and copy the entire Function w/o having to highlight the thing line by line.

    CMsPCInfo Ver 14.00: CMsPCInfo.zip

    HTH
    May the Forces of good computing be with you!

    RG

    PowerShell & VBA Rule!

    My Systems: Desktop Specs
    Laptop Specs

  16. #14
    Super Moderator RetiredGeek's Avatar
    Join Date
    Mar 2004
    Location
    Manning, South Carolina
    Posts
    9,489
    Thanks
    377
    Thanked 1,473 Times in 1,340 Posts
    Hey Y'all,

    Version 15 Hot off the keyboard!

    CMsPCInfo.ps1 Ver 15: CMsPCInfo.zip

    HTH
    May the Forces of good computing be with you!

    RG

    PowerShell & VBA Rule!

    My Systems: Desktop Specs
    Laptop Specs

  17. The Following User Says Thank You to RetiredGeek For This Useful Post:

    BHarder (2016-05-02)

  18. #15
    3 Star Lounger JC Zorkoff's Avatar
    Join Date
    Dec 2009
    Location
    Boston, Massachusetts, USA
    Posts
    254
    Thanks
    21
    Thanked 49 Times in 44 Posts
    RG, I am having trouble running your script. I am running Win 7 Pro x64 SP1 and Powershell claims it is v1.0 (from folder name).

    On first run I got errors about missing "]" on about 5 lines. I examined the code and combined it with the following line to eliminate the error.

    Now it will run to the point of showing your form, but powershell is reporting a ton of runtime errors.

    Is this script supposed to run on this system and version of powershell?

Page 1 of 8 123 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •