0 Or Process.ProcessId <> ProcessId Then LooksAlive = False Resource.LogInformation "LooksAlive failed. ProcessId: " & ProcessId & " Error: " & Err.Number & " " & Err.Description Else LooksAlive = True End if Function IsAlive( ) On Error Resume Next Set Process = GetObject("winmgmts:win32_process.Handle=" & ProcessId) If Err.Number <> 0 Or Process.ProcessId <> ProcessId Then IsAlive = False Resource.LogInformation "IsAlive failed. ProcessId: " & ProcessId & " Error: " & Err.Number & " " & Err.Description Else IsAlive = True End if End Function"> 0 Or Process.ProcessId <> ProcessId Then LooksAlive = False Resource.LogInformation "LooksAlive failed. ProcessId: " & ProcessId & " Error: " & Err.Number & " " & Err.Description Else LooksAlive = True End if Function IsAlive( ) On Error Resume Next Set Process = GetObject("winmgmts:win32_process.Handle=" & ProcessId) If Err.Number <> 0 Or Process.ProcessId <> ProcessId Then IsAlive = False Resource.LogInformation "IsAlive failed. ProcessId: " & ProcessId & " Error: " & Err.Number & " " & Err.Description Else IsAlive = True End if End Function">
Download presentation
Presentation is loading. Please wait.
Published byEvan Brooks Modified over 10 years ago
20
Pinning eligible files to prevent block reallocation and movement Tracking the mapping of file extents to physical disk blocks for each file Translating file reads/writes (in terms of offset, length) into RAW I/O to disk blocks
28
FC SAS RBOD iSCSIFCoE SAS JBOD
41
Dim Process Dim ProcessId Function Open( ) On Error Resume Next Resource.LogInformation "Enter Open( )" If Resource.PropertyExists("CommandLine") = FALSE Then Resource.LogInformation "Creating property CommandLine" Resource.AddProperty "CommandLine" Else Resource.LogInformation "Property CommandLine exists" End if Resource.CommandLine = "Notepad" Set Process= GetObject("winmgmts:win32_process") Resource.LogInformation "Exit Open( )" Open = True ' Success End Function Function Online( ) Resource.LogInformation "Enter Online( )" Process.Create Resource.CommandLine,,,ProcessId Resource.LogInformation "Exit Online( ) ProcessId = " & ProcessId Online = 0 ' Success End Function Function Offline( ) On Error Resume Next Resource.LogInformation "Enter Offline( )" Terminate Resource.LogInformation "Exit Offline( )" Offline = Err.Number End Function Function Close( ) Resource.LogInformation "Enter Close( )" Resource.LogInformation "Exit Close( )" Close = 0 ' Success End Function Function Terminate( ) On Error Resume Next Resource.LogInformation "Enter Terminate( )" Set Process = Nothing Set Process = GetObject("winmgmts:win32_process.Handle=" & ProcessId) Process.Terminate 1 Set Process = Nothing Resource.LogInformation "Exit Terminate( )" Terminate = 0 End Function Function LooksAlive( ) On Error Resume Next Set Process = GetObject("winmgmts:win32_process.Handle=" & ProcessId) If Err.Number <> 0 Or Process.ProcessId <> ProcessId Then LooksAlive = False Resource.LogInformation "LooksAlive failed. ProcessId: " & ProcessId & " Error: " & Err.Number & " " & Err.Description Else LooksAlive = True End if Function IsAlive( ) On Error Resume Next Set Process = GetObject("winmgmts:win32_process.Handle=" & ProcessId) If Err.Number <> 0 Or Process.ProcessId <> ProcessId Then IsAlive = False Resource.LogInformation "IsAlive failed. ProcessId: " & ProcessId & " Error: " & Err.Number & " " & Err.Description Else IsAlive = True End if End Function
44
Branch Office Hyper-V Replica: Point-in-time replication of VHDs for disaster recovery VHD
47
Please submit session evals on the Build Windows 8 App or at http://aka.ms/BuildSessionshttp://aka.ms/BuildSessions
48
Please submit session evals on the Build Windows 8 App or at http://aka.ms/BuildSessionshttp://aka.ms/BuildSessions
Similar presentations
© 2025 SlidePlayer.com Inc.
All rights reserved.