Demo Scripts for Using Remote Windows PowerShell to Manage Office 365 Now Available

A set of sample scripts that enable users to explore the use of remote Windows PowerShell as a tool for managing Office 365 in general, and Lync Online in particular, are now available on the Microsoft Download Center. Author: Barry Castle, Sr. Product Marketing Manager  Reviewer: Greg Stemp, Sr. Content Developer Product: Lync Online, Office…

1

Creating Your Own GUI Application

Creating Your Own GUI Application (Création de Votre Propre Application GUI)     This might come as a shock to many of you, but there was a time – a time long, long ago – when people didn’t have cell phones. What could that even mean not to have cell phones? Well, for one thing,…

6

How Do We Love Performance Counters? Let Us Count the Ways

    If you happen to be up on your poetry (as those of us here at the Lync Server PowerShell blog, the home of the daily Lync Server PowerShell haiku, obviously are) then you are no doubt familiar with the poem How Do I Love Thee? by Elizabeth Barrett Browning. And even if you…

6

Why Didn't You Tell Me That Isn't a Valid Property?

  As you might expect, writing for the Lync Server PowerShell blog is perhaps the most exciting and glamorous job  on the face of the planet: millions of people would literally give their right arm for the opportunity to trade jobs with us.   Note. Well, OK, so maybe they wouldn’t literally give their right…

1

How to Cheat at Sporcle

By now we hope you’ve had the chance to try your hand at our initial contribution to Sporcle, the online site for “mentally stimulating diversions.” If you managed to solve the puzzle, all we can say is this: Congratulations on a job well done! But what if you weren’t able to solve the puzzle? What…

1

Export to Excel

One of the great things about Windows PowerShell is that you can manage practically your entire system without ever leaving the command line. (Yes, we know, not everyone thinks spending all their time at the command prompt is a great thing, but obviously these few people haven’t spent enough time working with PowerShell yet.) With…


PowerShell Overview: Selecting Non-Existent Properties

When you use the Select-Object cmdlet, how come PowerShell doesn’t tell you that you asked for a property that doesn’t exist?   Let’s explain the scenario that caused two different people to ask this question while attending our instructor-led lab at TechReady. In our lab, one of the tasks involved assigning a line URI to…


PowerShell Overview: Format-Table vs. Select-Object

Can you use the Format-Table cmdlet instead of the Select-Object cmdlet?   Depending on what you’re doing, yes, you can. In the lab we included an exercise where we had people retrieve user accounts and then display just the values of the DisplayName and Enabled attributes. To do that, we had them pipe the data…

7

PowerShell Overview: Aliases and Functions

Does the New-Alias cmdlet only allow you to create aliases for cmdlets themselves? Can you create an alias that actually covers several commands?   While we were conducting our lab at TechReady 12 we conceded that Windows PowerShell can require a lot of typing. (A lot of typing.) One suggestion we had for reducing the…


Combine Output With Add-Member

Sometime in the year 1793 (the exact date is unknown), the Italian artist Leonardo Da Vinci was strolling through the newly-opened Musée de Louvre when he happened upon his famous portrait of the Mona Lisa. “Mamma mia!” he exclaimed upon looking at the painting. “I forgot to paint the eyebrows!”   There’s a good lesson…