Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/phlcrny/ccmlogs
A simple Powershell module for viewing SCCM logs
https://github.com/phlcrny/ccmlogs
mecm powershell sccm
Last synced: 10 days ago
JSON representation
A simple Powershell module for viewing SCCM logs
- Host: GitHub
- URL: https://github.com/phlcrny/ccmlogs
- Owner: phlcrny
- License: mit
- Created: 2020-08-04T15:16:20.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-04-22T11:55:37.000Z (almost 3 years ago)
- Last Synced: 2024-11-27T12:19:33.790Z (2 months ago)
- Topics: mecm, powershell, sccm
- Language: PowerShell
- Homepage:
- Size: 30.3 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- Changelog: changelog.md
Awesome Lists containing this project
README
# CCMLogs
[![PowerShell Gallery][psgallery-badge]][psgallery]
CCMLogs is intended as a simple module to make it easier to interact with Configuration Manager logs in Powershell.
## Getting Started
### Installing
```Powershell
Install-Module -Name "CCMLogs"
```### Usage
```Powershell
Get-CCMLog -LogName "AppDiscovery"
# Retrieves the AppDiscovery log of the local machineGet-CCMLog -LogName "AppEnforce" -Count 10
# Retrieves 10 entries from the AppEnforce log of the local machineGet-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
```[psgallery-badge]: https://img.shields.io/powershellgallery/dt/ccmlogs.svg
[psgallery]: https://www.powershellgallery.com/packages/ccmlogs