Skip to content

Commit 48d9996

Browse files
committed
Replaced "PartnerCenter" prefix with "PC"
1 parent 21b401d commit 48d9996

File tree

119 files changed

+954
-881
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

119 files changed

+954
-881
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
# Partner Center PowerShell Module (preview) #
22

3-
## Add-PartnerCenterAuthentication ##
3+
## Add-PCAuthentication ##
44

55
**Set a global token for the script session - user authentication**
66

77
$credential = Get-Credential
88

9-
Add-PartnerCenterAuthentication -cspappID '<native app id GUID>' -cspDomain '<csp partner domain>' -credential $credential
9+
Add-PCAuthentication -cspappID '<native app id GUID>' -cspDomain '<csp partner domain>' -credential $credential
1010

1111
**Set a global token for the script session - app authentication**
1212

1313
$clientSecret = '<key code secret>'
1414
$clientSecretSecure = $clientSecret | ConvertTo-SecureString -AsPlainText -Force
1515

16-
Add-PartnerCenterAuthentication -cspappID '<native app id GUID>' -cspDomain '<csp partner domain>' -cspClientSecret $clientSecretSecure
16+
Add-PCAuthentication -cspappID '<native app id GUID>' -cspDomain '<csp partner domain>' -cspClientSecret $clientSecretSecure
17+
18+
+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Partner Center PowerShell Module (preview) #
2+
3+
## Add-PCCustomerRoleMember ##
4+
5+
**Get a customer**
6+
7+
$customer = Get-PCCustomer -tenantid '<tenant id GUID>'
8+
9+
**Get a role**
10+
11+
$role = Get-PCCustomerRole -tenantid $customer.id | Where-Object name -Contains '<role name>'
12+
13+
**Get a User**
14+
15+
$user = Get-PCCustomerUser -tenantid $customer.id -userid '<user id guid>'
16+
17+
**Add a User to a Role**
18+
19+
$customerRoleMember = [DirectoryRoleMember]::new()
20+
$customerRoleMember.id = $user.id
21+
Add-PCCustomerRoleMember -tenantid $customer.id -roleid $role.id -customerrolemember $customerRoleMember
22+
23+

CmdletHelp/Add-PartnerCenterCustomerRoleMember.md

-21
This file was deleted.
+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Partner Center PowerShell Module (preview) #
2+
3+
## Get-PCAddressRulesByMarket ##
4+
5+
**Get all address rules for countryid**
6+
7+
Get-PCAddressRulesByMarket -countryid '<country two digits id>'
8+
9+

CmdletHelp/Get-PCAuditRecords.md

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Partner Center PowerShell Module (preview) #
2+
3+
## Get-PCAuditRecords ##
4+
5+
**Get audit logs starting from a specific date**
6+
7+
Get-PCAuditRecords -startDate '2017-04-12'
8+
9+
**Get audit logs between two dates**
10+
11+
Gett-PCAuditRecords -startDate '2017-04-12' -endDate '2017-04-13'
12+
13+
**Get audit logs of a specific operationType between two dates**
14+
15+
Get-PCAuditRecords -startDate '2017-04-12' -endDate '2017-04-13' | ? operationType -EQ 'delete_customer_user'
16+
17+

CmdletHelp/Get-PCAzureRateCard.md

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Partner Center PowerShell Module (preview) #
2+
3+
## Get-PCAzureRateCard ##
4+
5+
**Get azure rate card (meters) for default context**
6+
7+
Get-PCAzureRateCard
8+
9+
**Get azure rate card for specific currency and region**
10+
11+
Get-PCAzureRateCard -currency '<three digits currency>' -region '<two digits region code>'
12+
13+
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
# Partner Center PowerShell Module (preview) #
22

3-
## Get-PartnerCenterBillingProfile ##
3+
## Get-PCBillingProfile ##
44

55
**Get Partner Billing Profile**
66

7-
Get-PartnerCenterBillingProfile
7+
Get-PCBillingProfile
8+
9+

