Public/Get-NSPConditionalAccessHomeCountryGroup.ps1
|
function Get-NSPConditionalAccessHomeCountryGroup { <# .SYNOPSIS Lists permanent home country groups and their generated policy IDs, offline. .EXAMPLE Get-NSPConditionalAccessHomeCountryGroup -TenantProfile $profilePath | Format-Table #> [CmdletBinding()] param([Parameter(Mandatory)]$TenantProfile) if ($TenantProfile -is [string]) { $TenantProfile = Get-Content -LiteralPath $TenantProfile -Raw | ConvertFrom-Json } Get-NSPConditionalAccessHomeCountryEntry $TenantProfile } |