Scripting Blog

A place to learn about PowerShell and share stories of automation

PowerTip: Use PowerShell to retrieve the date and time of the given time zone ID

Summary: Use PowerShell to pull out specify TimeZone data from an object. I have data retrieved from an external source that contains different time zone IDs like W. Europe Standard Time, AUS Eastern Standard Time, etc. How can I get the current date time value of it by using PowerShell? In PowerShell, use [System.TimeZone] and invoke the ...

Use PowerShell to integrate with the Lync 2013 SDK for Skype for Business – Part 2

Summary: Learn how to extend PowerShell with Lync 2013 SDK to explore groups and contacts information in Skype for Business 2016 client. MVP Chendrayan Venkatesan is back again to show us how to get started with the Lync 2013 SDK to enable us to do some cool stuff with PowerShell and Skype for Business! Take it away Chen! Skype for Business...

PowerTip: Use PowerShell to list all possible colors in the console

Summary: Use PowerShell and enumeration to access all possible colors that you can use in the console. Is there a way to see all of the available colors that I can use when using Write-Host? We sure can! Why, with just one line in PowerShell, you’re all done! Here is an example: [System.Enum]::getvalues([System.ConsoleColor...

Use PowerShell to integrate with the Lync 2013 SDK for Skype for Business – Part 1

Summary: Get started with the Lync 2013 SDK by using PowerShell to manage Skype for Business 2016 client. How do I integrate Windows PowerShell with the Lync SDK to manage Skype For Business client? MVP Chendrayan Venkatesan is back again to show us how to get started with the Lync 2013 SDK and do some really cool stuff with PowerShell and...

PowerTip: Identify the numeric value of a custom (dingbat) character using PowerShell

Summary: Use PowerShell to determine the value of an Extended ASCII character to reproduce it for later use. I have a really simple question that’s been bugging me. I have a string with a special (Extended ASCII) character that I scraped from some output. I can’t find the ASCII value of it to reproduce it. How can I get the value of this...

Feedback usabilla icon