Skip to content

Commit

Permalink
Fixed issue microsoft#88 Extraction of SPFARM fails due to Cenadmin o…
Browse files Browse the repository at this point in the history
…n HTTPS
  • Loading branch information
Kayode Bristol authored and Kayode Bristol committed Dec 9, 2019
1 parent b94186e commit 4d94578
Show file tree
Hide file tree
Showing 2 changed files with 6,485 additions and 0 deletions.
3 changes: 3 additions & 0 deletions SharePointDSC.Reverse.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -1108,6 +1108,9 @@ function Read-SPFarm (){
}
$params.CentralAdministrationAuth = $caAuthMethod
$params.CentralAdministrationPort = $Script:spCentralAdmin.IisSettings[0].ServerBindings.Port
if($null -eq $params.CentralAdministrationPort -or $parms.CentralAdministrationPort -eq 0){
$params.CentralAdministrationPort = $Script:spCentralAdmin.IisSettings[0].SecureBindings.Port
}
$params.FarmAccount = $Global:spFarmAccount
$params.Passphrase = $Global:spFarmAccount
$results = Get-TargetResource @params
Expand Down

0 comments on commit 4d94578

Please sign in to comment.