header
header Register : : Login header
header
divider
menuleft
menuright
submenu
left
Random Cmdlets
Copy-ItemProperty
Copies a property and value from a specified location to another location.


Get-IPAllowListEntry
Use the Get-IPAllowListEntry cmdlet to obtain the IP address configuration information for the Connection Filter agent on the computer on which the command is run.


Write-Debug
Writes a debug message to the host display.


New-PublicFolderDatabase
Use the New-PublicFolderDatabase cmdlet to create public folder databases in the specified storage group.


Add-SDMgplink
Links a GPO to a given AD scope, in a chosen position


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


Export-ExchangeCertificate
Use the Export-ExchangeCertificate cmdlet to export an existing certificate from the certificate store on the local computer.


Get-DynamicDistributionGroup
Use the Get-DynamicDistributionGroup cmdlet to retrieve the settings on an existing dynamic distribution group.


Get-Group
Use the Get-Group cmdlet to query for existing groups.


Clean-MailboxDatabase
Use the Clean-MailboxDatabase cmdlet to scan the Active Directory directory service for disconnected mailboxes that are not yet marked as disconnected in the Microsoft Exchange store and update the status of those mailboxes in the Exchange store. This cmdlet is not able to update the Exchange store unless the Microsoft Exchange Information Store service is running and the database is mounted.


  
Latest Scripts from PoshCode.org

Find-DuplicateSMTP
This script will query your AD for all users, groups and contacts. It will then process through each of the SMTP addresses for all objects and count the number of occurances of each address. The scope expanded as I kept thinking of other interesting questions regarding the SMTP addresses that were in my domain. Once the script has finished gathering interesting data regarding the SMTP addresses in your domain, it will dump that information out to a spreadsheet (requires Excel), then send the spreadsheet as an email to you. http://get-scriptjunkie.blogspot.com/2010/02/find-duplicate-smtp-addresses.html

check-nsca.ps1
Sends with nsca (Nagios Client) all Status Informations over VMs

Get-WMIVersions
Use this script to detect installed .NET versions on a remote server using WMI. Requires credentials and a computername.

Del. TrailingBlank (ISE)
This function is intended to be uses as ISE add on. When working with ISE multiline texts take care of correct `r`n handling. Finding the regular expression was a bit tricky. Compare the different versions for yourself

Send-FTP 1.0
A little Send-FTP script to support uploading files. This version is simple: it can't create folders nor allow you to specify whether to overwrite files ...

boblippold
Get Local Security Groups and their Members from Remote Computers. This was modified from Wright47's 07 May 2009 12:58 AM post, and Ying Li's post from 8/31/2007

Out-IseFile
PowerShells wrapping behaviour may be adequate for the console host. Using ISE it's far from the optimal. But you don't need to use the output pane. Send your output to a new ISE Editor. To see the difference just try: get-help * | out-ISEFile

Get-BogonList
Heres a script to quickly look up the latest version of the bogon list maintained by Team Cymru from within PowerShell.

PurgeFiles script.
Recursively remove files with given extension and maximum age from a given path.

Write-IseFile
If you are using ISE put this file anywhere into your PATH and functions depending on it can use it. . . Require-Function Write-IseFile $a = New-ISEFile Write-ISEFile $a 'This line will neither be wrapped nor truncated' # you find Require-Function in http://poshcode.org/1617
  
 

January 20th, 2010,

SoftwareFx is supporting the relief efforts directed to Haiti.  They are donating the proceeds on all the sales of PowerGadgets to several different charitiesThey are also offering PowerGadgets at a reduced price.

If you haven't looked at PowerGadgets, you should!  Our own Marco Shaw has done a number of interesting things with PowerGadgets and you can find them on his blog as well!

-Steven Murawski
Co-Community Director

 

Community News
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...

PowerShell MVPs re-awarded

Congratulations to the PowerShell MVPs that were re-awarded that honor for another year, including our very own Marco Shaw, Hal Rottenberg and Thomas Lee.  Other MVPs that...

Windows PowerShell v2 news

Exciting times ahead...  PowerShell v2 RTMd recently.  V2 will be provided by default with Windows 7 and Server 2008 R2

  
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