Example #1
0
 public PingTest(ILoggerService logger, INetworkServices networkServices, IFileAndFolderServices fileAndFolderServices) 
     : base(logger, networkServices, fileAndFolderServices)
 {
     ActionName = "Ping Test";
     Description = "Runs a ping test against the device list.";
     Category = "Other";
 }
Example #2
0
 public FileCopy(ILoggerService logger, INetworkServices networkServices, IFileAndFolderServices fileAndFolderServices)
     : base(logger, networkServices, fileAndFolderServices)
 {
     ActionName = "File Copy";
     Description = "Copy file to all devices in the list.";
     Category = "Other";
 }
Example #3
0
 public PingTest(ILoggerService logger, INetworkServices networkServices, IFileAndFolderServices fileAndFolderServices)
     : base(logger, networkServices, fileAndFolderServices)
 {
     ActionName  = "Ping Test";
     Description = "Runs a ping test against the device list.";
     Category    = "Other";
 }
 public UserPolicyRetrievalCycleSccm(ILoggerService logger, IWmiServices wmiService, ISccmClientServices sccmClientService, INetworkServices networkServices, IFileAndFolderServices fileAndFolderServices) 
     : base(logger, wmiService, sccmClientService, networkServices, fileAndFolderServices)
 {
     ActionName = "User Policy Retrieval Cycle";
     Description = "Forces SCCM to schedule a User Policy Retrieval check on the client.";
     Category = "SCCM";
 }
  public HardwareInventoryCycleSccm(ILoggerService logger, IWmiServices wmiService, ISccmClientServices sccmClientService, INetworkServices networkServices, IFileAndFolderServices fileAndFolderServices) 
     : base(logger, wmiService, sccmClientService, networkServices, fileAndFolderServices)
 {
     ActionName = "Hardware Inventory Cycle";
     Description = "Forces SCCM to schedule a Hardware Inventory check on the client.";
     Category = "SCCM";
 }
 public CobreGratisForTests(
     string clientAppIdentification, string authToken, ILogger logger, ICache cache,
     INetworkServices networkServices, IXmlSerializer xmlSerializer
     )
     : base(clientAppIdentification, authToken, logger, cache, networkServices, xmlSerializer)
 {
 }
 public AppDeploymentScheduleSccm(ILoggerService logger, IWmiServices wmiService, ISccmClientServices sccmClientService, INetworkServices networkServices, IFileAndFolderServices fileAndFolderServices) 
     : base(logger, wmiService, sccmClientService, networkServices, fileAndFolderServices)
 {
     ActionName = "Application Deployment Evaluation Cycle";
     Description = "Forces SCCM to schedule an Application Deployment check on the client.";
     Category = "SCCM";
 }
Example #8
0
 protected SccmScheduleActionBase(ILoggerService logger, IWmiServices wmiService,
                                  ISccmClientServices sccmClientService, INetworkServices networkServices, IFileAndFolderServices fileAndFolderServices)
     : base(logger, networkServices, fileAndFolderServices)
 {
     WmiService        = wmiService;
     SccmClientService = sccmClientService;
 }
 protected SccmScheduleActionBase(ILoggerService logger, IWmiServices wmiService,
     ISccmClientServices sccmClientService, INetworkServices networkServices, IFileAndFolderServices fileAndFolderServices)
     : base(logger, networkServices, fileAndFolderServices)
 {
     WmiService = wmiService;
     SccmClientService = sccmClientService;
 }
        public SccmRemoteAccessRegModify(ILoggerService logger, INetworkServices networkServices, IFileAndFolderServices fileAndFolderServices, IRegistryServices registryServices) : base(logger, networkServices, fileAndFolderServices)
        {
            _registry = registryServices;

            ActionName = "SCCM Remote Access Registry Modify";
            Description = "Changes the remote access options for SCCM remote control.";
            Category = "SCCM";
        }
Example #11
0
        protected Action(ILoggerService logger, INetworkServices networkServices, IFileAndFolderServices fileAndFolderServices)
        {
            Logger = logger;
            NetworkServices = networkServices;
            FileAndFolderServices = fileAndFolderServices;

            CancellationToken = new CancellationTokenSource();
        }
Example #12
0
        protected Action(ILoggerService logger, INetworkServices networkServices, IFileAndFolderServices fileAndFolderServices)
        {
            Logger                = logger;
            NetworkServices       = networkServices;
            FileAndFolderServices = fileAndFolderServices;

            CancellationToken = new CancellationTokenSource();
        }
