PowerShell script exchange
Post Reply
masonit
Service Provider
Posts: 181
Liked: 12 times
Joined: Oct 09, 2012 2:30 pm
Full Name: Magnus
Contact:

Blocks skipped

Post by masonit » Jan 10, 2019 10:09 am

Hi

When using options "exclude swap file blocks" and "exclude deleted file blocks" I can see in the job statistics:

Deleted file blocks skipped: 797,0 MB
Swap file blocks skipped: 367,0 MB

I have found this info with powershell using Get-VBRTaskSession (Logger.GetLog().UpdatedRecords). But is it possible somehow to get the value part in the string (797,0) as a real value? Want to collect this info and don't want to interpret a string.

\Masonit

v.Eremin
Veeam Software
Posts: 15523
Liked: 1179 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Blocks skipped

Post by v.Eremin » Jan 10, 2019 5:29 pm

You need to parse the given string, get number of skipped blocks and then convert it to integer, using similar approach. Thanks!

masonit
Service Provider
Posts: 181
Liked: 12 times
Joined: Oct 09, 2012 2:30 pm
Full Name: Magnus
Contact:

Re: Blocks skipped

Post by masonit » Jan 14, 2019 3:36 pm

Ok, thanks.

\Masonit

v.Eremin
Veeam Software
Posts: 15523
Liked: 1179 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Blocks skipped

Post by v.Eremin » Jan 14, 2019 5:41 pm

You're welcome. Let us know, should more assistance be needed. Thanks!

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests