Page 1 of 8 123 ... LastLast
Results 1 to 15 of 106
  1. #1
    Super Moderator RetiredGeek's Avatar
    Join Date
    Mar 2004
    Location
    Manning, South Carolina
    Posts
    9,434
    Thanks
    372
    Thanked 1,457 Times in 1,326 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,723
    Thanks
    146
    Thanked 156 Times in 149 Posts
    RG, the link is invalid......

  3. #3
    Super Moderator RetiredGeek's Avatar
    Join Date
    Mar 2004
    Location
    Manning, South Carolina
    Posts
    9,434
    Thanks
    372
    Thanked 1,457 Times in 1,326 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,373
    Thanks
    235
    Thanked 147 Times in 136 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,434
    Thanks
    372
    Thanked 1,457 Times in 1,326 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,723
    Thanks
    146
    Thanked 156 Times in 149 Posts
    +1, David you're just too quick!

  7. #7
    Silver Lounger wavy's Avatar
    Join Date
    Dec 2009
    Location
    ny
    Posts
    2,373
    Thanks
    235
    Thanked 147 Times in 136 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,434
    Thanks
    372
    Thanked 1,457 Times in 1,326 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,746
    Thanks
    171
    Thanked 649 Times in 572 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,373
    Thanks
    235
    Thanked 147 Times in 136 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,434
    Thanks
    372
    Thanked 1,457 Times in 1,326 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,434
    Thanks
    372
    Thanked 1,457 Times in 1,326 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,434
    Thanks
    372
    Thanked 1,457 Times in 1,326 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,434
    Thanks
    372
    Thanked 1,457 Times in 1,326 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
    225
    Thanks
    20
    Thanked 45 Times in 40 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
  •