Skip to content

Commit 49cab44

Browse files
committed
Add parameters
1 parent 5300086 commit 49cab44

File tree

5 files changed

+22
-6
lines changed

5 files changed

+22
-6
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
param (
2+
$Path
3+
)
4+
5+
New-PSMDTemplate -ReferencePath "$PSScriptRoot" -OutPath $Path
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
@{
2+
TemplateName = 'AppLockerProject'
3+
Version = "1.0.0"
4+
AutoIncrementVersion = $true
5+
Tags = 'module','psframework', 'applocker'
6+
Author = 'Jan-Hendrik Peters'
7+
Description = 'PowerShell Framework based AppLocker CI template'
8+
Exclusions = @("PSMDInvoke.ps1", ".PSMDDependency") # Contains list of files - relative path to root - to ignore when building the template
9+
Scripts = @{ }
10+
NoFolder = $true
11+
}

templates/AppLockerProject/configurationdata/Domains/contoso.yml renamed to templates/AppLockerProject/configurationdata/Domains/þdomainfqdnþ.yml

File renamed without changes.

templates/AppLockerProject/configurationdata/Policies/contoso.com/Pol1.yml renamed to templates/AppLockerProject/configurationdata/Policies/þdomainfqdnþ/Pol1.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PolicyName: Pol1
2-
Domain: contoso.com
2+
Domain: þdomainfqdnþ
33
Apps:
44
- Git
55
- Obs

templates/AppLockerProject/readme.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ alternative credentials.
1818

1919
The ideal workflow should you need or want to build it your self would look like this:
2020

21-
1. Ensure prerequisites `build\prerequisites.ps1`
22-
1. Validate Configuration Data: `build\validate.ps1 -TestType ConfigurationData`
23-
1. Build policies and optional RSOP from configuration data: `build\build.ps1 -IncludeRsop`
24-
1. Validate Integration into environment: `build\validate.ps1 -TestType Integration`
25-
1. Publish: `build\publish.ps1`
21+
1. Ensure prerequisites `.\build\prerequisites.ps1`
22+
1. Validate Configuration Data: `.\build\validate.ps1 -TestType ConfigurationData`
23+
1. Build policies and optional RSOP from configuration data: `.\build\build.ps1 -IncludeRsop`
24+
1. Validate Integration into environment: `.\build\validate.ps1 -TestType Integration`
25+
1. Publish: `.\build\publish.ps1`
2626

2727
## Advanced setup
2828

0 commit comments

Comments
 (0)