Showing results for PHILOSOPHY - PowerShell Team

Jun 21, 2006
Post comments count0
Post likes count0

More – How does PowerShell formatting really work?

PowerShell Team
PowerShell Team

<Edited 7/2/2006 with tags and categories>PSMDTAG:FAQ: Why doesn't output expand when I expand the width of the console?PSMDTAG:FAQ: Why doesn't output expand when I use -noElements on GROUP? Consider the example: PS> gps |group company Count Name              ...

FAQPHILOSOPHYINTERNAL
Jun 21, 2006
Post comments count0
Post likes count0

$ERRORVIEW="CATEGORYVIEW"

PowerShell Team
PowerShell Team

<Edited 7/2/2006 with tags and categories>PSMDTAG:FAQ: What is $ErrorView?PSMDTAG:FAQ: How do I get error details? Have you tried out $ErrorView="CategoryView" yet?  Remember -  errors are just objects.  Given that they are objects, we render a subset of their properties to the console.  We provide 2 views: Normal an...

FAQPHILOSOPHYERROR
May 9, 2006
Post comments count2
Post likes count0

Programmatic way to get valid string values for a parameter

PowerShell Team
PowerShell Team

<WIZARD WARNING>  ISVs and Tool vendors may find this important, Advanced users may find this interesting, Casual users may want to skip this. Someone asked me if there was a programmatic way to tell what the legal values for a string parameter to a cmdlet was.  The example was OUT-FILE -ENCODING xxx Out current help doesn't te...

FAQPHILOSOPHYINTERNAL
Apr 25, 2006
Post comments count0
Post likes count0

Exposing the Power of .NET in a Admin-friendly way

PowerShell Team
PowerShell Team

One of our primary goals for Monad was to:  "Expose the power of .NET in an Admin-friendly way".  The challenges of systems administration are large and growing at the same time organizations are under ever more pressure to reduce costs and do more with less.  That was true 10 years ago, it is true now, it will be true 10 years from...

PHILOSOPHYDOTNETINTERNAL
Apr 25, 2006
Post comments count0
Post likes count0

Why did you do that? $VAR/ {} / Weak Intellisense

PowerShell Team
PowerShell Team

I strongly encourage people to let us know where we could be doing better and to let us know if we are getting into the weeds.  I believe that being open to such bad news is core to the the virtuous cycle of self improvement so such feedback provides opportunities to reflect and make changes when appropriate.  Other times&...

FAQPHILOSOPHY
Apr 25, 2006
Post comments count0
Post likes count0

Base64 Encode/Decode a string

PowerShell Team
PowerShell Team

Today I came across http://scripts.readify.net/  . This sight is focused on Monad and MSH and is starting a collection of scripts at: http://scripts.readify.net/Scripts.aspx .  You should visit their site and let them know what type of scripts would be useful to you.  I particularly liked their entry on how to Base64 encode a f...

FAQPHILOSOPHYDOTNET
Apr 25, 2006
Post comments count1
Post likes count0

How does Select-String work with Pipelines of objects?

PowerShell Team
PowerShell Team

<Edited to convert Match-String to Select-String 7/9/2006> In our newsgroup (Microsoft.Public.Windows.Server.Scripting) , Vasu asked about how Select-string works in pipelines: Here is what I observe:1. MSH C:\> get-alias ..truncated..Alias           ri    &nb...

FAQPHILOSOPHYSelect-String