Skip to content

Commit d0d807a

Browse files
Merge pull request #745 from siruvanti/patch-2
SPOCopilotPromoOptInStatus.md
2 parents 2822ed3 + 9a8c38f commit d0d807a

File tree

2 files changed

+95
-0
lines changed

2 files changed

+95
-0
lines changed
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
external help file: sharepointonline.xml
3+
Module Name: Microsoft.Online.SharePoint.PowerShell
4+
online version: https://learn.microsoft.com/powershell/module/sharepoint-online/Get-SPOCopilotPromoOptInStatus
5+
applicable: SharePoint Online
6+
title: Get-SPOCopilotPromoOptInStatus
7+
schema:
8+
author: siruvanti
9+
ms.author: siruvanti
10+
ms.reviewer:
11+
---
12+
13+
# Get-SPOCopilotPromoOptInStatus
14+
15+
## SYNOPSIS
16+
17+
Returns the Opt-In Copilot promo status for the tenant.
18+
19+
## SYNTAX
20+
```powershell
21+
Get-SPOCopilotPromoOptInStatus
22+
```
23+
24+
## DESCRIPTION
25+
26+
This cmdlet returns the Opt-In Copilot promo status for the tenant.
27+
If the promo status is enabled, the return value is `True`, otherwise the return value is `False`.
28+
29+
## EXAMPLES
30+
31+
### Example 1
32+
33+
```powershell
34+
Get-SPOCopilotPromoOptInStatusEnabled
35+
```
36+
37+
Example 1 returns the value of the Opt-In promo status.
38+
39+
## RELATED LINKS
40+
- [Set-SPOCopilotPromoOptInStatus](./Set-SPOCopilotPromoOptInStatus.md)
41+
- [Getting started with SharePoint Online Management Shell](/powershell/sharepoint/sharepoint-online/connect-sharepoint-online)
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
---
2+
external help file: sharepointonline.xml
3+
Module Name: Microsoft.Online.SharePoint.PowerShell
4+
online version: https://learn.microsoft.com/powershell/module/sharepoint-online/Set-SPOCopilotPromoOptInStatus
5+
applicable: SharePoint Online
6+
title: Set-SPOCopilotPromoOptInStatus
7+
schema:
8+
author: siruvanti
9+
ms.author: siruvanti
10+
ms.reviewer:
11+
---
12+
# Set-SPOCopilotPromoOptInStatus
13+
14+
## SYNOPSIS
15+
16+
Sets the Opt-In Copilot promo status for the tenant.
17+
18+
## SYNTAX
19+
```powershell
20+
Set-SPOCopilotPromoOptInStatus -IsCopilotPromoStatusEnabled <Boolean>
21+
22+
```
23+
## DESCRIPTION
24+
25+
This cmdlet sets the Opt-In Copilot promo status for the tenant to `True` or `False`.
26+
27+
## EXAMPLES
28+
29+
### Example 1
30+
31+
```powershell
32+
Set-SPOCopilotPromoOptInStatusSetSuccessfully -SPOCopilotPromoOptInStatusEnabled $true
33+
```
34+
35+
Example 1 sets the Opt-In Copilot promo status for the tenant to `True`.
36+
37+
### Parameter:
38+
39+
### -IsCopilotPromoStatusEnabled
40+
41+
Use this parameter to set Copilot opt-in promo status.
42+
43+
```yaml
44+
Type: Boolean
45+
Parameter Sets:
46+
Aliases:
47+
Applicable: SharePoint Online
48+
49+
Required: True
50+
Default value: None
51+
```
52+
## RELATED LINKS
53+
- [Get-SPOCopilotPromoOptInStatus](./Get-SPOCopilotPromoOptInStatus.md)
54+
- [Getting started with SharePoint Online Management Shell](/powershell/sharepoint/sharepoint-online/connect-sharepoint-online)

0 commit comments

Comments
 (0)