11---
22description : This article explains how to delete personal data from the PowerShell Gallery and can be used to support your obligations under the GDPR.
3- ms.date : 11/16/2022
3+ ms.date : 02/03/2026
44title : PowerShell Gallery GDPR compliance
55---
66# PowerShell Gallery GDPR compliance
@@ -15,8 +15,7 @@ to EU residents. The GDPR applies no matter where you are located.
1515> [ !NOTE]
1616> This article provides steps for how to delete personal data from the PowerShell Gallery and can be
1717> used to support your obligations under the GDPR. If you're looking for general info about GDPR,
18- > see the
19- > [ GDPR section of the Service Trust portal] ( https://servicetrust.microsoft.com/ViewPage/GDPRGetStarted ) .
18+ > see the [ GDPR section of the Service Trust portal] [ 01 ] .
2019
2120## Personally identifiable data
2221
@@ -27,15 +26,15 @@ contain personal information:
2726- Packages published to the PowerShell Gallery
2827- Email correspondence with the PowerShell Gallery team
2928
30- Most users do not create a PowerShell Gallery account. An account is not required unless you are
29+ Most users don't create a PowerShell Gallery account. An account isn't required unless you are
3130going to publish a package or use the "Contact Owner" feature in the PowerShell Gallery. Other than
32- email correspondence initiated by the user, the PowerShell Gallery does not store personally
33- identifiable data for users who have not created an account.
31+ email correspondence initiated by the user, the PowerShell Gallery doesn't store personally
32+ identifiable data for users who haven't created an account.
3433
3534Users who create a PowerShell Gallery account can publish packages to the PowerShell Gallery. Those
3635packages are expected to be PowerShell code, but may contain other information including personal
37- information. The information below will show how you can get all the packages you have published to
38- the PowerShell Gallery.
36+ information. The information below shows how you can get all the packages you have published to the
37+ PowerShell Gallery.
3938
4039## DSR Export of PowerShell Gallery Data
4140
@@ -49,8 +48,8 @@ Email correspondence may include any of the following:
4948
5049- Email sent to the owners of PowerShell Gallery packages if the code analysis scans detected an
5150 issue with any package they have published to the PowerShell Gallery
52- - Email sent by anyone to the PowerShell Gallery team using the email address in the " Contact Us"
53- page [ psgadmin @microsoft.com] ( mailto:psgadmin@microsoft.com )
51+ - Email sent by anyone to the PowerShell Gallery team using the email address in the ** Contact Us**
52+ page [ cgadmin @microsoft.com] [ 03 ]
5453- Registered users who use the "Contact Owner" feature in the PowerShell Gallery to send email to
5554 the owner of a package in the PowerShell Gallery
5655
@@ -60,39 +59,39 @@ deleted by policy after 90 days.
6059
6160You may request copies of all emails sent to or from your email address and the PowerShell Gallery
6261within the previous 90 days. To request this correspondence, send an email to
63- [ psgadmin @microsoft.com] ( mailto:psgadmin@microsoft.com ) , with the title: " DSR Request for emails
64- relating to this account". In the body of the message, state what information you are requesting
65- (for example: Please send all emails sent to or received from this email address.) All emails
66- involving your email address within 90 days of the request will be sent within 7 business days.
62+ [ cgadmin @microsoft.com] [ 03 ] , with the title: ` DSR Request for emails relating to this account ` . In
63+ the body of the message, state what information you are requesting (for example: Please send all
64+ emails sent to or received from this email address.) Within 7 business days, you should receive a
65+ collection of all emails that involve your email address within the past 90 days.
6766
6867### PowerShell Gallery Account Information
6968
7069If you have created a PowerShell Gallery account, you can find all personal information that has
7170been stored in PowerShell Gallery by taking the following steps:
7271
73- 1 . Sign in to the PowerShell Gallery, then click on your username
74- 2 . The next page displayed is the Account page, which shows the email address used for the
72+ 1 . Sign in to the PowerShell Gallery, then select your username
73+ 1 . The next page displayed is the Account page, which shows the email address used for the
7574 PowerShell Gallery account
7675
77- If you have created more than one account in the PowerShell Gallery, you will need to repeat these
78- steps for each account.
76+ If you have created more than one account in the PowerShell Gallery, repeat these steps for each
77+ account.
7978
8079### Packages in the PowerShell Gallery
8180
82- To facilitate exporting packages published to the PowerShell Gallery, we have published the script
83- " GetPSGalleryItemsForAuthor" to the PowerShell Gallery. This script exports a copy of every version
84- of every package put into the PowerShell Gallery based on the author information stored in the
85- package.
81+ To facilitate exporting packages published to the PowerShell Gallery, use the
82+ [ GetPSGalleryItemsForAuthor] [ 02 ] script available from the PowerShell Gallery. This script exports a
83+ copy of every version of every package put into the PowerShell Gallery based on the author
84+ information stored in the package.
8685
8786> [ !NOTE]
8887> The Author is stored in the package manifest when you publish your package. There is no guarantee
8988> that the Author is the same identity as the account you use in the PowerShell Gallery. If you use
90- > some other value in the Author field, you will need to supply that value when using this script.
89+ > some other value in the Author field, you must supply that value when using this script.
9190
9291You may download the script by using the following PowerShell command:
9392
9493``` powershell
95- Save-Script Get-repository psgallery
94+ Save-Script GetPSGalleryItemsForAuthor PSGallery
9695```
9796
9897You can then run the script directly, by running the following PowerShell commands:
@@ -102,18 +101,22 @@ You can then run the script directly, by running the following PowerShell comman
102101.\GetPSGalleryItemsForAuthor.ps1
103102```
104103
105- You will be prompted to supply the Author and a folder on your system where you want the packages to
106- be saved.
104+ Enter the Author and a folder name on your system where you want the packages to be saved.
107105
108106## Deleting Personal Data From The PowerShell Gallery
109107
110- To delete your PowerShell Gallery account or any package you own in the PowerShell Gallery , send
111- email to psgadmin @microsoft.com with the title: " GDPR Request for items relating to this account" . In
108+ To delete your PowerShell Gallery account or any package you own, send email to
109+ [ cgadmin @microsoft.com] [ 03 ] with the title: ` GDPR Request for items relating to this account ` . In
112110the body of the message state what information you want deleted. For example:
113111
114112- Please delete version x.y.z of my package "package name"
115113- Please delete all versions of my package "package name"
116114- Please delete my PowerShell Gallery account
117115
118- The PowerShell Gallery administrators will reply within 7 business days.
119- The packages specified will be deleted within 30 days after the request is sent.
116+ The PowerShell Gallery administrators will reply within 7 business days. The packages specified will
117+ be deleted within 30 days after the request is sent.
118+
119+ <!-- link references -->
120+ [ 01 ] : https://servicetrust.microsoft.com/ViewPage/GDPRGetStarted
121+ [ 02 ] : https://www.powershellgallery.com/packages/GetPSGalleryItemsForAuthor/
122+ [ 03 ] : mailto:cgadmin@microsoft.com
0 commit comments