header
header Register : : Login header
header
divider
menuleft
menuright
submenu
left
Random Cmdlets
get-SDMgpo
Returns information about one or all GPOs in an AD domain


out-map
Creates a geographical or customized map for display or redistribution.


Set-IMAP
The Set-IMAP cmdlet is used to manage the mail on your Internet Message Access (IMAP) server.


Add-AvailabilityAddressSpace
Use the Add-AvailabilityAddressSpace cmdlet to define the access method and associated credentials that are used to exchange free/busy data across forests.


invoke-sql
Allows for convenient access to database data through common SQL syntax.


Get-AddressList
Use the Get-AddressList cmdlet to view all attributes of an address list.


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.


Get-ForegroundWindow
Returns the hWnd or handle of the window in the foreground on the current desktop. See also Set-ForegroundWindow.


ConvertTo-Base64
Converts byte array or specified file contents to base64 string.


Set-TransportServer
Use the Set-TransportServer cmdlet to set the transport configuration options for computers that have the Hub Transport server role or Edge Transport server role installed.


  
Latest Scripts from PoshCode.org

Email attachments
All descriptions on the web which show how to do this so far have left the email attachment open which means if the script is continuing after the email and you wish to use the file you have attached you will not be able to as it will show as locked, use this example to close the attached file correctly using .Dispose()

Set-WinSchedule
Set-WinSchedule gives a GUI to select a schedule and schedules a task using schtasks. This is a beta. There are still a lot of features to implement. Please read through the synopsis->Description to see the list of features that I hope to get in a final release.

Get-FtpList
A function to get a file listing via FTP and parse it into objects. The default "FtpWebResponse"http://msdn.microsoft.com/en-us/library/system.net.ftpwebresponse.aspx listing comes back in HTML(Hypertext Markup Language) format from my FTP(File Transfer Protocol) server, and this function parses it into objects. However, the string parsing here may not work on the output of your FTP server (if so, please contribute by adding another set of parsing).

Kill Outlook + CopyPST


Receive-Stream
A *very* simple stream-reader implementation (with no error handling) suitable for simple interactive script task ...

partial application
A proof of concept module implementing partial application (not currying) of functions and cmdlets in powershell. This is a functional language technique often used in languages like Haskell, ML etc.

Stuart McHugh
PowerCLI to upgrade guests tools, hardware and record to CSV

Audit iPhone/Palm Users
This script is intended to use IIS logs to audit OWA/Activesync logs for syncing of mail from an iPhone or a palm device. This script is not perfect, nor the prettiest thing in the world but it works. It could be further added to parse for windows mobile devices. If it was really slick it would grab all the unique values in the DeviceType= portion and then automatically include all mobile types. You can email the results to yourself in $To varible.

IP Scan/Local User admin
Where I work, we don't use AD for roughly 30-60 servers. There are multiple identical local windows accounts on various servers, and when a person leaves the company, those accounts need to be deleted by hand. This group of scripts performs the following tasks: 1) Ping scans a range of IPs for responding hosts. 2) Takes those hosts and attempts to find the specified user 3) Optionally with the -delete flag, deletes the user There's three parts to this script. The trigger which is run from the console in the same directory as the finduser.ps1 and set-localaccount.ps1 files. Note that set-localaccount.ps1 is from powershell.nu, with some minor changes that allow the computername to passed as a parameter.

Xml Module 4.3
My rewritten XML DSL now has better element name handling. "See Blog Comments":http://huddledmasses.org/a-dsl-for-xml-in-powershell-new-xdocument/ New-XDocument no longer requires the "xe" command as long as the name of your XML Element doesn't coincide with that of a PowerShell command (if it does, you need the "xe" on the front), and namespaces can be referred to by short name like dc:creator to keep things simple. Please review the examples on New-XDocument as this is a *breaking change*. h4. The other functions round out the set of XML functionality (especially if you don't have PSCX). In particular, my Select-XML improves over the built-in Select-XML by leveraging "Remove-XmlNamespace":http://poshcode.org/1492 to provide a -RemoveNamespace parameter -- if it's supplied, all of the namespace declarations and prefixes are removed from all XML nodes (by an XSL transform) before searching (so you can actually find things, even with namespace-qualified xml). It is *important* to note that this means that the returned results *will not* have namespaces in them, even if the input XML did. Also, only raw XmlNodes are returned from Select-Xml, so the output isn't quite compatible with the built in Select-Xml -- instead, it's equivalent to using it the way I usually do: @Select-Xml ... | Select-Object -Expand Node@ *New*: Format-XML handles paths too :)
  
 

March 4th, 2010,

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

From Ferdinand Rios -

 iPowerShell is an easy to use reference tool for users of Microsoft’s PowerShell scripting language for use on the iPhone or iPod Touch. It contains full descriptions of each and every core PowerShell Version 2 cmdlet, their syntax, parameters and examples of proper usage. It also contains the complete set of “about item” help topics as well as provider and alias help.

Check out the Sapien blog for additional information.

If you have a third party PowerShell module or snapin with help, please contact Sapien (info@sapien.com) so they can integrate those help files with their next release.

-Steven Murawski
Co-Community Director

 

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

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

  
Recent Blog Entries
Apr 16

Written by: Marco Shaw
4/16/2008 4:10 AM

Windows PowerShell Virtual User Group Meeting #5

Time: April 22nd, 2008 at 8PM EST (New York time)
Place: Online via Live Meeting 2007

-----------------------------------------------------------
To sign up:
-----------------------------------------------------------
Registration site: http://www.clicktoattend.com/?id=127989
Event Code: 127989
-----------------------------------------------------------

This is our fifth virtual event.  Invited speakers that will talk about various PowerShell-related topics: Bart De Smet (Microsoft), Steven Nelson (Microsoft), Hal Rottenberg (PowerScripting Podcast).

To join:
https://www.livemeeting.com/cc/winserver_usergroup/join?id=3W8JZZ&role=attend&pw=8%5E-%5CzqX
Unable to join the meeting?  Follow these steps:
1.Copy this address and paste into your web browser:
https://www119.livemeeting.com/cc/winserver_usergroup/join
2.Copy and paste the required information:
Meeting ID: 3W8JZZ
Entry Code: 8^-\zqX

Agenda:
8:00PM-8:10PM: Introduction
8:10PM-8:35PM: Bart De Smet (Microsoft)
8:40PM-9:00PM: Steven Nelson (Microsoft)
9:05PM-9:30PM: Hal Rottenberg (PowerScripting Podcast)
9.30PM-9:35PM: Closing

Speaker topics:
*Bart De Smet (Microsoft): Focus on extensibility (cmdlets and providers) and discuss v2 features: script cmdlets and internationalization.
*Steven Nelson (Microsoft): MSDN/SDK PowerShell documentation.
*Hal Rottenberg: Managing VMware Infrastructure using PowerShell.

Notes:
All details related to this event will be posted on http://www.powershellcommunity.org.
(NOTE: This is delivered via Live Meeting 2007.  It is possible that you may have to download and install the Live Meeting 2007 client which can take possibly up to 10 minutes typically.)

Sponsors/partners:
PowerGadgets, Shell Tools

Tags:

1 comments so far...

Re: Windows PowerShell Virtual User Group Meeting #5

Cool. I'm in.

By dpenderg on   4/17/2008 11:10 AM

Your name:
Title:
Comment:
Security Code
Enter the code shown above in the box below
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