Showing tag results for HowTo

Aug 12, 2008
Post comments count0
Post likes count0

When NOT To Use "WHERE"

PowerShell Team
PowerShell Team

I've seen a number of scripts that look like this:  GET-XXXX | Where {$_.name -eq "foo"}  or GET-XXXX | Where {$_.name -like "A*"} Whenever you see code like this, it is a sign that the GET-XXXX is not designed correctly.   (NOTE:  GET-XXXX is NOT a porn retrieval cmdlet - it is a standin for any GET-<SOMETHING>...

HowTo
Aug 9, 2008
Post comments count0
Post likes count0

All About Modules

PowerShell Team
PowerShell Team

One of the coolest new features of Windows PowerShell is PowerShell modules.  I've just written a tutorial about how to use them on my personal blog. You can check out the full post for more details, but here are some easy things to remember about modules: The module examples also include a few PowerShell functions ...

HowToModuleAdd-Module