header
header Register : : Login header
header
divider
menuleft
menuright
submenu
left
Random Cmdlets
Suspend-PublicFolderReplication
Use the Suspend-PublicFolderReplication cmdlet to stop public folder replication for the organization.


Set-AcceptedDomain
Use the Set-AcceptedDomain cmdlet to configure an existing accepted domain in your organization. An accepted domain is any Simple Mail Transfer Protocol (SMTP) namespace for which an Exchange organization sends and receives e-mail. Accepted domains include those domains for which the Exchange organization is authoritative. An Exchange organization is authoritative when it handles mail delivery for recipients in the accepted domain. Accepted domains also include domains for which the Exchange organization receives mail and then relays to an e-mail server that is outside the Active Directory forest for delivery to the recipient.


Get-PSDrive
Gets information about Windows PowerShell drives.


Get-IPBlockListProvider
Use the Get-IPBlockListProvider cmdlet to view the configuration for a specific IP Block List provider on a computer that has the Hub Transport server role or Edge Transport server role installed.


Split-Path
Returns the specified part of a path.


Set-Service
Changes the display name, description, or starting mode of a service.


Mount-Database
Use the Mount-Database cmdlet to mount a database in a storage group on a Microsoft Exchange Server 2007 Mailbox server. The cmdlet will mount the database only if the Microsoft Exchange Server Information Store service is running.


Export-Clixml
Creates an XML-based representation of an object or objects and stores it in a file.


Remove-IPBlockListProvider
Use the Remove-IPBlockListProvider cmdlet to remove the configuration information for a specific IP Block List provider configuration on a computer that has the Edge Transport server role or the Hub Transport server role installed.


Select-String
Identifies patterns in strings.


  
Latest Scripts from PoshCode.org

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.

Take-Screenshot
This script has a function that allows you to take a screenshot of the entire desktop or of an active window. Also includes option to save the screenshot to a file.

PowerCLI error report
Generating error report bundle for VMware PowerCLI / vSphere

PowerCLI error report
Generating error report bundle for VMware PowerCLI / vSphere
  
 

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
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