I have a powershell script that is executed as a Cruise Control.NET task. The problem is, the script sat in a length path with spaces in some of the folder names. The “powershell” task itself doesn’t support spaces, so the solution to this is to use old-school 8 character directory names.
For example, if you script lies in the path “C:\Parent Folder\NotParent Folder”, set your task up as follows:
<powershell> <script>myscript.ps1</script> <executable>C:\windows\system32\WindowsPowerShell\v1.0\powershell.exe</executable> <scriptsDirectory>C:\Parent~1\NotPar~1</scriptsDirectory> <description>Build something.</description> </powershell>
your codings and concepts are really wonderful i came to know many concepts from your blog. thus it is really interesting.
ReplyDeleteOnline Reputation Management
This blog is having the general information. Got a creative work and this is very different one. We have to develop our creativity mind. This blog helps for this. Thank you for this blog. this is very interesting and useful.
ReplyDeleteDigital Marketing Company
i got some more information about this topic, it is really helpful for me thanks for sharing those information. i need more information about this concept.
ReplyDeleteBest Informatica Training Institute in Chennai