PowerShell script exchange
Post Reply
jbennett
Enthusiast
Posts: 33
Liked: 12 times
Joined: Jun 23, 2015 3:47 pm
Full Name: Justin Bennett
Location: Los Angeles, CA
Contact:

A couple feature requests

Post by jbennett »

Some selfish requests for PowerShell...

1) A desktop / start menu shortcut - should be by default rather than creating one

2) Along the lines with the Remote VBR Console, there should be able to remote PowerShell to different VBR servers - similar to the VSphere Connect-VIServer - Connect-VBRServer

3) When searching objects, certain commandlets should allow simple search. For example, rather than searching for a job by :

Code: Select all

get-vbrjob | ? { $_.name -match "my job" }


I should be able to search via:

Code: Select all

get-vbrjob "my job*"

I love your product and thank you for your time! Keep the awesome coming!
-Justin
[@cajeeper]|[http://www.allthingstechie.net]
PTide
Product Manager
Posts: 6551
Liked: 765 times
Joined: May 19, 2015 1:46 pm
Contact:

Re: A couple feature requests

Post by PTide »

Hi,
A desktop / start menu shortcut - should be by default rather than creating one
Not sure if I understood you. Could you elaborate on that please?
Along the lines with the Remote VBR Console, there should be able to remote PowerShell to different VBR servers - similar to the VSphere Connect-VIServer - Connect-VBRServer
Could you describe your use case please?
get-vbrjob "my job*"
There is already something very similar:

Code: Select all

Get-VBRjob -Name "My Job"
Thank you.
rmeyer5
Influencer
Posts: 13
Liked: 1 time
Joined: May 28, 2015 8:48 am
Full Name: Rene Meyer
Location: Denmark
Contact:

Re: A couple feature requests

Post by rmeyer5 »

Hi

To connect to the remote you just need to do a remote connection and remember to load the snapin locally, or if you like to connect to all proxies to run a command you can use the following command:

Code: Select all

---------powershell script start----------------
$Proxylist = Get-VBRViProxy 
foreach ( $Proxy in $Proxylist )
{
Enter-PSSession $proxy.Name
$Output = Invoke-Command -ComputerName $proxy.Name -ScriptBlock {
Add-PsSnapin VeeamPSSnapIn
#Insert command for each proxy here :)
}
$Output
---------powershell script end----------------
or to just connect enter a pssession to a remote server and load the snapin afterwards :)
jbennett
Enthusiast
Posts: 33
Liked: 12 times
Joined: Jun 23, 2015 3:47 pm
Full Name: Justin Bennett
Location: Los Angeles, CA
Contact:

Re: A couple feature requests

Post by jbennett »

In regards to 1)
Not sure if I understood you. Could you elaborate on that please?
Rather than having to open Veeam Backup and Replication -> click the blue button -> click PowerShell --- It would be nice to just have a shortcut for launching PowerShell. Don't get me wrong, I love the GUI - just no need to open it up if I'm heading to PowerShell.
https://drive.google.com/file/d/0B7Weyb ... view?pli=1

A solution to me would like like this:
https://drive.google.com/file/d/0B7Weyb ... view?pli=1

In regards to 2)
To connect to the remote you just need to do a remote connection ...
Thank you rmeyer5, I'm aware of PowerShell Remote Sessions.
Could you describe your use case please?
What I'm asking for is - say I have PowerShell on systems not directly connected to my network. I don't want to expose PowerShell for a couple of reasons. 1. In regards to security, logging activity from remote PowerShell is inadequate. 2. I would prefer to centralize the PowerShell cmd-let onto one machine - and not have to run commands on remote sessions. The commandlets from one host should be able to contact the API's on multiple Veeam Backup and Recovery Servers and manage the connections - similar to how the new Remote Console functionality is working. There would need to be a connection management commandlet - similar to the vSphere Connect-VIServer functionality.
I saw the addition of the remote console in the GUI and just feel the capability should mirror the CLI.

In regards to 3)
There is already something very similar:

Code: Select all

Get-VBRjob -Name "My Job"
Ahhh.... I should have tried it with the -Name

https://drive.google.com/file/d/0B7Weyb ... view?pli=1

Thank you much!
-Justin
[@cajeeper]|[http://www.allthingstechie.net]
PTide
Product Manager
Posts: 6551
Liked: 765 times
Joined: May 19, 2015 1:46 pm
Contact:

Re: A couple feature requests

Post by PTide »

would be nice to just have a shortcut for launching PowerShell.
Have you considered placing your Windows PowerShell shortcut to the taskbar/desktop? The only difference is that it might start without Veeam SnapIn, so you'll need to add it by issuing Add-PsSnapin VeeamPSsnapin or asnp "VeeamPSSnapIn"
<...>I saw the addition of the remote console in the GUI and just feel the capability should mirror the CLI.
Your request has been heard, thank you for the feedback! Please also take a look at this thread.
jbennett
Enthusiast
Posts: 33
Liked: 12 times
Joined: Jun 23, 2015 3:47 pm
Full Name: Justin Bennett
Location: Los Angeles, CA
Contact:

Re: A couple feature requests

Post by jbennett »

PTide wrote:Have you considered placing your Windows PowerShell shortcut to the taskbar/desktop?
Yes, and I have created my own. Just asking it to be standard.
PTide wrote:Your request has been heard, thank you for the feedback!
Much appreciated!
-Justin
[@cajeeper]|[http://www.allthingstechie.net]
veremin
Product Manager
Posts: 20405
Liked: 2298 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: A couple feature requests

Post by veremin » 1 person likes this post

1) A desktop / start menu shortcut - should be by default rather than creating one
With remote shell coming in version 9, we plan to introduce the said commandlet there, as well. Thanks.
thanatos8877
Lurker
Posts: 1
Liked: 1 time
Joined: Sep 08, 2015 9:21 pm
Contact:

Re: A couple feature requests

Post by thanatos8877 » 1 person likes this post

I would love to see an option to rename jobs within PowerShell.

Elsewhere, there was a work-around that worked in version 7 but no longer works in version 8.

More and more, I find myself turning to PowerShell for my administration activities. I am hopeful that remote shell rumored in version 9 will be robust. If Rename-VBRJob is not a planned CMDLET, please consider putting that on the roadmap!
aaron@ARB
Expert
Posts: 138
Liked: 14 times
Joined: Feb 21, 2014 3:12 am
Full Name: ARBCorporationPtyLtd
Contact:

Re: A couple feature requests

Post by aaron@ARB »

I would love to see an option to rename jobs within PowerShell.
+1 ;)
jbennett
Enthusiast
Posts: 33
Liked: 12 times
Joined: Jun 23, 2015 3:47 pm
Full Name: Justin Bennett
Location: Los Angeles, CA
Contact:

Re: A couple feature requests

Post by jbennett »

jbennett wrote:Some selfish requests for PowerShell...
...
2) Along the lines with the Remote VBR Console, there should be able to remote PowerShell to different VBR servers - similar to the VSphere Connect-VIServer - Connect-VBRServer
...
Just thought I'd say "THANK YOU!" for making the Connect-VBRServer for remote PowerShell a reality. Just noticed its ability in our VBR Version 9.

Thank you - Takk - Danke!!!
-Justin
[@cajeeper]|[http://www.allthingstechie.net]
veremin
Product Manager
Posts: 20405
Liked: 2298 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: A couple feature requests

Post by veremin »

You're welcome. We've heard your requests and made it happen.

Though, it would have been unacceptable, if we hadn't done that at the same time when remote console was introduced. :D

Thanks.
Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests