Skip to content

Commit 65bdff3

Browse files
committed
Merge branch 'main' into EWSCortana-chrisda
2 parents ebcf245 + 1a11232 commit 65bdff3

File tree

863 files changed

+7449
-8502
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

863 files changed

+7449
-8502
lines changed

.openpublishing.publish.config.json

Lines changed: 4 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,6 @@
4545
"build_entry_point": "docs",
4646
"template_folder": "_themes",
4747
"version": 0,
48-
"customized_tasks": {
49-
"docset_prebuild": [
50-
"_dependentPackages/MAML2Yaml/tools/Run.ps1"
51-
]
52-
},
5348
"monikerPath": [
5449
"mapping/monikerMapping.json"
5550
]
@@ -71,15 +66,7 @@
7166
},
7267
"build_entry_point": "docs",
7368
"template_folder": "_themes",
74-
"version": 0,
75-
"customized_tasks": {
76-
"docset_prebuild": [
77-
"_dependentPackages/MAML2Yaml/tools/Run.ps1"
78-
]
79-
},
80-
"monikerPath": [
81-
"mapping/monikerMapping.json"
82-
]
69+
"version": 0
8370
},
8471
{
8572
"docset_name": "skype-ps",
@@ -125,15 +112,7 @@
125112
},
126113
"build_entry_point": "docs",
127114
"template_folder": "_themes",
128-
"version": 0,
129-
"customized_tasks": {
130-
"docset_prebuild": [
131-
"_dependentPackages/MAML2Yaml/tools/Run.ps1"
132-
]
133-
},
134-
"monikerPath": [
135-
"mapping/monikerMapping.json"
136-
]
115+
"version": 0
137116
},
138117
{
139118
"docset_name": "teams-ps",
@@ -179,15 +158,7 @@
179158
},
180159
"build_entry_point": "docs",
181160
"template_folder": "_themes",
182-
"version": 0,
183-
"customized_tasks": {
184-
"docset_prebuild": [
185-
"_dependentPackages/MAML2Yaml/tools/Run.ps1"
186-
]
187-
},
188-
"monikerPath": [
189-
"mapping/monikerMapping.json"
190-
]
161+
"version": 0
191162
},
192163
{
193164
"docset_name": "whiteboard-ps",
@@ -257,4 +228,4 @@
257228
"docs_build_engine": {
258229
"name": "docfx_v3"
259230
}
260-
}
231+
}

