Skip to content

wilsoncg/PowershellToolbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Useful powershell scripts

Modules
  • Script module (Vmware-workflows)

    • wraps REST web calls to Vsphere
    • Combine credential object with Authorization:Basic header
  • Script module (EdbAndTeamcity)

    • Wrap REST calls to teamcity
    • Fetching data from OData source
    • Example of working nuspec and powershell module specification
    • Supplemental scripts for copying/zipping files
IIS
  • Load balanced setup
    • Install ARR
    • Setup local server farm
    • Reverse proxy requests
    • Round robin local requests to multiple App pools
ARR links
AD group membership
  • Query AD to find out what groups a user is a member of
SQL
  • Use SMO to extract a full database (DatabaseCreation)
  • Update a local BIN range table (BinRange)
  • Examples of using Invoke-sqlcmd
TFS
  • Get TFS locked files (Tfs-Get-Locks)
    • Write C# code inside powershell
    • Reference and load TFS assemblies
    • Contact TFS server to find locked files
Xml
  • Reading/Writing XML document (inserting/updating elements and attributes using .net XML objects)
  • Simple MD5 generation using .net System.Security.Cryptography.MD5CryptoServiceProvider
  • Visual studio command line initilization
Wiremock-transformer
  • Working example of wiremock, using the wiremock-body-transformer plugin
  • Attempt to install wiremock as a service, running java and passing in the working directory into the service args

About

🛠

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published