Example #13
0
        public DeleteOldProfiles(ILoggerService logger, INetworkServices networkServices, IFileAndFolderServices fileAndFolderServices, IWmiServices wmiServices) : base(logger, networkServices, fileAndFolderServices)
        {
            _wmi = wmiServices;

            ActionName = "Delete Old User Profiles";
            Description = "Deletes profiles older than a provided date.";
            Category = "Windows Management";
        }
Example #14
0
        public GetSystemModel(ILoggerService logger, INetworkServices networkServices, IFileAndFolderServices fileAndFolderServices, IWmiServices wmiServices) 
            : base(logger, networkServices, fileAndFolderServices)
        {
            ActionName = "Get Device Model ID";
            Description = "Gets the model ID of the selected device.";
            Category = "Reporting";

            _wmiServices = wmiServices;
        }
Example #15
0
        public RunGpUpdate(ILoggerService logger, INetworkServices networkServices, IFileAndFolderServices fileAndFolderServices, IPsExecServices psExecServices)
            : base(logger, networkServices, fileAndFolderServices)
        {
            ActionName  = "Force Group Policy Update";
            Description = "Forces a GPUpdate on the machine(s).";
            Category    = "Windows Management";

            _psExecServices = psExecServices;
        }
Example #16
0
        public RepairWmi(ILoggerService logger, INetworkServices networkServices, IFileAndFolderServices fileAndFolderServices, IWmiServices wmiServices) 
            : base(logger, networkServices, fileAndFolderServices)
        {
            ActionName = "Repair WMI";
            Description = "Repairs the WMI of the device(s).";
            Category = "Windows Management";

            _wmiServices = wmiServices;
        }
Example #17
0
        public GetSerialNumber(ILoggerService logger, INetworkServices networkServices, IFileAndFolderServices fileAndFolderServices, IWmiServices wmiServices) 
            : base(logger, networkServices, fileAndFolderServices)
        {
            ActionName = "Get Device Serial Number";
            Description = "Gets the serial number of the selected device.";
            Category = "Reporting";

            _wmiServices = wmiServices;
        }
Example #18
0
        public GetLoggedOnUser(ILoggerService logger, INetworkServices networkServices, IFileAndFolderServices fileAndFolderServices, IWmiServices wmiServices)
            : base(logger, networkServices, fileAndFolderServices)
        {
            ActionName  = "Get Logged On User";
            Description = "Gets the logged in user of a remote system.";
            Category    = "Reporting";

            _wmiServices = wmiServices;
        }
Example #19
0
        public TightVNCRemove(ILoggerService logger, INetworkServices networkServices, IFileAndFolderServices fileAndFolderServices, IWmiServices wmiServices) 
            : base(logger, networkServices, fileAndFolderServices)
        {
            ActionName = "TightVNC Remove";
            Description = "Removes TightVNC from the specified computers. [Requires Credentials]";
            Category = "Windows Management";

            _wmiServices = wmiServices;
        }
Example #20
0
        public ForceReboot(ILoggerService logger, INetworkServices networkServices, IFileAndFolderServices fileAndFolderServices, IWmiServices wmiServices)
            : base(logger, networkServices, fileAndFolderServices)
        {
            ActionName  = "Force Reboot";
            Description = "Force reboots the remote computer.";
            Category    = "Windows Management";

            _wmiServices = wmiServices;
        }
Example #21
0
        public ForceLogOff(ILoggerService logger, INetworkServices networkServices, IFileAndFolderServices fileAndFolderServices, IWmiServices wmiServices) 
            : base(logger, networkServices, fileAndFolderServices)
        {
            ActionName = "Force Log Off";
            Description = "Forces the remote user to log off.";
            Category = "Windows Management";

            _wmiServices = wmiServices;
        }
Example #22
0
        public GetLoggedOnUser(ILoggerService logger, INetworkServices networkServices, IFileAndFolderServices fileAndFolderServices, IWmiServices wmiServices) 
            : base(logger, networkServices, fileAndFolderServices)
        {
            ActionName = "Get Logged On User";
            Description = "Gets the logged in user of a remote system.";
            Category = "Reporting";

            _wmiServices = wmiServices;
        }
Example #23
0
        public ForceLogOff(ILoggerService logger, INetworkServices networkServices, IFileAndFolderServices fileAndFolderServices, IWmiServices wmiServices)
            : base(logger, networkServices, fileAndFolderServices)
        {
            ActionName  = "Force Log Off";
            Description = "Forces the remote user to log off.";
            Category    = "Windows Management";

            _wmiServices = wmiServices;
        }
Example #24
0
        public DeleteGpoCache(ILoggerService logger, INetworkServices networkServices, IFileAndFolderServices fileAndFolderServices, IPsExecServices psExecServices)
            : base(logger, networkServices, fileAndFolderServices)
        {
            ActionName  = "Delete GPO Cache";
            Description = "Deletes the GPO cache of the remote computer(s) and forces GPUpdate.";
            Category    = "Windows Management";

            _psExecServices = psExecServices;
        }
Example #25
0
        public GetSystemModel(ILoggerService logger, INetworkServices networkServices, IFileAndFolderServices fileAndFolderServices, IWmiServices wmiServices)
            : base(logger, networkServices, fileAndFolderServices)
        {
            ActionName  = "Get Device Model ID";
            Description = "Gets the model ID of the selected device.";
            Category    = "Reporting";

            _wmiServices = wmiServices;
        }
Example #26
0
        public GetSerialNumber(ILoggerService logger, INetworkServices networkServices, IFileAndFolderServices fileAndFolderServices, IWmiServices wmiServices)
            : base(logger, networkServices, fileAndFolderServices)
        {
            ActionName  = "Get Device Serial Number";
            Description = "Gets the serial number of the selected device.";
            Category    = "Reporting";

            _wmiServices = wmiServices;
        }
Example #27
0
        public DeleteGpoCache(ILoggerService logger, INetworkServices networkServices, IFileAndFolderServices fileAndFolderServices, IPsExecServices psExecServices)
            : base(logger, networkServices, fileAndFolderServices)
        {
            ActionName = "Delete GPO Cache";
            Description = "Deletes the GPO cache of the remote computer(s) and forces GPUpdate.";
            Category = "Windows Management";

            _psExecServices = psExecServices;
        }
Example #28
0
        public RunGpUpdate(ILoggerService logger, INetworkServices networkServices, IFileAndFolderServices fileAndFolderServices, IPsExecServices psExecServices) 
            : base(logger, networkServices, fileAndFolderServices)
        {
            ActionName = "Force Group Policy Update";
            Description = "Forces a GPUpdate on the machine(s).";
            Category = "Windows Management";

            _psExecServices = psExecServices;
        }
Example #29
0
        public ForceReboot(ILoggerService logger, INetworkServices networkServices, IFileAndFolderServices fileAndFolderServices, IWmiServices wmiServices) 
            : base(logger, networkServices, fileAndFolderServices)
        {
            ActionName = "Force Reboot";
            Description = "Force reboots the remote computer.";
            Category = "Windows Management";

            _wmiServices = wmiServices;
        }
Example #30
0
        public TightVNCInstall(ILoggerService logger, INetworkServices networkServices, IFileAndFolderServices fileAndFolderServices, IPsExecServices psExecServices)
            : base(logger, networkServices, fileAndFolderServices)
        {
            ActionName = "TightVNC Install";
            Description = "Installs the version of TightVNC from the components directory. [Requires Credentials]";
            Category = "Windows Management";

            _psExecServices = psExecServices;
        }
Example #31
0
 public SoftwareUpdateScanCycle(ILoggerService logger, IWmiServices wmiService,
                                ISccmClientServices sccmClientService, INetworkServices networkServices,
                                IFileAndFolderServices fileAndFolderServices)
     : base(logger, wmiService, sccmClientService, networkServices, fileAndFolderServices)
 {
     ActionName  = "Software Update Scan Cycle";
     Description = "Forces SCCM to schedule a Software Update check on the client.";
     Category    = "SCCM Client Actions";
 }
Example #32
0
 internal CobreGratis(
     string clientAppIdentification,
     string authToken,
     ILogger logger,
     ICache cache,
     INetworkServices networkServices,
     IXmlSerializer xmlSerializer
     )
 {
     Initialize(clientAppIdentification, authToken, logger, cache, networkServices, xmlSerializer);
 }
Example #33
0
        public FileCopy(ILoggerService logger, INetworkServices networkServices, IFileAndFolderServices fileAndFolderServices, IWindowService windowService)
            : base(logger, networkServices, fileAndFolderServices)
        {
            ActionName  = "File Copy";
            Description = "Copy file to all devices in the list.";
            Category    = "Other";

            _windowService          = windowService;
            HasUserInterfaceElement = true;
            UiCallback = CallbackMethod;
        }
Example #34
0
        public DeleteOldProfiles(ILoggerService logger, INetworkServices networkServices, IFileAndFolderServices fileAndFolderServices, IWmiServices wmiServices, IWindowService windowService) : base(logger, networkServices, fileAndFolderServices)
        {
            _wmi           = wmiServices;
            _windowService = windowService;

            ActionName  = "Delete Old User Profiles";
            Description = "Deletes profiles older than a provided date.";
            Category    = "Windows Management";

            UiCallback = CallbackMethod;
            HasUserInterfaceElement = true;
        }
