header
header Register : : Login header
header
divider
menuleft
menuright
submenu
left
Random Cmdlets
Add-PublicFolderClientPermission
Use the Add-PublicFolderClientPermission cmdlet to add permissions to public folders.


Remove-MailUser
Use the Remove-MailUser cmdlet to remove an existing mail-enabled user.


Get-AvailabilityAddressSpace
Use the Get-AvailabilityAddressSpace cmdlet to retrieve the access method and associated credentials that are used to exchange free/busy information across forests.


Clear-Item
Deletes the contents of an item, but does not delete the item.


Get-POPSettings
The Get-POPSettings cmdlet enables you to view the Post Office Protocol version 3 (POP3) settings for the Microsoft Exchange Server 2007 computer that has the Client Access server role installed and that is running the POP3 service.


Get-AutodiscoverVirtualDirectory
The Get-AutodiscoverVirtualDirectory cmdlet retrieves the settings for the Autodiscover virtual directory on a computer that is running Microsoft Exchange Server 2007 that has the Client Access server role installed.


Get-NetworkConnectionInfo
Use the Get-NetworkConnectionInfo cmdlet to view the network configuration information for all network adapters that are configured on the local server.


Set-AvailabilityConfig
Use the Set-AvailabilityConfig cmdlet to set the access level for free/busy information.


Get-ReceiveConnector
Use the Get-ReceiveConnector cmdlet to view the configuration information for a Receive connector on a computer that has the Hub Transport server role or the Edge Transport server role installed.


Uninstall-TransportAgent
Use the Uninstall-TransportAgent cmdlet to unregister a transport agent that is no longer needed on a computer that has the Edge Transport server role or the Hub Transport server role installed in a Microsoft Exchange Server 2007 organization.


  
Latest Scripts from PoshCode.org

MoveExch2010SP1Archives
This script allows you to move the archive mailbox for a User or all your users to a database for Exchange 2010 SP1

Claimtypes, ADFS SP2010
Here's how you create a claim type mapping (for Claims based authentication) for Email and Role when using ADFS 2.0 and SharePoint 2010. Be sure to add both Email and Role when you create the trusted identity token issuer (if you add it afterwards, as an update, it wont work)

Get-Parameter 2.4
This is another *Must Have* upgrade, because I screwed up the last one ;-) * Added -ParameterName parameter to filter returned parameters * Added custom ToString() implementation to support -Like and -Match on the output * Enumerate the Parameters of a command by ParameterSet, *including DynamicParameters* * Now uses FormatData so the output is objects * Added calculation of shortest names to the aliases (borrowed from Shay Levy http://poshcode.org/1982)

MoveMailboxBySize
This script was developed to assist a customer with moving customizable batches of users, starting smallest mailboxes first in batches, and move them into datastores sorted by last name. This script is modular and can be extended to different filtering mechanisms, or a different datastore sorting criteria.

HttpRest 1.4
A few miscellaneous enhancements to HttpRest for pipelining urls, and the beginning of documentation ... *VERY OLD* documentation on "this post on HuddledMasses":http://huddledmasses.org/using-rest-apis-from-powershell-with-the-dream-sdk/ and I'm finally starting to update this to be an example of best practices ... I guess ;)

isMSDTC.ps1
Checks whether MSDTC is enabled for network access. By default MSDTC network access is disabled. This feature is needed by SQL Server Linked Servers

Get-ExchangeDBSizes
Gathers data from Exchange mailbox servers. These data include: Server\StorageGroup\Database (2007) or Database (2010), Total Size (in GB) of the disk, Size of the .edb file (in GB), Free disk space, Percent Disk Free, Total Mailboxes on the database, White Space, Total Free disk space, Total Percent Free disk space

Get-OnlineHelp
Retrieve Online Cmdlet Help I'm now using New-WebServiceProxy to take advantage of the well-formed XML provided by the "MSDN ContentService":http://services.msdn.microsoft.com/ContentServices/ContentService.asmx ...

Oliver Lipkau
Get-EmptyGroup: Function to find empty groups in Win2000/2003/2003R2/2008 domains.

Password Generator Form
Creates a form that allows you to generate a random password based on the requirements listed within the code. Can then print out the form to give to user. Password also saved to clipboard and can be pasted into the password reset dialog.
  
 

April 5th, 2010,

The 2010 Scripting Games are coming...

2010 Scripting Games

 Fire up your scripting editor and get ready to write some PowerShell!

Check out the Study Guide and register for the games!

-Steven Murawski
Co-Community Director

Community News
iPowerShell V2 Now Available

Sapien just released iPowerShell V2, which is now available in the Apple app store.  What is iPowerShell?

From Ferdinand Rios -

PowerShell In Practice

From Marco Shaw -

Check out http://www.manning.com/siddaway

Get the ebook or printed edition (not available yet), and use the discount code "marcoshell40" when checking out and get 40% off the regular...

Thomas Lee Joins PoshComm Directors

PowerShellCommunity.Org is happy to announce that Thomas Lee, Powershell MVP and noted trainer, is joining our ranks as a Community Director. 

Thomas is also responsible for a good many of the PowerShell...

Looking to get started with Modules?

Check out the PowerShellPack from James Brundage, which contains modules for making GUI's, add-ons for the ISE(Integrated Script Editor), system tools, and...

PowerShell Virtual Launch Party

PowerShell V2 Virtual Launch Party!

Jeffrey Snover, Hal Rottenberg and Jonathan Walz (hosts of the PowerScripting Podcast) hosted a PowerShell V2 Virtual Launch Party on Thursday, Oct 22nd, 9:30 PM EDT (GMT-4). 

More details...

  
Recent Blog Entries
Author: Karl Prosser Created: 10/27/2007 10:14 PM
This blog covers an eclectic range of powershell related topics. Many are focused around getting the most out of the scripting language, object model and pipeline, but also I will venture into the world of C# cmdlets and PowerPhell Hosting, and from time to time cover aspects of our products - PowerShell Analyzer and PowerShell Plus

By Karl Prosser on 1/16/2010 8:27 PM

Have you ever just wanted to run a line or two of C# from within PowerShell and consume the resulting objects from PowerShell? Before V2 you had to do some codedom yourself Plus write a full dotnet class yourself. With V2 you can just do add-type but still you have to write a full class just to run an expression. Anyway how about a year ago after getting fed up with doing that, and also after seeing Mono's C# commandline interface i thought lets do something quick and dirty that could do this.. with the script that will follow you can do stuff like (c being an alias for the function that compiles and runs a C# expression

(c DateTime.Now).adddays(5)
(c "new{a=1,b=2,c=3}").b
c 'from x in Directory.GetFiles(@"f:\downloads") where x.Contains("win") select x'

an interesting thing i found out, was that with the C# compiler in memory i can't create more than one anonymous type (2nd Read More »

By Karl Prosser on 7/20/2009 9:28 PM

 

What is it?
Portable PowerShell is software that allows you to run PowerShell on machines that don’t have PowerShell installed that you can run from a Machine that doesn’t have PowerShell on it, from a USB stick, on a machine that has a different version of PowerShell, a preinstall environment like BartPE, or WinPE or when booted to a windows 7 recovery DVD....
Read More »

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 »

  

We have a new sponsor!  Introducting Pragma Systems.  See the home page for details.

right
   
footer Sponsored by Quest Software • SAPIEN Technologies • Compellent • Microsoft Windows Server 2008 footer
footer