Get-SdSMBShadowCopyEmsMessage
Gets SMB shadow copy EMS messages from the event log, so that you can find backup failure details.
Syntax
Get-SdSMBShadowCopyEmsMessage [-Path] <Object> [-SearchPattern] <String> [-Session] <String> [-Host] <String>
Detailed Description
Gets shadow copy EMS messages that contain specified SMB shadow copy ID search criteria from the virtual storage server, so that you can view the SMB shadow copy failure details.
Parameters
Name | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|
Path |
Specifies the SMB share path for shadow copy EMS messages. Enter one path only. If you enter more than one path value, the search is performed only on the first path.You cannot mix a logical disk or mount point with SMB shares in the same input path. |
true |
true (ByValue, ByPropertyName) |
|
SearchPattern |
Specifies a regular expression search criteria, so that you can search for EMS messages pertaining to a specific backup failure event. |
true |
true (ByPropertyName) |
|
Session |
false |
true (ByPropertyName) |
||
Host |
Specifies the name or IP address of the host on which you execute the operation. The default is your local machine. |
false |
true (ByPropertyName) |
Examples
Example 1: Getting shadow copy EMS messages for a specified ID
PS C:\> Get-SdSMBShadowCopyEmsMessage -Path \\10.53.41.218\root -SearchPattern *9831ed56-ee2e-11e1-994b*
Gets shadow copy EMS messages that contains specified SMB shadow copy ID search criteria from the virtual storage server for the SMB shadow copy.
Gets shadow copy EMS messages that contains specified SMB shadow copy ID search criteria from the virtual storage server for the SMB shadow copy.
Example 2: Getting all SMB shadow copy EMS message on a virtual storage server
PS C:\> Get-SdSMBShadowCopyEmsMessage -Path \\172.17.165.40\root -SearchPattern *
Gets all shadow copy EMS messages from the virtual storage server for the SMB shadow copy. The message you retrieve looks similar
to example 1.