This repo includes PowerShell examples that I've encountered over the years, and genericized them for reuse.
- 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
- How to get an OAuth2.0 access token
- Host a PowerShell web server
- Invoke a REST method
- Run a select statement against Oracle
- Run a select statement against SQL Server
- Encode from bytes to hex and reverse
- Export a hash table to CSV
- Fancy logging method
- Get all the COM objects