PowerShell commands 327

Clear
CommandWorkloadWhat it does
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-CsAgent Microsoft Teams Create an AI Agent that can be associated with a Teams Phone Resource Account.
New-CsApplicationAccessPolicy Microsoft Teams Creates a new application access policy. Application access policy contains a list of application (client) IDs. When granted to a user,...
New-CsAutoAttendant Microsoft Teams Create a new Auto Attendant (AA).
New-CsAutoAttendantCallableEntity Microsoft Teams The New-CsAutoAttendantCallableEntity cmdlet lets you create a callable entity.
New-CsAutoAttendantCallFlow Microsoft Teams Create a new call flow.
New-CsAutoAttendantCallHandlingAssociation Microsoft Teams Create a new call handling association.
New-CsAutoAttendantDialScope Microsoft Teams Use New-CsAutoAttendantDialScope cmdlet to create dial-scopes for use with Auto Attendant (AA) service.
New-CsAutoAttendantMenu Microsoft Teams The New-CsAutoAttendantMenu cmdlet creates a new menu.
New-CsAutoAttendantMenuOption Microsoft Teams Create a new menu option.
New-CsAutoAttendantPrompt Microsoft Teams Create a new prompt.
New-CsAutoRecordingTemplate Microsoft Teams Create an Auto Recording template that can be assigned to a call queue.
New-CsBatchPolicyAssignmentOperation Microsoft Teams This cmdlet is used to assign or unassign a policy to a batch of users.
New-CsBatchPolicyPackageAssignmentOperation Microsoft Teams This cmdlet submits an operation that applies a policy package to a batch of users in a tenant. A batch may contain up to 5000 users.
New-CsBatchTeamsDeployment Microsoft Teams This cmdlet is used to run a batch deployment orchestration.
New-CsCallingLineIdentity Microsoft Teams Create a new Caller ID policy for your organization.
New-CsCallQueue Microsoft Teams Creates new Call Queue in your Teams organization.
New-CsCloudCallDataConnection Microsoft Teams This cmdlet creates an online call data connection.
New-CsComplianceRecordingForCallQueueTemplate Microsoft Teams Creates a Compliance Recording for Call Queues template.
New-CsCustomPolicyPackage Microsoft Teams This cmdlet creates a custom policy package.
New-CsEdgeAllowAllKnownDomains Microsoft Teams Enables Skype for Business Online federation with all domains except for those domains included on the blocked domains list.
New-CsEdgeAllowList Microsoft Teams Enables administrators to specify the domains that their users will be allowed to communicate with.
New-CsEdgeDomainPattern Microsoft Teams Used to specify a domain that will be added or removed from the set of domains enabled for federation or the set of domains disabled for...
New-CsExternalAccessPolicy Microsoft Teams Enables you to create a new external access policy.