i have around 25 projects in one solution. and everytime i modified those project i have to build and publish to local File system. and IIS pointing to those published folder. 
Im thinking if there is any way i could create a powershell script that can publish all these project so i don't have to do it manually. 

things i have tried with no luck. as powershell throws error msbuild not found. 

```
msbuild C:\Development\myService /p:DeployOnBuild=true /p:PublishProfile=FolderProfile /p:Configuration=Release  /p:VisualStudioVersion=15.9.7

```

any help would be appreciated.