Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ForestManagement/ForestManagement.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
RootModule = 'ForestManagement.psm1'

# Version number of this module.
ModuleVersion = '1.5.81'
ModuleVersion = '1.5.82'

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

# Additional Dependencies, cannot declare due to bug in dependency handling in PS5.1
# @{ ModuleName = 'ResolveString'; ModuleVersion = '1.0.0' }
Expand Down
4 changes: 4 additions & 0 deletions ForestManagement/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 1.5.82 (2025-10-31)

- Upd: General - Use the shared managed remoting feature, allowing configuring session options.

## 1.5.81 (2025-10-02)

- Upd: Schema - added parameter to report unmanaged attributes (which will lead to no action during invoke)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@

$computerName = (Get-ADDomain @parameters).PDCEmulator
$psParameter = $PSBoundParameters | ConvertTo-PSFHashtable -Include ComputerName, Credential -Inherit
try { $session = New-PSSession @psParameter -ErrorAction Stop }
try { $session = New-AdcPSSession @psParameter -ErrorAction Stop }
catch
{
Stop-PSFFunction -String 'Invoke-FMCertificate.WinRM.Failed' -StringValues $computerName -ErrorRecord $_ -EnableException $EnableException -Cmdlet $PSCmdlet -Target $computerName
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
$psParameter = $PSBoundParameters | ConvertTo-PSFHashtable -Include Credential
$psParameter.ComputerName = $Server

try { $session = New-PSSession @psParameter -ErrorAction Stop }
try { $session = New-AdcPSSession @psParameter -ErrorAction Stop }
catch {
Stop-PSFFunction -String 'Invoke-FMExchangeSchema.WinRM.Failed' -StringValues $computerName -ErrorRecord $_ -EnableException $EnableException -Cmdlet $PSCmdlet -Target $computerName
return
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@

$computerName = (Get-ADDomain @parameters).PDCEmulator
$psParameter = $PSBoundParameters | ConvertTo-PSFHashtable -Include ComputerName, Credential -Inherit
try { $session = New-PSSession @psParameter -ErrorAction Stop }
try { $session = New-AdcPSSession @psParameter -ErrorAction Stop }
catch {
Stop-PSFFunction -String 'Invoke-FMNTAuthStore.WinRM.Failed' -StringValues $computerName -ErrorRecord $_ -EnableException $EnableException -Cmdlet $PSCmdlet -Target $computerName
return
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@
$psParameters = $parameters.Clone()
$psParameters.Remove('Server')
$psParameters.ComputerName = $forest.SchemaMaster
$session = New-PSSession @psParameters -ErrorAction Stop
$session = New-AdcPSSession @psParameters -ErrorAction Stop
} -EnableException $EnableException -PSCmdlet $PSCmdlet -WhatIf:$false -Confirm:$false
#endregion WinRM

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
$psParameters = $parameters.Clone()
$psParameters.Remove('Server')
$psParameters.ComputerName = $forest.SchemaMaster
$session = New-PSSession @psParameters -ErrorAction Stop
$session = New-AdcPSSession @psParameters -ErrorAction Stop
} -EnableException $EnableException -PSCmdlet $PSCmdlet -WhatIf:$false -Confirm:$false

#region Default Permissions Scriptblock
Expand Down