CmdletHelp/Get-PCCustomer.md

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Partner Center PowerShell Module (preview) #
2+
3+
## Get-PCCustomer ##
4+
5+
6+
**Get all customers**
7+
8+
Get-PCCustomer
9+
10+
**Get a customer by ID**
11+
12+
$customer = Get-PCCustomer -tenantid '<tenant id GUID>'
13+
14+
**Get customers by company name**
15+
16+
Get-PCCustomer -startswith '<company name>'
17+
18+
+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Partner Center PowerShell Module (preview) #
2+
3+
## Get-PCCustomerBillingProfile ##
4+
5+
**Get a customer**
6+
7+
$customer = Get-PCCustomer -tenantid '<tenant id GUID>'
8+
9+
**Get customer Billing Profile**
10+
11+
Get-PCCustomerBillingProfile -tenantid $customer.id
12+
13+
+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Partner Center PowerShell Module (preview) #
2+
3+
## Get-PCCustomerCompanyProfile ##
4+
5+
**Get a customer**
6+
7+
$customer = Get-PCCustomer -tenantid '<tenant id GUID>'
8+
9+
**Get customer Company Profile**
10+
11+
Get-PCCustomerCompanyProfile -tenantid $customer.id
12+
13+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Partner Center PowerShell Module (preview) #
2+
3+
## Get-PCCustomerLicensesDeployment ##
4+
5+
**Get a customer**
6+
7+
$customer = Get-PCCustomer -tenantid '<tenant id GUID>'
8+
9+
**Get customer licenses deployment information**
10+
11+
Get-PCCustomerLicensesDeployment -tenantid $customer.id
12+
13+
+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Partner Center PowerShell Module (preview) #
2+
3+
## Get-PCCustomerLicensesUsage ##
4+
5+
**Get a customer**
6+
7+
$customer = Get-PCCustomer -tenantid '<tenant id GUID>'
8+
9+
**Get customer licenses usage information**
10+
11+
Get-PCCustomerLicensesUsage -tenantid $customer.id
12+
13+
+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Partner Center PowerShell Module (preview) #
2+
3+
## Get-PCCustomerRelationships (indirect model only)##
4+
5+
**Get a customer**
6+
7+
$customer = Get-PCCustomer -tenantid '<tenant id GUID>'
8+
9+
**Get all customer subscriptions**
10+
11+
Get-PCCustomerRelationships -tenantid $customer.id
12+
13+

CmdletHelp/Get-PCCustomerRole.md

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Partner Center PowerShell Module (preview) #
2+
3+
## Get-PCCustomerRole ##
4+
5+
**Get a customer**
6+
7+
$customer = Get-PCCustomer -tenantid '<tenant id GUID>'
8+
9+
**Get customer roles**
10+
11+
Get-PCCustomerRole -tenantid $customer.id
12+
13+
+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Partner Center PowerShell Module (preview) #
2+
3+
## Get-PCCustomerRoleMember ##
4+
5+
**Get a customer**
6+
7+
$customer = Get-PCCustomer -tenantid '<tenant id GUID>'
8+
9+
**Get customer role**
10+
11+
$role = Get-PCCustomerRole -tenantid $customer.id | Where-Object Name -EQ '<Role Name>'
12+
13+
**Get customer user roles**
14+
15+
Get-PCCustomerRoleMember -tenantid $customer.id -roleid $role.id
16+
17+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Partner Center PowerShell Module (preview) #
2+
3+
## Get-PCCustomerServiceCostSummary ##
4+
5+
**Select a customer**
6+
7+
Select-PCCustomer -tenantid '<tenant id GUID>'
8+
9+
**Get customer Service Cost Summary**
10+
11+
Get-PCCustomerServiceCostSummary -BillingPeriod MostRecent
12+
13+
> Other BillingPeriod type will be available in next release
14+
+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Partner Center PowerShell Module (preview) #
2+
3+
## Get-PCCustomerUsageSummary ##
4+
5+
**Get a customer**
6+
7+
$customer = Get-PCCustomer -tenantid '<tenant id GUID>'
8+
9+
**Get usage summary for all of a customer's subscriptions**
10+
11+
Get-PCCustomerUsageSummary -tenantid $customer.id
12+

