Skip to content

Commit 8ed732a

Browse files
remoting update
1 parent 4632297 commit 8ed732a

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

DCManagement/DCManagement.psd1

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

55
# Version number of this module.
6-
ModuleVersion = '1.2.25'
6+
ModuleVersion = '1.2.26'
77

88
# ID used to uniquely identify this module
99
GUID = '998b2262-9b38-4b54-8ce6-493a00d70b03'
@@ -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.6.198' }
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' }

DCManagement/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.2.26 (2025-10-31)
4+
5+
- Upd: Access Rules - Use the shared managed remoting feature, allowing configuring session options.
6+
37
## 1.2.25 (2021-07-13)
48

59
- Upd: Test-DCShare - added message tag DCTarget to allow message level modifiers to raise per-server processing messages.

DCManagement/functions/AccessRules/Invoke-DCAccessRule.ps1

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

198198
if (-not $psSessions[$testItem.Server])
199199
{
200-
try { $psSessions[$testItem.Server] = New-PSSession -ComputerName $testItem.Server @psCred -ErrorAction Stop }
200+
try { $psSessions[$testItem.Server] = New-AdcPSSession -ComputerName $testItem.Server @psCred -ErrorAction Stop }
201201
catch { Stop-PSFFunction -String 'Invoke-DCAccessRule.Access.Error' -StringValues $testItem.Server -Target $testItem -Continue -EnableException $EnableException -ErrorRecord $_ }
202202
}
203203
$psSession = $psSessions[$testItem.Server]

DCManagement/functions/AccessRules/Test-DCAccessRule.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@
284284
}
285285

286286
Write-PSFMessage -String 'Test-DCAccessRule.Processing' -StringValues $domainController.Name -Target $domainController.Name -Tag DCTarget
287-
try { $psSession = New-PSSession -ComputerName $domainController.Name @psCred -ErrorAction Stop }
287+
try { $psSession = New-AdcPSSession -ComputerName $domainController.Name @psCred -ErrorAction Stop }
288288
catch { Stop-PSFFunction -String 'Test-DCAccessRule.PSSession.Failed' -StringValues $domainController.Name -EnableException $EnableException -Cmdlet $PSCmdlet -Continue -Target $domainController.Name -ErrorRecord $_ }
289289
$accessConfigurations = Get-DCAccessRule | Where-Object {
290290
$_.ServerRole -eq 'ALL' -or

0 commit comments

Comments
 (0)