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
{{ message }}
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.
I've started a script to assist resellers get information from Partner Centers. Gotten this far and will not pretend I'm a pro with PS. I just want the SKUs, number licenses used but I do not think (Get-PartnerCustomerSubscribedSku -CustomerId $CustomerID) works
foreach ($Customer in $Customers) {
Write-Host "Retrieving license info for $($customer.name)" -ForegroundColor Green
$CustomerUserSKUs = (Get-PartnerCustomerSubscribedSku -CustomerId $CustomerID)
} `
The text was updated successfully, but these errors were encountered:
I've started a script to assist resellers get information from Partner Centers. Gotten this far and will not pretend I'm a pro with PS. I just want the SKUs, number licenses used but I do not think (Get-PartnerCustomerSubscribedSku -CustomerId $CustomerID) works
`#Install PartnerCenter Module
Install-Module -Name PartnerCenter -AllowClobber -Scope CurrentUser
#Log into Partner Center (REQUIRES MFA OR IT WILL FAIL)
Connect-PartnerCenter
#Getting Partner Customer Count
$Customers = Get-PartnerCustomer
Write-Host "Found $($Customers.Count) customers" -ForegroundColor DarkGreen
$Csvpath = C:\temp\Export_$ResellerName.csv
$Customers = Get-PartnerCustomer
$CustomerID = Get-PartnerCustomer | Select-object CustomerID
foreach ($Customer in $Customers) {
Write-Host "Retrieving license info for $($customer.name)" -ForegroundColor Green
$CustomerUserSKUs = (Get-PartnerCustomerSubscribedSku -CustomerId $CustomerID)
} `
The text was updated successfully, but these errors were encountered: