PowerShell script exchange
			
		
		
			
				
																			
								pizzim13 							 
						Enthusiast 			
		Posts:  94 				Liked:  6 times  
				Joined:  Apr 21, 2011 7:37 pm 		
		
						
							
				Contact: 
				
			 
				
		 
		
						
					
																		
							
						
									
						Post 
					 
								by pizzim13   »  May 15, 2012 6:48 pm 
				  this post 
			
			
			
			
			In Veeam 5 I was able to retrieve the current backup operation of a running job by
Code: Select all 
(Get-VBRJob | Where-Object {$_.getlaststate() -eq "Working"}).findlastsession().info.operation
This would return "Processing object 'VM-Test-01'", for example. In Veeam 6, what looks like the same propery
Code: Select all 
(Get-VBRJob | Where-Object {$_.getlaststate() -eq "Working"}).findlastsession().operation doesn't return anything.
Is this information available another way?
 
			
			
									
						
										
						 
		 
				
		
		 
	 
				
		
		
			
				
																			
								Sethbartlett 							 
						Veteran 			
		Posts:  282 				Liked:  26 times  
				Joined:  Nov 10, 2010 6:51 pm 		
		
											Full Name:  Seth Bartlett 
							
							
				Contact: 
				
			 
				
		 
		
						
					
																		
							
						
									
						Post 
					 
								by Sethbartlett   »  May 17, 2012 6:37 pm 
				2 people like  this post 
			
			
			
			
			If you do:
Code: Select all 
(Get-VBRJob | ?{$_.GetLastState() -eq "Working"}).FindLastSession().Logger.GetLog().UpdatedRecords
You will get some XML data about what is going on.
 
			
			
									
						
							Skype: 
Sethbartlett88  - Make sure to label who you are and why you want to add me 
Twitter: @
sethbartlett 
If my post was helpful, please like it. Sometimes twitter is quicker to hit me up if you need me.
 			
						 
		 
				
		
		 
	 
				
		
		
			
				
																			
								pizzim13 							 
						Enthusiast 			
		Posts:  94 				Liked:  6 times  
				Joined:  Apr 21, 2011 7:37 pm 		
		
						
							
				Contact: 
				
			 
				
		 
		
						
					
																			
						
									
						Post 
					 
								by pizzim13   »  May 18, 2012 2:19 pm 
				  this post 
			
			
			
			
			Just what I was looking for. Thanks Seth.
			
			
									
						
										
						 
		 
				
		
		 
	 
	
	
	
		
		Users browsing this forum: Semrush [Bot]  and 4 guests