See all products »
Curah! curation service
Microsoft Tech Companion App
Microsoft Technical Communities
Microsoft Virtual Academy
Server and Tools Blogs
TechNet Flash Newsletter
Cloud and Datacenter
Windows Server 2012 R2
System Center 2012 R2
Microsoft SQL Server 2012 SP1
Windows 8.1 Enterprise
See all trials »
Microsoft Download Center
TechNet Evaluation Center
Microsoft Virtual Academy
Free Windows Server 2012 courses
Free Windows 8 courses
SQL Server training
MCSA: Windows 8
Windows Server Certification (MCSE)
Private Cloud Certification (MCSE)
SQL Server Certification (MCSE)
Second shot for certification
Born To Learn blog
Find technical communities in your area
For small and midsize businesses
For IT professionals
For technical support
For home users
Microsoft Premier Online
Microsoft Fix It Center
Security Bulletins & Advisories
International support solutions
Log a support ticket
Not an IT pro?
Microsoft Customer Support
Microsoft Community Forums
IM and Presence
Lync Server PowerShell
Browse by Tags
Enable Users from an Excel File
You might find this hard to believe, but there have been times when people have actually criticized Microsoft software. It's true: not every product that we've released has been universally acclaimed as the greatest software product ever released. But that's the nature of the software business: sometimes...
8 Dec 2010
%$#@ Special Characters!, Part 2
By Edwin Young Last time , we looked at some curious behavior when running the New-CsAnalogDevice cmdlet: when you leave out a mandatory parameter like AnalogFax, then PowerShell prompts you for it; but weirdly, even if you enter $false, the property ends up true. Why is that? This isn’t...
22 Jul 2010
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...
12 May 2011
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...
21 Mar 2011
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...
21 Mar 2011
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 then...
28 Apr 2011
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...
7 Dec 2011
When Do I Have to Put Double Quotes Around Parameter Values?
Ah, yes: the great double quote conundrum. Compared to, say, VBScript, Windows PowerShell is remarkably good at figuring at what it is you want to do. For example, this command returns the voice policy RedmondVoicePolicy : Get-CsVoicePolicy "RedmondVoicePolicy" So does this command: ...
13 Sep 2010
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 aren't up on your poetry ...
2 Jun 2011
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...
11 Jan 2011
%$#@ Special Characters! Part 1
By Edwin Young, Microsoft PowerShell has quite a sophisticated syntax, with lots of special characters and variables. For the most part, this is very useful. But there are a few “gotchas” that can leave you scratching your head. Here are some common examples people on our team have...
14 Jul 2010
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...
21 Mar 2011
So What's the Deal With the Three Dots?
You know, it's not often that those of us here at the Lync Server PowerShell blog get the chance to show off our knowledge. OK, admittedly, that might be because we don't actually have much knowledge to show off in the first place. Still, it's nice to get the chance every now and then to demonstrate...
17 Feb 2011
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...
7 Apr 2011
© 2015 Microsoft Corporation.
Privacy & Cookies