For a utility diskpart, Powershell allows me to pass data to the console
by following
'list vol' | diskpart
very similar to the this, can we pass data to diskshadow utility ?
When i try, i get the following error:
PS C:\Users\administrator> 'list vol' | diskshadow
Microsoft DiskShadow version 1.0
Copyright (C) 2007 Microsoft Corporation
On computer: myserver, 11/8/2012 1:13:32 PM
**DISKSHADOW> Error reading from console. Win32 error: 0x6
The handle is invalid.**
Please suggest if i need to something different?
You’ll have to create a temp file with your command(s) and run
diskshadowwith that script.