header
header Register : : Login header
header
divider
menuleft
menuright
submenu
left
Random Cmdlets
Get-IPBlockListEntry
Use the Get-IPBlockListEntry cmdlet to obtain information about the IP address configuration for the Connection Filter agent for the computer on which the command is run.


Get-WebServicesVirtualDirectory
The Get-WebServicesVirtualDirectory cmdlet retrieves the information for the virtual directory named EWS in the Active Directory directory service from a computer that is running Microsoft Exchange 2007 with the Client Access server role installed.


Remove-MailboxPermission
Use the remove-mailboxPermission cmdlet to remove permissions from a user's mailbox.


Resolve-Host
Resolves host names to IP addresses.


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


Set-OwaVirtualDirectory
Use the Set-OwaVirtualDirectory cmdlet to modify the properties of Outlook Web Access virtual directories on a computer that is running Microsoft Exchange 2007 that has the Client Access server role installed.


Start-ClusteredMailboxServer
This topic explains how to use the Start-ClusteredMailboxServer cmdlet to start a Microsoft Exchange Server 2007 clustered mailbox server after it was shut down with a Stop-ClusteredMailboxServer cmdlet or to restart a failed clustered mailbox server after the problem has been corrected.


Export-Csv
Creates a comma-separated values (CSV) file that represents the input objects.


Set-TransportConfig
Use the Set-TransportConfig cmdlet to view e-mail transport configuration settings for the whole Microsoft Exchange Server 2007 organization.


Remove-SDMgpoSecurity
Removes a permission (ACE) from a GPO


  
Latest Scripts from PoshCode.org

Add new smtp/set prmary
Add new smtp address from csv and set new address primary

Reflection
Helpers for working with .Net classes: Get-Constructor, Get-Assembly, Add-Assembly, Get-Type

WpfBindingHelper
I can't get this to work from PowerShell, but it works fine from C#? * *C#* @PoshWpf.XamlHelper.ConvertToXaml( System.Windows.Markup.XamlReader.Parse( "<StackPanel xmlns='http://schemas.microsoft.com/winfx/2006/xaml/presentation'> <TextBlock Text='{Binding FullName}' /> </StackPanel>" ));@ * *PowerShell* @[PoshWpf.XamlHelper]::ConvertToXaml( [System.Windows.Markup.XamlReader]::Parse( "<StackPanel xmlns='http://schemas.microsoft.com/winfx/2006/xaml/presentation'> <TextBlock Text='{Binding FullName}' /> </StackPanel>" ));@ Both of them give back XAML, but in PowerShell ... I'm missing the {Binding FullName} bit.

Out-Posh
A little wrapper script/function to put pipeline output into New-BootsWindow

Replace-InTextFile
A script to do replace strings in text files. Yes, this is just a wrapper around @(gc) -replace | sc@

Export-WLANSettings.ps1
Using netsh.exe to loop through each WLAN on the system and export the settings to the user-provided output-file.

Format-PoshTable
Format-PoshTable puts the output in a WPF DataGrid (inline in PoshConsole, popup otherwise)

Get-FeedInfo
Takes an array of RSS feed URLs and gets the site URL and title..

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.
  
 

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

Written by: Karl Prosser
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.
Why would I want it?
Administrators often cannot get their key tools, such as PowerShell installed in the environments they are working. This may be because a server installation has not yet been tested or approved, or the IT pro is working on a client’s environment, or a desktop support engineer is working on a machine that will likely not ever have PowerShell installed or enabled. Additionally you may want to run a different version of PowerShell than that installed, being able to do side by side work or comparisons when developing scripts. Having a thumb drive with portable PowerShell and all your own custom scripts with you at all times would be a dream come true to many administrators and IT pros.
How does it work?
You simple take our “PortablePowerShell” zip file and unzip it on a computer that already has PowerShell and Run “MakePortable.exe” and that will produce a folder containing everything you need to run PowerShell portable. From there you can just run it, or then copy it onto other computers, or onto a USB stick.
Does it use App-V or Thinapp?
Though we experimented with ThinApp and App-V for this very purpose a few years ago, we do not use either of those technologies as the past on licensing costs would be prohibitive for the majority of our customers. Instead we have crafted our own “Application Virtualization” particularly targeting the needs of the PowerShell engine.
What about PowerShell V2
In the future after the full release of PowerShell V2 we will release a version that will be able to produce a Portable PowerShell V2, however we made a Portable WinRM so V2 remoting will be limited or non-existent, however we are investigating what is needed to ensure that PowerShell V2 remoting will work.
What about Third Party Snapins?
Snap-in DLLs can be distributed with Portable PowerShell, and we have a configuration tool, and an XML configuration file that ensures that snapins get registered with the Portable PowerShell. However if the third party snapin’s installer puts other files in different places and maintains its own product registry , those snapins may not work. We do however provide a way that you can create and maintain virtual registry settings. We will set up a forum where instructions of including different snapins can be shared with the community. We are confident the majority of Third Party snapins will be able to be run, and we are willing to update the product to accommodate important but “difficult” snapins.
Other Features include ability to produce “custom portable PowerShell’s with special logging, specific scripts build in, scheduling etc.
So when can I get this and how much will it Cost?
ShellTools debuted with bring PowerShell Analyzer then PowerShellPlus, which is now produced and sold by Idera, successfully to market. We have a commitment to our customers, and we want to ensure that what we make lasts, and is feasible to maintain and support. We also learnt that bringing a product to market requires a lot more effort that just excellent software engineering. So basically we are now starting the process of working out whether ShellTools Portable PowerShell is commercially feasible and that we should bring it to market, or whether we just keep it as our own internal tool.
To help us decide could you please fill out the following survey? Additionally if you leave your email address with us in the survey you will likely be invited into the private Beta.

Link to Survey

Embedded Survey

 

..

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