Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

suggestion: command line interface for batch processing #106

Closed
ChrisNbg opened this issue Jun 28, 2021 · 4 comments
Closed

suggestion: command line interface for batch processing #106

ChrisNbg opened this issue Jun 28, 2021 · 4 comments
Assignees
Labels
enhancement New feature or request in-progress Accepted, at least some code is implemented or pending push patched? A patch has been made to code, released, and needs testing
Milestone

Comments

@ChrisNbg
Copy link

Hello,

you made a interesting and good working tool. My idea was to make a batch script to test all computers of an entire organisation,

So it would be cool if you are able to make some improovments here. perhaps you can make some commandline Options like /cli to give output only on cli or something to format the output
/txt --> write an formatet text to the terminal or a file
/csv --> write an comma seperated line and append append it to a file...

thanks in advance from Germany and greets to Kentucky
Christian Rech

@micwoj92 micwoj92 mentioned this issue Jun 28, 2021
9 tasks
@micwoj92
Copy link
Collaborator

Kinda duplicate, but it is first separate issue, so I will leave it.

@micwoj92 micwoj92 added this to the 3.0 milestone Jun 28, 2021
@micwoj92 micwoj92 added the enhancement New feature or request label Jun 28, 2021
@rcmaehl rcmaehl self-assigned this Jun 28, 2021
rcmaehl added a commit that referenced this issue Jun 29, 2021
rcmaehl added a commit that referenced this issue Jun 29, 2021
rcmaehl added a commit that referenced this issue Jun 29, 2021
rcmaehl added a commit that referenced this issue Jun 29, 2021
@rcmaehl
Copy link
Owner

rcmaehl commented Jun 29, 2021

It's currently 2AM as I write this.

I'd like to apologize to any Systems Automation Engineers, SysAdmins, and other IT reps that are looking at getting this used for batch processing, SCCM deployment, and other environment checks for my slow progress on this issue.

The only issue right now is getting /format to work with GUI output. I just can't logic right now even with caffeine. I'll try to get this done sometime after my main job, likely the afternoon US ET for ~2.3.1.

Issues you might encounter in ~2.3.1 that should be fixed in ~2.3.2:

I know some of you may support significantly older environments, so it should be noted the application will give incorrect results on Windows 7 (or earlier), this is a likely Won't Fix issue but I can be persuaded otherwise.

rcmaehl added a commit that referenced this issue Jun 29, 2021
rcmaehl added a commit that referenced this issue Jun 30, 2021
rcmaehl added a commit that referenced this issue Jun 30, 2021
Fix array reference
rcmaehl added a commit that referenced this issue Jun 30, 2021
rcmaehl added a commit that referenced this issue Jun 30, 2021
rcmaehl added a commit that referenced this issue Jul 29, 2021
rcmaehl added a commit that referenced this issue Jul 29, 2021
rcmaehl added a commit that referenced this issue Aug 6, 2021
Pretty much good to go. Need to add more output formats
rcmaehl added a commit that referenced this issue Aug 8, 2021
Add working command line switches
Fix return values on occasion
Adjusted RAM Return values
Adjusted TPM Return values
Converted TPM to use existing check
rcmaehl added a commit that referenced this issue Aug 9, 2021
Make CSV a valid format
@rcmaehl rcmaehl added in-progress Accepted, at least some code is implemented or pending push patched? A patch has been made to code, released, and needs testing labels Aug 12, 2021
@rcmaehl
Copy link
Owner

rcmaehl commented Aug 12, 2021

Hi Sysadmins,

This is pretty much good to go. I'm investigating some issues with the exit code, so I wouldn't use /silent without /format right now. %ERRORLEVEL% in console will report the correct status but not $? in powershell. CSV output detects existing files and will append. TXT output will always override. This may be changed in the future and feedback is much appreciated.

@micwoj92
Copy link
Collaborator

@rcmaehl Can this be closed? 2.4.0.0 supports command line

@rcmaehl rcmaehl closed this as completed Aug 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request in-progress Accepted, at least some code is implemented or pending push patched? A patch has been made to code, released, and needs testing
Projects
None yet
Development

No branches or pull requests

3 participants