Blending PowerShell and Windows Commands

Recently I had a requirement to obtain tracert (traceroute) information for all of my ConfigMgr 2012 servers. Here’s a quick (and crude) example of how to capture tracert information for each system, and then write the info to its own file for each server.

Systems.txt is a file that has each system listed, one per line. gc is the alias for get-content. We then run a foreach loop to run tracert on each system, capturing the value into $a, then display the output, as well as pipe it to a file.


gc .\systems.txt | % { $a = tracert $_; $a; $a>@($_ + ".txt")}

Happy scripting!

Greg

Join My Team

We’re looking for a new ConfigMgr infrastructure guru to join my team-you’ll see in the job description that it’s based in Plano, TX but WE WILL DEFINITELY CONSIDER THE RIGHT REMOTE EMPLOYEE (in the US) FOR THIS POSITION. There is a little bit of travel involved, but not much (<25%).  This position is an infrastructure position – design, implement, support the infrastructure – Primarily with ConfigMgr, but we’re also looking for experience with the other tools mentioned below too.

Here’s a direct link to the job: http://jobs.dell.com/dallas/services-it-configuration-management/jobid2761144-configuration-mgmt-advisor-icc-jobs

If that doesn’t work, go to http://www.dell.com/careers, and search by this job ID: 120013DW.

Here’s the detail for the job posting:

Dell Inc. is a global provider of information technology solutions. We are currently looking for an Configuration Management Advisor to join our team in Plano, TX.
Job Responsibilities and Duties:
 
Dell Services and the Systems Management tools team is seeking a Configuration Management Advisor with knowledge of designing, implementing and supporting configuration management solutions based on Microsoft SCCM, BMC Bladelogic, Altiris, KACE, LANDesk as well as other systems management tools/applications.
Required Skills:
– Hands-on experience designing solutions with Microsoft SCCM is required
– Additional  experience with any of the aforementioned products is a huge plus
– Knowledge of software development concepts and processes with ability to apply to recommended courses of action
– Strong written and oral communication skills
– Experience gathering requirements
– Up to 25% travel
 Desired Skills:
– Scripting knowledge.
– Application development experience.
– Knowledge of ITIL framework
Minimum Educational Requirements:
– Bachelor’s or Master’s Degree or equivalent work experience in a large organization is required
 Minimum Certifications or Other Professional Credentials:
– 10+ years of professional experience related to I/T or functional area or equivalent combination of education/experience

www.dell.com/careers

Greg