smokeTestPath = "$env:SystemDrive\inetpub\wwwroot\SmokeTest"; if(test-path "$smokeTestPath\Test.htm") { $testHtml = xml string]::join("`n", ...

$smokeTestPath = "$env:SystemDrive\inetpub\wwwroot\SmokeTest";          if(test-path "$smokeTestPath	est.htm")          {              $testHtml = [xml] [string]::join("`n", (Get-Content "$smokeTestPath	est.htm"));              if (-not $testHtml.HTML.HEAD.TITLE.Contains($RoleFqdnOrName))              {              $testHtml.HTML.HEAD.TITLE = $testHtml.HTML.BODY + "-" + $RoleFqdnOrName;              }              if (-not $testHtml.HTML.BODY.Contains($RoleFqdnOrName))              {              $testHtml.HTML.BODY = $testHtml.HTML.BODY + "-" + $RoleFqdnOrName;              }              $testHtml.Save("$smokeTestPath	est.htm");          }
English
English (United States)
Español (España)
Spanish (Spain)
Français (France)
French (France)
italiano
Italian
한국어
Korean
Português
Portuguese
Русский
Russian