header
header Register : : Login header
header
divider
menuleft
menuright
submenu
left
Random Cmdlets
Set-AutodiscoverVirtualDirectory
The Set-AutoDiscoverVirtualDirectory cmdlet configures settings on the Autodiscover virtual directory on a computer that is running Microsoft Exchange Server 2007 that has the Client Access server role installed. You can run this cmdlet on the local Client Access server or from another Exchange 2007 server.


Set-Clipboard
Puts the specified object into the system clipboard.


Disable-JournalRule
Use the Disable-JournalRule cmdlet to disable an existing journal rule on a computer that has the Hub Transport server role installed.


Disable-UMAutoAttendant
The Disable-UMAutoAttendant cmdlet disables an existing Unified Messaging (UM) auto attendant that is enabled.


Get-TransportPipeline
Use the Get-TransportPipeline cmdlet to view each transport agent and the event with which the transport agent is registered on a computer that has the Edge Transport server role or the Hub Transport server role installed in a Microsoft Exchange Server 2007 organization.


Set-OABVirtualDirectory
Use the Set-OABVirtualDirectory cmdlet to change configuration settings for an offline address book (OAB) virtual directory.


Set-SenderReputationConfig
Use the Set-SenderReputationConfig cmdlet to modify the sender reputation configuration on a computer that has the Edge Transport server role or the Hub Transport server role installed.


Get-TerminalSession
Gets information on terminal services sessions.


Update-TypeData
Updates the current extended type configuration by reloading the *.types.ps1xml files into memory.


Get-SDMgpobject
Provides access to individual settings within domain and local GPOs.


  
Latest Scripts from PoshCode.org

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

New-IseFile
If you are using ISE put this file anywhere into your PATH and functions depending on it can use it. . . Require-Function New-ISEFile $a = New-ISEFile # 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