Right! The trailing backslash is important. But does not solve the problem. Here is what I get on server 2012:
PS C:\Windows\system32> Invoke-NaVssBackup -Volume E:\ -Verbose
AUSFÜHRLICH: Backup type: FULL.
AUSFÜHRLICH: Invoking VSS backup
AUSFÜHRLICH: Initializing for backup.
AUSFÜHRLICH: Including/Excluding specified writers.
AUSFÜHRLICH: Starting snapshot set: 8a8668dd-294d-49bc-ab18-3c44c678bcdf.
AUSFÜHRLICH: Adding shadow to snapshot set: 131f461c-640f-4ae0-86d7-d1e7cc32c73e.
AUSFÜHRLICH: Preparing for backup.
Invoke-NaVssBackup : Ausnahme von HRESULT: 0x80042308
In Zeile:1 Zeichen:1
+ Invoke-NaVssBackup -Volume E:\ -Verbose
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Invoke-NaVssBackup], COMException
+ FullyQualifiedErrorId : System.Runtime.InteropServices.COMException,DataONTAP.PowerShell.SDK.Cmdlets.Toolkit.Win
dows.InvokeNaVssBackup
I run into the same error-message when I call
PS C:\Windows\system32> Get-NaVssWriter -Verbose
Get-NaVssWriter : Ausnahme von HRESULT: 0x80042308
In Zeile:1 Zeichen:1
+ Get-NaVssWriter -Verbose
+ ~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Get-NaVssWriter], COMException
+ FullyQualifiedErrorId : System.Runtime.InteropServices.COMException,DataONTAP.PowerShell.SDK.Cmdlets.Toolkit.Win
dows.GetNaVssWriter
but get-navssprovider works.
I think there is something wrong with Component Services configuration or access rights.