LocalAccountManagement.psm1
# Stole this... umm borrowed this from Pester :) if ($PSVersionTable.PSVersion.Major -ge 3) { $script:IgnoreErrorPreference = 'Ignore' } else { $script:IgnoreErrorPreference = 'SilentlyContinue' } $moduleRoot = Split-Path -Path $MyInvocation.MyCommand.Path "$moduleRoot\Functions\*.ps1" | Resolve-Path | Where-Object { -not ($_.ProviderPath.ToLower().Contains(".tests.")) } | ForEach-Object { . $_.ProviderPath } |