Skip to content

Commit 31a9bb0

Browse files
template updates
1 parent 6da3cd2 commit 31a9bb0

File tree

3 files changed

+15
-1
lines changed

3 files changed

+15
-1
lines changed

PSModuleDevelopment/changelog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
##
33
- New: Format-PSMDParameter - updates legacy parameter notation
44
- New: Search-PSMDPropertyValue - search objects for values in properties
5+
- Upd: Template PSFTest - adding WMI commands to list of forbidden commands
6+
- Upd: Template PSFModule - adding changelog
57
- Fix: New-PSMDTemplate records binary files as text files
68

79
## 2.2.5.41 (December 18th, 2018)

templates/PSFModule/changelog.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Changelog
2+
## 1.0.0 (þ{ Get-Date -Format 'yyyy-MM-dd' }þ)
3+
- New: Some Stuff
4+
- Upd: Moar Stuff
5+
- Fix: Much Stuff

templates/PSFTests/general/FileIntegrity.Exceptions.ps1

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,14 @@ $global:BannedCommands = @(
66
'Write-Error',
77
'Write-Output',
88
'Write-Information',
9-
'Write-Debug'
9+
'Write-Debug',
10+
11+
# Use CIM instead where possible
12+
'Get-WmiObject',
13+
'Invoke-WmiMethod',
14+
'Register-WmiEvent',
15+
'Remove-WmiObject',
16+
'Set-WmiInstance'
1017
)
1118

1219
<#

0 commit comments

Comments
 (0)