https://github.com/kbrashears5/powershell
PowerShell examples I've encountered over the years
https://github.com/kbrashears5/powershell
examples powershell scripting
Last synced: about 1 year ago
JSON representation
PowerShell examples I've encountered over the years
- Host: GitHub
- URL: https://github.com/kbrashears5/powershell
- Owner: kbrashears5
- Created: 2020-12-12T15:02:36.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-08-20T01:54:09.000Z (over 4 years ago)
- Last Synced: 2025-01-03T08:28:36.402Z (about 1 year ago)
- Topics: examples, powershell, scripting
- Language: PowerShell
- Homepage: https://github.com/kbrashears5/powershell
- Size: 7.81 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PowerShell
This repo includes PowerShell examples that I've encountered over the years, and genericized them for reuse.
## Folders
### Active Directory
- Adding accounts to admins group on servers remotely
- Getting SPNs and Delegations for user accounts
- Getting SPNs and Delegations for computer accounts
- Setting delegation for user accounts
### APIS
- How to get an OAuth2.0 access token
- Host a PowerShell web server
- Invoke a REST method
### Database
- Run a select statement against Oracle
- Run a select statement against SQL Server
### Helpers
- Encode from bytes to hex and reverse
- Export a hash table to CSV
### Logging
- Fancy logging method
### Windows
- Get all the COM objects