├── Adaptiva ├── Get-AOLog.ps1 └── Set-AdaptivaServer.ps1 ├── Helpers ├── Add-Duration.ps1 ├── Get-PnPDrivers.ps1 └── Out-ConsoleGraph.ps1 ├── LICENSE ├── README.md └── SCCM ├── Get-CMLog.ps1 └── Set-CMSite.ps1 /Adaptiva/Get-AOLog.ps1: -------------------------------------------------------------------------------- 1 | function Get-AOLog 2 | { 3 | param( 4 | [Parameter(Mandatory=$true, 5 | Position=0, 6 | ValueFromPipelineByPropertyName=$true)] 7 | [Alias("FullName")] 8 | $Path 9 | ) 10 | 11 | PROCESS 12 | { 13 | foreach ($File in $Path) 14 | { 15 | $FileName = Split-Path -Path $File -Leaf 16 | 17 | Get-Content -Path $File | %{ 18 | $_ -match '(?\d{4}-\d{2}-\d{2}) (?