Menu

PowerShellModule

khenkell

PowerShell Module

This section covers the design of the SecPoshMon PowerShell Module. The scripts included in this module are:

New-SPMScheduledTask

  • Select Script
  • Input Parameters
  • Select Schedule
  • Create EventLog
  • Register Sources
  • Get credential
  • Schedule Task
  • Remove-SPMScheduledTask
  • Remove Scheduled Task
  • Export Event Log(s)
  • Remove Event Log

Get-SPMScheduledTask

  • Gets a list of scheduled tasks under the SPM container

Invoke-SPMScheduledTask

  • Runs the scheduled task now

New-SPMServerConfiguration

  • Initial setup of configuration
  • Can overwrite exsiting configuration

Get-SPMServerConfiguration

  • Gets the current configuration

Set-SPMServerConfiguration

  • Modifies one or more attributes on the server configuration

New-SPMPackageConfiguration

  • Takes a package of scripts and configures acording to the included schedule configuration file.

Remove SPMPackageConfiguration

  • Takes a package of scripts and removes all scheduled tasks generated from that package.

Related

Wiki: Home

Auth0 Logo