-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstart.ps1
More file actions
27 lines (19 loc) · 903 Bytes
/
Copy pathstart.ps1
File metadata and controls
27 lines (19 loc) · 903 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#Requires -RunAsAdministrator
<#
You can run this after you have already installed the module. See Modules > KitcheSink > Install-Module.ps1
#>
Import-Module -Name KitchenSink
$CPSScriptRoot = "C:\Code\PowerShell-Modules"
# psd1
$psd1 = Join-Path -Path $CPSScriptRoot -ChildPath "Custom Module Resources" | Join-Path -ChildPath "ModuleManifest.ps1"
& $psd1
# psm1
$RootFolder = Join-Path -Path $CPSScriptRoot -ChildPath "Modules" | Join-Path -ChildPath "KitchenSink"
Join-FunctionsToPSM -RootFolder $RootFolder
# Install
$InputDir = Join-Path -Path $CPSScriptRoot -ChildPath "Modules" | Join-Path -ChildPath "KitchenSink"
Install-CustomModule -InputDir $InputDir
# Checksums
$Checksums = Join-Path -Path $CPSScriptRoot -ChildPath "Custom Module Resources" | Join-Path -ChildPath "Generate CheckSums.ps1"
& $Checksums
# "C:\Code\PowerShell-Modules\Custom Module Resources\ModuleManifest.ps1"