mirror of
https://github.com/snazy2000/SnipeitPS.git
synced 2025-12-13 09:52:30 +00:00
Merge branch 'fix/get-parametervalue-do-not-return-customfields' into develop
This commit is contained in:
commit
589c34539c
1 changed files with 2 additions and 2 deletions
|
|
@ -26,13 +26,13 @@ function Get-ParameterValue {
|
|||
$Parameters
|
||||
,
|
||||
|
||||
[string[]]$DefaultExcludeParameter = @("id", "url", "apiKey", 'Debug', 'Verbose')
|
||||
[string[]]$DefaultExcludeParameter = @("id", "url", "apiKey", 'Debug', 'Verbose','RequestType','customfields')
|
||||
)
|
||||
|
||||
if ($MyInvocation.Line[($MyInvocation.OffsetInLine - 1)] -ne '.') {
|
||||
throw "Get-ParameterValue must be dot-sourced, like this: . Get-ParameterValues"
|
||||
}
|
||||
|
||||
|
||||
|
||||
$ParameterValues = @{}
|
||||
foreach ($parameter in $Parameters.GetEnumerator()) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue