Skip to content

Example of usage? #3

@cpdx4

Description

@cpdx4

It may be helpful to put a 'quick and dirty' code example on your ReadMe of how to download the list, parse, and lookup a SKU.

Probably not in best form, but here's a PowerShell example:

$SKULookup_GetFromGitHub = Invoke-WebRequest "https://raw.githubusercontent.com/blighter/365AccountSKUIDs/main/SkuTable.csv"

$SKULookupTable = $SKULookup_GetFromGitHub.Content | ConvertFrom-Csv -Delimiter ","

$SKULookupTable."SKU Name"[$SKULookupTable.SkuPartNumber.indexOf("ENTERPRISEPACK")]


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions