PowerTip: Load PowerShell Modules and See What’s Imported
Summary: Learn to parse load information about modules to see what’s imported. How can I analyze what is imported when a Windows PowerShell module loads? Use the –Verbose switch when importing the...
View ArticleA Better PowerShell Command-Line Edit
Summary: Microsoft Scripting Guy, Ed Wilson, talks about using PSReadLine to improve command-line editing in Windows PowerShell.Microsoft Scripting Guy, Ed Wilson, is here. Today I thought I would try...
View ArticlePowerTip: Use PowerShell to Round Numbers
Summary: Learn how to use Windows PowerShell to round numbers. Is there an easy way to use Windows PowerShell to round numbers up or down in a computation that produces a large amount of numbers after...
View ArticleBetter PowerShell History Management with PSReadLine
Summary: Microsoft Scripting Guy, Ed Wilson, talks about using PSReadLine to gain better history support in Windows PowerShell.Microsoft Scripting Guy, Ed Wilson, is here. Someone might have said that...
View ArticlePowerTip: Add Days, Hours, and Minutes to Current Time
Summary: Use Windows PowerShell to easily add days, hours, and minutes to the current time. How can I use Windows PowerShell to add one day, two hours, and thirty minutes to the current date and time?...
View ArticleUseful Shortcuts from PSReadLine PowerShell Module
Summary: Microsoft Scripting Guy Ed Wilson talks about useful shortcuts from the PSReadLine Windows PowerShell module.Microsoft Scripting Guy, Ed Wilson, is here. This is PSReadLine Week. You might...
View ArticlePowerTip: Unload All Non-Microsoft Modules
Summary: Learn to unload all non-Microsoft Windows PowerShell modules. Windows PowerShell is acting funny and I want to unload all modules that are not written by Microsoft. How can I easily...
View ArticleA Better PowerShell Console with Custom PSReadLine Functions
Summary: Microsoft Scripting Guy, Ed Wilson, talks about a better Windows PowerShell console experience by using custom PSReadLine functions.Microsoft Scripting Guy, Ed Wilson, is here. I was reading...
View ArticlePowerTip: Determine PSReadLine Option Configuration
Summary: Use a cmdlet to find the way PSReadLine options are configured. I recently started using PSReadLine, and I would like to see the way options are configured. How can I report the...
View ArticleWeekend Scripter: Automating the Preparation of Lync Server 2013—Part 1
Summary: Prep Windows Server 2012 R2 for a Lync Server 2013 installation.Honorary Scripting Guy, Sean Kearney, is here, and today I'm doing something I've been itching to do for a while...Automate the...
View ArticlePowerTip: Extend Active Directory Schema for Lync with PowerShell
Summary: Learn to use the Lync module for Windows PowerShell to extend the Active Directory schema. Is there an easy way to use Windows PowerShell to install a new Lync server? After you have the Lync...
View ArticleWeekend Scripter: Automating the Preparation of Lync Server 2013—Part 2
Summary: Automate the installation of SQL Server Express and complete the installation of Lync Server 2013.Honorary Scripting Guy, Sean Kearney, is here. Today, we're getting a little nerdy by...
View ArticlePowerTip: Create an SRV Record in DNS with PowerShell
Summary: Use Windows PowerShell cmdlets to create a server resource record. Is there was a way to script the creation of my internal server resource records for my Lync deployments? If you're running...
View ArticleManaging Lync Server 2013 with Windows PowerShell—Part 1
Summary: Use Windows PowerShell to enable Active Directory users for Lync. Hey, Scripting Guy! We just spun up our Lync server, and I need to know a very easy way to enable groups of users. I have over...
View ArticlePowerTip: Convert to Upper Case with PowerShell
Summary: Learn how to use Windows PowerShell to easily capitalize a string. How can I use Window PowerShell to make all the text upper case so it is all in the same form prior to writing to a...
View ArticleManaging Lync Server 2013 with Windows PowerShell—Part 2
Summary: Use Windows PowerShell to disable Active Directory users for Lync. Hey, Scripting Guy!I was so happy yesterday! I spun up thousands of users in Lync, and it worked beautifully. But now...
View ArticlePowerTip: Add a Federation Domain to Lync with PowerShell
Summary: Use the Lync cmdlets to add an additional domain to Lync for federation access. I'm working with a client to set up a federation, and I am trying to easily add their list of domains....
View ArticleManaging Lync Server 2013 with Windows PowerShell—Part 3
Summary: Use Windows PowerShell to remove Active Directory users for Lync.Honorary Scripting Guy, Sean Kearney, is here. Note This is the third part in a series. You might also enjoy...
View ArticlePowerTip: Remove User from Lync Server 2013 with PowerShell
Summary: Learn how to use -whatif to safely remove a user from Lync Server 2013. I need to remove users from Lync by using PowerShell, but I'm a bit nervous. Is there some kind of built-in...
View ArticleManaging Lync Server 2013 with Windows PowerShell—Part 4
Summary: Have a rollback plan for disabling a user in Lync. Hey, Scripting Guy! Before I shut down all of these Lync accounts on our environment, my boss would like to see what my rollback plan is....
View Article