Code Monkey home page Code Monkey logo

snpowershell's Introduction

SnPowerShell

Utility PowerShell scripts for use with ServiceNow administration

Build Instructions

Requirements

Build Script Parameters

Depending upon your system configuration, you may need to modify script parameter default values and/or options. Following describes the parameters and their purpose:

  • Configuration: This specifies the build configuration as defined in the solution and used in project files, such as Debug and Release. This parameter needs to either be manditory or to have a default value. The ValidateSet attribute should contain all configuration names that are defined in "src/SnPowerShell.sln".

  • Platform: Defines the build platform as defined in the solution file and used in project files. This should default to 'Any CPU'. The ValidateSet attribute should contain all platform names that are defined in "src/SnPowerShell.sln".

  • Target: Specifies the MS Build targets. This parameter needs to either be manditory or to have a default value.

  • Project: Specifies individual project names to build. If this is omitted, then all projects in "src/SnPowerShell.sln" will be built. The ValidateScript attribute checks to see if there is a sub-folder matching the value of this parameter inside the "src" folder, and that this matching folder contains a project file with the same base name and has an extension ending in "proj". For instance, if "HtmlUtils" is passed to this parameter, then it will check to see if a file matching "src\HtmlUtils\HtmlUtils.*proj" exists, relative to the Build.ps1 script (such as "src\HtmlUtils\HtmlUtils.csproj").

  • MsBuildBinPath: Tells the build script where the MSBuild binaries can be found.

    • If you installed the Microsoft Build Tools manually, this will probably be "[Program Files]\MSBuild\Version\Bin" (ex. "C:\Program Files (x86)\MSBuild\14.0\Bin").

    • If Microsoft Visual Studio is installed, you may be able to find it in a path similar to "[Program Files]\Microsoft Visual Studio\Year\LicenceType\MSBuild\Version\Bin" (ex. "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin")

snpowershell's People

Contributors

erwinel avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.