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"; }
protected SccmScheduleActionBase(ILoggerService logger, IWmiServices wmiService, ISccmClientServices sccmClientService, INetworkServices networkServices, IFileAndFolderServices fileAndFolderServices) : base(logger, networkServices, fileAndFolderServices) { WmiService = wmiService; SccmClientService = sccmClientService; }
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"; }
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"; }
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 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"; }
protected Action(ILoggerService logger, INetworkServices networkServices, IFileAndFolderServices fileAndFolderServices) { Logger = logger; NetworkServices = networkServices; FileAndFolderServices = fileAndFolderServices; CancellationToken = new CancellationTokenSource(); }
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"; }
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"; }
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; }
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; }
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; }
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; }
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; }
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; }
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; }
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; }
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; }
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"; }
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; }
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; }
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; }
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; }
public Logger(IFileAndFolderServices fileAndFolderServices) { _fileAndFolderServices = fileAndFolderServices; Application.Current.Exit += OnApplicationExit; _logFilePath = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments) + "\\Andromeda\\Logs"; _fullLogPath = _logFilePath + "\\" + LogFileName; ValidateLogDirectoryExists(); if (!File.Exists(_fullLogPath)) { _fileAndFolderServices.CreateNewTextFile(_fullLogPath); } _cancellationToken = new CancellationTokenSource(); _loggingTask = Task.Factory.StartNew(ProcessQueue, _cancellationToken.Token); LogMessage("Logger initiated."); }
public Logger(IFileAndFolderServices fileAndFolderServices) { _fileAndFolderServices = fileAndFolderServices; Application.Current.Exit += OnApplicationExit; _logFilePath = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments) + "\\Logs"; _fullLogPath = _logFilePath + "\\" + LogFileName; ValidateLogDirectoryExists(); if (!File.Exists(_fullLogPath)) { _fileAndFolderServices.CreateNewTextFile(_fullLogPath); } var loggingThread = new Thread(new ThreadStart(ProcessQueue)); loggingThread.IsBackground = true; loggingThread.Start(); LogMessage("Logger initiated."); }
public WmiServices(ILoggerService logger, IFileAndFolderServices fileAndFolderServices, IPsExecServices psExecServices) { _logger = logger; _fileAndFolderServices = fileAndFolderServices; _psExecServices = psExecServices; }
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"; }
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; }
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"; }
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"; }
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"; }
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"; }
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"; }