Skip to content

kbrashears5/powershell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

PowerShell examples I've encountered over the years

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published