header
header Register : : Login header
header
divider
menuleft
menuright
submenu
left
Random Cmdlets
Suspend-Queue
Use the Suspend-Queue cmdlet to stop outbound activities for a queue on a computer that has the Hub Transport server role or the Edge Transport server role installed.


Set-DynamicDistributionGroup
Use the Set-DynamicDistributionGroup cmdlet to modify the settings of an existing dynamic distribution group.


Format-Wide
Formats objects as a wide table that displays only one property of each object.


Add-QADGroupMember
Add one or more objects to a group in Active Directory. Supported are both Active Directory Doman Services (AD DS) and Active Directory Lightweight Directory Services (AD LDS).


Get-Unique
Returns the unique items from a sorted list.


Enable-TransportAgent
Use the Enable-TransportAgent cmdlet to enable a transport agent on a computer that has the Edge Transport server role or Hub Transport server role installed in a Microsoft Exchange Server 2007 organization.


Remove-Variable
Deletes a variable and its value.


Get-Contact
Use the Get-Contact cmdlet to retrieve information on a specified contact or contacts.


Remove-ManagedFolderMailboxPolicy
Use the Remove-ManagedFolderMailboxPolicy cmdlet to delete Managed Folder Mailbox Policies.


Resume-PublicFolderReplication
Use the Resume-PublicFolderReplication cmdlet to resume content replication when it has been stopped.


  
Latest Scripts from PoshCode.org

Audit NTFS on Shares
Audit Folders/Shares and Export to Excel

PShellExec
PShellExec Executes and Encrypts your data sensitive scripts. INSTALLATION: PowerShell 2.0 is required. The code below needs to be (1) saved to a PShell.txt file and then (2) converted into a PShell.zip file using the Intel HEX to BINARY File Converter Utility (http://www.hex2bin.com/hex2bin/). (3) The resulting PShell.zip file will contain the PShellExec.exe utility. Run PShellExec.exe for usage details.

convert CSV/s to Excel
This script allows you to convert one or more CSVs into an Excel file with each CSV being a new worksheet in excel. The worksheet name will be the name of the file with the exception of the extension. So a file called test.csv will be named 'test'. CSVs can be piped into the function or you can use the -inputfile parameter to accomplish this. Get-ChildItem *.csv | ConvertCSV-ToExcel -output 'report.xlsx' ConvertCSV-ToExcel -inputfile 'file.csv' -output 'report.xlsx' ConvertCSV-ToExcel -inputfile @("test1.csv","test2.csv") -output 'report.xlsx'

Publish-File
Use this to upload one or more files to a SharePoint document library. Should also work with any WebDAV service, although that hasn't been tested. The filename parameter expects fileinfo objects. Easiest way to do so is to pass them on the pipeline from Get-ChildItem. This script is a refinement of a technique that I first saw here: http://blogs.flexnetconsult.co.uk/colinbyrne/PermaLink,guid,a326572f-8f78-4c80-86d5-1fe52cbd6fe5.aspx. The credential parameter is optional. If you do not supply it, then your currently logged-in credentials are used.

GET-Remoteapps
Find an Application on remote list of computers. Example for Accessing Registry remotely comes from MOW from a blog posting here http://thepowershellguy.com/blogs/posh/archive/2007/06/20/remote-registry-access-and-creating-new-registry-values-with-powershell.aspx

Add-SqlTable
Creates a SQL Server table from a DataTable using SMO.

Out-DataTable
Creates a DataTable for an object, based on script by Marc van Orsouw

Write-DataTable
Writes data only to SQL Server tables. However, the data source is not limited to SQL Server; any data source can be used, as long as the data can be loaded to a DataTable instance or read with a IDataReader instance.

Exch07 Quota Report
Power Shell 1 script used to grab mailbox stats for a Exchange 2007 server. It saves the information into a .csv file by changing the $OUTFILE variable. The script is pretty basic but it's a simple way of having a history of how people use their inbox space. There is no method for managing the saved files. I just make it a point to delete them when I run my months end maintenance.

Modified WOL impl.
This function can send WOL packages. Note that this a modified version of code already floating online. You need to specify the Mac address as a string. Optionally use -Ports (0,1000) to specify the udp ports. (use -verbose to show which pacakges are being send).
  
 

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

Written by: Karl Prosser
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. However if want a tool that is definitely worth paying for check out PowerShell Plus at its new home at Idera - http://www.idera.com/Products/PowerShell/

So here is a screenshot of PowerShell Analyzer running with PowerShell V2 CTP3. The new features are all related to the help features of advanced Functions.

  • Region support for multiline comments <# #>
  • Syntax Coloring for help documenting keywords (i.e.  .DESCRIPTION )
  • Code Completion for help documenting keywords.
  • Rich Rendering of advanced function help from get-help in HTML (any advanced function that is in the RunSpace)

1712842

So there. you go. However the help rendering is only in our really old 3 year old Help rendering engine. If you like it wait for our HelpFusion app which will be separate and be able to be used independently or from any PowerShell host. Some of you have seen it, but the rest of you will have to wait until we finish rewriting it for WPF.

Karl

Tags:

Your name:
Title:
Comment:
Add Comment    Cancel  
  

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