diff --git a/Modules/Get-ADS.psm1 b/Modules/Get-ADS.psm1 index f372e11..4a92f09 100644 --- a/Modules/Get-ADS.psm1 +++ b/Modules/Get-ADS.psm1 @@ -30,7 +30,7 @@ function Get-ADS { } .NOTES - Updated: 2023-08-18 + Updated: 2024-06-03 Contributing Authors: Anthony Phipps @@ -60,7 +60,7 @@ function Get-ADS { begin{ - $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ") + $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ") Write-Information -InformationAction Continue -MessageData ("Started Get-ADS at {0}" -f $DateScanned) $stopwatch = New-Object System.Diagnostics.Stopwatch @@ -96,7 +96,7 @@ function Get-ADS { $elapsed = $stopwatch.Elapsed Write-Verbose ("Total time elapsed: {0}" -f $elapsed) - Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ")) + Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ")) } } diff --git a/Modules/Get-ARP.psm1 b/Modules/Get-ARP.psm1 index 2e86392..b7d29eb 100644 --- a/Modules/Get-ARP.psm1 +++ b/Modules/Get-ARP.psm1 @@ -23,7 +23,7 @@ } .NOTES - Updated: 2023-08-18 + Updated: 2024-06-03 Contributing Authors: Anthony Phipps @@ -52,7 +52,7 @@ begin{ - $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ") + $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ") Write-Information -InformationAction Continue -MessageData ("Started Get-ARP at {0}" -f $DateScanned) $stopwatch = New-Object System.Diagnostics.Stopwatch @@ -82,6 +82,6 @@ $elapsed = $stopwatch.Elapsed Write-Verbose ("Total time elapsed: {0}" -f $elapsed) - Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ")) + Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ")) } } \ No newline at end of file diff --git a/Modules/Get-AuditPolicy.psm1 b/Modules/Get-AuditPolicy.psm1 index 24111f3..eb4ebe9 100644 --- a/Modules/Get-AuditPolicy.psm1 +++ b/Modules/Get-AuditPolicy.psm1 @@ -28,7 +28,7 @@ function Get-AuditPolicy { } .NOTES - Updated: 2024-04-15 + Updated: 2024-06-03 Contributing Authors: Anthony Phipps @@ -57,7 +57,7 @@ function Get-AuditPolicy { begin{ - $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ") + $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ") Write-Information -InformationAction Continue -MessageData ("Started Get-AuditPolicy at {0}" -f $DateScanned) $stopwatch = New-Object System.Diagnostics.Stopwatch @@ -104,6 +104,6 @@ function Get-AuditPolicy { $elapsed = $stopwatch.Elapsed Write-Verbose ("Total time elapsed: {0}" -f $elapsed) - Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ")) + Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ")) } } diff --git a/Modules/Get-Autoruns.psm1 b/Modules/Get-Autoruns.psm1 index 74bfd7f..614cb56 100644 --- a/Modules/Get-Autoruns.psm1 +++ b/Modules/Get-Autoruns.psm1 @@ -24,7 +24,7 @@ Get-ADComputer -filter * | Select -ExpandProperty Name | Get-Autoruns .NOTES - Updated: 2023-08-18 + Updated: 2024-06-03 Contributing Authors: Jeremy Arnold @@ -54,7 +54,7 @@ begin{ - $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ") + $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ") Write-Information -InformationAction Continue -MessageData ("Started Get-Autoruns at {0}" -f $DateScanned) $stopwatch = New-Object System.Diagnostics.Stopwatch @@ -78,6 +78,6 @@ $elapsed = $stopwatch.Elapsed Write-Verbose ("Total time elapsed: {0}" -f $elapsed) - Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ")) + Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ")) } } \ No newline at end of file diff --git a/Modules/Get-BitLocker.psm1 b/Modules/Get-BitLocker.psm1 index 61a00c6..ffc2e91 100644 --- a/Modules/Get-BitLocker.psm1 +++ b/Modules/Get-BitLocker.psm1 @@ -24,7 +24,7 @@ function Get-BitLocker { } .NOTES - Updated: 2024-02-16 + Updated: 2024-06-03 Contributing Authors: Jeremy Arnold @@ -54,7 +54,7 @@ function Get-BitLocker { begin{ - $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ") + $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ") Write-Information -InformationAction Continue -MessageData ("Started Get-BitLocker at {0}" -f $DateScanned) $stopwatch = New-Object System.Diagnostics.Stopwatch @@ -87,6 +87,6 @@ function Get-BitLocker { Write-Verbose ("Started at {0}" -f $DateScanned) Write-Verbose ("Total time elapsed: {0}" -f $elapsed) - Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ")) + Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ")) } } diff --git a/Modules/Get-Certificates.psm1 b/Modules/Get-Certificates.psm1 index 035d00f..13ad6b2 100644 --- a/Modules/Get-Certificates.psm1 +++ b/Modules/Get-Certificates.psm1 @@ -23,7 +23,7 @@ } .NOTES - Updated: 2023-08-18 + Updated: 2024-06-03 Contributing Authors: Anthony Phipps @@ -52,7 +52,7 @@ begin{ - $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ") + $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ") Write-Information -InformationAction Continue -MessageData ("Started Get-Certificates at {0}" -f $DateScanned) $stopwatch = New-Object System.Diagnostics.Stopwatch @@ -78,6 +78,6 @@ $elapsed = $stopwatch.Elapsed Write-Verbose ("Total time elapsed: {0}" -f $elapsed) - Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ")) + Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ")) } } \ No newline at end of file diff --git a/Modules/Get-ComputerDetails.psm1 b/Modules/Get-ComputerDetails.psm1 index e4c4554..c4302cf 100644 --- a/Modules/Get-ComputerDetails.psm1 +++ b/Modules/Get-ComputerDetails.psm1 @@ -24,7 +24,7 @@ Function Get-ComputerDetails { } .NOTES - Updated: 2024-05-15 + Updated: 2024-06-03 Contributing Authors: Anthony Phipps @@ -55,7 +55,7 @@ Function Get-ComputerDetails { begin{ - $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ") + $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ") Write-Information -InformationAction Continue -MessageData ("Started Get-ComputerDetails at {0}" -f $DateScanned) $stopwatch = New-Object System.Diagnostics.Stopwatch @@ -140,6 +140,6 @@ Function Get-ComputerDetails { $elapsed = $stopwatch.Elapsed Write-Verbose ("Total time elapsed: {0}" -f $elapsed) - Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ")) + Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ")) } } diff --git a/Modules/Get-Connections.psm1 b/Modules/Get-Connections.psm1 index a649359..f3d5f8c 100644 --- a/Modules/Get-Connections.psm1 +++ b/Modules/Get-Connections.psm1 @@ -20,7 +20,7 @@ } .NOTES - Updated: 2024-03-27 + Updated: 2024-06-03 Contributing Authors: Jeremy Arnold @@ -50,7 +50,7 @@ begin{ - $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ") + $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ") Write-Information -InformationAction Continue -MessageData ("Started Get-Connections at {0}" -f $DateScanned) $stopwatch = New-Object System.Diagnostics.Stopwatch @@ -89,6 +89,6 @@ $elapsed = $stopwatch.Elapsed Write-Verbose ("Total time elapsed: {0}" -f $elapsed) - Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ")) + Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ")) } } diff --git a/Modules/Get-DLLs.psm1 b/Modules/Get-DLLs.psm1 index 0267020..d5b4ba6 100644 --- a/Modules/Get-DLLs.psm1 +++ b/Modules/Get-DLLs.psm1 @@ -23,7 +23,7 @@ } .NOTES - Updated: 2023-08-18 + Updated: 2024-06-03 Contributing Authors: Anthony Phipps @@ -54,7 +54,7 @@ begin{ - $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ") + $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ") Write-Information -InformationAction Continue -MessageData ("Started Get-DLLs at {0}" -f $DateScanned) $stopwatch = New-Object System.Diagnostics.Stopwatch @@ -78,6 +78,6 @@ $elapsed = $stopwatch.Elapsed Write-Verbose ("Total time elapsed: {0}" -f $elapsed) - Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ")) + Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ")) } } \ No newline at end of file diff --git a/Modules/Get-DNS.psm1 b/Modules/Get-DNS.psm1 index 2093bfd..2f7a618 100644 --- a/Modules/Get-DNS.psm1 +++ b/Modules/Get-DNS.psm1 @@ -26,7 +26,7 @@ } .NOTES - Updated: 2023-08-18 + Updated: 2024-06-03 Contributing Authors: Jeremy Arnold @@ -56,7 +56,7 @@ begin{ - $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ") + $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ") Write-Information -InformationAction Continue -MessageData ("Started Get-DNS at {0}" -f $DateScanned) $stopwatch = New-Object System.Diagnostics.Stopwatch @@ -113,6 +113,6 @@ $elapsed = $stopwatch.Elapsed Write-Verbose ("Total time elapsed: {0}" -f $elapsed) - Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ")) + Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ")) } } diff --git a/Modules/Get-Defender.psm1 b/Modules/Get-Defender.psm1 index 97359ad..9104ea1 100644 --- a/Modules/Get-Defender.psm1 +++ b/Modules/Get-Defender.psm1 @@ -28,7 +28,7 @@ Function Get-Defender { } .NOTES - Updated: 2023-08-18 + Updated: 2024-06-03 Contributing Authors: Anthony Phipps, Jack Smith @@ -57,7 +57,7 @@ Function Get-Defender { begin{ - $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ") + $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ") Write-Information -InformationAction Continue -MessageData ("Started Get-Defender at {0}" -f $DateScanned) $stopwatch = New-Object System.Diagnostics.Stopwatch @@ -143,6 +143,6 @@ Function Get-Defender { $elapsed = $stopwatch.Elapsed Write-Verbose ("Total time elapsed: {0}" -f $elapsed) - Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ")) + Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ")) } } diff --git a/Modules/Get-Disks.psm1 b/Modules/Get-Disks.psm1 index 9ea98ec..9f40a5c 100644 --- a/Modules/Get-Disks.psm1 +++ b/Modules/Get-Disks.psm1 @@ -27,7 +27,7 @@ } .NOTES - Updated: 2024-04-15 + Updated: 2024-06-03 Contributing Authors: Anthony Phipps @@ -56,7 +56,7 @@ begin{ - $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ") + $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ") Write-Information -InformationAction Continue -MessageData ("Started Get-Disks at {0}" -f $DateScanned) $stopwatch = New-Object System.Diagnostics.Stopwatch @@ -93,6 +93,6 @@ $elapsed = $stopwatch.Elapsed Write-Verbose ("Total time elapsed: {0}" -f $elapsed) - Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ")) + Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ")) } } diff --git a/Modules/Get-DomainInfo.psm1 b/Modules/Get-DomainInfo.psm1 index 5cd3c03..c7187f4 100644 --- a/Modules/Get-DomainInfo.psm1 +++ b/Modules/Get-DomainInfo.psm1 @@ -23,7 +23,7 @@ Function Get-DomainInfo { Export-Csv -NoTypeInformation ("c:\temp\" + $Target + "_DomainInfo.csv") } .NOTES - Updated: 2024-03-29 + Updated: 2024-06-03 Contributing Authors: Anthony Phipps, Jack Smith @@ -52,7 +52,7 @@ Function Get-DomainInfo { - $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ") + $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ") Write-Information -InformationAction Continue -MessageData ("Started Get-DomainInfo at {0}" -f $DateScanned) $stopwatch = New-Object System.Diagnostics.Stopwatch @@ -127,6 +127,6 @@ Function Get-DomainInfo { $elapsed = $stopwatch.Elapsed Write-Verbose ("Total time elapsed: {0}" -f $elapsed) - Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ")) + Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ")) } } diff --git a/Modules/Get-Drivers.psm1 b/Modules/Get-Drivers.psm1 index 75858a3..4b36c3b 100644 --- a/Modules/Get-Drivers.psm1 +++ b/Modules/Get-Drivers.psm1 @@ -23,7 +23,7 @@ function Get-Drivers { } .NOTES - Updated: 2023-08-18 + Updated: 2024-06-03 Contributing Authors: Jeremy Arnold @@ -53,7 +53,7 @@ function Get-Drivers { begin{ - $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ") + $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ") Write-Information -InformationAction Continue -MessageData ("Started Get-Drivers at {0}" -f $DateScanned) $stopwatch = New-Object System.Diagnostics.Stopwatch @@ -78,6 +78,6 @@ function Get-Drivers { $elapsed = $stopwatch.Elapsed Write-Verbose ("Total time elapsed: {0}" -f $elapsed) - Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ")) + Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ")) } } \ No newline at end of file diff --git a/Modules/Get-EnvVars.psm1 b/Modules/Get-EnvVars.psm1 index a6cb30d..2fb96dd 100644 --- a/Modules/Get-EnvVars.psm1 +++ b/Modules/Get-EnvVars.psm1 @@ -23,7 +23,7 @@ Function Get-EnvVars { } .NOTES - Updated: 2023-08-18 + Updated: 2024-06-03 Contributing Authors: Anthony Phipps @@ -53,7 +53,7 @@ Function Get-EnvVars { begin{ - $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ") + $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ") Write-Information -InformationAction Continue -MessageData ("Started Get-EnvVars at {0}" -f $DateScanned) $stopwatch = New-Object System.Diagnostics.Stopwatch @@ -99,6 +99,6 @@ Function Get-EnvVars { $elapsed = $stopwatch.Elapsed Write-Verbose ("Total time elapsed: {0}" -f $elapsed) - Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ")) + Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ")) } } \ No newline at end of file diff --git a/Modules/Get-EventCounts.psm1 b/Modules/Get-EventCounts.psm1 index 58efa8d..66fd4ce 100644 --- a/Modules/Get-EventCounts.psm1 +++ b/Modules/Get-EventCounts.psm1 @@ -34,7 +34,7 @@ function Get-EventCounts { } .NOTES - Updated: 2024-03-27 + Updated: 2024-06-03 Contributing Authors: Anthony Phipps @@ -69,7 +69,7 @@ function Get-EventCounts { begin{ - $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ") + $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ") Write-Information -InformationAction Continue -MessageData ("Started Get-EventCounts at {0}" -f $DateScanned) $stopwatch = New-Object System.Diagnostics.Stopwatch @@ -118,6 +118,6 @@ function Get-EventCounts { $elapsed = $stopwatch.Elapsed Write-Verbose ("Total time elapsed: {0}" -f $elapsed) - Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ")) + Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ")) } } \ No newline at end of file diff --git a/Modules/Get-EventLogs.psm1 b/Modules/Get-EventLogs.psm1 index d848308..a49a16b 100644 --- a/Modules/Get-EventLogs.psm1 +++ b/Modules/Get-EventLogs.psm1 @@ -29,7 +29,7 @@ function Get-EventLogs { } .NOTES - Updated: 2023-08-18 + Updated: 2024-06-03 Contributing Authors: Anthony Phipps @@ -64,7 +64,7 @@ function Get-EventLogs { begin{ - $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ") + $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ") Write-Information -InformationAction Continue -MessageData ("Started Get-EventLogs at {0}" -f $DateScanned) $stopwatch = New-Object System.Diagnostics.Stopwatch @@ -103,6 +103,6 @@ function Get-EventLogs { $elapsed = $stopwatch.Elapsed Write-Verbose ("Total time elapsed: {0}" -f $elapsed) - Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ")) + Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ")) } } \ No newline at end of file diff --git a/Modules/Get-EventLogsMetadata.psm1 b/Modules/Get-EventLogsMetadata.psm1 index bbd37fc..f72c3f6 100644 --- a/Modules/Get-EventLogsMetadata.psm1 +++ b/Modules/Get-EventLogsMetadata.psm1 @@ -27,7 +27,7 @@ function Get-EventLogsMetadata { } .NOTES - Updated: 2023-08-18 + Updated: 2024-06-03 Contributing Authors: Anthony Phipps, Jack Smith @@ -62,7 +62,7 @@ function Get-EventLogsMetadata { begin{ - $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ") + $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ") Write-Information -InformationAction Continue -MessageData ("Started Get-EventLogsMetadata at {0}" -f $DateScanned) $stopwatch = New-Object System.Diagnostics.Stopwatch @@ -89,6 +89,6 @@ function Get-EventLogsMetadata { $elapsed = $stopwatch.Elapsed Write-Verbose ("Total time elapsed: {0}" -f $elapsed) - Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ")) + Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ")) } } \ No newline at end of file diff --git a/Modules/Get-EventsLoginFailures.psm1 b/Modules/Get-EventsLoginFailures.psm1 index 3f52351..d09c239 100644 --- a/Modules/Get-EventsLoginFailures.psm1 +++ b/Modules/Get-EventsLoginFailures.psm1 @@ -29,7 +29,7 @@ function Get-EventsLoginFailures { } .NOTES - Updated: 2024-04-03 + Updated: 2024-06-03 Contributing Authors: Anthony Phipps, Jack Smith @@ -64,7 +64,7 @@ function Get-EventsLoginFailures { begin{ - $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ") + $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ") Write-Information -InformationAction Continue -MessageData ("Started Get-EventsLoginFailures at {0}" -f $DateScanned) $stopwatch = New-Object System.Diagnostics.Stopwatch @@ -106,6 +106,6 @@ function Get-EventsLoginFailures { $elapsed = $stopwatch.Elapsed Write-Verbose ("Total time elapsed: {0}" -f $elapsed) - Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ")) + Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ")) } } diff --git a/Modules/Get-EventsUserManagement.psm1 b/Modules/Get-EventsUserManagement.psm1 index bb979bb..b0965ee 100644 --- a/Modules/Get-EventsUserManagement.psm1 +++ b/Modules/Get-EventsUserManagement.psm1 @@ -34,7 +34,7 @@ function Get-EventsUserManagement { } .NOTES - Updated: 2023-08-18 + Updated: 2024-06-03 Contributing Authors: Anthony Phipps, Jack Smith @@ -69,7 +69,7 @@ function Get-EventsUserManagement { begin{ - $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ") + $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ") Write-Information -InformationAction Continue -MessageData ("Started Get-EventsUserManagement at {0}" -f $DateScanned) $stopwatch = New-Object System.Diagnostics.Stopwatch @@ -183,6 +183,6 @@ function Get-EventsUserManagement { $elapsed = $stopwatch.Elapsed Write-Verbose ("Total time elapsed: {0}" -f $elapsed) - Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ")) + Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ")) } } diff --git a/Modules/Get-Hardware.psm1 b/Modules/Get-Hardware.psm1 index 8288839..e0a4409 100644 --- a/Modules/Get-Hardware.psm1 +++ b/Modules/Get-Hardware.psm1 @@ -23,7 +23,7 @@ } .NOTES - Updated: 2023-08-18 + Updated: 2024-06-03 Contributing Authors: Jeremy Arnold @@ -53,7 +53,7 @@ begin{ - $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ") + $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ") Write-Information -InformationAction Continue -MessageData ("Started Get-Hardware at {0}" -f $DateScanned) $stopwatch = New-Object System.Diagnostics.Stopwatch @@ -78,6 +78,6 @@ $elapsed = $stopwatch.Elapsed Write-Verbose ("Total time elapsed: {0}" -f $elapsed) - Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ")) + Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ")) } } \ No newline at end of file diff --git a/Modules/Get-Hosts.psm1 b/Modules/Get-Hosts.psm1 index 0030b20..678b225 100644 --- a/Modules/Get-Hosts.psm1 +++ b/Modules/Get-Hosts.psm1 @@ -23,7 +23,7 @@ function Get-Hosts { } .NOTES - Updated: 2023-08-18 + Updated: 2024-06-03 Contributing Authors: Anthony Phipps @@ -52,7 +52,7 @@ function Get-Hosts { begin{ - $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ") + $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ") Write-Information -InformationAction Continue -MessageData ("Started Get-Hosts at {0}" -f $DateScanned) $stopwatch = New-Object System.Diagnostics.Stopwatch @@ -106,6 +106,6 @@ function Get-Hosts { $elapsed = $stopwatch.Elapsed Write-Verbose ("Total time elapsed: {0}" -f $elapsed) - Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ")) + Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ")) } } \ No newline at end of file diff --git a/Modules/Get-Hotfixes.psm1 b/Modules/Get-Hotfixes.psm1 index 862a171..c4483e8 100644 --- a/Modules/Get-Hotfixes.psm1 +++ b/Modules/Get-Hotfixes.psm1 @@ -23,7 +23,7 @@ function Get-Hotfixes { } .NOTES - Updated: 2024-03-27 + Updated: 2024-06-03 Contributing Authors: Anthony Phipps @@ -52,7 +52,7 @@ function Get-Hotfixes { begin{ - $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ") + $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ") Write-Information -InformationAction Continue -MessageData ("Started Get-Hotfixes at {0}" -f $DateScanned) $stopwatch = New-Object System.Diagnostics.Stopwatch @@ -103,6 +103,6 @@ function Get-Hotfixes { $elapsed = $stopwatch.Elapsed Write-Verbose ("Total time elapsed: {0}" -f $elapsed) - Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ")) + Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ")) } } diff --git a/Modules/Get-LocalGroups.psm1 b/Modules/Get-LocalGroups.psm1 index 0baf073..7663a20 100644 --- a/Modules/Get-LocalGroups.psm1 +++ b/Modules/Get-LocalGroups.psm1 @@ -26,7 +26,7 @@ function Get-LocalGroups { } .NOTES - Updated: 2023-08-18 + Updated: 2024-06-03 Contributing Authors: Anthony Phipps @@ -56,7 +56,7 @@ function Get-LocalGroups { begin{ - $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ") + $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ") Write-Information -InformationAction Continue -MessageData ("Started Get-LocalGroups at {0}" -f $DateScanned) $stopwatch = New-Object System.Diagnostics.Stopwatch @@ -81,6 +81,6 @@ function Get-LocalGroups { $elapsed = $stopwatch.Elapsed Write-Verbose ("Total time elapsed: {0}" -f $elapsed) - Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ")) + Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ")) } } \ No newline at end of file diff --git a/Modules/Get-LocalUsers.psm1 b/Modules/Get-LocalUsers.psm1 index f812273..a806f09 100644 --- a/Modules/Get-LocalUsers.psm1 +++ b/Modules/Get-LocalUsers.psm1 @@ -27,7 +27,7 @@ function Get-LocalUsers { } .NOTES - Updated: 2023-08-18 + Updated: 2024-06-03 Contributing Authors: Anthony Phipps @@ -57,7 +57,7 @@ function Get-LocalUsers { begin{ - $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ") + $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ") Write-Information -InformationAction Continue -MessageData ("Started Get-LocalUsers at {0}" -f $DateScanned) $stopwatch = New-Object System.Diagnostics.Stopwatch @@ -86,6 +86,6 @@ function Get-LocalUsers { $elapsed = $stopwatch.Elapsed Write-Verbose ("Total time elapsed: {0}" -f $elapsed) - Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ")) + Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ")) } } diff --git a/Modules/Get-MAC.psm1 b/Modules/Get-MAC.psm1 index da3ab40..6f951b8 100644 --- a/Modules/Get-MAC.psm1 +++ b/Modules/Get-MAC.psm1 @@ -30,7 +30,7 @@ function Get-MAC { } .NOTES - Updated: 2023-08-18 + Updated: 2024-06-03 Contributing Authors: Anthony Phipps @@ -64,7 +64,7 @@ function Get-MAC { begin{ - $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ") + $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ") Write-Information -InformationAction Continue -MessageData ("Started Get-MAC at {0}" -f $DateScanned) $stopwatch = New-Object System.Diagnostics.Stopwatch @@ -105,6 +105,6 @@ function Get-MAC { $elapsed = $stopwatch.Elapsed Write-Verbose ("Total time elapsed: {0}" -f $elapsed) - Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ")) + Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ")) } } \ No newline at end of file diff --git a/Modules/Get-NetAdapters.psm1 b/Modules/Get-NetAdapters.psm1 index 5f2e408..690e1b3 100644 --- a/Modules/Get-NetAdapters.psm1 +++ b/Modules/Get-NetAdapters.psm1 @@ -23,7 +23,7 @@ function Get-NetAdapters { } .NOTES - Updated: 2024-03-27 + Updated: 2024-06-03 Contributing Authors: Jeremy Arnold @@ -53,7 +53,7 @@ function Get-NetAdapters { begin{ - $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ") + $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ") Write-Information -InformationAction Continue -MessageData ("Started Get-NetAdapters at {0}" -f $DateScanned) $stopwatch = New-Object System.Diagnostics.Stopwatch @@ -95,6 +95,6 @@ function Get-NetAdapters { $elapsed = $stopwatch.Elapsed Write-Verbose ("Total time elapsed: {0}" -f $elapsed) - Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ")) + Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ")) } } diff --git a/Modules/Get-NetRoutes.psm1 b/Modules/Get-NetRoutes.psm1 index 2160b6c..dc6ffca 100644 --- a/Modules/Get-NetRoutes.psm1 +++ b/Modules/Get-NetRoutes.psm1 @@ -23,7 +23,7 @@ } .NOTES - Updated: 2023-08-18 + Updated: 2024-06-03 Contributing Authors: Jeremy Arnold @@ -53,7 +53,7 @@ begin{ - $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ") + $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ") Write-Information -InformationAction Continue -MessageData ("Started Get-NetRoutes at {0}" -f $DateScanned) $stopwatch = New-Object System.Diagnostics.Stopwatch @@ -91,6 +91,6 @@ $elapsed = $stopwatch.Elapsed Write-Verbose ("Total time elapsed: {0}" -f $elapsed) - Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ")) + Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ")) } } \ No newline at end of file diff --git a/Modules/Get-Processes.psm1 b/Modules/Get-Processes.psm1 index a2ea22f..dcf7246 100644 --- a/Modules/Get-Processes.psm1 +++ b/Modules/Get-Processes.psm1 @@ -26,7 +26,7 @@ function Get-Processes { } .NOTES - Updated: 2023-08-18 + Updated: 2024-06-03 Contributing Authors: Anthony Phipps @@ -56,7 +56,7 @@ function Get-Processes { begin{ - $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ") + $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ") Write-Information -InformationAction Continue -MessageData ("Started Get-Processes at {0}" -f $DateScanned) $stopwatch = New-Object System.Diagnostics.Stopwatch @@ -100,7 +100,7 @@ function Get-Processes { $elapsed = $stopwatch.Elapsed Write-Verbose ("Total time elapsed: {0}" -f $elapsed) - Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ")) + Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ")) } } diff --git a/Modules/Get-RSOP.psm1 b/Modules/Get-RSOP.psm1 index 54db764..4bfcdc4 100644 --- a/Modules/Get-RSOP.psm1 +++ b/Modules/Get-RSOP.psm1 @@ -24,7 +24,7 @@ function Get-RSOP { } .NOTES - Updated: 2024-03-27 + Updated: 2024-06-03 Contributing Authors: Anthony Phipps @@ -54,7 +54,7 @@ function Get-RSOP { begin{ - $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ") + $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ") Write-Information -InformationAction Continue -MessageData ("Started Get-RSOP at {0}" -f $DateScanned) $stopwatch = New-Object System.Diagnostics.Stopwatch @@ -91,6 +91,6 @@ function Get-RSOP { Write-Verbose ("Started at {0}" -f $DateScanned) Write-Verbose ("Total time elapsed: {0}" -f $elapsed) - Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ")) + Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ")) } } diff --git a/Modules/Get-RecycleBin.psm1 b/Modules/Get-RecycleBin.psm1 index e0c1233..6c2ab66 100644 --- a/Modules/Get-RecycleBin.psm1 +++ b/Modules/Get-RecycleBin.psm1 @@ -23,7 +23,7 @@ function Get-RecycleBin { } .NOTES - Updated: 2023-08-18 + Updated: 2024-06-03 Contributing Authors: Anthony Phipps @@ -52,7 +52,7 @@ function Get-RecycleBin { begin{ - $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ") + $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ") Write-Information -InformationAction Continue -MessageData ("Started Get-RecyleBin at {0}" -f $DateScanned) $stopwatch = New-Object System.Diagnostics.Stopwatch @@ -78,6 +78,6 @@ function Get-RecycleBin { $elapsed = $stopwatch.Elapsed Write-Verbose ("Total time elapsed: {0}" -f $elapsed) - Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ")) + Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ")) } } \ No newline at end of file diff --git a/Modules/Get-Registry.psm1 b/Modules/Get-Registry.psm1 index 66fc39c..3c2213e 100644 --- a/Modules/Get-Registry.psm1 +++ b/Modules/Get-Registry.psm1 @@ -23,7 +23,7 @@ function Get-Registry { } .NOTES - Updated: 2024-04-03 + Updated: 2024-06-03 Contributing Authors: Anthony Phipps @@ -57,7 +57,7 @@ function Get-Registry { begin{ - $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ") + $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ") Write-Information -InformationAction Continue -MessageData ("Started Get-Registry at {0}" -f $DateScanned) $stopwatch = New-Object System.Diagnostics.Stopwatch @@ -224,6 +224,6 @@ function Get-Registry { $elapsed = $stopwatch.Elapsed Write-Verbose ("Total time elapsed: {0}" -f $elapsed) - Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ")) + Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ")) } } diff --git a/Modules/Get-RegistryMRU.psm1 b/Modules/Get-RegistryMRU.psm1 index 6f911d5..ec10378 100644 --- a/Modules/Get-RegistryMRU.psm1 +++ b/Modules/Get-RegistryMRU.psm1 @@ -23,7 +23,7 @@ function Get-RegistryMRU { } .NOTES - Updated: 2023-08-18 + Updated: 2024-06-03 Contributing Authors: Anthony Phipps @@ -55,7 +55,7 @@ function Get-RegistryMRU { begin{ - $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ") + $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ") Write-Information -InformationAction Continue -MessageData ("Started Get-RegistryMRU at {0}" -f $DateScanned) $stopwatch = New-Object System.Diagnostics.Stopwatch @@ -199,6 +199,6 @@ function Get-RegistryMRU { $elapsed = $stopwatch.Elapsed Write-Verbose ("Total time elapsed: {0}" -f $elapsed) - Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ")) + Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ")) } } diff --git a/Modules/Get-RegistryPersistence.psm1 b/Modules/Get-RegistryPersistence.psm1 index 9db8f90..cb77c21 100644 --- a/Modules/Get-RegistryPersistence.psm1 +++ b/Modules/Get-RegistryPersistence.psm1 @@ -23,7 +23,7 @@ function Get-RegistryPersistence { } .NOTES - Updated: 2023-12-04 + Updated: 2024-06-03 Contributing Authors: Anthony Phipps @@ -57,7 +57,7 @@ function Get-RegistryPersistence { begin{ - $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ") + $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ") Write-Information -InformationAction Continue -MessageData ("Started Get-RegistryPersistence at {0}" -f $DateScanned) $stopwatch = New-Object System.Diagnostics.Stopwatch @@ -277,6 +277,6 @@ function Get-RegistryPersistence { $elapsed = $stopwatch.Elapsed Write-Verbose ("Total time elapsed: {0}" -f $elapsed) - Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ")) + Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ")) } } diff --git a/Modules/Get-ScheduledTasks.psm1 b/Modules/Get-ScheduledTasks.psm1 index ca98ef0..ee339bf 100644 --- a/Modules/Get-ScheduledTasks.psm1 +++ b/Modules/Get-ScheduledTasks.psm1 @@ -25,7 +25,7 @@ function Get-ScheduledTasks { } .NOTES - Updated: 2023-08-18 + Updated: 2024-06-03 Contributing Authors: Anthony Phipps @@ -55,7 +55,7 @@ function Get-ScheduledTasks { begin{ - $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ") + $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ") Write-Information -InformationAction Continue -MessageData ("Started Get-ScheduledTasks at {0}" -f $DateScanned) $stopwatch = New-Object System.Diagnostics.Stopwatch @@ -112,6 +112,6 @@ function Get-ScheduledTasks { $elapsed = $stopwatch.Elapsed Write-Verbose ("Total time elapsed: {0}" -f $elapsed) - Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ")) + Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ")) } } \ No newline at end of file diff --git a/Modules/Get-Services.psm1 b/Modules/Get-Services.psm1 index 5e3b984..ffe662a 100644 --- a/Modules/Get-Services.psm1 +++ b/Modules/Get-Services.psm1 @@ -27,7 +27,7 @@ function Get-Services { } .NOTES - Updated: 2023-08-18 + Updated: 2024-06-03 Contributing Authors: Anthony Phipps @@ -57,7 +57,7 @@ function Get-Services { begin{ - $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ") + $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ") Write-Information -InformationAction Continue -MessageData ("Started Get-Services at {0}" -f $DateScanned) $stopwatch = New-Object System.Diagnostics.Stopwatch @@ -86,6 +86,6 @@ function Get-Services { $elapsed = $stopwatch.Elapsed Write-Verbose ("Total time elapsed: {0}" -f $elapsed) - Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ")) + Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ")) } } \ No newline at end of file diff --git a/Modules/Get-Sessions.psm1 b/Modules/Get-Sessions.psm1 index ad1dc16..d83189f 100644 --- a/Modules/Get-Sessions.psm1 +++ b/Modules/Get-Sessions.psm1 @@ -23,7 +23,7 @@ function Get-Sessions { } .NOTES - Updated: 2023-12-04 + Updated: 2024-06-03 Contributing Authors: Anthony Phipps @@ -52,7 +52,7 @@ function Get-Sessions { begin{ - $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ") + $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ") Write-Information -InformationAction Continue -MessageData ("Started Get-Sessions at {0}" -f $DateScanned) $stopwatch = New-Object System.Diagnostics.Stopwatch @@ -105,6 +105,6 @@ function Get-Sessions { $elapsed = $stopwatch.Elapsed Write-Verbose ("Total time elapsed: {0}" -f $elapsed) - Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ")) + Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ")) } } diff --git a/Modules/Get-Shares.psm1 b/Modules/Get-Shares.psm1 index 2c274e8..394e3cd 100644 --- a/Modules/Get-Shares.psm1 +++ b/Modules/Get-Shares.psm1 @@ -23,7 +23,7 @@ function Get-Shares { } .NOTES - Updated: 2023-09-25 + Updated: 2024-06-03 Contributing Authors: Anthony Phipps @@ -52,7 +52,7 @@ function Get-Shares { begin{ - $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ") + $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ") Write-Information -InformationAction Continue -MessageData ("Started Get-Shares at {0}" -f $DateScanned) $stopwatch = New-Object System.Diagnostics.Stopwatch @@ -137,6 +137,6 @@ function Get-Shares { $elapsed = $stopwatch.Elapsed Write-Verbose ("Total time elapsed: {0}" -f $elapsed) - Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ")) + Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ")) } } diff --git a/Modules/Get-Software.psm1 b/Modules/Get-Software.psm1 index 216c5a1..0d2a3ce 100644 --- a/Modules/Get-Software.psm1 +++ b/Modules/Get-Software.psm1 @@ -23,7 +23,7 @@ } .NOTES - Updated: 2024-05-07 + Updated: 2024-06-03 Contributing Authors: Anthony Phipps @@ -52,7 +52,7 @@ begin{ - $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ") + $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ") Write-Information -InformationAction Continue -MessageData ("Started Get-Software at {0}" -f $DateScanned) $stopwatch = New-Object System.Diagnostics.Stopwatch @@ -122,6 +122,6 @@ $elapsed = $stopwatch.Elapsed Write-Verbose ("Total time elapsed: {0}" -f $elapsed) - Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ")) + Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ")) } } diff --git a/Modules/Get-Strings.psm1 b/Modules/Get-Strings.psm1 index a8d7e71..5c01115 100644 --- a/Modules/Get-Strings.psm1 +++ b/Modules/Get-Strings.psm1 @@ -29,7 +29,7 @@ } .NOTES - Updated: 2023-08-18 + Updated: 2024-06-03 Contributing Authors: Anthony Phipps @@ -65,7 +65,7 @@ begin{ - $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ") + $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ") Write-Information -InformationAction Continue -MessageData ("Started Get-Strings at {0}" -f $DateScanned) $stopwatch = New-Object System.Diagnostics.Stopwatch @@ -141,6 +141,6 @@ $elapsed = $stopwatch.Elapsed Write-Verbose ("Total time elapsed: {0}" -f $elapsed) - Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ")) + Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ")) } } \ No newline at end of file diff --git a/Modules/Get-TPMDetails.psm1 b/Modules/Get-TPMDetails.psm1 index 457dff2..272978a 100644 --- a/Modules/Get-TPMDetails.psm1 +++ b/Modules/Get-TPMDetails.psm1 @@ -23,7 +23,7 @@ function Get-TPMDetails{ } .NOTES - Updated: 2023-08-18 + Updated: 2024-06-03 Contributing Authors: Anthony Phipps @@ -54,7 +54,7 @@ function Get-TPMDetails{ begin{ - $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ") + $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ") Write-Information -InformationAction Continue -MessageData ("Started Get-TPMDetails at {0}" -f $DateScanned) $stopwatch = New-Object System.Diagnostics.Stopwatch @@ -115,6 +115,6 @@ function Get-TPMDetails{ $elapsed = $stopwatch.Elapsed Write-Verbose ("Total time elapsed: {0}" -f $elapsed) - Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ")) + Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ")) } } diff --git a/Modules/Get-USBHistory.psm1 b/Modules/Get-USBHistory.psm1 index ec720dc..d6f6150 100644 --- a/Modules/Get-USBHistory.psm1 +++ b/Modules/Get-USBHistory.psm1 @@ -27,7 +27,7 @@ function Get-USBHistory { } .NOTES - Updated: 2023-11-01 + Updated: 2024-06-03 Contributing Authors: Anthony Phipps, Jack Smith @@ -57,7 +57,7 @@ function Get-USBHistory { begin{ - $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ") + $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ") Write-Information -InformationAction Continue -MessageData ("Started Get-USBHistory at {0}" -f $DateScanned) $stopwatch = New-Object System.Diagnostics.Stopwatch @@ -103,6 +103,6 @@ function Get-USBHistory { $elapsed = $stopwatch.Elapsed Write-Verbose ("Total time elapsed: {0}" -f $elapsed) - Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ")) + Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ")) } } \ No newline at end of file diff --git a/Modules/Get-WindowsFirewall.psm1 b/Modules/Get-WindowsFirewall.psm1 index 55dd11a..b073c22 100644 --- a/Modules/Get-WindowsFirewall.psm1 +++ b/Modules/Get-WindowsFirewall.psm1 @@ -23,7 +23,7 @@ Function Get-WindowsFirewall { } .NOTES - Updated: 2024-03-11 + Updated: 2024-06-03 Contributing Authors: Anthony Phipps, Jack Smith @@ -53,7 +53,7 @@ Function Get-WindowsFirewall { begin{ - $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ") + $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ") Write-Information -InformationAction Continue -MessageData ("Started Get-WindowsFirewall at {0}" -f $DateScanned) $stopwatch = New-Object System.Diagnostics.Stopwatch @@ -125,6 +125,6 @@ Function Get-WindowsFirewall { $elapsed = $stopwatch.Elapsed Write-Verbose ("Total time elapsed: {0}" -f $elapsed) - Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ")) + Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ")) } } diff --git a/Modules/Invoke-Meerkat.psm1 b/Modules/Invoke-Meerkat.psm1 index fdab666..140700b 100644 --- a/Modules/Invoke-Meerkat.psm1 +++ b/Modules/Invoke-Meerkat.psm1 @@ -44,7 +44,7 @@ function Invoke-Meerkat { Invoke-Meerkat -Quick -Output .\Results\ .NOTES - Updated: 2024-03-29 + Updated: 2024-06-03 Contributing Authors: Anthony Phipps @@ -162,7 +162,7 @@ function Invoke-Meerkat { Where-Object { $_ -notin "EventCounts", "DomainInfo", "MAC", "Strings" } } - $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ") + $DateScanned = ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ") $DateScannedFolder = ((Get-Date).ToUniversalTime()).ToString("yyyyMMdd-hhmmssZ") Write-Information -InformationAction Continue -MessageData ("Started {0} at {1}" -f $MyInvocation.MyCommand.Name, $DateScanned) @@ -247,6 +247,6 @@ function Invoke-Meerkat { Write-Verbose ("Started at {0}" -f $DateScanned) Write-Verbose ("Total Systems: {0} `t Total time elapsed: {1}" -f $total, $elapsed) - Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ")) + Write-Verbose ("Ended at {0}" -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ")) } } diff --git a/Utilities/PoshRSJob-Wrapper.ps1 b/Utilities/PoshRSJob-Wrapper.ps1 index f71821d..8934205 100644 --- a/Utilities/PoshRSJob-Wrapper.ps1 +++ b/Utilities/PoshRSJob-Wrapper.ps1 @@ -21,7 +21,7 @@ While (Get-RSJob) { # So long as there is a job remaining $RunningJobs = Get-RSJob -State Running $NotStartedJobs = Get-RSJob -State NotStarted - Write-Host -Object ("{0} `t {1} completed jobs `t {2} active jobs `t {3} not started." -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd hh:mm:ssZ"), $CompletedJobs.Count, $RunningJobs.Count, $NotStartedJobs.Count) + Write-Host -Object ("{0} `t {1} completed jobs `t {2} active jobs `t {3} not started." -f ((Get-Date).ToUniversalTime()).ToString("yyyy-MM-dd HH:mm:ssZ"), $CompletedJobs.Count, $RunningJobs.Count, $NotStartedJobs.Count) ForEach ($DoneJob in $CompletedJobs) {