< Back

Get-PartnerProductInventory

Sat Jan 18, 2020 6:32 pm

NAME Get-PartnerProductInventory



SYNOPSIS

Checks the inventory for the specified product.





SYNTAX

Get-PartnerProductInventory [-CountryCode <String>] -ProductId <String> [-SkuId <String>] [-Variables <Hashtable>]

[<CommonParameters>]





DESCRIPTION

Checks the inventory for the specified product.





PARAMETERS

-CountryCode <String>

The country ISO2 code.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-ProductId <String>

A string that identifies the product.



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-SkuId <String>

A string that identifies the sku.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Variables <Hashtable>

A hashtable of inventory variables for the product.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None







OUTPUTS

Microsoft.Store.PartnerCenter.PowerShell.Models.Products.PSInventoryItem







NOTES









-------------------------- Example 1 --------------------------



PS C:\\> $variables = @{ customerId='46a62ece-10ad-42e5-b3f1-b2ed53e6fc08';

azureSubscriptionId='f5edca90-8799-44bd-ac59-64bd93285ed1'; armRegionName='uswest' }

PS C:\\> Get-PartnerProductInventory -ProductId 'DZH318Z0BQ3P' -Variables $variables



Checks the inventory for the specified product.







RELATED LINKS

Online Version: https://docs.microsoft.com/powershell/m ... tInventory