Public/Invoke-TFSBuild.ps1
<#
.Synopsis Please give your script a brief Synopsis, .DESCRIPTION A slightly longer description, .PARAMETER logLevel explain your parameters here. Create a new .PARAMETER line for each parameter, .EXAMPLE THis example runs the script with a change to the logLevel parameter. .Template.ps1 -logLevel Debug .INPUTS What sort of pipeline inputdoes this expect? .OUTPUTS What sort of pipeline output does this output? .LINK www.google.com #> [CmdletBinding(SupportsShouldProcess=$true)] param([Parameter(ValueFromPipeline)] $pipelineInput) if (!([string]::IsNullOrEmpty($pipelineInput))){ Write-Log "Parse the pipeline object here" Debug } Write-Log "$PSCommandPath started at: [$([DateTime]::Now)]" Debug Write-Log "$PSCommandPath ended at: [$([DateTime]::Now)]" Debug # SIG # Begin signature block # MIISpQYJKoZIhvcNAQcCoIISljCCEpICAQExCzAJBgUrDgMCGgUAMGkGCisGAQQB # gjcCAQSgWzBZMDQGCisGAQQBgjcCAR4wJgIDAQAABBAfzDtgWUsITrck0sYpfvNR # AgEAAgEAAgEAAgEAAgEAMCEwCQYFKw4DAhoFAAQUjRQ3azAVmkjIry5O4O0d95VW # tb2ggg7/MIIHBzCCBe+gAwIBAgITXwAChcA1HrJMAPs/4gAEAAKFwDANBgkqhkiG # 9w0BAQsFADBBMRMwEQYKCZImiZPyLGQBGRYDb3JnMRQwEgYKCZImiZPyLGQBGRYE # ZGhoYTEUMBIGA1UEAxMLZGhkY3dyb290Y2EwHhcNMTcwOTEyMTY1ODQxWhcNMTkw # OTEyMTcwODQxWjBYMRMwEQYKCZImiZPyLGQBGRYDb3JnMRQwEgYKCZImiZPyLGQB # GRYEZGhoYTEUMBIGCgmSJomT8ixkARkWBGhvc3AxFTATBgNVBAMTDGRoZGN3c3Vi # Y2EwMTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAOY9r1uUDtO+yiJe # +3VtB9mMSjNpb7OEYlpWZgC6XovGVowfIHcIfYGTVroRBBUf8n1fS752VZvTWi+1 # dslhhp7oHEm8oOmPGbRhafB7pvSbOE+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