Skip to content

Detect if running on Windows 10 #18

@gep13

Description

@gep13

Just thinking about this:

https://github.com/Microsoft/windows-dev-box-setup-scripts/blob/bcaad0c2f29f29369b77c41ada0d9a6db1e3beab/dev_app.ps1#L17

It might be a good idea to detect whether this script is running on a Windows 10 machine, otherwise this is going to fail.

An example of OS detection can be seen in the Chocolatey Script for PowerShell here:

https://chocolatey.org/packages/PowerShell#files

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions