Skip to content

Commit

Permalink
fixing the bugs in mailbox db ressource
Browse files Browse the repository at this point in the history
  • Loading branch information
SSvilen committed Apr 21, 2020
1 parent d648648 commit 2e6236b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -796,7 +796,7 @@ function Set-TargetResource

# setup params
Add-ToPSBoundParametersFromHashtable -PSBoundParametersIn $PSBoundParameters -ParamsToAdd @{
'Name' = $Name
'Identity' = $Name
}
Remove-FromPSBoundParametersUsingHashtable -PSBoundParametersIn $PSBoundParameters `
-ParamsToRemove 'Name', 'Server', 'DatabaseCopyCount', 'AllowServiceRestart', 'EdbFilePath', 'LogFolderPath', 'Credential', 'AdServerSettingsPreferredServer', 'SkipInitialDatabaseMount'
Expand Down Expand Up @@ -1650,7 +1650,7 @@ function Get-MailboxDatabaseInternal
)

Add-ToPSBoundParametersFromHashtable -PSBoundParametersIn $PSBoundParameters -ParamsToAdd @{
'Name' = $Name
'Identity' = $Name
}
Remove-FromPSBoundParametersUsingHashtable -PSBoundParametersIn $PSBoundParameters -ParamsToKeep 'Identity', 'DomainController'

Expand Down Expand Up @@ -1968,7 +1968,7 @@ function Move-DatabaseOrLogPath
)

Add-ToPSBoundParametersFromHashtable -PSBoundParametersIn $PSBoundParameters -ParamsToAdd @{
'Name' = $Name
'Identity' = $Name
}
Remove-FromPSBoundParametersUsingHashtable -PSBoundParametersIn $PSBoundParameters -ParamsToKeep 'Identity', 'DomainController', 'EdbFilePath', 'LogFolderPath'

Expand Down Expand Up @@ -2285,7 +2285,7 @@ function Mount-DatabaseInternal
)

Add-ToPSBoundParametersFromHashtable -PSBoundParametersIn $PSBoundParameters -ParamsToAdd @{
'Name' = $Name
'Identity' = $Name
}
Remove-FromPSBoundParametersUsingHashtable -PSBoundParametersIn $PSBoundParameters -ParamsToKeep 'Identity', 'DomainController'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ if ($exchangeInstalled)
ProhibitSendQuota = '1GB'
ProhibitSendReceiveQuota = '1.5 GB'
RecoverableItemsQuota = 'uNlImItEd'
RecoverableItemsWarningQuota = '1,000,448'
RecoverableItemsWarningQuota = '1000448'
}

$expectedGetResults = @{
Expand Down

0 comments on commit 2e6236b

Please sign in to comment.