Skip to content

Commit

Permalink
Misc changes
Browse files Browse the repository at this point in the history
  • Loading branch information
rebelinux committed Jun 23, 2023
1 parent 02e35a6 commit 6a1ca2f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
### Added

- Added Option "Include.Domains" to allow only a list of Active Directory Domain to document
- Include Domains in AD Services
- Include Domains in DNS Services
- Include Domains in AD services
- Include Domains in DNS services
- Added Site Connection Objects section

### Changed
Expand Down
2 changes: 1 addition & 1 deletion Src/Private/Get-AbrADSite.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ function Get-AbrADSite {
$Path = "\\$DC\admin`$\debug\netlogon.log"
if ((Invoke-Command -Session $DCPssSession {Test-Path -Path $using:path}) -and (Invoke-Command -Session $DCPssSession {(Get-Content -Path $using:path | Measure-Object -Line).lines -gt 0})) {
Write-PscriboMessage "Collecting Missing Subnet in AD information from $($Domain)."
$NetLogonContents = Invoke-Command -Session $DCPssSession { (Get-Content -Path $using:Path) }
$NetLogonContents = Invoke-Command -Session $DCPssSession { (Get-Content -Path $using:Path)[-200..-1] }
foreach ($Line in $NetLogonContents) {
if ($Line -match "NO_CLIENT_SITE") {
$inObj = [ordered] @{
Expand Down

0 comments on commit 6a1ca2f

Please sign in to comment.