Hi all,
Now I’m trying to write a script to use the MS iscsitarget to take a disk snapshot automatically. Here is part of my script:
’
’ Get the Wbem Services object.
’
Dim WbemServices
Set WbemServices = GetObject(“WINMGMTS:{impersonationLevel=impersonate,authenticationLevel=pktPrivacy}!\.\root\wmi”)
’
’ Get the WtSnapshot class.
’
Dim WtSnapshotClass
Set WtSnapshotClass = WbemServices.Get( “WT_Snapshot” )
’
’ Take snapshot.
’
Dim WTSnapshot
Dim RetCode
Set WTSnapshot = WtSnapshotClass.Create( …)
My problem is I can not get the parameters of method “Create”.
Thanks & regards.