header
header Register : : Login header
header
divider
menuleft
menuright
submenu
left
Random Cmdlets
Get-AddressList
Use the Get-AddressList cmdlet to view all attributes of an address list.


Add-AvailabilityAddressSpace
Use the Add-AvailabilityAddressSpace cmdlet to define the access method and associated credentials that are used to exchange free/busy data across forests.


Import-Bitmap
Loads bitmap files.


Set-OwaVirtualDirectory
Use the Set-OwaVirtualDirectory cmdlet to modify the properties of Outlook Web Access virtual directories on a computer that is running Microsoft Exchange 2007 that has the Client Access server role installed.


Move-QADObject
Move the specified object to a different location (container) in Active Directory.


Get-ExecutionPolicy
Gets the current execution policy for the shell.


Set-UMMailboxPolicy
The Set-UMMailboxPolicy cmdlet modifies a Unified Messaging (UM) mailbox policy.


New-Item
Creates a new item in a namespace.


Clear-Variable
Deletes the value of a variable.


Add-History
Appends entries to the session history.


  
Latest Scripts from PoshCode.org

Sort-ISE
This function sorts the open editor pane starting at a specific column using the next length characters. It would be nice to wrap it with a small function showing a dialog to querry this values and to put this into the custom menue.

Audit Script
Audit script for single or multiple computers

edit-file
edit-file from PS+

ISE-Snippets variant
This is a variant of ISE-Snippets which determines the snippet based on selectes text or if nothing is selected bases on the text left to the carret. Another example of how to extend ISE http://pauerschell.blogspot.com/2009/01/ise-snippets-variant-2.html

app memory deltas
Uses get-process (ps) to measure application memory deltas over specified interval. Run '.\ws_diff [Interval in Seconds] [Process Name] or without [Process Name]. To log all processes continually every 10 seconds run: 'while (1) {.\WS_diff.ps1 10 cmd >> ps_out.txt }'

HttpRest 1.0.1
Added Get-WebPageContent to the initial implementation of the Http REST script functions (usable as a v1 script or as a module). Documentation on "this post on HuddledMasses":http://huddledmasses.org/using-rest-apis-from-powershell-with-the-dream-sdk/

ISE-Snippets
ISE-Snippets module v 1.0 DEVELOPED FOR CTP3 See comments for each function for changes ... As a shortcut for every snippet would be to much, I created Add-Snippet which presents a menu. Feel free to add your own snippets to function Add-Snippet but please contribute your changes here Provides Code Snippets for working with ISE Add-Snippet - Presents menu for snippet selection Add-SnippetToEditor - Adds a snippet at caret position

Get-ChildItemProxy
This is an advanced function that uses a proxy command to add two new switches to get-childitem You can name this function get-childitem and it will overwrite the existing cmdlet. With Proxy Commands, you can mess with the meta data and add/subtract parameters from real cmdlets Most of this code was generated with Jeffrey Snover's new Metaprogramming Module http://blogs.msdn.com/powershell/archive/2009/01/04/extending-and-or-modifing-commands-with-proxies.aspx http://www.get-powershell.com

ISE-Lines
ISE-Lines module v 1.1 ( Conflate-Line improved ) DEVELOPED FOR CTP3 Provides Line cmdlets for working with ISE Duplicate-Line - Duplicates current line Conflate-Line - Conflates current and next line MoveUp-Line - Moves current line up MoveDown-Line - Moves current line down Delete-TrailingBlanks - Deletes trailing blanks in the whole script

Get-PipeLineObject
For TabExpansion.ps1 this requires latest TabExpansion.ps1 in a same directory
  
 

We want to send out our thanks to everyone  for helping to make this community grow. And to show just how much effect that this community has had on our fellow PowerShell users out there, we will leave you with this message from Lee, a member of the community:

"This is just a quick thank you to everyone in the forums who has helped me over the past few months.  You've made my Powershell experience richer and helped me become so much more productive.

Happy Christmas and all the best for the new year."

And the same thoughtscome  from us, too!

Hal Rottenberg, Community Director

Marco Shaw, Co-Community Director

Darin Pendergtraft, Co-Community Director

 

Community News
New Sharepoint and SQL forums

Due to recent interest in the forum, we've added two new discussion areas:

PowerShell Expert Panel at TechEd EMEA 2008

 We are extremely proud of the the job that Jonathan Medd (of the Get-Scripting Podcast) did at TechEd EMEA 2008 with a panel discussion which was made possible by support from PowerShellCommunity.org. You can find the video on

PowerShell script repository

Hal Rottenberg and Jonathan Walz recently did a podcast with Jeffrey Snover (Microsoft) regarding a centralized script repository.

Have a listen to it HERE and please leave your comments

PowerShell Analyzer 100% free.