CmdletHelp/Get-PCCustomerUser.md

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Partner Center PowerShell Module (preview) #
2+
3+
## Get-PCCustomerUser ##
4+
5+
**Get a customer**
6+
7+
$customer = Get-PCCustomer -tenantid '<tenant id GUID>'
8+
9+
**Get all customer users**
10+
11+
Get-PCCustomerUser -tenantid $customer.id -all
12+
13+
**Get customer user**
14+
15+
$user = Get-PCCustomerUser -tenantid $customer.id -userid '<user id>'
16+
17+
**Get customer user assigned licenses**
18+
19+
Get-PCCustomerUser -tenantid $customer.id -userid $user.id -licenses
20+
21+
**Get customer deleted users**
22+
23+
Get-PCCustomerUser -tenantid $customer.id -deleted
24+

CmdletHelp/Get-PCCustomerUserRole.md

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Partner Center PowerShell Module (preview) #
2+
3+
## Get-PCCustomerUserRole ##
4+
5+
**Get a customer**
6+
7+
$customer = Get-PCCustomer -tenantid '<tenant id GUID>'
8+
9+
**Get customer user**
10+
11+
$user = Get-PCCustomerUser -tenantid $customer.id -userid '<user id>'
12+
13+
**Get customer user roles**
14+
15+
Get-PCCustomerUserRole -tenantid $customer.id -user $user
16+
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
# Partner Center PowerShell Module (preview) #
22

3-
## Get-PartnerCenterDomainAvailability ##
3+
## Get-PCDomainAvailability ##
44

55
**Check if domain is available to use on new customer**
66

77
$domainname = '<name>'
88
$domain = $domainname+'.onmicrosoft.com'
9-
Get-PartnerCenterDomainAvailability -domain $domain
9+
Get-PCDomainAvailability -domain $domain
10+

CmdletHelp/Get-PCIndirectResellers.md

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Partner Center PowerShell Module (preview) #
2+
3+
## Get-PCIndirectResellers (indirect model only) ##
4+
5+
6+
**Get all indirect resellers**
7+
8+
Get-PCIndirectResellers
9+

CmdletHelp/Get-PCInvoice.md

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Partner Center PowerShell Module (preview) #
2+
3+
## Get-PCInvoice ##
4+
5+
**Get current payable amount**
6+
7+
Get-PCInvoice -summary
8+
9+
**Get all invoices**
10+
11+
Get-PCInvoice -all
12+
13+
**Get an invoice**
14+
15+
$invoice = Get-PCInvoice -invoiceid '<invoice id>'
16+

CmdletHelp/Get-PCInvoiceLineItems.md

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Partner Center PowerShell Module (preview) #
2+
3+
## Get-PCInvoiceLineItems ##
4+
5+
**Get an invoice**
6+
7+
$invoice = Get-PCInvoice -invoiceid '<invoice id>'
8+
9+
**Get an invoice line items**
10+
11+
Get-PCInvoiceLineItems -invoiceid $invoice.id -billingprovider '<provider>' -invoicelineitemtype '<line item type>'
12+
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# Partner Center PowerShell Module (preview) #
22

3-
## Get-PartnerCenterLegalBusinessProfile ##
3+
## Get-PCLegalBusinessProfile ##
44

55
**Get Partner Legal Business Profile**
66

7-
Get-PartnerCenterLegalBusinessProfile
7+
Get-PCLegalBusinessProfile
8+
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# Partner Center PowerShell Module (preview) #
22

3-
## Get-PartnerCenterLicensesDeployment ##
3+
## Get-PCLicensesDeployment ##
44

55
**Get partner licenses deployment information**
66

7-
Get-PartnerCenterLicensesDeployment
7+
Get-PCLicensesDeployment
8+
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# Partner Center PowerShell Module (preview) #
22

3-
## Get-PartnerCenterLicensesUsage ##
3+
## Get-PCLicensesUsage ##
44

55
**Get partner licenses usage information**
66

7-
Get-PartnerCenterLicensesUsage
7+
Get-PCLicensesUsage
8+

0 commit comments

Comments
 (0)