Jenkins TFS-Plugin Credential Bug


Issue So you installed the TFS-Plugin into your Jenkins instance running on Windows Server 2012 R2. You followed these nice instructions to create credentials, and add your TFS collection. Easy peezy! Then you clicked Test Connection and... you got this: Excuse the black bars. In place of those, in your version of the message, you will most likely see that it isn't trying to use the credentials you specified in the credentials box. It is trying to use the Local SYSTEM account that the Jenkins service is running under. AH! For some reason the plugin seems to completely ignores anything you put in the credential box How Rude! Workaround Change the user your Jenkins service account is running under to…

Continue Reading

Adding Dynamic WPF Content With PowerShell


Hello Again, World It has been a while. Life has a way of magicking off with your time, especially when you have five little wizards to look after. Feeling: Harry Potter-ish. Can't you tell? Anywho, I thought we'd play with some GUI stuff today. Note: If you need help creating basic GUIs for PowerShell, venture over to this great article by @FoxDeploy: https://foxdeploy.com/2015/04/10/part-i-creating-powershell-guis-in-minutes-using-visual-studio-a-new-hope/ Crafting Our GUI We will be using this Base GUI Script as a starting point. Download and follow along! Note: For those of you who like to read the last page of a novel first, you can download the final script here: New-AddButtonGUI.ps1 Our GUI framework is going to look…

Continue Reading

Thoughts on Being a Better Teammate


Bring Solutions, Not Problems The most useless vocalization in the world is a baseless or brainless complaint without intent to improve. Examples: "That code is so bad." "This process is awful." If you do this, you're helping no one. In fact you're just adding poison to the well. Hopefully you want more than that. Hopefully you want to influence your team in a positive way. If you come upon a problem, a process that is inefficient, or maybe just something you don't agree with, step back for a moment and think about the way you'd fix it. Now present that. Examples: "Your code runs a little slow. Have you tried doing this?" "I was thinking about this process, and I…

Continue Reading

Using Hashtables to Compare Data Sets


Hey Everyone. While I was working on my vCheck for UCS project I decided this method of comparing expected object data to actual object data might be a good share. Many of you may already know and use this, but perhaps someone will find the information useful in their journey through PowerShell. Problem You are checking on the values of an object. You want to know if ANY the values don't match your expected output. In our case we're going to look at $PsVersionTable, just because it's something you can all test on any machine. The output of $PsVersionTable should look something like this: PS D:\> $PSVersionTable Name Value ---- ----- PSVersion 5.0.10586.122 PSCompatibleVersions {1.0,…

Continue Reading

LCP VLAN Bug During Firmware Upgrade


Ran into an interesting bug recently when upgrading firmware from 2.13a to 2.25c . Unfortunately the bug title / description leaves MUCH to be desired. It's almost as if they tried to put two bugs under one ID. Issue: vNICs are provisioned from a LAN Connectivity Policy whose NICs were created with initial vNIC templates. Due to this the VLANs are able to be lost o n the LAN Connectivity Policy. Detail: A Lan Connectivity Policy is created using initial vNIC templates. T his allows for the VLANs to either be removed from the LCP or, if the initial vN IC template is created after the LCP, not to be copied to the LCP correctly. Whe n the LCP is…

Continue Reading