You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: copilot/copilot-prompt-gallery-export-prompts.md
+28-28Lines changed: 28 additions & 28 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,15 +35,15 @@ The user account running the PowerShell script to export the data needs to be as
35
35
36
36
Before you can export prompts that users saved, liked, or shared in Copilot Prompt Gallery, you need to configure your PowerShell environment by doing the following steps:
37
37
38
-
1.[Download the CopilotLabDSR PowerShell script](#download-the-copilotlabdsr-powershell-script)
39
-
2.[Install the MSAL.PS module](#install-the-msalps-module)
40
-
3.[Load the CopilotLabDSR module](#load-the-copilotlabdsr-module)
38
+
1.[Download the CopilotLabDSR PowerShell script](#download-the-copilotlabdsr-powershell-script).
39
+
2.[Install the MSAL.PS module](#install-the-msalps-module).
40
+
3.[Load the CopilotLabDSR module](#load-the-copilotlabdsr-module).
41
41
42
42
### Download the CopilotLabDSR PowerShell script
43
43
44
44
1. To get started, you need to [download the CopilotLabDSR PowerShell script](https://download.microsoft.com/download/a541f114-f315-4b2f-bc2c-e7e89bb3022f/CopilotLabDSR.psm1).
45
-
2. In File Explorer, go to the location where you saved the CopilotLabDSR.psm1 file.
46
-
3. Right-click on the CopilotLabDSR.psm1 file and select **Properties**.
45
+
2. In File Explorer, go to the location where you saved the _CopilotLabDSR.psm1_ file.
46
+
3. Right-click on the _CopilotLabDSR.psm1_ file and select **Properties**.
47
47
4. On the **General** tab, select **Unblock** checkbox, and then select **Ok**.
48
48
49
49
You need to unblock the file because, by default, executing scripts downloaded from the internet isn't allowed.
@@ -90,17 +90,17 @@ Before you can export prompts that users saved, liked, or shared in Copilot Prom
90
90
Export-PromptsUserContent -UserAadIdOrPrincipalName <Entra ID or UPN of user> -ExportDirectory <output location> -PromptType <type of prompt>
| UserAadIdOrPrincipalName | Use either the Microsoft Entra ID or the User Principal Name (UPN) of the user for which you want to export content. |
96
-
| ExportDirectory | Location to store your output files. The folder should already exist. If not specified, the export files are saved to the current folder. |
97
-
| PromptType | Specify "saved" to export the prompts saved by the user. Specify "shared" to export the prompts for which a shareable link to the prompt was generated. Specify "liked" to export prompts liked by the user. |
| UserAadIdOrPrincipalName | Use either the Microsoft Entra ID or the User Principal Name (UPN) of the user for which you want to export content. |
96
+
| ExportDirectory | Location to store your output files. The folder should already exist. If not specified, the export files are saved to the current folder. |
97
+
| PromptType | Specify "saved" to export the prompts saved by the user. Specify "shared" to export the prompts for which a shareable link to the prompt was generated. Specify "liked" to export prompts liked by the user. |
98
98
99
-
For example, the following exports Reed Smiths's saved prompts in Copilot Prompt Gallery using their UPN and downloads the export files to the location C:\PromptsExportReedSmith.
For example, the following exports Reed Smiths's saved prompts in Copilot Prompt Gallery using their UPN and downloads the export files to the location C:\PromptsExportReedSmith.
1. From Windows PowerShell, use the `Export-PromptsGroupContent` cmdlet to export the prompts published to the specific team in Copilot Prompt Gallery.
| M365TeamsGroupId | ID of the team to which the prompts were shared. |
119
-
| ExportDirectory | Location to store your output files. The folder should already exist. If not specified, the export files are saved to the current folder. |
| M365TeamsGroupId | ID of the team to which the prompts were shared. |
119
+
| ExportDirectory | Location to store your output files. The folder should already exist. If not specified, the export files are saved to the current folder. |
120
120
121
-
For example, the following exports the prompts shared in Copilot Prompt Gallery to the team with an ID of "d0efcad2-6744-0de6-0624-ea467d4293af" and downloads the export files to the location C:\PromptsExportReedSmith.
121
+
For example, the following exports the prompts shared in Copilot Prompt Gallery to the team with an ID of "d0efcad2-6744-0de6-0624-ea467d4293af" and downloads the export files to the location C:\PromptsExportReedSmith.
0 commit comments