I needed to run some TFS commands, adding the ide directory to the path is easy
$env:path += ";C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE"another directory you might want to add if you are messing about with IIS7
$env:path += ";C:\Windows\System32\inetsrv"now you can do things like recycle all of the AppPools on your machine
appcmd list apppool /xml | appcmd recycle apppool /in
No comments:
Post a Comment