-
Notifications
You must be signed in to change notification settings - Fork 17
/
Pass json as parameters.ps1
340 lines (306 loc) · 16.9 KB
/
Pass json as parameters.ps1
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
<#
.SYNOPSIS
Read a JSON config file and call the specified script with parameters from it
.PARAMETER jsonfile
Path to the JSON file to read parameters from
.PARAMETER script
Name/path of the script to call with the parameters read from the JSON file and others specified by -otherParameters
If not an absolute path, it will look in the current folder and the same folder as this script
.PARAMETER otherParameters
Other parameters to pass to the script. These will override the same parameter if found in the json file
.PARAMETER saveTemplate
Parse the script specified by -script and save its parameters to the file specified by -jsonfile as JSON
.PARAMETER clobber
If the file specified by -jsonfile exists when -savetemplate is specified, overwrite the file otherwise the script wil abort
.EXAMPLE
& '.\Pass json as parameters.ps1' -jsonfile C:\temp\parameters.json -script "New MCS catalog machines delivery group.ps1" -otherParameters @{ 'Verbose' = $true }
Read parameters from the JSON file "C:\temp\parameters.json" and call the script "New MCS catalog machines delivery group.ps1" with these parameters and also -verbose
.EXAMPLE
& '.\Pass json as parameters.ps1' -jsonfile C:\temp\parameters.json -script "New MCS catalog machines delivery group.ps1" -savetemplate -clobber
Parse the parameters in the script "New MCS catalog machines delivery group.ps1" and save these as JSON to file "C:\temp\parameters.json"
.NOTES
Modification History:
2021/12/09 @guyrleech Initial release (incorporating ideas from @KevinMarquette)
2021/12/09 @guyrleech Added -saveTemplate and -clobber options
#>
[CmdletBinding()]
Param
(
[Parameter(Mandatory=$true,HelpMessage='JSON file to use')]
[string]$jsonfile , ## TODO read data from pipeline
[Parameter(Mandatory=$true,HelpMessage='Script to use')]
[string]$script ,
[hashtable]$otherParameters ,
[switch]$saveTemplate ,
[switch]$clobber
)
[string]$scriptWithPath = $script
if( -Not ( Test-Path -Path $scriptWithPath ) )
{
if( -Not ( Test-Path -Path ($scriptWithPath = Join-Path -Path ((Get-Location -PSProvider FileSystem).Path) -ChildPath $script) ) )
{
[string]$thisScriptPath = & { $MyInvocation.PSScriptRoot }
if( -Not ( Test-Path -Path ($scriptWithPath = Join-Path -Path $thisScriptPath -ChildPath $script) ) )
{
Throw "Unable to find script `"$script`""
}
}
}
$scriptParameters = Get-Command -Name $scriptWithPath | Select-Object -ExpandProperty Parameters
if( $null -eq $scriptParameters -or $scriptParameters.Count -eq 0 )
{
Throw "Script `"$scriptParameters`" does not take any parameters"
}
Write-Verbose -Message "Script `"$scriptWithPath`" takes $($scriptParameters.Count) parameters"
if( $saveTemplate )
{
if( ( Test-Path -Path $jsonfile ) -and -Not $clobber )
{
Throw "File `"$jsonfile`" exists - use -clobber to overwrite"
}
$jsonobject = New-Object -TypeName psobject
## parse the file as Get-Command doesn't tell us if there are default values which we need to put in the json
if( -Not ( $ast = [System.Management.Automation.Language.Parser]::ParseFile( $scriptwithpath , [ref]$null , [ref]$null ) ) )
{
Throw "Failed to parse script `"$scriptWithPath`""
}
ForEach( $parameter in $ast.paramblock.Parameters )
{
## if pscredential, add place holders for username and securestring
$value = $null
if( $parameter.StaticType.Name -eq 'PSCredential' )
{
$value = @{
'Password' = 'SecureString text'
'UserName' = 'domain\user'
}
}
else
{
if( $parameter.StaticType.BaseType -match '\bArray\b' )
{
if( $parameter.defaultvalue )
{
$value = Invoke-Expression -Command $parameter.defaultvalue.extent.text
}
else
{
## add dummy entry so that we get a place holder in the json
$value = @( )
}
}
else
{
Set-Variable -Name 'value' -Value (( $parameter.DefaultValue | Select-Object -ExpandProperty Value -ErrorAction SilentlyContinue ) -as ($parameter.StaticType -as [type]))
}
}
Add-Member -InputObject $jsonobject -MemberType NoteProperty -Name ($parameter.Name -replace '^\$') -Value $value
}
$jsonobject | ConvertTo-Json | Out-File -FilePath $jsonfile
}
else ## not saving to a template
{
[hashtable]$parametersFromJson = @{}
if( -Not [string]::IsNullOrEmpty( $jsonfile ) )
{
if( -Not ( Test-Path -Path $jsonfile -ErrorAction SilentlyContinue ) )
{
Throw "JSON file `"$jsonfile`" not found"
}
if( $jsonobject = ( Get-Content -Path $jsonfile | ConvertFrom-Json ) )
{
ForEach( $property in $jsonobject.PSObject.Properties )
{
if( $otherParameters.Contains( $property.Name ))
{
Write-Warning -Message "-$($property.Name) present in other parameters passed so ignoring json value `"$($property.Value)`""
}
else
{
$value = $property.value
## need to deal with [switch] types as will be custom objects
if( $property.Value.GetType().Name -eq 'PSCustomObject' )
{
if( $property.Value.PSObject.Properties[ 'IsPresent' ] -and $property.Value.IsPresent -is [bool] )
{
$value = $property.Value.IsPresent
}
elseif( $property.Name -match 'credentials$' -and $property.Value.PSobject.Properties[ 'username' ] -and $property.Value.PSobject.Properties[ 'password' ] )
{
$value = $null
$value = New-Object System.Management.Automation.PSCredential( $property.Value.username , ( ConvertTo-SecureString -String $property.Value.password ))
if( -not $value )
{
Throw "Failed to make PScredential for $($property.Value.username)"
}
}
else
{
Throw "Don't know how to process json file item `"$($property.Name)`""
}
}
try
{
Write-Verbose -Message "Adding `"$($property.Name)`" = `"$Value`""
$parametersFromJson.Add( $property.Name , $value )
}
catch
{
if( ( $existing = $parametersFromJson[ $property.Name ] ) -ne $value )
{
Throw "Repetition of `"$($property.Name)`" with different values `"$value`" and `"$existing`""
}
}
}
}
}
if( -Not $jsonobject )
{
Throw "Failed to parse json from `"$jsonfile`""
}
}
Write-Verbose -Message "Got $($parametersFromJson.Count) parameters from json to pass"
$otherParameters += $parametersFromJson
Write-Verbose -Message "Calling script `"$scriptWithPath`" with $($otherParameters.Count) parameters"
& $scriptWithPath @otherParameters
}
# SIG # Begin signature block
# MIIZsAYJKoZIhvcNAQcCoIIZoTCCGZ0CAQExCzAJBgUrDgMCGgUAMGkGCisGAQQB
# gjcCAQSgWzBZMDQGCisGAQQBgjcCAR4wJgIDAQAABBAfzDtgWUsITrck0sYpfvNR
# AgEAAgEAAgEAAgEAAgEAMCEwCQYFKw4DAhoFAAQU97kjt8l1PsQQRzB64YjwCHYV
# b/ugghS+MIIE/jCCA+agAwIBAgIQDUJK4L46iP9gQCHOFADw3TANBgkqhkiG9w0B
# AQsFADByMQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYD
# VQQLExB3d3cuZGlnaWNlcnQuY29tMTEwLwYDVQQDEyhEaWdpQ2VydCBTSEEyIEFz
# c3VyZWQgSUQgVGltZXN0YW1waW5nIENBMB4XDTIxMDEwMTAwMDAwMFoXDTMxMDEw
# NjAwMDAwMFowSDELMAkGA1UEBhMCVVMxFzAVBgNVBAoTDkRpZ2lDZXJ0LCBJbmMu
# MSAwHgYDVQQDExdEaWdpQ2VydCBUaW1lc3RhbXAgMjAyMTCCASIwDQYJKoZIhvcN
# AQEBBQADggEPADCCAQoCggEBAMLmYYRnxYr1DQikRcpja1HXOhFCvQp1dU2UtAxQ
# tSYQ/h3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