Skip to content

10 PowerShell Commands

redhook edited this page Apr 6, 2020 · 15 revisions

PowerShell Commands

List of PowerShell commands by themes.

You can type PS>get-help command -full view syntax.

Managing Users

  • Get-MFAUsers
  • Set-MFAUsers
  • Add-MFAUsers
  • Remove-MFAUsers
  • Enable-MFAUsers
  • Disable-MFAUsers
  • Import-MFAUsersCSV
  • Import-MFAUsersXML
  • Import-MFAUsersADDS

Managing Configuration

  • Register-MFASystem
  • Unregister-MFASystem
  • Enable-MFASystem
  • Disable-MFASystem
  • Set-MFAFirewallRules
  • Get-MFAFarmInformation
  • Import-MFASystemConfiguration
  • Export-MFASystemConfiguration

Managing ADFS Servers

  • Get-MFAComputers
  • Register-MFAComputer
  • Unregister-MFAComputer
  • Restart-MFAComputerServices

Managing Config Properties

  • Get-MFAConfig
  • Set-MFAConfig
  • Set-MFAThemeMode
  • Set-MFAPolicyTemplate

Managing Providers

  • Get-MFAProvider
  • Set-MFAProvider

Managing Storage

  • Get-MFAStore

  • Set-MFAStore

  • Set-MFAActiveDirectoryTemplate

  • New-MFADatabase

  • Upgrade-MFADatabase

  • New-MFASecretKeysDatabase

Managing Security

  • Get-MFASecurity
  • Set-MFASecurity
  • Set-MFAEncryptionVersion
  • Install-MFACertificate
  • Install-MFACertificateForADFS
  • Update-MFACertificatesAccessControlList
  • Clear-MFAOrphanedRSAKeyPairs

Configuration Cache Management

  • Refresh-MFAConfigurationCache
  • Update-MFAConfigurationCache
  • Clear-MFAConfigurationCache

MFA as Primary authentication method (Adfs 2019)

  • Set-MFAPrimaryAuthenticationStatus (adfsmfa must be removed from second factors)

Managing Threat Detection (Adfs 2019)

  • Register-MFAThreatDetectionSystem
  • Unregister-MFAThreatDetectionSystem
  • Update-MFAThreatDetectionData
Clone this wiki locally