I want to create shadow storage for one drive on another using Windows 10. For server windows editions, there is:
vssadmin add shadowstorage /for=<ForVolumeSpec> /on=<OnVolumeSpec> [/maxsize=<MaxSizeSpec>]
The add command is missing in Windows 10, how would one go about it?
There are some Powershell commands available, but I could not make them work.
(Get-WmiObject -list win32_ShadowStorage).Create('C:\','D:\','3000000000')
VSSAdmin only has the "create" option on a Windows Server. Instead, you will have to make use of a PowerShell script to create the shadow.
powershell.exe -Command (gwmi -list win32_shadowcopy).Create('E:\','ClientAccessible')
Since this just makes use of the Win32_ShadowCopy class in WMI, you can use other methods to create the shadow. This includes the "wmic" utility.
wmic shadowcopy call create Volume='E:\'