.openpublishing.redirection.json

Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6674,6 +6674,111 @@
66746674
"source_path": "exchange/virtual-folder/exchange/Import-ContactList.md",
66756675
"redirect_url": "https://support.microsoft.com/office/import-contacts-to-outlook-bb796340-b58a-46c1-90c7-b549b8f3c5f8",
66766676
"redirect_document_id": false
6677+
},
6678+
{
6679+
"source_path": "staffhub/docs-conceptual/index.md",
6680+
"redirect_url": "/microsoftteams/expand-teams-across-your-org/shifts-for-teams-landing-page",
6681+
"redirect_document_id": false
6682+
},
6683+
{
6684+
"source_path": "staffhub/docs-conceptual/intro.md",
6685+
"redirect_url": "/microsoftteams/expand-teams-across-your-org/shifts-for-teams-landing-page",
6686+
"redirect_document_id": false
6687+
},
6688+
{
6689+
"source_path": "staffhub/docs-conceptual/overview.md",
6690+
"redirect_url": "/microsoftteams/expand-teams-across-your-org/shifts-for-teams-landing-page",
6691+
"redirect_document_id": false
6692+
},
6693+
{
6694+
"source_path": "staffhub/staffhub-ps/staffhub/Add-StaffHubMember.md",
6695+
"redirect_url": "/microsoftteams/expand-teams-across-your-org/shifts-for-teams-landing-page",
6696+
"redirect_document_id": false
6697+
},
6698+
{
6699+
"source_path": "staffhub/staffhub-ps/staffhub/Add-StaffHubShift.md",
6700+
"redirect_url": "/microsoftteams/expand-teams-across-your-org/shifts-for-teams-landing-page",
6701+
"redirect_document_id": false
6702+
},
6703+
{
6704+
"source_path": "staffhub/staffhub-ps/staffhub/Add-StaffHubTeam.md",
6705+
"redirect_url": "/microsoftteams/expand-teams-across-your-org/shifts-for-teams-landing-page",
6706+
"redirect_document_id": false
6707+
},
6708+
{
6709+
"source_path": "staffhub/staffhub-ps/staffhub/Connect-StaffHub.md",
6710+
"redirect_url": "/microsoftteams/expand-teams-across-your-org/shifts-for-teams-landing-page",
6711+
"redirect_document_id": false
6712+
},
6713+
{
6714+
"source_path": "staffhub/staffhub-ps/staffhub/Get-StaffHubMember.md",
6715+
"redirect_url": "/microsoftteams/expand-teams-across-your-org/shifts-for-teams-landing-page",
6716+
"redirect_document_id": false
6717+
},
6718+
{
6719+
"source_path": "staffhub/staffhub-ps/staffhub/Get-StaffHubShifts.md",
6720+
"redirect_url": "/microsoftteams/expand-teams-across-your-org/shifts-for-teams-landing-page",
6721+
"redirect_document_id": false
6722+
},
6723+
{
6724+
"source_path": "staffhub/staffhub-ps/staffhub/Get-StaffHubTeamsForTenant.md",
6725+
"redirect_url": "/microsoftteams/expand-teams-across-your-org/shifts-for-teams-landing-page",
6726+
"redirect_document_id": false
6727+
},
6728+
{
6729+
"source_path": "staffhub/staffhub-ps/staffhub/Get-StaffHubUsersForTenant.md",
6730+
"redirect_url": "/microsoftteams/expand-teams-across-your-org/shifts-for-teams-landing-page",
6731+
"redirect_document_id": false
6732+
},
6733+
{
6734+
"source_path": "staffhub/staffhub-ps/staffhub/Import-StaffHubMember.md",
6735+
"redirect_url": "/microsoftteams/expand-teams-across-your-org/shifts-for-teams-landing-page",
6736+
"redirect_document_id": false
6737+
},
6738+
{
6739+
"source_path": "staffhub/staffhub-ps/staffhub/Import-StaffHubShift.md",
6740+
"redirect_url": "/microsoftteams/expand-teams-across-your-org/shifts-for-teams-landing-page",
6741+
"redirect_document_id": false
6742+
},
6743+
{
6744+
"source_path": "staffhub/staffhub-ps/staffhub/Import-StaffHubTeam.md",
6745+
"redirect_url": "/microsoftteams/expand-teams-across-your-org/shifts-for-teams-landing-page",
6746+
"redirect_document_id": false
6747+
},
6748+
{
6749+
"source_path": "staffhub/staffhub-ps/staffhub/Remove-StaffHubMember.md",
6750+
"redirect_url": "/microsoftteams/expand-teams-across-your-org/shifts-for-teams-landing-page",
6751+
"redirect_document_id": false
6752+
},
6753+
{
6754+
"source_path": "staffhub/staffhub-ps/staffhub/Remove-StaffHubUser.md",
6755+
"redirect_url": "/microsoftteams/expand-teams-across-your-org/shifts-for-teams-landing-page",
6756+
"redirect_document_id": false
6757+
},
6758+
{
6759+
"source_path": "staffhub/staffhub-ps/staffhub/staffhub.md",
6760+
"redirect_url": "/microsoftteams/expand-teams-across-your-org/shifts-for-teams-landing-page",
6761+
"redirect_document_id": false
6762+
},
6763+
{
6764+
"source_path": "exchange/virtual-folder/exchange/Get-RMSTrustedPublishingDomain.md",
6765+
"redirect_url": "https://docs.microsoft.com/powershell/module/exchange/#encryption-and-certificates",
6766+
"redirect_document_id": false
6767+
},
6768+
{
6769+
"source_path": "exchange/virtual-folder/exchange/Import-RMSTrustedPublishingDomain.md",
6770+
"redirect_url": "https://docs.microsoft.com/powershell/module/exchange/#encryption-and-certificates",
6771+
"redirect_document_id": false
6772+
},
6773+
{
6774+
"source_path": "exchange/virtual-folder/exchange/Remove-RMSTrustedPublishingDomain.md",
6775+
"redirect_url": "https://docs.microsoft.com/powershell/module/exchange/#encryption-and-certificates",
6776+
"redirect_document_id": false
6777+
},
6778+
{
6779+
"source_path": "exchange/virtual-folder/exchange/Set-RMSTrustedPublishingDomain.md",
6780+
"redirect_url": "https://docs.microsoft.com/powershell/module/exchange/#encryption-and-certificates",
6781+
"redirect_document_id": false
66776782
}
66786783
]
66796784
}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
**Short URL: aka.ms/office-powershell**
2-
31
# Overview
42

