Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 1.03 KB

readme.md

File metadata and controls

32 lines (21 loc) · 1.03 KB

CCMLogs

PowerShell Gallery

CCMLogs is intended as a simple module to make it easier to interact with Configuration Manager logs in Powershell.

Getting Started

Installing

Install-Module -Name "CCMLogs"

Usage

Get-CCMLog -LogName "AppDiscovery"
# Retrieves the AppDiscovery log of the local machine

Get-CCMLog -LogName "AppEnforce" -Count 10
# Retrieves 10 entries from the AppEnforce log of the local machine

Get-CCMLog -LogName "AppIntentEval", "AppDiscovery", "AppEnforce" | Out-GridView
# Retrieves the 'AppIntentEval', 'AppDiscovery' and 'AppEnforce' log entries and outputs to Out-GridView for interactive search, sorting etc.

Get-CCMLog -LogName "AppIntentEval", "AppDiscovery", "AppEnforce" -After (Get-Date).AddDays(-1)
# Retrieves the 'AppIntentEval', 'AppDiscovery' and 'AppEnforce' log entries for the last 24 hours