Page 1 of 1

proper setup of powershell studio w remote script

Posted: Thu Jun 14, 2012 6:35 am
by pkmccarthy
I cannot install Powershell studio on our dev sharepoint server and would like to write my scripts from my workstation. However, I would like to be able to use intelisense etc against the sharepoint objects and the sharepoint powershell add-in.. is there anyway at all to setup such an environment? thanks

proper setup of powershell studio w remote script

Posted: Thu Jun 14, 2012 8:02 am
by davidc


There is no official way of doing his. What makes it more
difficult is that you cannot install the product. Normally the application
creates a cache which you could copy to your client.

I will add a feature request for creating a cache on a
server without the application.

David




proper setup of powershell studio w remote script

Posted: Thu Jun 14, 2012 8:35 am
by pkmccarthy
David, thank you for the quick response.. I wonder if I could just register the sharepoint dll's on my client (copy them down) - getting all the depenencies right could be an issue... when you say cache on a server, if i were to install your tool on another sharepoint system i have access to - can i get this 'cache' to then copy it to my workstation? (I have a VM of sharepoint elsewhere I could use to get this cache if its possible)

proper setup of powershell studio w remote script

Posted: Thu Jun 14, 2012 9:05 am
by davidc
The best method would be to install the module on your machine. The cache keeps track of modules and cmdlets on your machine. If you were to copy the cache you would get the syntax coloring for that machine, but you will not be able to run it locally.David

proper setup of powershell studio w remote script

Posted: Thu Jun 14, 2012 9:43 am
by pkmccarthy
that makes sense - i would love to get intelisense locally while having the script run remotely when i debug/run it...