The term 'appcmd' is not recognized as the name of a cmdlet

后端 未结 7 1182
故里飘歌
故里飘歌 2020-12-17 09:09

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

7条回答
  •  南方客
    南方客 (楼主)
    2020-12-17 09:47

    I had the same issue and resolved it by doing the following:

    $systemRoot = [environment]::GetEnvironmentVariable("systemroot")
    Set-Location $systemRoot\system32\inetsrv
    .\appcmd
    

提交回复
热议问题