PowerShell script exchange
Post Reply
Nathan Friend
Lurker
Posts: 2
Liked: never
Joined: Feb 25, 2020 4:49 pm
Full Name: Nathan Friend
Contact:

Adding source folders to existing file copy job

Post by Nathan Friend »

How can I add source folders to an existing file copy job?

I can see the currently included folder objects with:

Code: Select all

Add-PSSnapin VeeamPSSnapin
$Job = Get-VBRJob -name "Archive homearea"

foreach($Jobobject in $Job)
{$Objects = $JobObject.GetObjectsInJob()
$Objects.name
}
veremin
Product Manager
Posts: 20284
Liked: 2258 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Adding source folders to existing file copy job

Post by veremin »

Unfortunately, the support for file copy job is limited in our PS snap-in due (low demand that leads to low priority).

So, you cannot change file copy job source via PowerShell.

Thanks!
Nathan Friend
Lurker
Posts: 2
Liked: never
Joined: Feb 25, 2020 4:49 pm
Full Name: Nathan Friend
Contact:

Re: Adding source folders to existing file copy job

Post by Nathan Friend »

Ah OK, thanks for the info.
revog
Novice
Posts: 7
Liked: never
Joined: Jun 01, 2017 6:04 am
Contact:

Re: Adding source folders to existing file copy job

Post by revog »

Hello

Was stumbling over the same missing Cmd-let. Is there today a way to achieve this with Powershell? Or still no possibility adding/changing the sources of a File copy Job?

Regards
oleg.feoktistov
Veeam Software
Posts: 1918
Liked: 636 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: Adding source folders to existing file copy job

Post by oleg.feoktistov »

Nothing changed in regards to this. Nor can I find any fully functional .NET method, which could help you workaround it, unfortunately. Thanks!
Post Reply

Who is online

Users browsing this forum: No registered users and 25 guests