Skip to content

Commit 16996d3

Browse files
Merge pull request #66 from ActiveDirectoryManagementFramework/development
1.5.82
2 parents 96e95d5 + 1229e18 commit 16996d3

File tree

7 files changed

+11
-7
lines changed

7 files changed

+11
-7
lines changed

ForestManagement/ForestManagement.psd1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
RootModule = 'ForestManagement.psm1'
44

55
# Version number of this module.
6-
ModuleVersion = '1.5.81'
6+
ModuleVersion = '1.5.82'
77

88
# ID used to uniquely identify this module
99
GUID = '7de4379d-17c8-48d3-bd6d-93279aef64bb'
@@ -26,7 +26,7 @@
2626
# Modules that must be imported into the global environment prior to importing
2727
# this module
2828
RequiredModules = @(
29-
@{ ModuleName = 'PSFramework'; ModuleVersion = '1.12.346' }
29+
@{ ModuleName = 'PSFramework'; ModuleVersion = '1.13.416' }
3030

3131
# Additional Dependencies, cannot declare due to bug in dependency handling in PS5.1
3232
# @{ ModuleName = 'ResolveString'; ModuleVersion = '1.0.0' }

ForestManagement/changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 1.5.82 (2025-10-31)
4+
5+
- Upd: General - Use the shared managed remoting feature, allowing configuring session options.
6+
37
## 1.5.81 (2025-10-02)
48

59
- Upd: Schema - added parameter to report unmanaged attributes (which will lead to no action during invoke)

ForestManagement/functions/certificates/Invoke-FMCertificate.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060

6161
$computerName = (Get-ADDomain @parameters).PDCEmulator
6262
$psParameter = $PSBoundParameters | ConvertTo-PSFHashtable -Include ComputerName, Credential -Inherit
63-
try { $session = New-PSSession @psParameter -ErrorAction Stop }
63+
try { $session = New-AdcPSSession @psParameter -ErrorAction Stop }
6464
catch
6565
{
6666
Stop-PSFFunction -String 'Invoke-FMCertificate.WinRM.Failed' -StringValues $computerName -ErrorRecord $_ -EnableException $EnableException -Cmdlet $PSCmdlet -Target $computerName

ForestManagement/functions/exchangeschema/Invoke-FMExchangeSchema.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
$psParameter = $PSBoundParameters | ConvertTo-PSFHashtable -Include Credential
6161
$psParameter.ComputerName = $Server
6262

63-
try { $session = New-PSSession @psParameter -ErrorAction Stop }
63+
try { $session = New-AdcPSSession @psParameter -ErrorAction Stop }
6464
catch {
6565
Stop-PSFFunction -String 'Invoke-FMExchangeSchema.WinRM.Failed' -StringValues $computerName -ErrorRecord $_ -EnableException $EnableException -Cmdlet $PSCmdlet -Target $computerName
6666
return

ForestManagement/functions/ntauthstore/Invoke-FMNTAuthStore.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858

5959
$computerName = (Get-ADDomain @parameters).PDCEmulator
6060
$psParameter = $PSBoundParameters | ConvertTo-PSFHashtable -Include ComputerName, Credential -Inherit
61-
try { $session = New-PSSession @psParameter -ErrorAction Stop }
61+
try { $session = New-AdcPSSession @psParameter -ErrorAction Stop }
6262
catch {
6363
Stop-PSFFunction -String 'Invoke-FMNTAuthStore.WinRM.Failed' -StringValues $computerName -ErrorRecord $_ -EnableException $EnableException -Cmdlet $PSCmdlet -Target $computerName
6464
return

ForestManagement/functions/schemadefaultpermissions/Invoke-FMSchemaDefaultPermission.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@
151151
$psParameters = $parameters.Clone()
152152
$psParameters.Remove('Server')
153153
$psParameters.ComputerName = $forest.SchemaMaster
154-
$session = New-PSSession @psParameters -ErrorAction Stop
154+
$session = New-AdcPSSession @psParameters -ErrorAction Stop
155155
} -EnableException $EnableException -PSCmdlet $PSCmdlet -WhatIf:$false -Confirm:$false
156156
#endregion WinRM
157157

ForestManagement/functions/schemadefaultpermissions/Test-FMSchemaDefaultPermission.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
$psParameters = $parameters.Clone()
5858
$psParameters.Remove('Server')
5959
$psParameters.ComputerName = $forest.SchemaMaster
60-
$session = New-PSSession @psParameters -ErrorAction Stop
60+
$session = New-AdcPSSession @psParameters -ErrorAction Stop
6161
} -EnableException $EnableException -PSCmdlet $PSCmdlet -WhatIf:$false -Confirm:$false
6262

6363
#region Default Permissions Scriptblock

0 commit comments

Comments
 (0)