PowerShell ISE

PowerShell script exchange

PowerShell ISE

Veeam Logoby teknomage » Wed Apr 03, 2013 10:48 pm

I was wondering if anyone knew how I could use the PowerShell ISE software on my Windows 8 PC to create Veeam B&R scripts. I know the Add-PsSnapin VeeamPSSnapIn needs to be run to enable the cmdlets but I don't think the best way to get them on my PC is to install the full Veeam B&R on my laptop.

Does anyone know if I can install just the Veeam PowerShell plugins or manually transfer them from a server onto my laptop?
teknomage
Service Provider
 
Posts: 23
Liked: 2 times
Joined: Wed Jul 21, 2010 8:55 pm
Location: Fargo, ND
Full Name: Mike

Re: PowerShell ISE

Veeam Logoby Vitaliy S. » Thu Apr 04, 2013 7:01 am

As far as I remember you can just install Veeam B&R PowerShell module, just choose the corresponding feature in the setup wizard.
Vitaliy S.
Veeam Software
 
Posts: 19539
Liked: 1097 times
Joined: Mon Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov

Re: PowerShell ISE

Veeam Logoby v.Eremin » Thu Apr 04, 2013 7:54 am

Vitaliy is absolutely right. During installation process you’ll be asked by the wizard as what VB&R components to deploy on your machine. You should tick just PowerShell snap-in while leaving other unselected.

Hope this helps.
Thanks.
v.Eremin
Veeam Software
 
Posts: 13255
Liked: 968 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: PowerShell ISE

Veeam Logoby teknomage » Mon Apr 08, 2013 2:25 pm 1 person likes this post

I just tried running through the Veeam B&R 6.5 setup and I had the option to add the PowerShell plugin but I did not have the option to not install the Management Console or the Catalog Service. Would there be any detriment if I installed all those components on my laptop or am I missing something?
teknomage
Service Provider
 
Posts: 23
Liked: 2 times
Joined: Wed Jul 21, 2010 8:55 pm
Location: Fargo, ND
Full Name: Mike

Re: PowerShell ISE

Veeam Logoby v.Eremin » Mon Apr 08, 2013 2:41 pm

I had the option to add the PowerShell plugin but I did not have the option to not install the Management Console or the Catalog Service.

Just checked it and I have to say you’re absolutely right - it looks like Veeam PowerShell, Management Console and Catalog Service can't be installed separately.

However, I’m wondering for what purpose you need to deploy snap-in only.

If you have a machine which is playing the role of VB&R server and you’re willing to execute PowerShell on that machine from your laptop, then there is no need to deploy Veeam PS snap-in, since all can be done by the means of remote PS execution.

Hope this helps.
Thanks.
v.Eremin
Veeam Software
 
Posts: 13255
Liked: 968 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: PowerShell ISE

Veeam Logoby teknomage » Thu Apr 11, 2013 8:00 pm

Its probably not important. I was just trying to use the PowerShell ISE and the auto complete feature for creating scripts and figured I needed to have the plugin running on my workstation so I could create scripts there. I can see if i can use PowerShell ISE locally to create scripts for a remote deployment of Veeam PowerShell.
teknomage
Service Provider
 
Posts: 23
Liked: 2 times
Joined: Wed Jul 21, 2010 8:55 pm
Location: Fargo, ND
Full Name: Mike

Re: PowerShell ISE

Veeam Logoby tsightler » Fri Apr 12, 2013 1:35 am

You can absolutely do this. The Powershell ISE has a nice "New Remote Powershell Tab" option that allows you to open a Powershell Window on any remote computer to develop. I use this all the time.
tsightler
Veeam Software
 
Posts: 4767
Liked: 1737 times
Joined: Fri Jun 05, 2009 12:57 pm
Full Name: Tom Sightler

Re: PowerShell ISE

Veeam Logoby teknomage » Fri Apr 12, 2013 2:36 am 1 person likes this post

Ok, cool. I'm a greenhorn when it comes to PowerShell but its time I hang out with the cool kids so its time too learn. Thanks for the information.
teknomage
Service Provider
 
Posts: 23
Liked: 2 times
Joined: Wed Jul 21, 2010 8:55 pm
Location: Fargo, ND
Full Name: Mike


Return to PowerShell



Who is online

Users browsing this forum: Yahoo [Bot] and 3 guests