Microsoft Exchange Server
TMA-EXCHANGE-3.10
Ensure 'Require password' is set to 'True'
YüksekDüzey 1Otomatikexchange
Açıklama
This policy setting determines if a password is required for the device. PasswordEnabled must be True. Prints the number of mobile device mailbox policies that do not comply (expected 0). Run on a Mailbox server; every mobile device mailbox policy is checked. Run from an Exchange Management Shell or after `Add-PSSnapin Microsoft.Exchange.Management.PowerShell.SnapIn`; the audit loads the snap-in itself when Get-ExchangeServer is missing and fails if it cannot.
Nasıl denetlenir
Denetim yöntemi: Kabuk komutu
shell
$ErrorActionPreference = 'Stop'; if (-not (Get-Command Get-ExchangeServer -ErrorAction SilentlyContinue)) { Add-PSSnapin Microsoft.Exchange.Management.PowerShell.SnapIn -ErrorAction Stop }; if (-not (Get-Command Get-ExchangeServer -ErrorAction SilentlyContinue)) { throw 'Exchange Management Shell cmdlets are not available' }; $ts = { param($v) $s = "$v"; if (-not $s -or $s -eq 'Unlimited') { $null } else { [timespan]$s } }; $num = { param($v) $s = "$v"; if ($s -match '^\d+$') { [int64]$s } else { $null } }; $bad = @(Get-MobileDeviceMailboxPolicy -ErrorAction Stop | Where-Object { $_.PasswordEnabled -ne $true }); $bad.Count- Beklenen çıktı
0
Nasıl düzeltilir
Düzeltme yöntemi: Kılavuz veya altyapı yaması
Set-MobileDeviceMailboxPolicy '<Profile>' -PasswordEnabled $true
Özellikler
- İşletim sistemleri
- Herhangi biri
- Etiketler
- exchangemobile
- Referans
- CIS Microsoft Exchange Server 2019 Benchmark v1.0.1 - 3.10 Ensure 'Require password' is set to 'True'
Bu ana makineyi denetle
Bunu denetleme izniniz olan bir makinede çalıştırın. Tarama salt okunurdur.
shell
tmaegis scan --target exchange