PowerShell script exchange
Post Reply
dalfa
Novice
Posts: 6
Liked: never
Joined: May 11, 2016 8:59 am
Full Name: Fabrizio
Contact:

Different action messages

Post by dalfa »

Hi,

I'm using powershell to get statistics about backup and replication, i'm parsing the log messages and I got two different action for the vm snapshot creation, "Creating VM snapshot" and "Creating snapshot", eg

Code: Select all

get-vbrbackupsession | where { $_.jobname -eq "***************"} |select -last 1| get-vbrtasksession | foreach {
$_.Logger.getlog().UpdatedRecords | where-object {$_.title -match "(Creating snapshot)|(Creating VM snapshot)"}|select Title

}

Title
-----
Creating VM snapshot
Creating snapshot
Creating snapshot
Creating snapshot
Creating snapshot
Creating VM snapshot
is there any reason behind?

regards,
Fabrizio
veremin
Product Manager
Posts: 20400
Liked: 2298 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Different action messages

Post by veremin »

Chances are, you will see the same, if you open a job session via GUI. The origin of "creating snapshot" is unclear to me, though, the proper title is "Creating VM snapshot". Thanks
Post Reply

Who is online

Users browsing this forum: No registered users and 16 guests