PowerShell commands 2,358

CommandWorkloadWhat it does
New-SPOSiteFileVersionExpirationReportJob SharePoint Online Generates a version storage usage report for a site collection. This report can be used to understand current version storage footprint...
New-SPOSiteGroup SharePoint Online Creates a new group in a SharePoint Online site collection.
New-SPOSiteManageVersionPolicyJob SharePoint Online Starts a background job to manage file versions and version history limits for all document libraries in the given site. > [!NOTE] >...
New-SPOSiteSharingReportJob SharePoint Online Creates a new sharing report job.
New-SPOTenantApplyFileVersionPolicyJob SharePoint Online Queues a job to apply the tenant-level file version policy across all sites. SharePoint Advanced Management license or Copilot license...
New-SupervisoryReviewPolicyV2 Exchange Online For more information, see Security & Compliance PowerShell. Use the New-SupervisoryReviewPolicyV2 cmdlet to create supervisory review...
New-SupervisoryReviewRule Exchange Online For more information, see Security & Compliance PowerShell. Use the New-SupervisoryReviewRule cmdlet to create supervisory review rules...
New-SweepRule Exchange Online Create Sweep rules in mailboxes. Sweep rules run at regular intervals to help keep your Inbox clean.
New-SyncMailPublicFolder Exchange Online The New-SyncMailPublicFolder cmdlet is used by the Import-MailPublicFoldersForMigration.ps1 and Sync-MailPublicFolders.ps1 scripts to...
New-SystemMessage Exchange Online Create custom system messages. System messages are delivery status notifications (also known as DSNs, non-delivery reports, NDRs or...
New-Team Microsoft Teams This cmdlet lets you provision a new Team for use in Microsoft Teams and will create an O365 Unified Group to back the team.
New-TeamChannel Microsoft Teams Add a new channel to a team.
New-TeamsApp Microsoft Teams Creates a new app in the Teams tenant app store.
New-TeamsProtectionPolicy Exchange Online Create Microsoft Teams protection policies. **Note**: If the policy already exists (the Get-TeamsProtectionPolicy cmdlet returns...
New-TeamsProtectionPolicyRule Exchange Online Create Microsoft Teams protection policy rules. **Note**: If the rule already exists (the Get-TeamsProtectionPolicyRule cmdlet returns...
New-TenantAllowBlockListItems Exchange Online Add entries to the Tenant Allow/Block List in the Microsoft Defender portal.
New-TenantAllowBlockListSpoofItems Exchange Online Create spoofed sender entries in the Tenant Allow/Block List.
New-ThrottlingPolicy Exchange Online Create a non-default user throttling policy.
New-TransportRule Exchange Online Create transport rules (mail flow rules) in your organization. **Note**: - The action of a rule without conditions or exceptions is...
New-UMAutoAttendant Exchange Online Create a Unified Messaging (UM) auto attendant.
New-UMCallAnsweringRule Exchange Online Create a call answering rule.
New-UMDialPlan Exchange Online Create a Unified Messaging (UM) dial plan to establish a link between UM IP gateways, UM hunt groups, and Mailbox servers to enable...
New-UMHuntGroup Exchange Online Create a Unified Messaging (UM) hunt group used to link incoming calls to a specific UM dial plan.
New-UMIPGateway Exchange Online Create a Unified Messaging (UM) IP gateway. A UM IP gateway is used to connect Unified Messaging servers to an IP gateway or a Session...
New-UMMailboxPolicy Exchange Online Create a Unified Messaging (UM) mailbox policy.
New-UnifiedAuditLogRetentionPolicy Exchange Online For more information, see Security & Compliance PowerShell. Use the New-UnifiedAuditLogRetentionPolicy cmdlet to create audit log...
New-UnifiedGroup Exchange Online Create Microsoft 365 Groups in your cloud-based organization. To add members, owners, and subscribers to Microsoft 365 Groups, use the...
New-WebServicesVirtualDirectory Exchange Online Create Exchange Web Services virtual directories that are used in Internet Information Services (IIS) on Microsoft Exchange servers. You...
New-X400AuthoritativeDomain Exchange Online Create and specify the X.400 authoritative domain for the organization. The X.400 authoritative domain defines the standard fields for...
Preview-QuarantineMessage Exchange Online Preview the contents of quarantined messages in your cloud-based organization. This cmdlet doesn't work on files that were quarantined...
Redirect-Message Exchange Online Drain the active messages from all the delivery queues on a Mailbox server, and transfer those messages to another Mailbox server.
Register-CsOnlineDialInConferencingServiceNumber Microsoft Teams The Register-CsOnlineDialInConferencingServiceNumber command allows you to assign any additional service number that you may have...
Register-SPODataEncryptionPolicy SharePoint Online Cmdlet to register customer encryption status for your geo tenant. For more information, see Controlling your data in Office 365 using...
Register-SPOHubSite SharePoint Online Enables the hub site feature on a site to make it a hub site. For more information visit SharePoint hub sites overview.
Release-QuarantineMessage Exchange Online Release messages from quarantine in your cloud-based organization. You can release messages to all original recipients, or to specific...
Remove-AcceptedDomain Exchange Online Remove an accepted domain. When you remove an accepted domain, the accepted domain object is deleted.
Remove-ActiveSyncDevice Exchange Online Remove mobile device partnerships that identify the devices that are configured to synchronize with user mailboxes. **Note**: In...
Remove-ActiveSyncDeviceAccessRule Exchange Online Remove any existing device access rule.
Remove-ActiveSyncDeviceClass Exchange Online Clean up the list of mobile devices synchronizing with Microsoft Exchange.
Remove-ActiveSyncMailboxPolicy Exchange Online Remove mobile device mailbox policies. **Note**: In Exchange 2013 or later, use the Remove-MobileDeviceMailboxPolicy cmdlet instead. If...
Remove-ActiveSyncVirtualDirectory Exchange Online Remove existing Exchange ActiveSync virtual directories from Internet Information Services (IIS) virtual directories on Exchange servers.
Remove-AdaptiveScope Exchange Online For more information, see Security & Compliance PowerShell. Use the Remove-AdaptiveScope cmdlet to remove adaptive scopes from your organization.
Remove-AddressBookPolicy Exchange Online Delete an address book policy. You can't remove the address book policy if it's still assigned to a user's mailbox. In Exchange Online,...
Remove-AddressList Exchange Online Remove existing address lists. In Exchange Online, To use this cmdlet, you need to add the Address Lists role to a role group (for...
Remove-AddressRewriteEntry Exchange Online This cmdlet is available or effective only on Edge Transport servers in on-premises Exchange. Use the Remove-AddressRewriteEntry cmdlet...
Remove-ADPermission Exchange Online Remove permissions from an Active Directory object.
Remove-AIGeneratedKnowledge Microsoft Teams The `Remove-AIGeneratedKnowledge` cmdlet is available only to Teams administrators and is designed to delete the AI-generated meeting...
Remove-AntiPhishPolicy Exchange Online Remove antiphish policies from your cloud-based organization.
Remove-AntiPhishRule Exchange Online Remove antiphish rules from your cloud-based organization.
Remove-App Exchange Online Uninstall an app.
Remove-ApplicationAccessPolicy Exchange Online Remove application access policies. These changes might take up to 30 minutes to go live.
Remove-AppRetentionCompliancePolicy Exchange Online For more information, see Security & Compliance PowerShell. Use the Remove-AppRetentionCompliancePolicy to remove app retention...
Remove-AppRetentionComplianceRule Exchange Online For more information, see Security & Compliance PowerShell. Use the Remove-AppRetentionComplianceRule to remove app retention compliance rules.
Remove-ATPProtectionPolicyRule Exchange Online Remove rules from Microsoft Defender for Office 365 protections in preset security policies. The rules specify recipient conditions and...
Remove-AttachmentFilterEntry Exchange Online This cmdlet is available or effective only on Edge Transport servers in on-premises Exchange. Use the Remove-AttachmentFilterEntry...
Remove-AuthenticationPolicy Exchange Online Remove authentication policies from your organization.
Remove-AuthRedirect Exchange Online Remove OAuth redirection objects that are used for legacy Microsoft Exchange 2010 Client Access servers in your organization.
Remove-AuthServer Exchange Online Remove an authorization server.
Remove-AutodiscoverVirtualDirectory Exchange Online Remove an existing Autodiscover virtual directory from Internet Information Services (IIS).
Remove-AutoSensitivityLabelPolicy Exchange Online For more information, see Security & Compliance PowerShell. Use the Remove-AutoSensitivityLabelPolicy cmdlet to remove auto-labeling...