 |
|
 |
Remove-UMHuntGroup
The Remove-UMHuntGroup cmdlet removes and deletes an existing Unified Messaging (UM) hunt group.
|
Update-PublicFolder
Use the Update-PublicFolder cmdlet to start content synchronization of a public folder.
|
Out-Host
Sends output to the command line.
|
Remove-ExchangeCertificate
Use the Remove-ExchangeCertificate cmdlet to remove an existing certificate from the local certificate store. If the certificate is a Simple Mail Transfer Protocol (SMTP) Transport Layer Security (TLS) certificate that is also stored in the Active Directory directory service, the Active Directory instance will also be removed when you run this command.
|
Add-QADPasswordSettingsObjectAppliesTo
Add PSO links on a Password Settings object. Windows Server 2008 is required.
|
Remove-PublicFolderDatabase
Use the Remove-PublicFolderDatabase cmdlet to delete public folder databases.
|
Remove-MailboxDatabase
Use the Remove-MailboxDatabase cmdlet to delete a mailbox database object.
|
New-ActiveSyncMailboxPolicy
The New-ActiveSyncMailboxPolicy cmdlet is used to create a new Microsoft Exchange ActiveSync mailbox policy object.
|
Set-SenderIdConfig
Use the Set-SenderIdConfig cmdlet to modify the Sender ID configuration on a computer that has the Edge Transport server role or the Hub Transport server role installed.
|
Remove-TransportRule
Use the Remove-TransportRule cmdlet to remove a transport rule from the Transport Rules agent on a computer that has the Hub Transport server role or the Edge Transport server role installed in a Microsoft Exchange Server 2007 organization.
|
|
 |
|
|
|
 |
| Latest Scripts from PoshCode.org
|
|
|
|
|
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 :)
Get-ObservedIPRange
Get observed IP address ranges and VLAN IDs from an ESX host's physical adapter. Sample use at the bottom.
Get-VMCreationReport
Produces a report of the number of and names of VMs created broken down by month and year.
Manage ASP.NET Providers
Manage ASP.NET MemberShip, Role and Profile Provider with PowerShell. Especially useful with SqlMembershipProvider. I use it to manage SharePoint users with form based authentication (FBA).
ConvertTo-CliXml
Export-CliXml and Import-CliXml only work with files. This is an implementation for sending CliXML directly to the pipeline. Probably needs v2 powershell (not tested in v1).
Manage ASP.NET Providers
Manage ASP.NET MemberShip, Role and Profile Provider with PowerShell. Especially useful with SqlMembershipProvider. I use it to manage SharePoint users with form based authentication (FBA).
PinnedApplications.psm1
PowerShell-module with the ability to pin and unpin programs from the taskbar and the Start-menu in Windows 7 and Windows Server 2008 R2.
|
|
|
|
|
|
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
|
|
|
|
PowerShell In PracticeFrom 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 DirectorsPowerShellCommunity.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 PartyPowerShell 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-awardedCongratulations 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...
|
|
|
|
|
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.
|
 |