I\'m getting the following error message:
The term \'appcmd\' is not recognized as the name of a cmdlet, function, script file, or operable program. C
I had the same issue and resolved it by doing the following:
$systemRoot = [environment]::GetEnvironmentVariable("systemroot") Set-Location $systemRoot\system32\inetsrv .\appcmd