Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Server 2012 / Export Virtual Machines / Howto generate a log in the Eventviewer

$
0
0

Dear all

We're using the following Script to Export the virtual machines to an external usb drive:

Get-VM|Where{$_.State–eq‘Running’}|Export-VM-PathF:\Export

The Export is working great. What I miss, is a log entry within the Windows Event log to check this entry in our Monitoring Software. Any ideas how to generate an Event log entry to see, if the Export was successfully or failed?

Thank you

Stephan


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>