Skip to content

Latest commit

 

History

History
26 lines (23 loc) · 853 Bytes

README.md

File metadata and controls

26 lines (23 loc) · 853 Bytes

Powershell

This is my collection of personal powershell scripts.

Building and installing the Powershell Scripts

  1. Dot source the build scripts. Do this from the tools directory because of the dot source dependencies in the file
Set-Location tools
. .\Build-PowershellModule.ps1
. .\Package-PowershellModule.ps1
. .\Deploy-PowershellModule.ps1
Set-Location ..
  1. From the directory where the powershell scripts live. The psd1 file will need to have the same name as the moduleName variable. The example file is PowershellJvB.psd1 which is what I use on my own machines.
$moduleName = "WhateverYouWantToNameIt"
Build-PowershellModule $moduleName
Package-PowershellModule $moduleName
Deploy-PowershellModule $moduleName

The Quick Way

From the project root

.\tools\Install-PowershellJvB.ps1