Example #35
0
        public RepairWmi(ILoggerService logger, INetworkServices networkServices, IFileAndFolderServices fileAndFolderServices, IWmiServices wmiServices)
            : base(logger, networkServices, fileAndFolderServices)
        {
            ActionName          = "Repair WMI";
            Description         = "Repairs the WMI of the device(s).";
            Category            = "Windows Management";
            RequiresCredentials = true;

            UiCallback = CallbackMethod;
            HasUserInterfaceElement = true;

            _wmiServices = wmiServices;
        }
Example #36
0
        public SccmRemoteAccessRegModify(
            ILoggerService logger,
            INetworkServices networkServices,
            IFileAndFolderServices fileAndFolderServices,
            IRegistryServices registryServices,
            IWindowService windowService) : base(logger, networkServices, fileAndFolderServices)
        {
            _windowService = windowService;
            _registry      = registryServices;

            ActionName  = "SCCM Remote Access Registry Modify";
            Description = "Changes the remote access options for SCCM remote control.";
            Category    = "SCCM";

            HasUserInterfaceElement = true;
            UiCallback = CallbackMethod;
        }
Example #37
0
 public CleanComputerCaches(ILoggerService logger, INetworkServices networkServices, IFileAndFolderServices fileAndFolderServices) : base(logger, networkServices, fileAndFolderServices)
 {
     ActionName = "Clean Computer Temp/Cache Files";
     Description = "Cleans the temp and caches files on a remote device.";
     Category = "Maintenance";
 }
Example #38
0
 protected void Initialize(
     string clientAppIdentification,
     string authToken,
     ILogger logger,
     ICache cache = null,
     INetworkServices networkServices = null,
     IXmlSerializer xmlSerializer = null
     )
 {
     this.EndPoint = @"https://app.cobregratis.com.br/";
     this.AuthToken = authToken;
     this.ClientAppIdentification = clientAppIdentification;
     this.Logger = new LogHelper(logger);
     this.Cache = cache ?? new StaticCache();
     this.NetworkServices = networkServices ?? new NetworkServices(this.Logger, this.Cache);
     this.XmlSerializer = xmlSerializer ?? new XmlSerializer(this.Logger);
 }
Example #39
0
 public AppDeploymentScheduleSccm(ILoggerService logger, IWmiServices wmiService, ISccmClientServices sccmClientService, INetworkServices networkServices, IFileAndFolderServices fileAndFolderServices)
     : base(logger, wmiService, sccmClientService, networkServices, fileAndFolderServices)
 {
     ActionName  = "Application Deployment Evaluation Cycle";
     Description = "Forces SCCM to schedule an Application Deployment check on the client.";
     Category    = "SCCM Client Actions";
 }
Example #40
0
 public StartCmrcService(ILoggerService logger, INetworkServices networkServices, IFileAndFolderServices fileAndFolderServices) : base(logger, networkServices, fileAndFolderServices)
 {
     ActionName  = "Start CMRCService";
     Description = "Starts the CMRC Service on remote device(s).";
     Category    = "SCCM";
 }
Example #41
0
 public UserPolicyRetrievalCycleSccm(ILoggerService logger, IWmiServices wmiService, ISccmClientServices sccmClientService, INetworkServices networkServices, IFileAndFolderServices fileAndFolderServices)
     : base(logger, wmiService, sccmClientService, networkServices, fileAndFolderServices)
 {
     ActionName  = "User Policy Retrieval Cycle";
     Description = "Forces SCCM to schedule a User Policy Retrieval check on the client.";
     Category    = "SCCM Client Actions";
 }
Example #42
0
 public HardwareInventoryCycleSccm(ILoggerService logger, IWmiServices wmiService, ISccmClientServices sccmClientService, INetworkServices networkServices, IFileAndFolderServices fileAndFolderServices)
     : base(logger, wmiService, sccmClientService, networkServices, fileAndFolderServices)
 {
     ActionName  = "Hardware Inventory Cycle";
     Description = "Forces SCCM to schedule a Hardware Inventory check on the client.";
     Category    = "SCCM Client Actions";
 }
Example #43
0
 public ResetWindowsUpdateService(ILoggerService logger, INetworkServices networkServices, IFileAndFolderServices fileAndFolderServices) : base(logger, networkServices, fileAndFolderServices)
 {
     ActionName  = "Reset Windows Update Service";
     Description = "Resets the Windows Update Service on a device and clears update cache.";
     Category    = "Windows Management";
 }
Example #44
0
 public CleanComputerCaches(ILoggerService logger, INetworkServices networkServices, IFileAndFolderServices fileAndFolderServices) : base(logger, networkServices, fileAndFolderServices)
 {
     ActionName  = "Clean Computer Temp/Cache Files";
     Description = "Cleans the temp and caches files on a remote device.";
     Category    = "Maintenance";
 }