Esempio n. 1
0
 def test_hSchRpcGetNumberOfMissedRuns(self):
     dce, rpctransport = self.connect(self.stringBindingAtSvc, tsch.MSRPC_UUID_TSCHS)
     try:
         resp = tsch.hSchRpcGetNumberOfMissedRuns(dce, '\\Microsoft\\Windows\\Defrag\\ScheduledDefrag')
         resp.dump()
     except Exception, e:
         print e
         pass
Esempio n. 2
0
 def test_hSchRpcGetNumberOfMissedRuns(self):
     dce, rpctransport = self.connect(self.stringBindingAtSvc, tsch.MSRPC_UUID_TSCHS)
     try:
         resp = tsch.hSchRpcGetNumberOfMissedRuns(dce, '\\Microsoft\\Windows\\Defrag\\ScheduledDefrag')
         resp.dump()
     except Exception, e:
         print e
         pass
Esempio n. 3
0
 def test_hSchRpcGetNumberOfMissedRuns(self):
     dce, rpc_transport = self.connect()
     try:
         resp = tsch.hSchRpcGetNumberOfMissedRuns(
             dce, '\\Microsoft\\Windows\\Defrag\\ScheduledDefrag')
         resp.dump()
     except tsch.DCERPCSessionError as e:
         print(e)
         pass