PowerShell Request

PowerShell script exchange

PowerShell Request

Veeam Logoby chamdor » Wed Apr 13, 2011 3:11 pm

IHi,

I would like it if the Veeam PowerShell worked like typical PowerShell cmdlets, e.g.right now I have to do:

Get-VBRJob | where {$_.Name –eq $name}

I should be able to do

Get-VBRJob $name

or
$name |Get-VBRJob

or
Get-VBRJob -name $name

Thanks!
chamdor
Influencer
 
Posts: 23
Liked: never
Joined: Mon Jun 15, 2009 7:00 pm

Re: PowerShell Request

Veeam Logoby Vitaliy S. » Mon Apr 18, 2011 8:36 am

Well...I've thought that we are already working as typical PS cmdlets :) Not sure about extending this functionality in the short term though. Thanks!
Vitaliy S.
Veeam Software
 
Posts: 19575
Liked: 1106 times
Joined: Mon Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov

Re: PowerShell Request

Veeam Logoby Gostev » Mon Apr 18, 2011 10:09 am

It is true that -name parameter is not supported in this cmdled. Worths implementing. Thanks.
Gostev
Veeam Software
 
Posts: 21396
Liked: 2350 times
Joined: Sun Jan 01, 2006 1:01 am
Location: Baar, Switzerland

Re: PowerShell Request

Veeam Logoby Gostev » Tue Dec 06, 2011 11:57 pm

chamdor wrote: Get-VBRJob -name $name

-name parameter was added in v6
Gostev
Veeam Software
 
Posts: 21396
Liked: 2350 times
Joined: Sun Jan 01, 2006 1:01 am
Location: Baar, Switzerland


Return to PowerShell



Who is online

Users browsing this forum: No registered users and 5 guests