Add logging and proper exit codes to all Python files#2
Open
kailando wants to merge 5 commits intoXattle:masterfrom
Open
Add logging and proper exit codes to all Python files#2kailando wants to merge 5 commits intoXattle:masterfrom
kailando wants to merge 5 commits intoXattle:masterfrom
Conversation
* Adding PowerApps Notes
* Notes and new util
* Added jigglers
* User profile tools
* ogv > ft for remote command
* New stuff around teams and gpos
* Use access.log from logon script instead-reliable
* Reorganized, dotsource boilerplate, bug fixes
* Reorganized, dotsource boilerplate, bug fixes
* Rename for verb matching
* Fixed registry pointing
* Changed erroraction
* Added AD Queries
* Added notes
* Extra tools
* Beginning PIM work
* New utility for multi domain pass change w keepass
* Migrated tool to dot source
* logon to checking
* Added domain trust repair note
* Notes on AD restoration
* Added wp plugin command
* Citrix ps entry
* Add logging support AuditFileSystem.py and exit nonzero on command line issues
Overview:
- Added support for logging
- Exits nonzero on command line arg issues
---------
Co-authored-by: Xattle <ntgrgr@gmail.com>
* Adding PowerApps Notes
* Notes and new util
* Added jigglers
* User profile tools
* ogv > ft for remote command
* New stuff around teams and gpos
* Use access.log from logon script instead-reliable
* Reorganized, dotsource boilerplate, bug fixes
* Reorganized, dotsource boilerplate, bug fixes
* Rename for verb matching
* Fixed registry pointing
* Changed erroraction
* Added AD Queries
* Added notes
* Extra tools
* Beginning PIM work
* New utility for multi domain pass change w keepass
* Migrated tool to dot source
* logon to checking
* Added domain trust repair note
* Notes on AD restoration
* Added wp plugin command
* Citrix ps entry
* Add log support to MassCommand.py and add exit codes
Changes:
- Added logging support
- Verbosed `sys.exit()` to `sys.exit(0)`
- On command line errors, `sys.exit(1)` instead of `sys.exit()` (see lines 130 and 135)
---------
Co-authored-by: Xattle <ntgrgr@gmail.com>
* Adding PowerApps Notes * Notes and new util * Added jigglers * User profile tools * ogv > ft for remote command * New stuff around teams and gpos * Use access.log from logon script instead-reliable * Reorganized, dotsource boilerplate, bug fixes * Reorganized, dotsource boilerplate, bug fixes * Rename for verb matching * Fixed registry pointing * Changed erroraction * Added AD Queries * Added notes * Extra tools * Beginning PIM work * New utility for multi domain pass change w keepass * Migrated tool to dot source * logon to checking * Added domain trust repair note * Notes on AD restoration * Added wp plugin command * Citrix ps entry * Add logging and exit codes Joins.py --------- Co-authored-by: Xattle <ntgrgr@gmail.com>
* Adding PowerApps Notes * Notes and new util * Added jigglers * User profile tools * ogv > ft for remote command * New stuff around teams and gpos * Use access.log from logon script instead-reliable * Reorganized, dotsource boilerplate, bug fixes * Reorganized, dotsource boilerplate, bug fixes * Rename for verb matching * Fixed registry pointing * Changed erroraction * Added AD Queries * Added notes * Extra tools * Beginning PIM work * New utility for multi domain pass change w keepass * Migrated tool to dot source * logon to checking * Added domain trust repair note * Notes on AD restoration * Added wp plugin command * Citrix ps entry * Add logging to SFTPull.py --------- Co-authored-by: Xattle <ntgrgr@gmail.com>
* Adding PowerApps Notes * Notes and new util * Added jigglers * User profile tools * ogv > ft for remote command * New stuff around teams and gpos * Use access.log from logon script instead-reliable * Reorganized, dotsource boilerplate, bug fixes * Reorganized, dotsource boilerplate, bug fixes * Rename for verb matching * Fixed registry pointing * Changed erroraction * Added AD Queries * Added notes * Extra tools * Beginning PIM work * New utility for multi domain pass change w keepass * Migrated tool to dot source * logon to checking * Added domain trust repair note * Notes on AD restoration * Added wp plugin command * Citrix ps entry * Update hrefStripper.py --- Exits better Make sys.exit work and set error codes. Also, more error handling --------- Co-authored-by: Xattle <ntgrgr@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The reason that this has changes to files other is your changes, @Xattle