Skip to content
This repository has been archived by the owner on Jan 14, 2021. It is now read-only.

Changing to output integer rather than "TRUE"/"FALSE" #238

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -2092,7 +2092,7 @@ Here is what the portion of configuration file looks like when modified by this

$ConfigFile.Configuration.appendChild($SharedComputerLicensingElement) | Out-Null
$SharedComputerLicensingElement.SetAttribute("Name", "SharedComputerLicensing") | Out-Null
$SharedComputerLicensingElement.SetAttribute("Value", $SharedComputerLicensing.ToString().ToUpper()) | Out-Null
$SharedComputerLicensingElement.SetAttribute("Value", [int]$SharedComputerLicensing) | Out-Null
WriteToLogFile -LNumber $(LINENUM) -FName $currentFileName -ActionError "Setting the SharedComputerLicensing element to $SharedComputerLicensing.ToString().ToUpper()" -LogFilePath $LogFilePath
} Else {
[System.XML.XMLElement]$SharedComputerLicensingElement = $ConfigFile.Configuration.Property | Where { $_.Name -eq "SharedComputerLicensing" }
Expand Down Expand Up @@ -3997,4 +3997,4 @@ Function WriteToLogFile() {
} catch [Exception]{
Write-Host $_
}
}
}