smokeTestPath = "$env: SystemDrive\inetpub\wwwroot\SmokeTest"; Se (test-percorso "$smokeTestPath\Test.htm") { $testHtml = ...

$smokeTestPath = "$env: SystemDrive\inetpub\wwwroot\SmokeTest";          Se (test-percorso "$smokeTestPath	est.htm")          {              $testHtml = [stringa] [xml]:: join ("n", (Get-Content "$smokeTestPath	est.htm"));Se (-non $testHtml.HTML.HEAD.TITLE.Contains($RoleFqdnOrName))              {              $testHtml.HTML.HEAD.TITLE = $testHtml.HTML.BODY + "-" + $RoleFqdnOrName;              }Se (-non $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