Code Monkey home page Code Monkey logo

sysinfo's Introduction

SysInfo

SysInfo module will help you get the system information that you need from local and remote machines. SysInfo will allow you to utilize CIM cmdlets in an easier way. Instead of trying to find the class name and filter based on the return code to get the exact data that you need, you can get what you need with SysInfo module. It utilizes CIM cmdlets to get the information from local and remote computer but the output of the properties of the system components has no codes. Codes have been converted into a more readable format, giving you the actual meaning of each code. As different types of sizes are provided in bytes, which in many times this is not helpful, additional properties will be included in the output, providing you the size also in other format that will help you out perform your job.


Commands


Release Notes

  • 1.2.0 14-03-2019

    • Credential parameter added
    • Authentication parameter added
    • Properties are now sorted in alphabetical order
    • Some internal functions have been renamed
    • Code Improvements
    • Bug fixes
  • 1.1.3 20-11-2018

    • Get-FloppyDrive renamed to Get-FloppyDriveSysInfo
    • Get-NetworkAdapter renamed to GetNetworkAdapterSysInfo
    • Get-PrinterInfo renamed to Get-PrinterSysInfo
    • Get-SCSIController renamed to Get-SCSIControllerSysInfo
    • Fixed typo errors in help info
  • 1.1.2 13-11-2018

    • Fixed Wildcard bug on Properties parameter
  • 1.1.1 12-11-2018

    • Removed Miminum PowerShell Version
  • 1.1.0 12-11-2018

    • FreeSpacePercentage property added
    • UsedSpacePercentage property added
    • Added protocol choice (WinRM, DCOM)
    • Added Properties parameter
    • Code Improvements
  • 1.0.2 24/10/2018

    • Fixed a bug on Get-SCSIController
    • Fixed a bug on Get-VideoController
  • 1.0.1 23/10/2018

    • Renamed Get-Printer to Get-PrinterInfo
    • Fixed a bug on Get-OperatingSystem for not retrieving OS for multiple systems.
  • 1.0.0 22/10/2018

    • Initial Realease

More Information

For more information please check

https://www.sconstantinou.com/powershell-module-sysinfo

sysinfo's People

Contributors

sconstantinou avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

sysinfo's Issues

Get-FileSystemFlagsEx should return more then one value

Hi!

because FileSystemFlagsEx is an Flag Array it should return more tan one value

My CDromDrive returns an FileSystemFlagsEx value of 17301509.
So it should return Get-FileSystemFlagsEx Function should return the following values:

Case Sensitive Search
Unicode On Disk
Read Only Volume

My Function do it like so:

Function Get-FileSystemFlagsEx {

    param ([uint32]$Number)

    if ($Number -ne 0){
        switch ($Number){
            {$Number -band 1} {'Case Sensitive Search'}
            {$Number -band 2} {'Case Preserved Names'}
            {$Number -band 4} {'Unicode On Disk'}
            {$Number -band 8} {'Persistent ACLs'}
            {$Number -band 16} {'File Compression'}
            {$Number -band 32} {'Volume Quotas'}
            {$Number -band 64} {'Supports Sparse Files'}
            {$Number -band 128} {'Supports Reparse Points'}
            {$Number -band 256} {'Supports Remote Storage'}
            {$Number -band 16384} {'Supports Long Names'}
            {$Number -band 32768} {'Volume Is Compressed'}
            {$Number -band 524289} {'Read Only Volume'}
            {$Number -band 65536} {'Supports Object IDS'}
            {$Number -band 131072} {'Supports Encryption'}
            {$Number -band 262144} {'Supports Named Streams'}
            default {"Invalid Code: $Number"}
        }
    }
}

Get-FileSystemFlagsEx 17301509

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.