< Back

Get-BuildEnvironmentDetail

Sun Jan 12, 2020 6:40 pm

NAME Get-BuildEnvironmentDetail



SYNOPSIS

Get the details on the build environment





SYNTAX

Get-BuildEnvironmentDetail [[-Detail] <String[]>] [-KillKittens] [<CommonParameters>]





DESCRIPTION

Get the details on the build environment. You might use this to debug a build, particularly in environments not

under your control.





PARAMETERS

-Detail <String[]>

Which build environment details to collect.



Defaults to *



Valid choices:

'OperatingSystem' Subset of win32_operatingsystem

'PSVersionTable' Variable

'ModulesLoaded' Get-Module

'ModulesAvailable' Get-Module -ListAvailable

'PSModulePath' ENV:

'Path' ENV:

'Variables' Get-Variable

'Software' Get-InstalledSoftware

'Hotfixes' Get-Hotfix

'Location' Get-Location

'PackageProvider' Get-PackageProvider

'PackageSource' Get-PackageSource



Required? false

Position? 1

Default value *

Accept pipeline input? false

Accept wildcard characters? false



-KillKittens [<SwitchParameter>]

If specified, apply formatting to the output (bad) and sent some of it to the host (worse)



Required? false

Position? named

Default value False

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



OUTPUTS

System.String



System.Collections.Hashtable





-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Get-BuildEnvironmentDetail















RELATED LINKS

https://github.com/RamblingCookieMonster/BuildHelpers

about_BuildHelpers