With the phenomenal success of PowerShell Plus and subsequent transfer to Idera, PowerShell Analyzer is now 100% free. You can read more and get it from our recently updated website - http://www.shelltools.net . In coming weeks we are going to do some...

New sponsor: Idera

Idera, an exciting new sponsor has just announced a new PowerShell product, PowerShellPlus Professional.  A quote directly from Idera's web site:

"PowerShellPlus Professional is a powerful...

  
Recent Blog Entries
By Karl Prosser on 1/8/2009 12:53 AM

Though we don’t have intentions to carry developing PowerShell Analyzer much in the future, there are a number of improvements in my personal fork, and we want to make sure that it keeps its shelf life by updating it for PowerShell V2. Surprisingly we are still getting hundreds of downloads a day so we want to make sure that those who prefer PSA can still keep using it and also take advantage of the features I use day in and day out. We’ll probably release some new builds within the next couple of weeks, but will post some screenshots and maybe videos until then. We hope that will minimal effort keep PSA the best free PowerShell tool. Read more below to see the screenshots and examples

Read More »

By Karl Prosser on 1/3/2009 7:14 PM

PowerShell CTP3 ISE - Integrated Scripting environment has inherited many ideas and features from PowerShell analyzer including multiple runspaces,editors, a smaller immediate input area and output pane, however it doesn’t have the output visualizers of PSA nor the super fast RTS like execution control of PSA.

However Microsoft in their wisdom has made ISE rather extensible through the $PSISE variable, and many people already have added some very cool functionality to ISE through these.

When I first demo’d what was then MSH analyzer to Microsoft back in the first few months of 2006, the feature that seemed to stand out the most to the team was the ability to select an area of code and just run that. Thankfully that level of execution control is now in ISE as F6, but I wanted more, so i’m going to share with you a script that build a few months ago to add a couple of features.

F7 run the current physical line. Read More »

By Karl Prosser on 12/19/2008 4:58 PM

SURVEY: http://spreadsheets.google.com/viewform?key=pgTpVBomNgDwUA9uQNRKAbw&hl=en

Taking an app from an internal application to a shrink-wrap ready for
the masses state is a lot of work, and updating/supporting/marketting
a product even more so. So after the huge sucess of PowerShell Plus
which is now safe in Idera's hands we need your help to decide what we
are going to release next. We plan to release some free projects, even
some opensource apps, but will likely look at productizing a project
so we can continue to feed our families. Please take the time to take
our survey
 

Read More »

By Marco Shaw on 6/27/2008 4:52 AM

PowerShell Usability Study, July 22 to July 29, 2008 at Redmond, WA

Read More »

By Karl Prosser on 6/17/2008 9:15 PM

So I've loved portable apps from time memorial and have valued making my own apps as portable as possible - XCOPY friendly.

By Karl Prosser on 6/17/2008 9:12 PM

Given the context on the last few posts. I've made a simple helper method in C# that can take a simple powershell hashtable and create a PSCustomObject based on it. Here is an example of how you can call it.

Read More »

By Karl Prosser on 6/17/2008 9:08 PM

Based on the performance testing and work being done by myself , mow , Brandon Shell and others the question has come up what is the quickest way to generate a PSCustomObject, whether in script , on in C#, and how do you even do it in C#?

Some typical ways of doing in PowerShell have been either something like the following trick:

Read More »

By Karl Prosser on 6/11/2008 9:23 PM

I've spend a lot of time in the past looking at the performance of PowerShell but have never gotten around to blogging about it. However it has become quite a hot button among MVPs and others in recent days and we've been busy testing and comparing the speeds different techniques in PowerShell in both V1 and V2.

In V1 there seems to be extreme slowdowns when invoking cmdlet, functions, any type of scriptblock and when using the pipeline. If you...

Read More »

By Karl Prosser on 6/7/2008 12:32 AM

One thing that has bothered me about true cmdlets in contrast scripts is that they lived in SnapIns and couldn't be deployed with xcopy as scripts can because SnapIns required Registration/Installation. I build my own way to deal with this need some time ago, and thought that I'd start a blog series covering it. I call them Snapininis or SnapIn-Lites. A good thing is you can achieve the same end result in PowerShell V2 with modules - but that is V2 and a while away from being released, and then even further away from being fully deployed.

Read More »

By Karl Prosser on 6/3/2008 10:40 PM

Many people recently have asked how to determine programatically what version of PowerShell their script is running in. Well in version two there is a $psversiontable variable, but this sadly isn't in V1. All is not lost though, as you can write a simple function to return a version object for v1. Below is a quick function that I wrote that I have been using for the last year or so. 

Read More »

  

[August 25th, 2008] Check the home page regarding PowerShell related news from a brand new sponsor: Idera

right
   
footer Sponsored by Quest Software • SAPIEN Technologies • ShellTools, LLC • Microsoft Windows Server 2008 footer
footer