yammer
2 TopicsPower shell script directory path change
I need help. Currently our power shell scripts are installed to C:/program data/windows power shell/scripts. I want to use metadata file to provide default and custom installation folders. So files can be installed to any desired location960Views0likes1CommentScript to update files
I'm writing a chocolatey installation script which installs a service from a zip file. (ziplocation = C:\Reference\file.zip) At the end of script, I want to stop the service, replace/update the files and then start the service Stop-service "nameofservice" Compress-Archive -Path C:\Reference\file.zip -Update -DestinationPath C:\Archives\Draft.Zip Start-service "nameofservice" it's the correct one or anything extra too be added. Any suggestions highly recommended1.8KViews0likes4Comments