File tree Expand file tree Collapse file tree 4 files changed +14
-2
lines changed
Expand file tree Collapse file tree 4 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 33 RootModule = ' ForestManagement.psm1'
44
55 # Version number of this module.
6- ModuleVersion = ' 1.5.79 '
6+ ModuleVersion = ' 1.5.81 '
77
88 # ID used to uniquely identify this module
99 GUID = ' 7de4379d-17c8-48d3-bd6d-93279aef64bb'
Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## 1.5.81 (2025-10-02)
4+
5+ - Upd: Schema - added parameter to report unmanaged attributes (which will lead to no action during invoke)
6+ - Fix: ExchangeSchema - fails to report failure to update because of a pending reboot
7+
38## 1.5.79 (2025-05-28)
49
510- Upd: Schema - Test results are returned in the order they should be applied, to simplify use with Invoke-AdmfItem
Original file line number Diff line number Diff line change 191191
192192 # Test Message validation (Text parsing is bad, but the method below is less reliable)
193193 if ($result.Message -match ' The Exchange Server setup operation completed successfully' ) { return }
194+ if ($result.Message -match ' A reboot from a previous installation is pending' ) { throw " Error applying exchange update: A reboot is pending!" }
194195
195196 # Exchange's setup.exe is not always reliable in its exit codes, thus we need to retest
196197 # This is not guaranteed to work 100%, as replication delay may lead to false errors
Original file line number Diff line number Diff line change 1414 . PARAMETER Credential
1515 The credentials to use for this operation.
1616
17+ . PARAMETER ReportUnconfigured
18+ Whether to generate test results for unconfigured schema attributes.
19+
1720 . PARAMETER EnableException
1821 This parameters disables user-friendly warnings and enables the throwing of exceptions.
1922 This is less user friendly, but allows catching exceptions in calling scripts.
3134 [PSCredential ]
3235 $Credential ,
3336
37+ [switch ]
38+ $ReportUnconfigured = (Get-PSFConfigValue - FullName ' ForestManagement.Schema.Attributes.ReportUnconfigured' ),
39+
3440 [switch ]
3541 $EnableException
3642 )
207213 # endregion Process Configuration
208214
209215 # region Process AD Only
210- if (-not ( Get-PSFConfigValue - FullName ' ForestManagement.Schema.Attributes. ReportUnconfigured' ) ) { return }
216+ if (-not $ ReportUnconfigured ) { return }
211217 $unconfigured = $allAttributes | Where-Object attributeID -NotIn (Get-FMSchema ).OID
212218 foreach ($unexpectedAttribute in $unconfigured ) {
213219 if ($unexpectedAttribute.IsDefunct ) { continue }
You can’t perform that action at this time.
0 commit comments