Private/Get-DateTimeOffsetNow.ps1

1
2
3
4
5
6
7
# This function only exists so that we can mock it in Pester tests
function Get-DateTimeOffsetNow {
    [CmdletBinding()]
    param()
    [System.DateTimeOffset]::Now
}