Monthly Archives: September 2017

PowerShell Trim

PowerShell Trim – no its not a new slimming fad. Trimming is the act of removing characters – usually white space – from the beginning or end of a string. You have three methods on the String class you can … Continue reading

Posted in Powershell | Leave a comment

PowerShell editors

PowerShell works great when you use it interactive;y but at some point you’re likely to want to write substantial pieces of code – scripts or functions – for which you’ll need an editor. This is my take on PowerShell editors. … Continue reading

Posted in Powershell | 7 Comments

Call for topics closing 1 October

The call for topics is closing 1 October at 23:59 GMT. We’ve had a fantastic set of submissions. Creating an agenda for the 2018 Summit is going to be very difficult because we’ve had so many fantastic sessions submitted and … Continue reading

Posted in Powershell, Summit | Leave a comment

DSC–the future?

I was incredibly excited when I first saw DSC – it was in April 2013 as a special MVP only preview at the first PowerShell Summit – as a work in progress. Since that time my excitement has waned to … Continue reading

Posted in DSC, Powershell | 1 Comment

PowerShell comments

Putting comments into your code has been a long established practice – this is how you do PowerShell comments A single line comment is indicated by the # symbol # This is a comment Get-Process You can put a comment … Continue reading

Posted in Powershell | 1 Comment

Continuous updates expansion

Microsoft has announced a continuous updates expansion at Ignite Windows 10 was always going to be continually updated rather than new versions introduced. This year Windows Server 2016 joined the party when it was announced that there would be twice … Continue reading

Posted in Microsoft | Leave a comment

Splitting multiline string

Saw an interesting question on splitting multiline string If you get a set of strings item1 item2 item3 emailed to you then you could put them in a text file and use Get-Content to read them into an array. The … Continue reading

Posted in Powershell | Leave a comment