PowerShell script exchange
Nathan Friend
Lurker
Posts: 2 Liked: never
Joined: Feb 25, 2020 4:49 pm
Full Name: Nathan Friend
Contact:
Post
by Nathan Friend » Feb 26, 2020 11:22 am
this post
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: 20450 Liked: 2318 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:
Post
by veremin » Feb 28, 2020 12:05 am
this post
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:
Post
by Nathan Friend » Mar 02, 2020 8:33 am
this post
Ah OK, thanks for the info.
revog
Novice
Posts: 7 Liked: never
Joined: Jun 01, 2017 6:04 am
Contact:
Post
by revog » Aug 23, 2021 5:40 am
this post
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: 2013 Liked: 671 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:
Post
by oleg.feoktistov » Aug 23, 2021 7:10 pm
this post
Nothing changed in regards to this. Nor can I find any fully functional .NET method, which could help you workaround it, unfortunately. Thanks!
Users browsing this forum: No registered users and 8 guests