Code Monkey home page Code Monkey logo

bytesizedalex / get-supportinfo Goto Github PK

View Code? Open in Web Editor NEW
9.0 9.0 2.0 4.68 MB

This function will generate and output various log files and support information to assist in troubleshooting computer issues. The exported data is added to an archive file which can be attached to support tickets or forwarded from service desk to senior support.

License: GNU General Public License v3.0

PowerShell 100.00%
information-gathering powershell powershell-script support

get-supportinfo's People

Contributors

bytesizedalex avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

get-supportinfo's Issues

Add check for version of Windows

Add check for version of Windows - function is only supported on Windows 10.

A test should be run to determine the version of Windows and either throw a terminating error or at the least a warning indicating the function may not run as expected/at all.

Create WPF GUI for function execution

Create a WPF graphical application which makes the necessary calls to run the PowerShell function.

This executable can be run by end users, negating the need to run commands in a PowerShell prompt which can be challenging for users.

The Get-SupportInfo function should exist on the endpoint so that the WPF application simple has to invoke it. This method of invocation has been requested by colleagues at my current employer and I do see the value in this request.

Feedback and suggestions are welcomed.

Add disk space check before function run

Add a check for available disk space to ensure function run will not consume remaining disk space.

It is highly unlikely the function would result in a drive being filled due to the very small data capture. That being said, it may be beneficial to add a check so that future code changes which may increase required space do not cause problems.

Add check for memory.dmp and minidump files

It can be beneficial to know if a full memory dump (%systemroot%\memory.dmp) and minidump files (%systemroot%\minidump) exist on an endpoint. These can indicate crashes which may relate to an issue under investigation or related faults.

Due to the potential size of a memory.dmp file it is probably not wise to add it to the support archive. Flagging it's existence via a console output or creation of a proxy file in the archive may be appropriate.

Minidump files are typically small in size and could be considered for inclusion though it may be better to add a proxy file to the archive indicating the number of minidump files and their creation time.

Add netstat equivalent output

Is your feature request related to a problem? Please describe.
Add netstat or equivalent output to assist network troubleshooting and security. Such output will provide details on open TCP/UDP ports and current connections.

Describe the solution you'd like
Output TCP/UDP sockets to CSV as part of current capture process.

Native PowerShell cmdlets can be used -

Get-NetTCPConnection
Get-NetUDPEndpoint

Describe alternatives you've considered
While netstat would work the preference is to use native PowerShell cmdlets where possible.

Additional context
n/a

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.