3+
**Short URL**: <https://aka.ms/office-powershell>
4+
55
This repository holds reference content of Office PowerShell cmdlets for help purpose. The expert knowledge around Office PowerShell is distributed among customers, MVPs, partners, product teams, support, and other community members. Consumers have various preferences when consuming knowledge such as a website, PowerShell Get-Help, Windows app, iOS app, Android app, and others. The following diagram illustrates the point.
66

77
![Contribution and Consumption model for Office PowerShell reference content.](images/contrib-consumption-model.png)

exchange/docs-conceptual/app-only-auth-powershell-v2.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ description: "Learn about using the Exchange Online V2 module in scripts and oth
2626
> - **Security & Compliance Center PowerShell (Connect-IPPSSession)**: Version 2.0.6 Preview5 or later.
2727
>
2828
> For instructions on how to install or update the module, see [Install and maintain the EXO V2 module](exchange-online-powershell-v2.md#install-and-maintain-the-exo-v2-module).
29+
>
30+
> You can't use the procedures in this article to modify Microsoft 365 Groups ([Set-UnifiedGroup](/powershell/module/exchange/set-unifiedgroup)). To use Microsoft Graph instead, see [Update group](/graph/api/group-update).
2931
3032
Auditing and reporting scenarios in Microsoft 365 often involve unattended scripts in Exchange Online PowerShell and Security & Compliance Center PowerShell. In the past, unattended sign in required you to store the username and password in a local file or in a secret vault that's accessed at run-time. But, as we all know, storing user credentials locally is not a good security practice.
3133

@@ -265,10 +267,6 @@ After you register the certificate with your application, you can use the privat
265267

266268
Azure AD has more than 50 admin roles available. The supported roles are described in the following table:
267269

268-
<br>
269-
270-
****
271-
272270
|Role|Exchange Online PowerShell|Security & Compliance Center PowerShell|
273271
|---|:---:|:---:|
274272
|Compliance Administrator|![Check mark.](media/checkmark.png)|![Check mark.](media/checkmark.png)|
@@ -278,7 +276,6 @@ Azure AD has more than 50 admin roles available. The supported roles are describ
278276
|Helpdesk Administrator|![Check mark.](media/checkmark.png)||
279277
|Security Administrator<sup>\*</sup>|![Check mark.](media/checkmark.png)|![Check mark.](media/checkmark.png)|
280278
|Security Reader|![Check mark.](media/checkmark.png)|![Check mark.](media/checkmark.png)|
281-
|
282279

283280
<sup>\*</sup> The Global Administrator and Exchange Administrator roles provide the required permissions for any task in Exchange Online PowerShell. For example:
284281

exchange/docs-conceptual/basic-auth-connect-to-scc-powershell.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ description: "Learn how to connect to Security & Compliance Center PowerShell."
2020
> [!NOTE]
2121
> The connection instructions in this article [will eventually be deprecated](https://techcommunity.microsoft.com/t5/exchange-team-blog/basic-authentication-and-exchange-online-july-update/ba-p/1530163) due to the security concerns around Basic authentication. Instead, you should use the Exchange Online PowerShell V2 module (the EXO V2 module) to connect to Security & Compliance Center PowerShell. For instructions, see [Connect to Security & Compliance Center PowerShell](connect-to-scc-powershell.md).
2222
23-
Security & Compliance Center PowerShell allows you to manage your Microsoft 365 Defender portal and Microsoft 365 compliance center settings from the command line. You use Windows PowerShell on your local computer to create a remote PowerShell session to Security & Compliance Center PowerShell. It's a simple three-step process where you enter your Microsoft 365 credentials, provide the required connection settings, and then import the Security & Compliance Center PowerShell cmdlets into your local Windows PowerShell session so that you can use them.
23+
Security & Compliance Center PowerShell allows you to manage your Microsoft 365 Defender portal and Microsoft Purview compliance portal settings from the command line. You use Windows PowerShell on your local computer to create a remote PowerShell session to Security & Compliance Center PowerShell. It's a simple three-step process where you enter your Microsoft 365 credentials, provide the required connection settings, and then import the Security & Compliance Center PowerShell cmdlets into your local Windows PowerShell session so that you can use them.
2424

2525
> [!NOTE]
2626
> The procedures in this article won't work if:
@@ -33,7 +33,7 @@ Security & Compliance Center PowerShell allows you to manage your Microsoft 365
3333
>
3434
> In these scenarios, you need to download and use the Exchange Online PowerShell V2 module (EXO V2 module) to connect to Security & Compliance Center PowerShell. For instructions, see [Connect to Security & Compliance Center PowerShell using the EXO V2 module](connect-to-scc-powershell.md).
3535
>
36-
> Some features in the Microsoft 365 Defender portal and Microsoft 365 compliance center (for example, mailbox archiving) link to existing functionality in Exchange Online. To use PowerShell with these features, you need to connect to Exchange Online PowerShell instead of Security & Compliance Center PowerShell. For instructions, see [Connect to Exchange Online PowerShell](connect-to-exchange-online-powershell.md).
36+
> Some features in the Microsoft 365 Defender portal and Microsoft Purview compliance portal (for example, mailbox archiving) link to existing functionality in Exchange Online. To use PowerShell with these features, you need to connect to Exchange Online PowerShell instead of Security & Compliance Center PowerShell. For instructions, see [Connect to Exchange Online PowerShell](connect-to-exchange-online-powershell.md).
3737
3838
## What do you need to know before you begin?
3939

@@ -132,7 +132,7 @@ If you receive errors, check the following requirements:
132132

133133
- A common problem is an incorrect password. Run the three steps again and pay close attention to the user name and password you enter in Step 1.
134134

135-
- Verify that your account has permission to access the Microsoft 365 Defender portal or the Microsoft 365 compliance center. For details, see [Give users access to the Security & Compliance Center](/microsoft-365/security/office-365-security/grant-access-to-the-security-and-compliance-center).
135+
- Verify that your account has permission to access the Microsoft 365 Defender portal or the Microsoft Purview compliance portal. For details, see [Give users access to the Security & Compliance Center](/microsoft-365/security/office-365-security/grant-access-to-the-security-and-compliance-center).
136136

137137
- To help prevent denial-of-service (DoS) attacks, you're limited to five open remote PowerShell connections to Security & Compliance Center PowerShell.
138138

exchange/docs-conceptual/cmdlet-property-sets.md

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,6 @@ For more information about filtering in the EXO V2 module, see [Filters in the E
2727

2828
The available property sets for the **Get-EXOCasMailbox** cmdlet and the properties they contain are described in the following table:
2929

30-
<br>
31-
32-
****
33-
3430
|PropertySet|Properties|
3531
|---|---|
3632
|**Minimum**|ActiveSyncEnabled <br> DisplayName <br> ECPEnabled <br> EmailAddresses <br> EwsEnabled <br> ExchangeVersion <br> Guid <br> Identity <br> ImapEnabled <br> MAPIEnabled <br> Name <br> OWAEnabled <br> OrganizationId <br> PopEnabled <br> PrimarySmtpAddress <br> ServerLegacyDN|
@@ -40,7 +36,6 @@ The available property sets for the **Get-EXOCasMailbox** cmdlet and the propert
4036
|**Mapi**|ExternalDirectoryObjectId <br> Guid <br> Identity <br> MAPIBlockOutlookExternalConnectivity <br> MAPIBlockOutlookNonCachedMode <br> MAPIBlockOutlookRpcHttp <br> MAPIBlockOutlookVersions <br> MAPIEnabled <br> MapiHttpEnabled <br> Name <br> OrganizationId|
4137
|**Pop**|ExternalDirectoryObjectId <br> Guid <br> Identity <br> Name <br> OrganizationId <br> PopEnableExactRFC822Size <br> PopEnabled <br> PopMessagesRetrievalMimeFormat <br> PopSuppressReadReceipt <br> PopUseProtocolDefaults|
4238
|**ProtocolSettings**|ExternalDirectoryObjectId <br> ExternalImapSettings <br> ExternalPopSettings <br> ExternalSmtpSettings <br> Guid <br> Identity <br> InternalImapSettings <br> InternalPopSettings <br> InternalSmtpSettings <br> Name <br> OrganizationId|
43-
|
4439

4540
**Note**: The following **Get-CasMailbox** parameters aren't available on **Get-EXOCasMailbox**:
4641

@@ -58,10 +53,6 @@ For more information, see:
5853

5954
The available property sets for the **Get-EXOMailbox** cmdlet and the properties they contain are described in the following table:
6055

61-
<br>
62-
63-
****
64-
6556
|PropertySet|Properties|
6657
|---|---|
6758
|**Minimum**|Alias <br> DisplayName <br> DistinguishedName <br> EmailAddresses <br> ExchangeVersion <br> ExternalDirectoryObjectId <br> Guid <br> Id <br> Name <br> OrganizationId <br> PrimarySmtpAddress <br> RecipientType <br> RecipientTypeDetails <br> UserPrincipalName|
@@ -81,7 +72,6 @@ The available property sets for the **Get-EXOMailbox** cmdlet and the properties
8172
|**SCL**|AntispamBypassEnabled <br> ExternalDirectoryObjectId <br> SCLDeleteEnabled <br> SCLDeleteThreshold <br> SCLJunkEnabled <br> SCLJunkThreshold <br> SCLQuarantineEnabled <br> SCLQuarantineThreshold <br> SCLRejectEnabled <br> SCLRejectThreshold|
8273
|**SoftDelete**|ExternalDirectoryObjectId <br> IncludeInGarbageCollection <br> IsInactiveMailbox <br> IsSoftDeletedByDisable <br> IsSoftDeletedByRemove <br> WhenSoftDeleted|
8374
|**StatisticsSeed**|ArchiveDatabaseGuid <br> DatabaseGuid <br> ExchangeGuid <br> ExternalDirectoryObjectId|
84-
|
8575

8676
**Note**: The following **Get-Mailbox** parameters aren't available on **Get-EXOMailbox**:
8777

@@ -100,15 +90,10 @@ For more information, see:
10090

10191
The available property sets for the **Get-EXOMailboxStatistics** cmdlet and the properties they contain are described in the following table:
10292

103-
<br>
104-
105-
****
106-
10793
|PropertySet|Properties|
10894
|---|---|
10995
|**Minimum**|DeletedItemCount <br> DisplayName <br> ItemCount <br> MailboxGuid <br> TotalDeletedItemSize <br> TotalItemSize|
11096
|**All**|AssociatedItemCount <br> AttachmentTableAvailableSize <br> AttachmentTableTotalSize <br> DatabaseIssueWarningQuota <br> DatabaseName <br> DatabaseProhibitSendQuota <br> DatabaseProhibitSendReceiveQuota <br> DeletedItemCount <br> DisconnectDate <br> DisconnectReason <br> DisplayName <br> DumpsterMessagesPerFolderCountReceiveQuota <br> DumpsterMessagesPerFolderCountWarningQuota <br> ExternalDirectoryOrganizationId <br> FastIsEnabled <br> FolderHierarchyChildrenCountReceiveQuota <br> FolderHierarchyChildrenCountWarningQuota <br> FolderHierarchyDepthReceiveQuota <br> FolderHierarchyDepthWarningQuota <br> FoldersCountReceiveQuota <br> FoldersCountWarningQuota <br> IsAbandonedMoveDestination <br> IsArchiveMailbox <br> IsDatabaseCopyActive <br> IsHighDensityShard <br> IsMoveDestination <br> IsQuarantined <br> ItemCount <br> LastLoggedOnUserAccount <br> LastLogoffTime <br> LastLogonTime <br> LegacyDN <br> MailboxGuid <br> MailboxMessagesPerFolderCountReceiveQuota <br> MailboxMessagesPerFolderCountWarningQuota <br> MailboxType <br> MailboxTypeDetail <br> MessageTableAvailableSize <br> MessageTableTotalSize <br> NamedPropertiesCountQuota <br> NeedsToMove <br> OtherTablesAvailableSize <br> OtherTablesTotalSize <br> OwnerADGuid <br> QuarantineClients <br> QuarantineDescription <br> QuarantineEnd <br> QuarantineFileVersion <br> QuarantineLastCrash <br> ResourceUsageRollingAvgDatabaseReads <br> ResourceUsageRollingAvgRop <br> ResourceUsageRollingClientTypes <br> ServerName <br> StorageLimitStatus <br> SystemMessageCount <br> SystemMessageSize <br> SystemMessageSizeShutoffQuota <br> SystemMessageSizeWarningQuota <br> TotalDeletedItemSize <br> TotalItemSize|
111-
|
11297

11398
For more information, see:
11499

@@ -119,18 +104,13 @@ For more information, see:
119104

120105
The available property sets for the **Get-EXORecipient** cmdlet and the properties they contain are described in the following table:
121106

122-
<br>
123-
124-
****
125-
126107
|PropertySet|Properties|
127108
|---|---|
128109
|**Minimum**|ExchangeVersion <br> ExternalDirectoryObjectID <br> Name <br> OrganizationId <br> RecipientType <br> RecipientTypeDetails|
129110
|**Archive**|ArchiveDatabase <br> ArchiveGuid <br> ArchiveRelease <br> ArchiveState <br> ArchiveStatus|
130111
|**Custom**|CustomAttribute1 <br> CustomAttribute2 <br> CustomAttribute3 <br> CustomAttribute4 <br> CustomAttribute5 <br> CustomAttribute6 <br> CustomAttribute7 <br> CustomAttribute8 <br> CustomAttribute9 <br> CustomAttribute10 <br> CustomAttribute11 <br> CustomAttribute12 <br> CustomAttribute13 <br> CustomAttribute14 <br> CustomAttribute15 <br> ExtensionCustomAttribute1 <br> ExtensionCustomAttribute2 <br> ExtensionCustomAttribute3 <br> ExtensionCustomAttribute4 <br> ExtensionCustomAttribute5|
131112
|**MailboxMove**|MailboxMoveBatchName <br> MailboxMoveFlags <br> MailboxMoveRemoteHostName <br> MailboxMoveSourceMDB <br> MailboxMoveStatus <br> MailboxMoveTargetMDB|
132113
|**Policy**|ActiveSyncMailboxPolicy <br> ActiveSyncMailboxPolicyIsDefaulted <br> AddressBookPolicy <br> EmailAddressPolicyEnabled <br> ManagedFolderMailboxPolicy <br> OwaMailboxPolicy <br> PoliciesExcluded <br> PoliciesIncluded <br> RetentionPolicy <br> SharingPolicy <br> ShouldUseDefaultRetentionPolicy <br> UMMailboxPolicy|
133-
|
134114

135115
**Note**: The following **Get-Recipient** parameters aren't available on **Get-EXORecipient**:
136116

0 commit comments

Comments
 (0)