Powershell WebAdministration IF Statement with value "False" not working as expected

I’m not sure what I’m missing. This powershell seems to be working the opposite of what I expect. Anyone know why? $loadUserProfileValue = Get-ItemProperty "IIS:\AppPools\.net v4.5" -Name processModel.loadUserProfile.Value Write-Host "Value: $loadUserProfileValue" IF ($loadUserProfileValue -eq "False") { Write-Host "Since Load User Profile is False, we will now set it to True"} Here is my Output when… Read More Powershell WebAdministration IF Statement with value "False" not working as expected