PowerShell commands 2,427

CommandWorkloadWhat it does
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.
New-CsGroupPolicyAssignment Microsoft Teams This cmdlet is used to assign a policy to a security group or distribution list.
New-CsHybridTelephoneNumber Microsoft Teams This cmdlet adds a hybrid telephone number to the tenant.
New-CsInboundBlockedNumberPattern Microsoft Teams Adds a blocked number pattern to the tenant list.
New-CsInboundExemptNumberPattern Microsoft Teams This cmdlet lets you configure a new number pattern that is exempt from tenant call blocking.
New-CsMainlineAttendantAppointmentBookingFlow Microsoft Teams Creates new Mainline Attendant appointment booking flow
New-CsMainlineAttendantQuestionAnswerFlow Microsoft Teams Creates new Mainline Attendant question and answer (FAQ) flow
New-CsMainlineAttendantSpamDetectionTemplate Microsoft Teams The New-CsMainlineAttendantSpamDetectionTemplate cmdlet creates a new spam detection template.
New-CsOnlineApplicationInstance Microsoft Teams Creates an application instance in Microsoft Entra ID.
New-CsOnlineApplicationInstanceAssociation Microsoft Teams Associate either a single or multiple application instances with an application configuration, like auto attendant or call queue.
New-CsOnlineAudioConferencingRoutingPolicy Microsoft Teams This cmdlet creates a Online Audio Conferencing Routing Policy.
New-CsOnlineDateTimeRange Microsoft Teams Create a new date-time range.
New-CsOnlineDirectRoutingTelephoneNumberUploadOrder Microsoft Teams This cmdlet creates a request to upload Direct Routing telephone numbers to Microsoft Teams telephone number management inventory.
New-CsOnlineLisCivicAddress Microsoft Teams Create a civic address in the Location Information Service (LIS).