PowerShell commands 1,437

Clear
CommandWorkloadWhat it does
Import-ExchangeCertificate Exchange Online Import certificates on Exchange servers. You use this cmdlet to install certificates that were exported from other servers, and to...
Import-FilePlanProperty Exchange Online For more information, see Security & Compliance PowerShell. Use the Import-FilePlanProperty cmdlet to import file plan properties.
Import-JournalRuleCollection Exchange Online Import journal rules from an XML file. You can import a journal rule collection you previously exported as a backup, or import rules you...
Import-RecipientDataProperty Exchange Online Add a picture or a spoken name audio file to a mailbox or mail contact. **Note**: Profile cards across Microsoft apps and services don't...
Import-TransportRuleCollection Exchange Online Import a transport rule collection. You can import a rule collection you previously exported as a backup, or import rules that you've...
Import-UMPrompt Exchange Online Copy or upload a custom audio file to be used by Unified Messaging (UM) dial plans and auto attendants.
Install-TransportAgent Exchange Online Register transport agents on Exchange servers.
Install-UnifiedCompliancePrerequisite Exchange Online For more information, see Security & Compliance PowerShell. Use the Install-UnifiedCompliancePrerequisite cmdlet to view, create, or...
Invoke-ChangeMeetingOrganizer Exchange Online Change the organizer of an existing meeting or meeting series.
Invoke-ComplianceSearchActionStep Exchange Online This cmdlet is reserved for internal Microsoft use.
Invoke-ComplianceSecurityFilterAction Exchange Online For more information, see Security & Compliance PowerShell. Use the Invoke-ComplianceSecurityFilterAction cmdlet to view and set...
Invoke-HoldRemovalAction Exchange Online For more information, see Security & Compliance PowerShell. Use the Invoke-HoldRemovalAction cmdlet to view and remove holds on...
Invoke-MonitoringProbe Exchange Online Run a Managed Availability probe on a selected server. This cmdlet can't be used to run every Managed Availability probe. Only some...
Invoke-ProvisioningAcceptedDomainDiagnostic Exchange Online Validate and repair accepted domain configurations in cloud-based organizations.
Invoke-ProvisioningCompanyObjectDiagnostic Exchange Online Validate and fix core Microsoft 365 tenant information and service plan configuration in cloud-based organizations.
Invoke-ProvisioningRecipientDiagnostic Exchange Online Identify and repair recipient provisioning failures in cloud-based organizations. Recipients include mailboxes, mail contacts, mail...
Invoke-ProvisioningVerifyRbacDiagnostic Exchange Online Analyze and repair role-based access control (RBAC) configurations in cloud-based organizations.
Mount-Database Exchange Online Mount mailbox databases on Exchange servers. The cmdlet mounts the database only if the Microsoft Exchange Information Store service and...
Move-ActiveMailboxDatabase Exchange Online Perform a database or server switchover.
Move-AddressList Exchange Online Move an existing address list to a new container under the root address list.
Move-DatabasePath Exchange Online Set a new path to the location of a database on the specified Mailbox server and to move the related files to that location.
Move-OfflineAddressBook Exchange Online Designate a new server that's responsible for generating the offline address book (OAB) in Exchange Server 2010. This cmdlet isn't used...
New-AcceptedDomain Exchange Online Create an accepted domain in your organization. An accepted domain is any SMTP namespace for which an Exchange organization sends and...
New-ActiveSyncDeviceAccessRule Exchange Online Define the access levels for Exchange ActiveSync devices based on the identity of the device.
New-ActiveSyncMailboxPolicy Exchange Online Create a Microsoft Mobile Device mailbox policy object. **Note**: In Exchange 2013 or later, use the New-MobileDeviceMailboxPolicy...
New-ActiveSyncVirtualDirectory Exchange Online Create Exchange ActiveSync virtual directories that are used in Internet Information Services (IIS) on Microsoft Exchange servers.
New-AdaptiveScope Exchange Online For more information, see Security & Compliance PowerShell. Use the New-AdaptiveScope cmdlet to create adaptive scopes in your...
New-AddressBookPolicy Exchange Online Create an address book policy. Address book policies define the global address list (GAL), offline address book (OAB), room list, and...
New-AddressList Exchange Online Create address lists and apply them to recipients. In Exchange Online, To use this cmdlet, you need to add the Address Lists role to a...
New-AddressRewriteEntry Exchange Online This cmdlet is available or effective only on Edge Transport servers in on-premises Exchange. Use the New-AddressRewriteEntry cmdlet to...
New-AdminAuditLogSearch Exchange Online > [!NOTE] > This cmdlet has been deprecated in the cloud-based service. To access audit log data, use the Search-UnifiedAuditLog cmdlet....
New-AntiPhishPolicy Exchange Online Create antiphish policies in your cloud-based organization.
New-AntiPhishRule Exchange Online Create antiphish rules in your cloud-based organization.
New-App Exchange Online Install apps for Outlook.
New-ApplicationAccessPolicy Exchange Online > [!IMPORTANT] > App Access Policies are replaced by Role Based Access Control for Applications. To learn more, see Role Based Access...
New-AppRetentionCompliancePolicy Exchange Online For more information, see Security & Compliance PowerShell. Use the New-AppRetentionCompliancePolicy to create app retention compliance...
New-AppRetentionComplianceRule Exchange Online For more information, see Security & Compliance PowerShell. Use the New-AppRetentionComplianceRule to create app retention compliance rules.
New-ATPBuiltInProtectionRule Exchange Online **Note**: Don't use this cmdlet. This cmdlet is used by the system to create the one and only rule for the Built-in protection preset...
New-ATPProtectionPolicyRule Exchange Online Create rules for Microsoft Defender for Office 365 protections in preset security policies. The rules specify recipient conditions and...
New-AuthenticationPolicy Exchange Online Create authentication policies in your organization.
New-AuthRedirect Exchange Online Create OAuth redirection objects that are used for legacy Microsoft Exchange 2010 Client Access servers in your organization.
New-AuthServer Exchange Online Create an authorization server object in Microsoft Exchange and specify its AuthMetadataUrl. Exchange honors tokens issued by the...
New-AutodiscoverVirtualDirectory Exchange Online Create Autodiscover virtual directories that are used in Internet Information Services (IIS) on Microsoft Exchange servers.
New-AutoSensitivityLabelPolicy Exchange Online For more information, see Security & Compliance PowerShell. Use the New-AutoSensitivityLabelPolicy cmdlet to create auto-labeling...
New-AutoSensitivityLabelRule Exchange Online For more information, see Security & Compliance PowerShell. Use the New-AutoSensitivityLabelRule cmdlet to create auto-labeling rules...
New-AvailabilityConfig Exchange Online Create the availability configuration that specifies the Microsoft 365 organizations to exchange free/busy information with.
New-AvailabilityReportOutage Exchange Online Create an outage to add unrecorded issues to availability reporting.
New-CaseHoldPolicy Exchange Online For more information, see Security & Compliance PowerShell. Use the New-CaseHoldPolicy cmdlet to create new case hold policies in the...
New-CaseHoldRule Exchange Online For more information, see Security & Compliance PowerShell. Use the New-CaseHoldRule cmdlet to create new case hold rules in the...
New-ClassificationRuleCollection Exchange Online Import new classification rule collections into your organization. In tSecurity & Compliance PowerShell, use the...
New-ClientAccessArray Exchange Online Create an object that represents a load balanced array of Client Access servers within a single Active Directory site.
New-ClientAccessRule Exchange Online > [!NOTE] > Client access rules were deprecated for all Exchange Online organizations in September 2025. For more information, see...
New-ComplianceCase Exchange Online For more information, see Security & Compliance PowerShell. Use the New-ComplianceCase cmdlet to create eDiscovery cases in the...
New-ComplianceRetentionEvent Exchange Online For more information, see Security & Compliance PowerShell. Use the New-ComplianceRetentionEvent cmdlet to create compliance retention...
New-ComplianceRetentionEventType Exchange Online For more information, see Security & Compliance PowerShell. Use the New-ComplianceRetentionEventType cmdlet to create retention event...
New-ComplianceSearch Exchange Online Create compliance searches in Exchange Server 2016 or later and in the Microsoft Purview compliance portal. You use this cmdlet to...
New-ComplianceSearchAction Exchange Online Create actions for content searches in Exchange Server and in Microsoft Purview. **Note**: Several of the parameters on this cmdlet are...
New-ComplianceSecurityFilter Exchange Online This cmdlet is functional only in Security & Compliance PowerShell. For more information, see Security & Compliance PowerShell. Use the...
New-ComplianceTag Exchange Online For more information, see Security & Compliance PowerShell. Use the New-ComplianceTag cmdlet to create retention labels in the Microsoft...
New-DatabaseAvailabilityGroup Exchange Online Create a database availability group (DAG).