Skip to content

Commit ad53ee6

Browse files
committed
New script
1 parent a6b2ebc commit ad53ee6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Check Microsoft Learn for a new download of the Product Names and Service Plan Identifiers CSV file.
2+
$Response = Invoke-WebRequest -Uri 'https://learn.microsoft.com/en-us/entra/identity/users/licensing-service-plan-reference'
3+
$LicensingCsvDownloadLink = ( $Response.Links.Where({ $_.href -match 'licensing.csv' -or $_.href -match 'Product%20names%20and%20service%20plan' }) ).href
4+
$LicensingCsvDownloadLink

0 commit comments

Comments
 (0)