PoshCode Archive  Timeline

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

760 check-ins using file Test-Port.ps1 version 74cb7e1ef3

2018-06-10
13:09
Enables SNMP via Add-WindowsFeature (If not already enabled) check-in: 879a5645cb user: St3v3o tags: trunk
13:09
Another version to compare 2 SQL Tables. Uses code to exclude specified columns from SELECT * check-in: ca48ffbb26 user: Bernd Kriszio tags: trunk
13:09
Compare 2 system.Data.DataSet each containing 1 table check-in: 101dba4b89 user: Bernd Kriszio tags: trunk
13:09
Compare 2 system.Data.DataSet each containing 1 table check-in: 2ad9a16684 user: Bernd Kriszio tags: trunk
13:09
All Group Policy Objects modified in the specified timespan are backup up to the specified backup path. check-in: e8be142074 user: Jan Egil Ring tags: trunk
13:09
Powershell iTunes is a Powershell script which lets you control iTunes over Powershell. check-in: 2bf0b8d154 user: tmaurer tags: trunk
13:09
Module gives functions for managing RemoteApp on Windows 2008 and Windows 2008 R2. check-in: 3a93297aac user: unknown tags: trunk
13:09
function whoami check-in: 9b49d7ba2e user: William tags: trunk
13:09
Suffering from Monday morning due to server failure. Maybe an excuse should be automatically added to mails sent from members of my team. check-in: ad6da4ec26 user: unknown tags: trunk
13:09
The beginnings of a complete rewrite … I’m actually going to recreate the functionality (but not the API) of my HttpRest module based on Hammock … this is just the first function. check-in: 4e3d0f8560 user: Joel Bennett tags: trunk
13:09
This is the second release, but still very raw. Supports OAuth via Installed Application Authentication (a modified form of OAuth where the consumer fetches access tokens using a username and password instead of a request token) ... now includes a sample app for fetching stuff off Yammer. check-in: dd61e66498 user: Joel Bennett tags: trunk
13:09
Findup – Find Duplicates, and optionall delete them. C# version of the powershell script FindDupe.ps1, C# version is probably 100 times faster though. check-in: 0a614ef776 user: James Gentile tags: trunk
13:09
This advanced function will allow you to set the IIS log location on a server or servers. You can specify a single site or perform the task on all sites. Also supports -whatif in the function. check-in: c3d5a29648 user: Boe Prox tags: trunk
13:09
This advanced function can be run against a single server or multiple servers to find the location of the log files for each website configured in IIS. This has been tested against II6 and IIS7. check-in: 8b8313da9d user: Boe Prox tags: trunk
13:09
Example of how to use Treeview Hierarchical databind using Boots. It took me a while to figure this out. Thanks JasonMArcher for your help! check-in: 8d5239849c user: unknown tags: trunk
13:09
All Group Policy Objects modified in the specified timespan are backup up to the specified backup path. check-in: e0652b8732 user: Andy Helsby tags: trunk
13:09
Splits a string (by default, on whitespace), and allows you to pick and chose which pieces are returned. Something like “cut” in bash… check-in: 1c1e5f9816 user: Joel Bennett tags: trunk
13:09
Uses WMI to create a new virtual machine check-in: cc11e14b10 user: unknown tags: trunk
13:09
Convert a URL Encoded address most commonly found in bounce messages into an X500 address that can be added as an alias to the appropriate mail-enabled object. check-in: 7eef78c7ff user: Jon Webster tags: trunk
13:09
This module allows you to manage WSUS from PowerShell. Save code as a .psm1 file and use the Import-Module command for this module. You can approve/decline updates, perform synchronizations, add/remove clients from a target group, create/delete Target groups and much more with currently 40 advanced functions. For more information about this module, please see my blog http://boeprox.wordpress.com/ check-in: 853e31ea12 user: Boe Prox tags: trunk
13:09
This module allows you to manage WSUS from PowerShell. Save code as a .psm1 file and use the Import-Module command for this module. You can approve/decline updates, perform synchronizations, add/remove clients from a target group, create/delete Target groups and much more with currently 40 advanced functions. For more information about this module, please see my blog http://boeprox.wordpress.com/ check-in: d73b33c4f5 user: Boe Prox tags: trunk
13:09
MKLINK – Make Symbolic File and Directory links. Useful for making symbolic links from powershell. check-in: 0670b5cf39 user: James Gentile tags: trunk
13:09
Invokes JQuery (or plain Javascript) commands via InternetExplorer.Application COM object,after initial injection of JQuery reference in header section. check-in: 31560b2bea user: Dirk Bremen tags: trunk
13:09
Invokes JQuery (or plain Javascript) commands via InternetExplorer.Application COM object,after initial injection of JQuery reference in header section. check-in: f7ddb7c5fb user: unknown tags: trunk
13:08
Converts a collection of PowerShell objects into a multi-dimensional array. The first row of the array contains the property names. Each additional row contains the values for each object. check-in: b7e0bf24f3 user: Tome Tanasovski tags: trunk
13:08
Findup – Find Duplicates, and optionall delete them. C# version of the powershell script FindDupe.ps1, C# version is probably 100 times faster though. check-in: 7a20820c66 user: James Gentile tags: trunk
13:08
This script uses query.exe to query local or remote computers and returns back the current logon sessions. This script will only work on Vista and above client OS’s and Windows 2008 and above server OS’s unless a Windows 2003 server is configured as a Terminal Server. check-in: dd1f9e0435 user: Boe Prox tags: trunk
13:08
Findup – Find Duplicates, and optionall delete them. C# version of the powershell script FindDupe.ps1, C# version is probably 100 times faster though. check-in: 9366c30c97 user: James Gentile tags: trunk
13:08
Calculate prime numbers … check-in: ea3f818574 user: Joel Bennett tags: trunk
13:08
hashtable to object function. check-in: 751dd6dd13 user: karl prosser tags: trunk
13:08
Resolves OID value to a Friendly Name and vice versa. The cmdlet resolves both well-known OIDs (used in Internet PKI) and Active Directory forest specific registered OIDs. check-in: 03726de51d user: unknown tags: trunk
13:08
Script to create a NLB-cluster for the CAS/HUB-roles in Exchange Server 2010. check-in: 65c5822cad user: Jan Egil Ring tags: trunk
13:08
This is an old script I had lying around. It has NOT been updated in a long time :) check-in: d347a8daf9 user: unknown tags: trunk
13:08
COMMENT: check-in: d9c4f9615a user: unknown tags: trunk
13:08
UPDATED 2010/10/28: Visually create an instance of an enum with an easy to use menu system. Supports both single value enumerated types and bitmask (flags) enums. Also supports dynamic inline help for enumerated values (help works with powershell.exe host only – ISE is buggy.) PowerShell 2.0 required. This uses uses the new to v2 IHostUISupportsMultipleChoiceSelection interface. check-in: 15922c65d6 user: Oisin Grehan tags: trunk
13:08
Findup – Find Duplicates, and optionall delete them. C# version of the powershell script FindDupe.ps1, C# version is probably 100 times faster though. check-in: 6e77b15a2f user: James Gentile tags: trunk
13:08
hashtable to object function. check-in: a063be42c1 user: karl prosser tags: trunk
13:08
Visually create an instance of an enum with an easy to use menu system. Supports both single value enumerated types and bitmask (flags) enums. Also supports dynamic inline help for enumerated values (help works with powershell.exe host only – ISE is buggy.) PowerShell 2.0 required. This uses uses the new to v2 IHostUISupportsMultipleChoiceSelection interface. check-in: 4ce0512d52 user: Oisin Grehan tags: trunk
13:08
Based on poshcode.org/753 – minor mods to support new mandatory authentication parameters in Lab Manager 4.x. check-in: 377bc54890 user: oldsienna tags: trunk
13:08
PowerBot is my IRC bot written in PowerShell script using SmartIrc4Net There’s a bit more to it than this, but this is the basic script, and all you have to do is add your own commands! Of course, you could also add your own additional message handlers and make a chatter-bot or whatever you like. Please share your mods back here! check-in: 553c13b114 user: avianses tags: trunk
13:08
Module for communicating with FTP server check-in: b05236610f user: Noldorin tags: trunk
13:08
This sample was put together with Jaykul’s help and bits and pieces were taken from the Sample.ps1 distributed with PowerBoots. It requires the current changeset of PowerBoots. Not the 0.2 beta. check-in: 91005b80ab user: foureight84 tags: trunk
13:08
Change the extension on files check-in: 2977437172 user: unknown tags: trunk
13:08
Helpers for working with .Net classes: Get-Constructor, Get-Assembly, Add-Assembly, Get-Type check-in: fdeff8f60c user: Joel Bennett tags: trunk
13:08
Autoload function like the Korn shell — can inject functions to modules. check-in: 8495e982b7 user: Joel Bennett tags: trunk
13:08
Get the Windows Experience Rating check-in: 6768fc45ba user: unknown tags: trunk
13:08
More C# than PowerShell. A script to return DHCP client leases from a DHCP server. check-in: c757834749 user: unknown tags: trunk
13:08
Updated for current PowerBoot (latest chackin) check-in: eb29e7aee0 user: Joel Bennett tags: trunk
13:08
Sample ScriptingAgentConfig.xml for working with the Exchange Server 2010 Scripting Agent cmdlet extension agent. check-in: 761e8fd537 user: Jan Egil Ring tags: trunk
13:08
This sample was put together with Jaykul’s help and bits and pieces were taken from the Sample.ps1 distributed with PowerBoots check-in: cf60e73d41 user: foureight84 tags: trunk
13:08
help needed check-in: e44793599a user: unknown tags: trunk
13:08
An attempt to resolve namespace clashes without overwriting functions … check-in: c460643976 user: unknown tags: trunk
13:08
A pair with ConvertTo-CliXml — this version closes and disposes the string reader handle. check-in: 14f48d81bb user: David Sjstrand tags: trunk
13:08
Export-CliXml and Import-CliXml only work with files. This is an implementation for sending CliXML directly to the pipeline. Requires PowerShell 2.0 check-in: c43d642d7a user: David Sjstrand tags: trunk
13:08
A Write-Output replacement with the option to output collections that don’t unwrap. check-in: 7ced72fad0 user: Joel Bennett tags: trunk
13:08
By way of demonstrating how the -Confirm parameter affects $ConfirmPreference and thus the output of cmdlets called in a script. check-in: 7f1644ee78 user: unknown tags: trunk
13:08
Enhanced error handling check-in: c1352251ba user: Lee Holmes tags: trunk
13:08
Yet another find text in text files, this time with context, too. check-in: da9e50e683 user: David Mohundro tags: trunk
13:08
Sets a very subtle windows transparency for powershell. check-in: 673ea1e5f8 user: Jachin tags: trunk
13:08
I wrote this based on ConvertTo-CliXml. This takes a xml string from the pipeline and converts it to objects. check-in: 8aaab5a669 user: David Sjstrand tags: trunk
13:08
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). check-in: 59e1affc90 user: Oisin Grehan tags: trunk
13:08
Provides an easy way to change the text encoding on a lot of scripts at once. check-in: 09359ed9d1 user: Jason Ferris tags: trunk
13:08
Collection of functions to Shutdown, Reboot, Logoff, Standby(sleep) or Hibernate your computer. check-in: d0f0a83bf1 user: TJdot tags: trunk
13:08
Modeled after SQL Server 2008 Invoke-Sqlcmd, but fixes bug in QueryTimeout. check-in: 6d11f0c83d user: Chad Miller tags: trunk
13:08
Opens the MSDN web page of an object member: type, method or property. check-in: 51462a6c7b user: Shay Levy tags: trunk
13:08
Creates a SQL Server table from a DataTable using SMO. check-in: 960a23975d user: Chad Miller tags: trunk
13:08
Writes data only to SQL Server tables. However, the data source is not limited to SQL Server; any data source can be used, as long as the data can be loaded to a DataTable instance or read with a IDataReader instance. check-in: 0499519f90 user: Chad Miller tags: trunk
13:08
A module for updating the machineKey element in some or all of the web.config files on a server at once. check-in: e9d2e1dd52 user: Joel Bennett tags: trunk
13:08
A demo script which work against remote session output as well as local output: check-in: 98e90b1b53 user: unknown tags: trunk
13:08
I created this function to generate a new PowerShell Script template. It will prompt for the name of the script you want to create (don’t need to add the .ps1 extension) and the email (don’t need to add email) then it will create the template in the C:\Scripts directory (Dir should already exist) check-in: 8249cddfcc user: unknown tags: trunk
13:08
Generate Cryptographically Random Bytes, using RNGCryptoServiceProvider, and optionally format them as strings. check-in: 3a35ec2ff9 user: unknown tags: trunk
13:08
A function to join a domain check-in: cac862858b user: Andy Schneider tags: trunk
13:07
An example of making “custom objects” with strongly-typed properties, custom enumeration/validation and error messages. check-in: bf25145342 user: unknown tags: trunk
13:07
The Easy Migration script enables you to manually VMotion and SVMotion virtual machines very quickly and easily. You don’t have to specify the resource pools and it reduces the amount of mouse clicks required. There is also an Undo feature. check-in: d6d1520f44 user: unknown tags: trunk
13:07
Based on poshcode.org/753 – minor mods to support new mandatory authentication parameters in Lab Manager 4.x. check-in: 2efb859dd5 user: oldsienna tags: trunk
13:07
Generates a simple dataset based on the files in the current directory. I whipped this up while answering questions about databinding because I needed to be able to create multiple DataSets/DataTables easily, without needing an actual database. check-in: 7873b821dd user: Joel Bennett tags: trunk
13:07
Description check-in: 0f0effd51d user: Carter Shanklin tags: trunk
13:07
Datagrid Xaml layout needed for Boots DataGrid binding example http://poshcode.org/2259 check-in: 959c686d73 user: foureight84 tags: trunk
13:07
Bind DataGrid to an object array using Powerboots check-in: 08adb241ef user: foureight84 tags: trunk
13:07
This is the final version of PoshCode ISE addon for uploading scripts to PoshCode.org from PowerShell ISE. You can upload scripts in two ways. First method is to select all or part of the script and upload it by pressing CTRL+ALT+C. And, the second method is to just press CTRL+ALT+C. This way you can upload all contents without any selection. check-in: d9f09c8f31 user: ravikanth_chaganti tags: trunk
13:07
TreeView check-in: 0373144083 user: unknown tags: trunk
13:07
PowerShell ISE addon for PoshCode script uploads check-in: a93e6880eb user: unknown tags: trunk
13:07
Find matching members in a local group check-in: 381daac6d5 user: Hal Rottenberg tags: trunk
13:07
Find matching members in a local group check-in: 72a2ecd081 user: Hal Rottenberg tags: trunk
13:07
This script will help detect vulnerable configuration for the Padding Oracle check-in: 749f49a6e9 user: Jerry George tags: trunk
13:07
Some functions for drawing mini-buffers. Please try the two demo functions included! check-in: a1e10e5f74 user: Joel Bennett tags: trunk
13:07
Password gerneration function originally posted on PoshCode.org by Sean Kearney. Without any arguments, Get-NewPassword generates an 8 character password with upper, lower, and numeric characters. It can accept 2 options, the first is password length (up to 94 chars) and the other is complexity (1 to 4). I had to modify the code so that it wouldn’t create repeating characters. The code may be ugly, but it’s because I am a network admin and not a programmer. I hope it helps someone. check-in: 288aac4271 user: johnwcannon at gmail dot com tags: trunk
13:07
Function to test if a file is writable. Uses the .openwrite() method to test and returns a boolean. check-in: c460768058 user: JimbobNet tags: trunk
13:07
Function to test if a file is writable. Uses the .openwrite() method to test and returns a boolean. check-in: 0ec2ff5c23 user: JimbobNet tags: trunk
13:07
Script to translate Service DACL’s into HRL (Human Readable Language) :) check-in: 985e9083da user: Claus T Nielsen tags: trunk
13:07
Export 2007/2010 usermailbox to PST located on File Share check-in: 656b7cdbc6 user: unknown tags: trunk
13:07
You can just copy paste this entire script to your PowerShell ISE profile script. This script will take care of saving your ISE preferences such as color schemes, font styles, etc. You can change any of these values and this script will take care of storing and re-storing those preferences everytime you open ISE. check-in: 1379b003c2 user: Ravikanth Chaganti tags: trunk
13:07
This script will create a new System Center Configuration Manager (SCCM) 2007 Collection. check-in: 37800c74d1 user: Andy S tags: trunk
13:07
This invokes a command exclusively check-in: 9cc8c844d0 user: bassamf tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: c370d94e07 user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: d29c2fed70 user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 6a6147bca6 user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 347d24e7ba user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 262e6b56f3 user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: c4c2560eec user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: fba69200ab user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 0d70bfe86c user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 6d2914124f user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: b2a527d175 user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: b231d9a0a1 user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: c24bef6a13 user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 8526abbace user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 0b638f8c75 user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 8b5f9c61e9 user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 60e4e3d337 user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 9af81476f3 user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 0b26434a8c user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 9af5f81f4e user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 9eeb6cd01e user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 78a552f9c6 user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 9c9d278d68 user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 9956e37e2b user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: e0174ed8c2 user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 17a9e92447 user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: a589343eba user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: ecad39612f user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: a8a5a7144c user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 2ff3dcd205 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 231719387a user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 320bcf34f1 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 6b41d99eca user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 69685c6c3d user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 8da651434e user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: ae854ebfb9 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 98e35b771c user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: d4a2e8c740 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: fcdf4a3a32 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: a67d796c4c user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 7377999218 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: dbf79e3fb4 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 88fa6ad47b user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: b0abba9373 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: d997dc9e05 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 3dfba10b0a user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: f2f5f6017f user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 52ccb53c5b user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: d62ad63f2a user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: bba4f6e13a user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: ef95f0999d user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: ee4f22a7fe user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: dec706c655 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: f985b273a3 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 21c8affae4 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: bff95b023f user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 28cedd0aa3 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: e4873ad3c8 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 3d63760bc3 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: d81d875030 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 858f5724b4 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: d5b9482cc3 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: e64ee469f2 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 343b954e1c user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 6b73529a34 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 4541ab35a7 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: bc3416d557 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 2a3d71e629 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: c22107875b user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 149a2d1cae user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 4b27884ee7 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 6c49431de9 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 76886b5164 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 7e7f74ed46 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 0b867601ae user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 06bddc8c83 user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 58fb5474ab user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: ef5798fbdf user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 79c9a1e12b user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 37ba8f78c0 user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: cdb91a83c5 user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 17a43306eb user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 3e2bfc94b8 user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 503bbd5349 user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 5b1659394a user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 9e23ce0edf user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 1f210a23c1 user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: d0fc3074b1 user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: d9512c3c9b user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: deff60274a user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 42c8cdfc31 user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: bd085a29fa user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 5dbfc3b835 user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 31268d8dc3 user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: a5b069147c user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 9a19a76b74 user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 38aabab23e user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 8c77eb2bc2 user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 4537f544fc user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: c9e9c7b800 user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: bb7cf29030 user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 94b16c4eb9 user: Lee Holmes tags: trunk
13:05
Audit Folders/Shares and Export to Excel check-in: eb7c103e37 user: DigitalAsylum tags: trunk
13:05
This script allows you to convert one or more CSVs into an Excel file with each CSV being a new worksheet in excel. The worksheet name will be the name of the file with the exception of the extension. So a file called test.csv will be named ‘test’. CSVs can be piped into the function or you can use the -inputfile parameter to accomplish this. check-in: b52c1f67a4 user: Boe Prox tags: trunk
13:05
Use this to upload one or more files to a SharePoint document library. Should also work with any WebDAV service, although that hasn’t been tested. The filename parameter expects fileinfo objects. Easiest way to do so is to pass them on the pipeline from Get-ChildItem. This script is a refinement of a technique that I first saw here: http://blogs.flexnetconsult.co.uk/colinbyrne/PermaLink,guid,a326572f-8f78-4c80-86d5-1fe52cbd6fe5.aspx. check-in: 5220f14b40 user: halr9000 tags: trunk
13:05
Find an Application on remote list of computers. check-in: 70efc53d75 user: Sean Kearney tags: trunk
13:05
Creates a SQL Server table from a DataTable using SMO. check-in: c748193495 user: Chad Miller tags: trunk
13:05
Creates a DataTable for an object, based on script by Marc van Orsouw check-in: 2f15a2ed96 user: Chad Miller tags: trunk
13:05
Writes data only to SQL Server tables. However, the data source is not limited to SQL Server; any data source can be used, as long as the data can be loaded to a DataTable instance or read with a IDataReader instance. check-in: ded2d97798 user: Chad Miller tags: trunk
13:05
Power Shell 1 script used to grab mailbox stats for a Exchange 2007 server. It saves the information into a .csv file by changing the $OUTFILE variable. check-in: 1440602e65 user: Hinkle tags: trunk
13:05
Creates a DataTable for an object, based on script by Marc van Orsouw check-in: a6fae1ee0f user: Chad Miller tags: trunk
13:05
This function can send WOL packages. Note that this a modified version of code already floating online. You need to specify the Mac address as a string. Optionally use -Ports (0,1000) to specify the udp ports. (use -verbose to show which pacakges are being send). check-in: ff2effcac2 user: FrankSpierings tags: trunk
13:05
Modeled after SQL Server 2008 Invoke-Sqlcmd, but fixes bug in QueryTimeout. check-in: 00797fa518 user: Chad Miller tags: trunk
13:05
Modeled after SQL Server 2008 Invoke-Sqlcmd, but fixes bug in QueryTimeout. check-in: ef485bb9b8 user: Chad Miller tags: trunk
13:05
A DOS cmd script to show how your arguments look to “native” console apps check-in: d8df007c55 user: unknown tags: trunk
13:05
This script will allow you to set the password for an account on a local or remote machine/s. A report is then generated when done along with an error log. Scripts accepts pipeling input for the computer/s. If any errors are encountered, a log will be generated as well. check-in: 89078e96e1 user: Boe Prox tags: trunk
13:05
This script will allow you to set the password for an account on a local or remote machine/s. A report is then generated when done along with an error log. Scripts accepts pipeling input for the computer/s. If any errors are encountered, a log will be generated as well. check-in: af16d2fa36 user: unknown tags: trunk
13:05
http://georgemauer.net/blog/enabledisable-fusionlog-powershell-script/ check-in: 35db00eb65 user: George Mauer tags: trunk
13:05
My current (WPF 4 compatible) PowerBoots-based Presentation Module. REQUIRES PresentationFrame.xaml and, of course, PowerBoots check-in: 0e305c74b8 user: Joel Bennett tags: trunk
13:05
A required file for my PowerShell Presentation module check-in: b39cb9df82 user: unknown tags: trunk
13:05
A script to do a query on a remote registry key or value. check-in: 4e2c37c193 user: Joel Bennett tags: trunk
13:05
Generates a self-signed certificate authority and a code-signing certificate using OpenSSL check-in: 0fd9fc6f95 user: Joel Bennett tags: trunk
13:05
just a quick re-write of gmagerr’s Powershell Template script to enable his template to create Powershell ISE help-comment based structure which I often use; I just put this function into an add-isemenu custom menu array. Thanks to gmagerr for the structure I just added a couple of things (most of which work fine!). thx for the base gmagerr. check-in: 8febf5243d user: biryani tags: trunk
13:05
I’ve tweaked New-SshSession again, this time it supports multiple parameter sets (including one with the password in plain text, and one which takes a PSCredential). check-in: 889dd55cb9 user: Joel Bennett tags: trunk
13:04
In this JSON module, I have a full set of tools for exporting, importing, and converting Json objects (including arbitrary objects). See comments in script header for usage examples, but basically, you can do things like: check-in: c27af2ca7c user: Joel Bennett tags: trunk
13:04
Upgraded more functions to PowerShell 2.0 [CmdletBinding()] check-in: a8e65ba498 user: Joel Bennett tags: trunk
13:04
This is my profile script … it contains a few things that are specific to my setup (particularly: which modules I load, and the scripts which I Autoload), but they are all available here on PoshCode.org :-) check-in: f530b18341 user: Joel Bennett tags: trunk
13:04
My command Prompt — I recently added a “Pastable” option so that I can safely copy-paste a commandline and have it run without having to manually edit out my prompt. check-in: d656a92e90 user: Joel Bennett tags: trunk
13:04
You need to download and unpack LoreSoft.MathExpressions.dll into your Documents\WindowsPowerShell\Libraries or tweak this module. check-in: ebf442b08f user: Joel Bennett tags: trunk
13:04
I created this function to generate a new PowerShell Script template. I’ve modified it to prompt for the file name, eMail, and finally you can add a comment. The tricky part was trimmimg the comment so it would wrap properly. I use this all the time. Enjoy. check-in: b3aa09b0ed user: gmagerr tags: trunk
13:04
This Script allows testing of newly sequenced App-V apps without having to specify the file:// URL in the OSD, or distributing via the App-V infrastructure or SCCM. It scans a directory and loads all XML manifests for app-v packages in that directory, overriding the default distribution URLs. check-in: b046a59e70 user: jgrote tags: trunk
13:04
Check to see if users passwords will expire in X days and send them an email notification. This script was written using the Active Directory cmdlets bundled with Server 2008 and Powershell 2.0 check-in: 9cc3e07463 user: St3v3o tags: trunk
13:04
Add a type property to the VirtualHarddisk object to associate a disks type…. too big to past into twitter :D check-in: fa63524da9 user: unknown tags: trunk
13:04
Power Shell 1 script used to grab mailbox stats for a Exchange 2007 server. It saves the information into a .csv file by changing the $OUTFILE variable. check-in: f73175edc4 user: Hinkle tags: trunk
13:04
Script to run daily send/receive reports in .csv format on a Exchange 2007 server using Power Shell 1. check-in: d2d1c62fa7 user: Hinkle tags: trunk
13:04
COMMENT: check-in: a19fff10ed user: Stephen Wheet tags: trunk
13:04
COMMENT: check-in: dddc967069 user: Stephen Wheet tags: trunk
13:04
Get-FileEncoding function determines encoding by looking at Byte Order Mark (BOM). check-in: ffb9b4efc9 user: Chad Miller tags: trunk
13:04
Remotely force WSUS Check on Servers within your network. Powershell remoting must be enabled. check-in: 805a8644c9 user: St3v3o tags: trunk
13:04
Update AD Security Group with users that have attribut X set. This script does all updates on the PDC emulator. check-in: 62a96998e8 user: St3v3o tags: trunk
13:04
Check to see if users passwords will expire in X days and send them an email notification. This script was written using the Active Directory cmdlets bundled with Server 2008 and Powershell 2.0 check-in: a0ce6aace5 user: unknown tags: trunk
13:04
Enables SNMP via Add-WindowsFeature (If not already enabled) check-in: 3593e26413 user: St3v3o tags: trunk
13:04
Invoke generic method definitions (including static methods) from PowerShell. check-in: 3cafa218f1 user: Joel Bennett tags: trunk
13:04
Get-FileEncoding function determines encoding by looking at Byte Order Mark (BOM). check-in: bc382390a3 user: Chad Miller tags: trunk
13:04
A simple function for connecting a UNC path to a specified Windows drive letter. Some other things I’d like to see added: check-in: 702162cc21 user: mtown_nerd tags: trunk
13:04
Displays private fields of passed object. This function is useful only if you want to want to see what is under the hood in powershell check-in: 9bf3e91c05 user: Andrew Savinykh tags: trunk
13:04
Splits a string (by default, on whitespace), and allows you to pick and chose which pieces are returned. Something like “cut” in bash… check-in: ef604b8ed8 user: Joel Bennett tags: trunk
13:04
Enable aero “glass” effects for the regular powershell 2.0 console (not ISE) – vista or above, powershell 2+ and aero-compatible gfx card. check-in: 4502475d88 user: Oisin Grehan tags: trunk
13:04
Takes a fixed format CSV and pumps out clones from a template. Easily modified to do clones of a VM or create new VMs. Some of the restrictions mentioned in the notes appear to be fixed with VMware ESX v4.1. check-in: 56de1423e0 user: monahancj tags: trunk
13:04
ConvertFrom-PropertyString 3.0 can convert ini files, property files, and other flat key-value data strings into PSObjects. check-in: c4c2f2f34b user: Joel Bennett tags: trunk
13:04
Notifies other processes that the global environment block has changed. This lets other processes pick changes to ENV: without having to reboot or logoff/logon. A non-zero result from SendMessageTimeout indicates success. check-in: cce4780579 user: Oisin Grehan tags: trunk
13:04
A function to migrate a single user in the Active Directory Migration Tool, based on the sample script Invoke-ADMTUserMigration.ps1: http://poshcode.org/2046 check-in: e20f247bab user: Jan Egil Ring tags: trunk
13:04
A function to migrate a single user in the Active Directory Migration Tool, based on the sample script Invoke-ADMTUserMigration.ps1: http://poshcode.org/2046 check-in: 60723522bd user: unknown tags: trunk
13:04
This is an example on how to script the Active Directory Migration Tool (ADMT) using PowerShell. check-in: b53178488b user: Jan Egil Ring tags: trunk
13:04
Enable .Net 4 and \\UNC path modules for PowerShell, PowerShell_ISE and even wsmprovhost.exe by using this app.config. check-in: a993c35e9d user: Joel Bennett tags: trunk
13:04
Enable .Net 4 and \\UNC path modules for PowerShell, PowerShell_ISE and even wsmprovhost.exe by using this app.config. check-in: 21de747283 user: Joel Bennett tags: trunk
13:04
A wrapper for DataSvcUtil to generate web service proxies in-memory for OData services like NetFlix (which are not handled correctly by PowerShell’s built-in New-WebServiceProxy). check-in: 402a535ad7 user: Joel Bennett tags: trunk
13:04
A function that allows me to query DNS on my internal servers for Domain Controllers check-in: 8d4801c26d user: unknown tags: trunk
13:04
A wrapper for DataSvcUtil to generate web service proxies in-memory for OData services like NetFlix (which are not handled correctly by PowerShell’s built-in New-WebServiceProxy). check-in: 9dbf477e26 user: Joel Bennett tags: trunk
13:04
This scConvertTo-Hex S-1-5-21-357043131-537017027-1947940980-1289ript will convert a security identifier (SID) in string format to its hexadecimal equivalent. e.g. check-in: d9522ce826 user: S-1-5-21-2398571 tags: trunk
13:04
A few miscellaneous enhancements to HttpRest for pipelining urls, and the beginning of documentation … check-in: 8bbf433859 user: Joel Bennett tags: trunk
13:04
Checks whether MSDTC is enabled for network access. By default MSDTC network access is disabled. This feature is needed by SQL Server Linked Servers check-in: 1a8263fceb user: Chad Miller tags: trunk
13:04
Gathers data from Exchange mailbox servers. check-in: ccb20a215b user: Karl Mitschke tags: trunk
13:04
Get-EmptyGroup: Function to find empty groups in Win2000/2003/2003R2/2008 domains. check-in: a0be759133 user: unknown tags: trunk
13:04
This script has a function that allows you to take a screenshot of the entire desktop or of an active window. Also includes option to save the screenshot to a file. check-in: 3d53b085b5 user: Boe Prox tags: trunk
13:04
Generating error report bundle for VMware PowerCLI / vSphere check-in: b29f5c4fec user: unknown tags: trunk
13:04
Generating error report bundle for VMware PowerCLI / vSphere check-in: 6aea18b059 user: unknown tags: trunk
13:04
This function will determine whether the local operating system architecture is 64-bit. This has been converted to PowerShell from the original C# code produced by Stefan Schultze check-in: de7cce50cb user: George Howarth tags: trunk
13:04
Error handling with PowerCLI 4.1 check-in: 78322f13a3 user: Yasen Kalchev tags: trunk
13:04
Deploying a VM with Static IP in 3 steps check-in: 4e2dc318ec user: Nedko Nedev tags: trunk
13:04
Deploying VM with static ip in 3 steps check-in: 8b8c25dd0d user: Nedko Nedev tags: trunk
13:04
Deploying a VM with Static IP in 3 Lines check-in: f6644c54ed user: Nedko Nedev tags: trunk
13:04
4 lines of PowerShell to wrap that C# class and show you how to use it… (with Add-Type -Path) check-in: a536bf2c3a user: Joel Bennett tags: trunk
13:04
A C# class (use with Add-Type -Path) that encapsulates the desktop APIs… check-in: 78095fa0c1 user: Joel Bennett tags: trunk
13:04
Enumerate the Parameters of a command by ParameterSet, including DynamicParameters check-in: 1c0f701bbb user: Joel Bennett tags: trunk
13:03
This script was written to test comment based help. In current version supports only v2 comments. Only minimal tests, so there may be some bugs… check-in: 72f621265b user: BartekB tags: trunk
13:03
Deploying VM with static IP in 3 lines check-in: 519d09f6d4 user: unknown tags: trunk
13:03
Deploying VM with static IP in 3 lines check-in: 7f70145421 user: unknown tags: trunk
13:03
There are problems with displaying modal dialogs from PowerShell in XP SP3. When the ShowDialog() method is called, the dialog is not modal and is behind the PowerShell window. To solve this problem, you need to add a class that implements System.Windows.Forms.IWin32Window and instantiate that class with the handle to the main window of the running process, and then pass that handle as a parameter to the ShowDialog() method to make the dialog act modally. check-in: a23bab7826 user: George Howarth tags: trunk
13:03
Set’s the screen resolution on the primary monitor using Win32 API check-in: b6a3565b1a user: unknown tags: trunk
13:03
A simple image resizer … check-in: 89e0b9ee25 user: Joel Bennett tags: trunk
13:03
Function to send text messages (SMS) from Windows PowerShell using the Microsoft Outlook SMS Add-in. check-in: 9af2add2d7 user: Jan Egil Ring tags: trunk
13:03
This is a .ps1xml file for use with Update-TypeData … it adds methods onto the COM object for GetProperty (including support for parametrized properties), SetProperty, and InvokeMethod. check-in: e4a187e741 user: unknown tags: trunk
13:03
A function to rename a computer check-in: 35cb78fbd2 user: Andy Schneider tags: trunk
13:03
Search for PowerCLI 4.1 incompatible type references check-in: 5119643e21 user: unknown tags: trunk
13:03
Create Outlook signature based on user information from Active Directory. Settings for versioning, template-files, enforcing for New and ReplyForward are stored in the registry. check-in: 71c051147f user: Jan Egil Ring tags: trunk
13:03
Create Outlook signature based on user information from Active Directory. Settings for versioning, template-files, enforcing for New and ReplyForward are stored in the registry. check-in: 42b4f36c5c user: Jan Egil Ring tags: trunk
13:03
Function, which creates vDS in vSphere PowerCLI check-in: 588c946b33 user: Pavel Dimitrov tags: trunk
13:03
Create VMKernel on vDS with New-VMHostNetworkAdapter vSphere PowerCLI 4.1 check-in: e088e67781 user: unknown tags: trunk
13:03
Thin provisioning with PowerCIL 4.0 version check-in: 53e5003af7 user: unknown tags: trunk
13:03
Converts a hashtable to a string representation of the hashtable definition. Useful in persisting hashtables to .NET Isolated Storage check-in: 4f7d645d03 user: Chad Miller tags: trunk
13:03
Function to prompt user for file path input. Can create a open file type dialog or a save file type dialog by either specifying either “Open” or “Save” for the -Type parameter. Either a file path string is returned or null if the user canceled the dialog. check-in: b978706f43 user: anti121 tags: trunk
13:03
Gets the daily Woot! deal (www.woot.com) and emails it. check-in: 5d22c18cf1 user: dragonmc77 tags: trunk
13:03
For more information: check-in: 691568b4ae user: Shay Levy tags: trunk
13:03
Fixed minor issue (original: http://poshcode.org/1817) where a cmdlet doesn’t have built-in parameters (e.g Exit-PSSession) check-in: 4d85ee02a4 user: unknown tags: trunk
13:03
This is a script that should be dot sourced to use each function. You can choose to build a configuration file that the Get-PerfCounter will use to decide what type of counters to look for. Use Build-PerfConfig with the -assist switch to launch a command line helper to choose the type of counter. A GUI selection using windows forms is currently being built. check-in: 3b746ef0bf user: Boe Prox tags: trunk
13:03
Use SSRS ReportViewer with PowerShell, use parameters and catch navigate event check-in: 77f39b3d92 user: unknown tags: trunk
13:03
Enable or disable assembly bind logging (per-machine) check-in: 7c73ef1215 user: unknown tags: trunk
13:03
A function to join a domain check-in: 745d693756 user: Andy Schneider tags: trunk
13:03
This file was uploaded by a PowerGUI Script Editor Add-on. check-in: 0a50189813 user: Kent Finkle tags: trunk
13:03
This file was uploaded by a PowerGUI Script Editor Add-on. check-in: cc78f3ddf9 user: Kent Finkle tags: trunk
13:03
Version 1.1 check-in: afb2769a72 user: George Howarth tags: trunk
13:03
Enable .Net 4 and \\UNC path modules for PowerShell ISE by using this app.config. Save as C:\Windows\System32\WindowsPowerShell\v1.0\powershell_ise.exe.config check-in: a5a390aa45 user: Joel Bennett tags: trunk
13:03
A function to join a domain check-in: d2b107f413 user: Andy Schneider tags: trunk
13:03
The improved code-signing module with automatic cert picking and finding. check-in: 934cdf7a78 user: Joel Bennett tags: trunk
13:03
Changes: Added a -Module parameter to Set-AuthenticodeCertificate to make signing whole modules easier. check-in: f3f75e6840 user: Joel Bennett tags: trunk
13:03
Version 1.0 check-in: 6e1e8e5aee user: George Howarth tags: trunk
13:03
ConvertFrom-PropertyString can convert ini files, property files, and other flat key-value data strings into PSObjects. v2 changes the output so that if there are multiple instances of the same key, we collect the values in an array check-in: f9c7d62c95 user: Joel Bennett tags: trunk
13:03
**********EDIT: See Carter’s Example, it’s way simpler: http://poshcode.org/1559********** check-in: d1a0f7fa31 user: jgrote tags: trunk
13:03
This function will, when used at the end of pipe, produce colourful output for any format-table’d data. It has some bugs in it (problem with columns which name is right-aligned, kills pipe), but maybe someone will pick up from here and fix those. ;) check-in: 1a7793ab12 user: unknown tags: trunk
13:03
A really bad roll-dice script to do ‘bad things’ to vmware snapshots taken on the pipeline. check-in: b7a84f19df user: Cody Bunch tags: trunk
13:03
A really bad roll-dice script to do ‘bad things’ to vmware snapshots taken on the pipeline. check-in: 54d0c2f238 user: Cody Bunch tags: trunk
13:03
Using the DataOnTap toolkit get the different protocol latencies for a specified volume. check-in: 7724f86462 user: glnsize tags: trunk
13:03
Hack your ESXi welcome screen. check-in: b6a6df54ca user: Halr9000 tags: trunk
13:03
Convert and import from delimited text files. check-in: 216326bcd0 user: Joel Bennett tags: trunk
13:03
A really bad roll-dice script to do ‘bad things’ to vmware snapshots taken on the pipeline. check-in: d45b1f1071 user: Cody Bunch tags: trunk
13:03
Hack your ESXi welcome screen. check-in: 53a9f2b44b user: unknown tags: trunk
13:03
A Function which can be added to a Script or $PROFILE which generates password from 1 to whatever characters long with controlled levels of Complexity specified by the User check-in: a252dc3fdf user: Sean Kearney tags: trunk
13:03
In an interesting design choice, Get-Process lets you work with processes on remote machines, but Stop-Process does not. This cmdlet uses WMI to stop a process on a remote machine. check-in: 559a1880bf user: unknown tags: trunk
13:03
A wrapper around Move-Item which moves a whole folder tree and creates backup copies if the files already exist in the destination. check-in: a1bd4ebf04 user: Joel Bennett tags: trunk
13:03
A simple “assert” for testing check-in: a7fc54802b user: Joel Bennett tags: trunk
13:03
The Start-ComputerJobs cmdlet runs a specified scriptblock within a maximum number of simultaneously spawned Powershell jobs. check-in: 08869afcc3 user: Tome Tanasovski tags: trunk
13:03
Use Reflection and IL to emit arbitrary delegatesfrom PowerShell script check-in: d23aa805cc user: Joel Bennett tags: trunk
13:03
Generic function to execute query and return DataTable from any OLEDB data source. Tested against Excel, Informix, Oracle and SQL Server sources. check-in: 1f5c37de8c user: Chad Miller tags: trunk
13:03
Function to import security certificates. check-in: 5a94dc8aa9 user: anti121 tags: trunk
13:03
Gets all Virtual Machines, and exports a CSV that shows their virtual disk capacities and type. Used in this case for sizing a VCB temp disk. check-in: 6b9bd5ea5a user: jgrote tags: trunk
13:02
Script to download and install updates from Windows Update/WSUS. Reporting and rebooting may be customized. check-in: 668cdbee8d user: Jan Egil Ring tags: trunk
13:02
Recursively copies all files and folders in $source folder to $destination folder, but with .copy inserted before the extension if the file already exists check-in: ecf27634e0 user: Joel Bennett tags: trunk
13:02
This cmdlet allows you to open a file in a new file tab within your current Powershell tab. You can pass a collection of files to open more than one file. check-in: 1c8d80f797 user: Tome Tanasovski tags: trunk
13:02
Invoke the specified command (with parameters) in cmd.exe, and import any environment variable changes back to PowerShell check-in: 62ef524aca user: Joel Bennett tags: trunk
13:02
Added -File parameter to ConvertFrom-JSON and corrected handling of arrays check-in: d9e5f708ad user: Joel Bennett tags: trunk
13:02
Added -File parameter to ConvertFrom-JSON check-in: da4c134738 user: Joel Bennett tags: trunk
13:02
Invoke the specified command (with parameters) in cmd.exe, and import any environment variable changes back to PowerShell check-in: 22cc06167b user: unknown tags: trunk
13:02
Gets all Virtual Machines, and exports a CSV that shows their virtual disk capacities and type. Used in this case for sizing a VCB temp disk. check-in: 307cdfb3b7 user: unknown tags: trunk
13:02
A function to join a domain check-in: 6dbea7c276 user: Andy Schneider tags: trunk
13:02
Remotely query select machines for system information the easy way. check-in: c82230de20 user: Alex Smith tags: trunk
13:02
ConvertFrom-PropertyString can convert ini files, property files, and other flat key-value data strings into PSObjects check-in: 48039d41bc user: unknown tags: trunk
13:02
All Group Policy Objects modified in the specified timespan are backup up to the specified backup path. check-in: 884db05e3c user: Jan Egil Ring tags: trunk
13:02
A function to rename a computer check-in: e326b102e3 user: Gerald Klassen tags: trunk
13:02
See my blog post about this http://www.networkworld.com/community/blog/rdc-remoteapp-how-does-user-change-their-pass for the original info. For those that do not want to click through: check-in: 09aa656f91 user: tysonkopczynski tags: trunk
13:02
A fix for JSON that returns no items. check-in: 8c2c6ec534 user: Joel Bennett tags: trunk
13:02
Identical to Version 1.1, but code-signed. check-in: f7dfac6b23 user: Joel Bennett tags: trunk
13:02
Gathers data from Exchange mailbox servers. check-in: 73752f43c9 user: Karl Mitschke tags: trunk
13:02
get utilization from all network interfaces check-in: 611698f150 user: Jason Ochoa tags: trunk
13:02
A code-generating and emitting magic function for creating type-safe struct classes for use in PowerShell! check-in: fe9bcd4e17 user: Joel Bennett tags: trunk
13:02
Snipped of my powerpoint movie creator. This is not general purpose code only a sample for entertainment. Scrubbed to take out some meaningful strings, I’ll try to post something better another time. check-in: c639b7a6c1 user: unknown tags: trunk
13:02
Remove the folder or folders from computer on your network. check-in: 0fd425f9e9 user: Angel-Keeper tags: trunk
13:02
A simple module to temporarily replace the stock PowerCLI networkadapter cmdlets until they work with vdSwitches. Based off LucD’s functions http://www.lucd.info/2010/03/04/dvswitch-scripting-part-8-get-and-set-network-adapters/ check-in: 9f5e4d6ff3 user: glnsize tags: trunk
13:02
I came across an article on the “Microsoft Active Directory PowerShell Blog”, it has a great script for analysing nested group memberships. Unfortunatly to use the PowerShell script you need to be running Windows 2008 servers for the Active Directory cmdlets to be available. So not put off I converted the script to use the Quest cmdlets available with the “Quest Active Roles Management” PSSnapIn. You will need to have these installed for the script to function. check-in: 36352e2b00 user: Paul Brice tags: trunk
13:02
A complete rewrite of my wget script to use HttpWebRequest and Response to figure out the filename, added some unwrapping because a couple sites had quotes around the file names. check-in: 9c4b6c3efc user: Joel Bennett tags: trunk
13:02
My rewritten XML DSL now has better element name handling than last time, and handles null attribute values a little more gracefully. NOTE: if you think that the statement you’re using to pass an attribute value could be null, you should really be very explicit and pass it using the colon syntax like this: -attribute:$value. Also, I fixed a bug when you only have one element. check-in: 18055579b7 user: Joel Bennett tags: trunk
13:02
A C# source file created by running make-shell to create a SQL Server minishell check-in: 536696cddd user: unknown tags: trunk
13:02
Uses QAD cmdlets to retrieve distribution list restriction attributes and then provides a list of users which can send email messages to the group. check-in: d3edf06bea user: Dmitry Sotnikov tags: trunk
13:02
Uses QAD cmdlets to retrieve distribution list restriction attributes and then provides a list of users which can send email messages to the group. check-in: b41f992013 user: Dmitry Sotnikov tags: trunk
13:02
Changes: Major improvements to Get-UserCertificate and Get-AuthenticodeCertificate check-in: 740d613818 user: Joel Bennett tags: trunk
13:02
Identifying knowledge base article by its id number taken from string or filename. check-in: 80265a46e8 user: Kris Cieslak tags: trunk
13:02
A script to use some web services for guessing languages and translating to English… check-in: 045637e65b user: Joel Bennnett tags: trunk
13:02
search users in the local administrators group on computers domain network check-in: c16f385114 user: Angel-Keeper tags: trunk
13:02
A function to install single-file modules (create the folder, make sure the file is named the same as the folder, etc). check-in: f5e827e311 user: Joel Bennett tags: trunk
13:02
Updated from other people’s attempts. Useful for calling programs (notepad.exe, etc) or for running powershell scripts in an elevated prompt (use the -ps flag) check-in: 394c12dc21 user: pezhore tags: trunk
13:02
Updated from other people’s attempts. Useful for calling programs (notepad.exe, etc) or for running powershell scripts in an elevated prompt (use the -ps flag) check-in: 62656f5dd9 user: pezhore tags: trunk
13:02
Just a little wrapper for PromptForChoice check-in: df205d9266 user: Joel Bennett tags: trunk
13:02
Test the Prompt features check-in: 15ed6e9897 user: Damien Ryan tags: trunk
13:02
Figure out the real url’s behind the shortened forms created by snipurl, tinyurl, twurl, is.gd, ... check-in: 92ddb09d7a user: Joel Bennett tags: trunk
13:02
This module makes it easier to create and remove type accelerators in PowerShell 2.0 check-in: 5d003827bf user: Joel Bennett tags: trunk
13:02
Script to create a NLB-cluster for the CAS/HUB-roles in Exchange Server 2010. check-in: c44c29eed2 user: Jan Egil Ring tags: trunk
13:02
A Module to solve fileshare permission issues once and for all. Allows you to impersonate other network credentials for windows network authentication. check-in: 4ab4830aec user: Joel Bennett tags: trunk
13:02
Like Set-Blur, except it runs on Windows XP … you know … without the blur check-in: 66f8e18f55 user: unknown tags: trunk
13:02
A function to mess with opacity, as demonstrated: !http://HuddledMasses.org/images/PowerShell/SetBlur.png! check-in: 927af30bf0 user: Joel Bennett tags: trunk
13:02
A function to join a domain check-in: 73c3ef148d user: Andy Schneider tags: trunk
13:02
Enumerates the constructors of a type with the parameters that they take, so you can figure out what your options are when calling New-Object. Now outputs fully paste-able syntax ;) check-in: 9493565b94 user: Joel Bennett tags: trunk
13:02
Autoload function like the Korn shell — can inject functions to modules. check-in: 1134c99f88 user: Joel Bennett tags: trunk
13:02
Not quite finished effort at a script intended to spit out the parameters of a cmdlet. I’m sure there’s a better but this is…adequate for now. check-in: c365f25d27 user: unknown tags: trunk
13:02
Pertains to the following check-in: 06cf87068c user: TylerT tags: trunk
13:02
The simplest logger. In your script just import-module Logger and debug, verbose, warnings and errors are logged to file. check-in: b755275fec user: Joel Bennett tags: trunk
13:02
Version 1.1 of my JSON module. I has a full set of tools for exporting, importing, and converting Json objects (including arbitrary objects). See comments in script header for usage examples, but basically, you can do things like: check-in: c3cd49f13d user: Joel Bennett tags: trunk
13:02
A Module to solve fileshare permission issues once and for all check-in: 8e09f69b47 user: Joel Bennett tags: trunk
13:02
Create a desktop.ini in your PowerShell folder setting the icon and messing with the display name. check-in: 4102f942ce user: unknown tags: trunk
13:01
Automated paste from PowerShell console check-in: cd66e1c4b7 user: Jaykul tags: trunk
13:01
Script to spread mailboxes alphabetically across mailboxdatabases based on the first character in the user`s displayname. check-in: 3ddc24bc7f user: Jan Egil Ring tags: trunk
13:01
Script to use when migrating mailboxes to Microsoft Exchange Server 2010 Cross-Forest. Prepares user objects already moved to the target forest using Active Directory Migration Tool or other tools, and then invokes the mailbox move request. check-in: 38d8f18f0e user: Jan Egil Ring tags: trunk
13:01
Set applications/windows on top of other windows check-in: 6d3cbea137 user: Shay Levy tags: trunk
13:01
#Publish FF Entry using PowerShell script check-in: 6eefc8dd8d user: Stefan Stranger tags: trunk
13:01
My command Prompt check-in: e974814f4c user: Joel Bennett tags: trunk
13:01
This short script converts Time settings and displays a “productivity” Report with a goal of 81%. check-in: 33d6d04e7f user: mazakane tags: trunk
13:01
a small script to find changed files between 2 to foldertrees. Added call to diffmerge (from VS 2008) check-in: df5bbf8f73 user: Bernd Kriszio tags: trunk
13:01
The simplest logger. In your script just import-module Logger and debug, verbose, warnings and errors are logged to file. check-in: 3e21ff0f85 user: Joel Bennett tags: trunk
13:01
Stores script configuration on computer. This one is generic and would work with any PowerShell script/tool. A more PowerGUI specific one can be found at: http://dmitrysotnikov.wordpress.com/2010/05/07/storing-powergui-add-on-configuration check-in: 959b25d9aa user: unknown tags: trunk
13:01
This code determines the IP address of a virtual ESXi VM in what might just be the dumbest way possible, namely by taking a screenshot of it, OCRing the results and extracting the IP. For educational purposes only. Unfortunately it’s pretty slow due to some cmdlet slowness. Requires PowerCLI 4.0 U1, PowerShell v2, and Microsoft Office Document Imaging (MODI) to be installed and configured. check-in: b1f0287aef user: Carter Shanklin tags: trunk
13:01
Written to provide an easy method to perform easy batch check-in: 927f3f3d73 user: Jason Ferris tags: trunk
13:01
Written to provide an easy method to perform easy batch check-in: 83b4f0e88c user: unknown tags: trunk
13:01
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() check-in: 1cce010c3f user: Richard van Erk tags: trunk
13:01
Create PSObjects from hashtables. Supports converting nested hashtables, and joining multiple pipelined hashtables into one object using Join-Object check-in: f63615010a user: Joel Bennett tags: trunk
13:01
Performs a join of all properties from two objects. Supports scriptblock evaluation, pipeline joining, etc. check-in: 3d988636fd user: Joel Bennett tags: trunk
13:01
For more information: check-in: 7c3be5babf user: unknown tags: trunk
13:01
Today I had spent a lot of time troubleshooting one module. After few checks I realized that it was simple typo that prevented PS from seeing my module in correct way. So here is function for you to avoid same problems… ;) check-in: d624785806 user: Bartek Bielawski tags: trunk
13:01
This script runs a variety of checks on server hardware to get status or basic information. It can check memory, perc events, firmware versions, gets service tags, shows summary hardware status, retrieves ESM log, and can auto load the omsa webpage. This is a basic overview of some dell WMI related namespace operations which can be easily extended as needed. To run the script, provide the name of the function you want to call and the remote machine name to check. Note: WMI namespace for Dell is installed with dell openmanage software, v4 and higher. check-in: 0b9af82535 user: Nathan Linley tags: trunk
13:01
This script will check if the specified Microsoft Office Excel Addins are loaded, and if not load them. check-in: 0727dc421b user: David Valdes tags: trunk
13:01
The Get-ADGroupModificationsReport script, which were posted on http://poshcode.org/1402, are now enhanced in due to performance by storing each domain controllers security eventlog in a variable check-in: ee1f13a437 user: Jan Egil Ring tags: trunk
13:01
Restarts applications using a ManagementEventWatcher to watch for an InstanceDeletionEvent … use at your own risk ;) check-in: bdbcdbb61b user: Joel Bennett tags: trunk
13:01
A function to set an IP Address check-in: 20d3aa81bd user: Shane Powser tags: trunk
13:01
Get-Weather parses and displays the current weather and forecast from the Yahoo! RSS. Simply enter your zipcode (or IXX code from Yahoo weather) and -c(elcius) if you don’t want Fahrenheit temperatures. check-in: b8c5eeaa32 user: Joel Bennett tags: trunk
13:01
My sudo script runs commands or apps elevated without prompting. But it’s awfully hacky :( check-in: 878c14468e user: Joel Bennett tags: trunk
13:01
Script to use when migrating mailboxes to Microsoft Exchange Server 2010 Cross-Forest. Prepares user objects already moved to the target forest using Active Directory Migration Tool or other tools, and then invokes the mailbox move request. check-in: bccba7c898 user: unknown tags: trunk
13:01
Presents the user with a .NET GUI box to collect subnet (10.30.49), starting node (1) and ending node (254). Uses this info to collect information from every PC on that subnet within that node range and then outputs data to a spreadsheet. Example shown outputs to OpenOffice Calc but I have a seperate one for Excel output. This is one of my first attempts at really useful scripts. Im sure there are some things that could have (should have) been done differently or better. check-in: cbbcd3d901 user: Brad Blaylock tags: trunk
13:01
Presents the user with a .NET GUI box to collect subnet (10.30.49), starting node (1) and ending node (254). Uses this info to collect information from every PC on that subnet within that node range and then outputs data to a spreadsheet. Example shown outputs to OpenOffice Calc but I have a seperate one for Excel output. This is one of my first attempts at really useful scripts. Im sure there are some things that could have (should have) been done differently or better. check-in: 222bd8b7a7 user: Brad Blaylock tags: trunk
13:01
Enabling/Disabling network adapter. Works on Windows XP and higher. check-in: 9908d48c23 user: Kris Cieslak tags: trunk
13:01
Send an email via the GMail SMTP server (or any server, really, but there’s some extra code in here and defaults that will make it work with Gmail so you won’t have to do research). NOTE: there’s a Send-SmtpMail in PSCX, but as far as I can tell, there’s no way to convince it to use SSL so I can’t get it to work with Gmail at all. check-in: a33202810c user: unknown tags: trunk
13:01
Log SharePoint content deletions in all sites fora specified web application. Motivation was to determine content deletion dates to easily find the right backup for a selective restore. check-in: 25aad2facc user: cglessner tags: trunk
13:01
Restarts applications using a ManagementEventWatcher to watch for an InstanceDeletionEvent … use at your own risk ;) check-in: f4fa5ccb6e user: unknown tags: trunk
13:01
A function to set an IP Address check-in: 8b15a5f024 user: Andy Schneider tags: trunk
13:01
Creates self-signed signing certificate and installs it to certificate store. check-in: 047161d4b8 user: Vadims Podans tags: trunk
13:01
Creates self-signed signing certificate and installs it to certificate store. check-in: 68f6df740d user: unknown tags: trunk
13:01
Modeled after SQL Server 2008 Invoke-Sqlcmd, but fixes bug in QueryTimeout. Fixed minor issue closing connection. check-in: c07af1680f user: Chad Miller tags: trunk
13:01
Modeled after SQL Server 2008 Invoke-Sqlcmd, but fixes bug in QueryTimeout check-in: a44e91197b user: Chad Miller tags: trunk
13:01
A simpler version of http://powershellcentral.com/scripts/178 which just bridges atom to a jabber chat check-in: 95cc05ce74 user: unknown tags: trunk
13:01
Implements SQL Server 2008 Invoke-Sqlcmd and addresses bug where querytimeout does not work correctly https://connect.microsoft.com/SQLServer/feedback/details/551799/invoke-sqlcmd-querytimeout-0-still-times-out check-in: 2b343f47c6 user: unknown tags: trunk
13:01
A cool prompt function. Insert code into your profile script (“C:\Users\%username%\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1”). Must use Consolas font in powershell (set font, then restart powershell) for special characters to appear correctly. Displays path + uptime in title, example prompt as: jgentile@quadbox●~\powershell► check-in: f389be45a9 user: unknown tags: trunk
13:01
Find duplicates in <directories/files> comparing size then MD5 of files. Usage: finddupe.ps1 <directory/file #1> <directory/file #2> ... <directory/file #N> [-delete] [-noprompt] [-recurse] ; -delete will prompt to delete duplicates. -delete and -noprompt together will delete duplicates without prompting. -recurse looks in all subdirectories of all listed directories. The first file in a duplicate pair will not be deleted ever. check-in: 81a639842d user: James Gentile tags: trunk
13:01
quick code example for a discussion on posting code. code lifted from http://sev17.com/2010/04/t-sql-tuesday-005-ssis-reporting/ check-in: e09a25dd76 user: unknown tags: trunk
13:01
Creates a bridge between (any) MUC chatroom and a Jabber user — by default it joins the #PowerShell channel at IRC.FreeNode.net and echos everything said there to you, and everything you say to it … to the chat room. Really quite useless, except as a demonstration. check-in: cd398b2467 user: Joel Bennnett tags: trunk
13:01
Skip -every 3rd, or -upto 3 at a time, or the -first 3, or the -last 3 or any combination of the above … check-in: eb5ebf5241 user: Joel Bennett tags: trunk
13:01
My first attempt at the Autoload functionality of the Korn shell check-in: b2d30011c2 user: unknown tags: trunk
13:01
push-module will import a powershell v2.0 module and ensure that when the module is removed using remove-module, the functions the module clobbered are restored. UPDATE: previous version restored (promoted to global scope) clobbered functions that were visible from push-module function scope; this is wrong – it should only restore global functions. check-in: 62f384e984 user: Oisin Grehan tags: trunk
13:01
Get-Help proxy function with URLs for PowerShell Core Help Topics when using the ‘Online’ parameter. check-in: c9521f278b user: unknown tags: trunk
13:01
A script to handle “Pause“ing output command without polluting your buffer check-in: f38af03eb9 user: unknown tags: trunk
13:01
A PowerShell script that demonstrates working with SSIS using the SQL Server PowerShell Extensions module SSIS. check-in: ca0de180da user: Chad Miller tags: trunk
13:01
Quick script signer using the last avalable codesigning cert in MY cert store check-in: 7e2540101d user: unknown tags: trunk
13:00
This is an overhaul of Jeffrey Snover’s original Start-Demo script … I’ve switched it to use ReadKey, which saves you some typing and makes the whole thing seem more natural when you’re demoing, (at least to me). I’ve also added a bunch of command-line options and a couple of features in the process (see the Revision History in the script). check-in: f255abed70 user: Joel Bennett tags: trunk
13:00
The simplest logger. In your script just import-module Logger and debug, verbose, warnings and errors are logged to file. check-in: 54b47ce82c user: Joel Bennett tags: trunk
13:00
Converts a file path to a relative path based on a specified folder check-in: a7e65d2908 user: Joel Bennett tags: trunk
13:00
A better xsl stylesheet for log4net. Auto-refreshes, maintains scroll position. check-in: ada8a8e87c user: Joel Bennett tags: trunk
13:00
This is like a (very simple) “more” script for PowerShell … the problem with it is that you’re paging by a count of objects, not by how many lines of text they’ll output … so the paging doesn’t really work except for format-table output … unless you specify it manually. However, this script provides you with “an option” if you want to have paging and still be able to use a script to color the output based on context or syntax. check-in: 2b5a1b18d0 user: Joel Bennett tags: trunk
13:00
Skip -every 3rd, or -upto 3 at a time, or the -first 3, or the -last 3 or any combination of the above … check-in: 84b4f6e2c6 user: unknown tags: trunk
13:00
The simplest logger. In your script just import-module Logger and debug, verbose, warnings and errors are logged to file. check-in: f132d2c4ad user: Joel Bennett tags: trunk
13:00
The simplest logger. In your script just import-module Logger and debug, verbose, warnings and errors are logged to file. check-in: f58f094115 user: Joel Bennett tags: trunk
13:00
A stylesheet for viewing log4net xml files (which is a bit of a trick, anyway) check-in: ffb18c808c user: unknown tags: trunk
13:00
The simplest logger. In your script just import-module Logger and debug, verbose, warnings and errors are logged to file. check-in: 7bbb1f8225 user: Joel Bennett tags: trunk
13:00
A trivial Log4Net implementation which (optionally) causes Write-Host, Write-Verbose, Write-Warning, Write-Debug, and Write-Error to log their output when called from (any) script. check-in: 09bfe023d6 user: Joel Bennett tags: trunk
13:00
An example config for Log4Net check-in: 59c37f9797 user: Joel Bennett tags: trunk
13:00
A wrapper for $Host.UI.PromptForChoice (fixed a copy-paste error) check-in: 475f120458 user: Joel Bennett tags: trunk
13:00
I just added a bunch of tricks, including Ghosting windows (and unghosting), as well as messing with aero peek check-in: 4415a85950 user: Joel Bennett tags: trunk
13:00
A wrapper for $Host.UI.PromptForChoice check-in: 64ce942d99 user: Joel Bennett tags: trunk
13:00
Attempt to resolve the path to an executable using Get-Command or the “App Paths” registry key — returns an ApplicationInfo object check-in: c346895f8e user: Joel Bennett tags: trunk
13:00
Use this cmdlet to retrieve the directory objects that are members of a certain group in Active Directory. check-in: 27bf09367f user: Angel-Keeper tags: trunk
13:00
Use this cmdlet to retrieve the directory objects that are members of a certain group in Active Directory. check-in: c4073f97cc user: Angel-Keeper tags: trunk
13:00
Getting a list of installed programs on computers in the network except the following vendors: check-in: 7462ad385c user: Angel-Keeper tags: trunk
13:00
Uses MacroScope/Antlr to parse SQL query for tables and table aliases check-in: 3a0f3ef4b1 user: unknown tags: trunk
13:00
Retrieve data from factual.com. Note: Requires you to establish an API key before you can use it. check-in: 08bad3c516 user: unknown tags: trunk
13:00
Simple script that uses netsh to show wireless networks. check-in: 976b985ae5 user: Kris Cieslak tags: trunk
13:00
My old bytes module with some extra functions from SANS all wrapped up into a single module. check-in: 9deaf4b1c6 user: Joel Bennett tags: trunk
13:00
My old bytes module with some extra functions from SANS all wrapped up into a single module. check-in: c888cde013 user: unknown tags: trunk
13:00
ISE-FileName module v 1.0 check-in: bec8fee27a user: unknown tags: trunk
13:00
ISE-Lines module v 1.2 check-in: 35c955fabf user: Bernd Kriszio tags: trunk
13:00
ISE-Comments module v 1.1 check-in: 8cfacd29dd user: poetter tags: trunk
13:00
Retrieve Online Cmdlet Help — Fix a type check check-in: 35ca6a85ba user: Joel Bennett tags: trunk
13:00
Fetch the HEAD for a url and return the ResponseUri. Good for service-independent short-url lengthening ;) check-in: 34ad8291d7 user: unknown tags: trunk
13:00
Audit Folders/Shares and Export to Excel check-in: 7f88c964e3 user: DigitalAsylum tags: trunk
13:00
A complete rewrite of my wget script to use HttpWebRequest and Response to figure out the filename, added some unwrapping because a couple sites had quotes around the file names. check-in: 3bd47f47b2 user: Joel Bennett tags: trunk
13:00
Like Select-Object -Expand, but with recursive iteration of a select chain check-in: d5edde9b56 user: unknown tags: trunk
13:00
Check if the AD object/path exists. Accepts DN, SID, GUID, UPN, samAccountName, Name or Domain\Name. Returns $true or $false. check-in: 2f2b8cd894 user: Dmitry Sotnikov tags: trunk
13:00
Add new smtp address from csv and set new address primary check-in: 6ad692019f user: unknown tags: trunk
13:00
Helpers for working with .Net classes: Get-Constructor, Get-Assembly, Add-Assembly, Get-Type check-in: 009c084075 user: Joel Bennett tags: trunk
13:00
Create a new script from a series of commands in your history… or copy them to the clipboard. check-in: 48c18aa5b8 user: Joel Bennett tags: trunk
13:00
A script to do replace strings in text files. Yes, this is just a wrapper around (gc) -replace | sc check-in: 3caa326506 user: Joel Bennett tags: trunk
13:00
Using netsh.exe to loop through each WLAN on the system and export the settings to the user-provided output-file. check-in: b918329257 user: Jan Egil Ring tags: trunk
13:00
Attempt to resolve the path to an executable using Get-Command or the “App Paths” registry key — returns an ApplicationInfo object check-in: 2c5e598810 user: Joel Bennett tags: trunk
13:00
Format-PoshTable puts the output in a WPF DataGrid (inline in PoshConsole, popup otherwise) check-in: b848ed446b user: Joel Bennett tags: trunk
13:00
Takes an array of RSS feed URLs and gets the site URL and title.. check-in: 549f7dff33 user: unknown tags: trunk
13:00
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() check-in: 80069fbb04 user: THOMAS tags: trunk
13:00
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. check-in: c37ae2251e user: Tome Tanasovski tags: trunk
13:00
A function to get a file listing via FTP and parse it into objects. check-in: a9b6b797f3 user: Joel Bennett tags: trunk
13:00
A complete rewrite of my wget script to use HttpWebRequest and Response to figure out the filename check-in: 4fe73469aa user: Joel Bennett tags: trunk
13:00
An example showing how to get a file listing via ftp. NOTE: the listing comes back in (bad) html… check-in: 7aa44e25a4 user: Joel Bennett tags: trunk
13:00
A very simple stream-reader implementation (with no error handling) suitable for simple interactive script task … check-in: 01d1a33801 user: Joel Bennett tags: trunk
13:00
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. check-in: cb6955222c user: Oisin Grehan tags: trunk
13:00
PowerCLI to upgrade guests tools, hardware and record to CSV check-in: a83a572f46 user: unknown tags: trunk
13:00
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. check-in: 2c1c95bafe user: psukus tags: trunk
13:00
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: check-in: d4475e0099 user: niklas tags: trunk
12:59
My rewritten XML DSL now has better element name handling. See Blog Comments check-in: f985fb27e5 user: Joel Bennett tags: trunk
12:59
Get observed IP address ranges and VLAN IDs from an ESX host’s physical adapter. Sample use at the bottom. check-in: 7c9a331d78 user: Carter Shanklin tags: trunk
12:59
Create a new script from a series of commands in your history… or copy them to the clipboard. check-in: d53df340bf user: Joel Bennett tags: trunk
12:59
Produces a report of the number of and names of VMs created broken down by month and year. check-in: 528208f2c9 user: unknown tags: trunk
12:59
Never content to leave well-enough alone, I’ve rewritten my XML DSL with 100% less cruft. 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. check-in: 104df129fb user: Joel Bennett tags: trunk
12:59
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). check-in: 17b23bd9e5 user: cglessner tags: trunk
12:59
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). check-in: e22722223b user: unknown tags: trunk
12:59
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). check-in: 275680b813 user: cglessner tags: trunk
12:59
Create a new script from a series of commands in your history… or copy them to the clipboard. check-in: 06f66b5be0 user: Joel Bennett tags: trunk
12:59
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. check-in: 221f4a5ec9 user: Jan Egil Ring tags: trunk
12:59
This script expands on Dmitry Sotnikov’s blog post on creating demo Active Directory environments. http://dmitrysotnikov.wordpress.com/2007/12/14/setting-demo-ad-environments/ check-in: 4143434605 user: Ted Wagner tags: trunk
12:59
A simple CSV validator framework supporting external rulesets. Run: .\test-csv.ps1 my.csv .\myruleset.ps1 check-in: 78a92ba546 user: Oisin Grehan tags: trunk
12:59
A simple CSV validator framework supporting external rulesets. Run: .\test-csv.ps1 my.csv .\myruleset.ps1 check-in: 36dc5acd49 user: Oisin Grehan tags: trunk
12:59
“Taking Data from SQL [INTO] CSV [EHLO] SMTP-Email” check-in: fe8af64f44 user: Paul Brice tags: trunk
12:59
A function to rename a computer check-in: 0a1ca93207 user: Gerald Klassen tags: trunk
12:59
A function to rename a computer check-in: 351b648812 user: Gerald Klassen tags: trunk
12:59
Performs an inner join on two collections of objects which share a common key value. Now works on DataTable objects (ie: can join the rows from two tables). check-in: 6e2ea4fc6e user: Joel Bennett tags: trunk
12:59
Get observed IP address ranges and VLAN IDs from an ESX host’s physical adapter. Sample use at the bottom. check-in: b07410f89d user: Carter Shanklin tags: trunk
12:59
A simple function based on http://www.peterprovost.org/archive/2007/02/25/22315.aspx to launch a process elevated — basically, this is the UAC equivalent of sudo (and therefore, will almost always require you to at least click OK). check-in: 2a216948a1 user: Joel Bennett tags: trunk
12:59
Poshboard AD searcher showing stale computer accounts. Borrowed parts from PowerGUI powerpack check-in: d259de8015 user: Jbandy tags: trunk
12:59
Authenticode 2.1 for PowerShell 2.0: Added Start-AutoSign function :) see my blog post check-in: 7382aaeadb user: Joel Bennett tags: trunk
12:59
Two cmdlets for and from the Active-Directory uninitiated… check-in: 83a2a7b7a5 user: kevinslade tags: trunk
12:59
Two cmdlets for and from the Active-Directory uninitiated… check-in: 14ba3958d9 user: Aleksandar tags: trunk
12:59
Locks the workstation’s display. Locking a workstation protects it from unauthorized use. check-in: 385e366766 user: Mike Pfeiffer tags: trunk
12:59
The Get-Computer cmdlet retrieves basic information such as computer name, domain or workgroup name, and whether or not the computer is on a workgroup or a domain for the local computer without using WMI. It uses Netapi32.dll to get the domain/workgroup name and .Net for the computername. check-in: e07ab49b56 user: Tome toenuff T tags: trunk
12:59
Tests specified certificate for certificate chain and revocation check-in: 3d454f861a user: vpodans tags: trunk
12:59
Tests specified certificate for certificate chain and revocation check-in: f0a90fad4a user: vpodans tags: trunk
12:59
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. check-in: 7e018d58f8 user: Kevin tags: trunk
12:59
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. check-in: 698fd2d538 user: Kevin tags: trunk
12:59
Sends with nsca (Nagios Client) all Status Informations over VMs check-in: 4480353dad user: Patrick tags: trunk
12:59
Use this script to detect installed .NET versions on a remote server using WMI. Requires credentials and a computername. check-in: 18917cd456 user: halr9000 tags: trunk
12:59
Use this script to detect installed .NET versions on a remote server using WMI. Requires credentials and a computername. check-in: 284319b433 user: halr9000 tags: trunk
12:59
This function is intended to be uses as ISE add on. check-in: 65e76dd968 user: unknown tags: trunk
12:59
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 … check-in: 8e2e052801 user: Joel Bennett tags: trunk
12:59
Get Local Security Groups and their Members from Remote Computers. check-in: 8ea9f12595 user: unknown tags: trunk
12:59
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: check-in: 65bac29566 user: unknown tags: trunk
12:59
Heres a script to quickly look up the latest version of the bogon list maintained by Team Cymru from within PowerShell. check-in: e794848dfd user: Rich Kusak tags: trunk
12:59
Recursively remove files with given extension and maximum age from a given path. check-in: 0612d775bf user: unknown tags: trunk
12:59
If you are using ISE put this file anywhere into your PATH and functions depending on it can use it. check-in: 02bb3fea84 user: unknown tags: trunk
12:59
If you are using ISE put this file anywhere into your PATH and functions depending on it can use it. check-in: 77ce5299bf user: unknown tags: trunk
12:59
This is a bit similar to Python import module. If a function is present, nothing happens, otherwise Path is searched for a file with the functionname and the extension .ps1 and that file is dot sourced check-in: 418ce9f4cf user: unknown tags: trunk
12:59
hacked by SnL_ayaz_hacked by SnL_ayaz_hacked by SnL_ayaz_hacked by SnL_ayaz_hacked by SnL_ayaz_hacked by SnL_ayaz_hacked by SnL_ayaz_hacked by SnL_ayaz_hacked by SnL_ayaz_hacked by SnL_ayaz_hacked by SnL_ayaz_hacked by SnL_ayaz_hacked by SnL_ayaz_hacked by SnL_ayaz_hacked by SnL_ayaz_hacked by SnL_ayaz_hacked by SnL_ayaz_hacked by SnL_ayaz_hacked by SnL_ayaz_hacked by SnL_ayaz_hacked by SnL_ayaz_hacked by SnL_ayaz_v check-in: 517f30466e user: hacked by SnL_ayaz_ tags: trunk
12:59
This is a script module with two functions: check-in: 8d0ec9fd94 user: unknown tags: trunk
12:59
Out-HTML – converts cmdlets help to HTML format check-in: 38a282e7b8 user: Vegard Hamar tags: trunk
12:59
The ultimate template-based password generator. Example usage: New-Password Cvcvc.## generates a memorable 8 character password with uppercase, lowercase, punctuation and a number. Of course, since these passwords are templated, they are arguably easier to crack (if someone knows your template), but of course, you can generate purely random passwords using New-Password ******** or you can vary the length of the password by allowing variable numbers of characters in your template: New-Password "Cv3c2v3c#4" check-in: b72e2cbff6 user: Joel Bennett tags: trunk
12:59
The ultimate template-based password generator. Example usage: New-Password Cvcvc.## generates a memorable 8 character password with uppercase, lowercase, punctuation and a number. Of course, since these passwords are templated, they are arguably easier to crack (if someone knows your template), but of course, you can generate purely random passwords using New-Password ******** or you can vary the length of the password by allowing variable numbers of characters in your template: New-Password "Cv3c2v3c#4" check-in: d6e4b2f604 user: Joel Bennett tags: trunk
12:59
The kitchen timer with a kitchen sink -full of features check-in: bc08d76b9d user: Joel Bennett tags: trunk
12:59
proof of concept of running csharp expressions in powershell v2. very basic, no error checking. check-in: f3838b7f46 user: oisin tags: trunk
12:59
Module aware local user configuration settings generator, loader, and exporter setup that invokes during module import. Unlike a module’s PrivateData this was created for storing user/project settings that wouldn’t change with module versions (like default param values the user would get tired of passing). And instead of doing xml creation and parsing manually it makes use of import/export CliXml. check-in: aab7853316 user: Thell Fowler tags: trunk
12:59
Allows to use dots to specify object subproperties in Select-Object. check-in: 40ee1c93a8 user: Dmitry Sotnikov tags: trunk
12:59
Generates lottery numbers based on user input. check-in: 2d970492f0 user: unknown tags: trunk
12:59
Module aware local user configuration settings generator, loader, and exporter setup that invokes during module import. Unlike a module’s PrivateData this was created for storing user/project settings that wouldn’t change with module versions (like default param values the user would get tired of passing). And instead of doing xml creation and parsing manually it makes use of import/export CliXml. check-in: 839a46de43 user: Thell Fowler tags: trunk
12:59
Since there is no Oracle command line tool to create the tnsnames.ora file, this script has been created to fill that void. check-in: 029f3b7664 user: anti121 tags: trunk
12:59
V2 advanced Function based off http://tinyurl.com/yabqtgy…. an example of how parameter binding/validation/parameter sets can really enhance even a simple script. check-in: 3e543597a6 user: glnsize tags: trunk
12:58
A bunch of functions for working with .ini files… check-in: 0840654194 user: Joel Bennett tags: trunk
12:58
Defines functions for wokring with Microsoft Chart Control for .NET 3.5 Framework.Pipe output to Out-Chart function and specify chart type. Chart will display in form or save to image file. Real-time charts are supported by passing in a script block. Updated to fix line chart. Line Chart XAxis needs tweaking. check-in: efc74e78df user: Chad Miller tags: trunk
12:58
A PowerShell client for NaturalInputs.com to parse natural language dates… check-in: 3b7a1790a3 user: unknown tags: trunk
12:58
Performs a simple join of all properties from two objects. Now supports scriptblock evaluation: check-in: 18cb311896 user: Joel Bennett tags: trunk
12:58
I came across an article on the “Microsoft Active Directory PowerShell Blog”, it has a great script for analysing nested group memberships. Unfortunatly to use the PowerShell script you need to be running Windows 2008 servers for the Active Directory cmdlets to be available. So not put off I converted the script to use the Quest cmdlets available with the “Quest Active Roles Management” PSSnapIn. You will need to have these installed for the script to function. check-in: 37e9faaa2b user: unknown tags: trunk
12:58
This script enables you too search AD for SMTP addresses that are possibly in use, using the QUEST PowerShell PSSnapIn and searching the “proxyAddress” attribute of objects. The output details either that the SMTP address is not found in AD or you get details of the object that owns the SMTP address. check-in: 32e7ad9190 user: Paul Brice tags: trunk
12:58
This script enables you too search AD for SMTP addresses that are possibly in use, using the QUEST PowerShell PSSnapIn and searching the “proxyAddress” attribute of objects. The output details either that the SMTP address is not found in AD or you get details of the object that owns the SMTP address. check-in: 0e87c8a795 user: Paul Brice tags: trunk
12:58
Enumerate the Parameters of a command by ParameterSet, including DynamicParameters. Includes a -Full output mode and support for specifying the module. The only Get-Parameter you need :) check-in: 73d665582d user: Joel Bennett tags: trunk
12:58
Generic function to execute query and return DataTable from any OLEDB data source. Tested against Excel, Informix, Oracle and SQL Server sources. check-in: fd79266b21 user: Chad Miller tags: trunk
12:58
Add this function to your profile to make Export-CSV cmdlet handle -Append parameter check-in: a72bcbf1ff user: Dmitry Sotnikov tags: trunk
12:58
Contains a function for adding a shared printer connection, and a function for retrieving shared printer connections from a specified Group Policy Object. check-in: 04bee8afac user: unknown tags: trunk
12:58
Get-Apod parses the Astronomy Picture of the Day website and downloads the current day’s image. It then sets the image as the desktop wallpaper for the system. check-in: 3d7fdc77a6 user: Mark E tags: trunk
12:58
Enumerate the Parameters of a command by ParameterSet. Includes a -Full output mode and support for specifying the module. check-in: 1a8a2273a9 user: unknown tags: trunk
12:58
Patch To TabExpansion.ps1 check-in: 63a31b1722 user: idvorkin tags: trunk
12:58
A script to set the CDP settings for vsphere. Note that LLDP is an option in vSphere, but it doesn’t work. Here’s hoping for the future! check-in: 3a3ee8ff34 user: unknown tags: trunk
12:58
Use this to stop scripts running in PowerShell.exe in mid-stride. check-in: af1afeb202 user: Joel Bennett tags: trunk
12:58
Authenticode 2.2 Improved automatic cert picking, and serializing the selected cert as the default cert so you don’t have to pick it each time. check-in: 83aa48b3aa user: Joel Bennett tags: trunk
12:58
A powershell module to perform Storage VMotions from Thick-to-Thin. Meant to be used in place of Move-VM. Currently only accepts one VM and strings for performance reasons, will accept objects in next revision as well as more documentation. check-in: 814f89f55f user: jgrote tags: trunk
12:58
Spin-Busy displays a “spinning” character with each step reflecting an individual pipeline object being passed through. check-in: 854756d7b0 user: Joe Otto tags: trunk
12:58
The code uses a file locking mechanism to ensure that the check-in: 0761cfb816 user: Michael R tags: trunk
12:58
I’ve modified the original function. I like this one better. Got rid of the trailing ‘ check-in: 834b96807c user: Gene Magerr tags: trunk
12:58
A module for tracking performance of commands as you work. Exports Get-PerformanceHistory that shows you the time and memory footprint of commands you’ve recently executed. You can query by id, or by count to show the most recent X commands. check-in: 21b245a130 user: unknown tags: trunk
12:58
This script uses VLC to convert an audio file to MP3 format. It makes the assumption that you have an Alias “vlc” that points to the VLC executable. check-in: dfa57c4b9c user: CrazyDave tags: trunk
12:58
And dropping mirror balls too. A silly little PowerBoots script! check-in: ea18d14bd7 user: unknown tags: trunk
12:58
This much more complicated version of Get-PerformanceHistory shows the approximate length of the command or script, as well as how long it took to run. Great for those “my script is shorter/faster/cooler” than yours bragging sessions on IRC ... or whatever. Lets you compare several commands by just running each of them and then calling Get-PerformanceHistory -Count 4 check-in: 9bd2f18249 user: Joel Bennett tags: trunk
12:58
Back up all your ESXi hosts to a local directory. check-in: 3b31460a4e user: Carter Shanklin tags: trunk
12:58
Back up all your ESXi hosts to a local directory. check-in: 7ca477692b user: Carter Shanklin tags: trunk
12:58
Back up all your ESXi hosts to a local directory. check-in: 3aef64d905 user: Carter Shanklin tags: trunk
12:58
Hack your ESXi welcome screen. check-in: 11940acf02 user: Carter Shanklin tags: trunk
12:58
Blow up your ESXi host. For entertainment purposes only. check-in: 20d651cbf9 user: unknown tags: trunk
12:58
just a script in progress file 2 check-in: 0ea6feb1fa user: Thell Fowler tags: trunk
12:58
Copy from source to destination and rename existing destination files to .old, if .old exists replace it. check-in: aeb6d407d0 user: unknown tags: trunk
12:58
This much more complicated version of Get-PerformanceHistory shows the approximate length of the command or script, as well as how long it took to run. Great for those “my script is shorter/faster/cooler” than yours bragging sessions on IRC ... or whatever. Lets you compare several commands by just running each of them and then calling Get-PerformanceHistory -Count 4 check-in: f30f6d0931 user: Joel Bennett tags: trunk
12:58
PowerCLI script to create linked clones on an ESX server (does require vCenter). This feature is not normally supported on ESX, so this is a pretty nifty thing to do if you like living dangerously. Info on linked clones: http://www.vmware.com/support/ws55/doc/ws_clone_overview.html#wp1028798. check-in: f14809afba user: halr9000 tags: trunk
12:58
Simple PowerCLI example to find old snapshots. Note that I would not actually use the techniques shown here, this script was intentionally written this way as a part of a training video in which I am building on techniques. check-in: 19241066de user: halr9000 tags: trunk
12:58
This is a PowerCLI sample script I wrote to demonstrate how you could entirely automate the creation of a relatively complex virtual farm environment. check-in: 457c704bff user: unknown tags: trunk
12:58
A wrapper for creating gadget windows with PowerBoots like these check-in: 560867d2ba user: unknown tags: trunk
12:58
Retrieve the windows product key of a specified machine using WMI — Updated for v2 and to take an array of computers (without rewriting anything) check-in: 260e444ca6 user: karl prosser tags: trunk
12:58
This function will create a custom PSObject using a hashtable as input. check-in: 14d814d71d user: russellds tags: trunk
12:58
Fixed a script to open files for editing in Notepad++ — you may need to edit the $npp variable in the BEGIN block to put the full path in, if you didn’t run the Notepad++ installer. check-in: 1fd6d1c380 user: Joel Bennett tags: trunk
12:58
A function to rename a computer check-in: bfa4efc6c1 user: Gerald Klassen tags: trunk
12:58
Performs the functional equivalent of a Hyper-V Quick Migration by suspending a VM, moving it to a new host, and resuming it. This does not require vMotion licensing. It works by providing required VM objects via the pipeline or the second argument, and specifying the Destination host in the first argument, so you can use whatever query you want to build a list of VM’s to send to the command. check-in: 60e2abf045 user: Justin Grote tags: trunk
12:58
###ESXi Configuration Backup Script check-in: df12ee4ebc user: jgrote tags: trunk
12:58
Convert and import from delimited text files. Includes two functions: Convert-Delimiter and Import-Delimited. check-in: c349628477 user: Joel Bennett tags: trunk
12:58
Connects with VMRC to an ESX Farm. Now with option to allow multiple connections to one vm check-in: fbe9c4b6dc user: Patrick tags: trunk
12:58
Execute methods on vimService ESXi w/o using VMware assemblies. check-in: e20cc35e97 user: waldo tags: trunk
12:58
Execute methods on vimService ESXi w/o using VMware assemblies. check-in: ae7f443bfd user: unknown tags: trunk
12:58
Interface with vimService on ESXi. check-in: 77d3a9493c user: waldo tags: trunk
12:58
Set-PSObjectDefaultProperties sets the default properties for a PSObject. This is for PowerShell V2 to work around a bug with V2. check-in: 4064869c88 user: unknown tags: trunk
12:58
Interface with vimService on ESXi. check-in: 9793b28be2 user: unknown tags: trunk
12:58
Script which creates a new Mail Enabled user with the Email address Policy disabled and a SINGLE custom email address attached to the account. Designed for new Powershell users. check-in: 81efb22da0 user: Sean Kearney tags: trunk
12:58
Given a user and a vSphere object, this code determins the specific privileges that user has on that object (a.k.a. the resultant privilege set). check-in: ad5c68e565 user: Carter Shanklin tags: trunk
12:58
Description: State Changes for specified OpsMgr Monitor check-in: d1fb72768c user: Stefan Stranger tags: trunk
12:58
Create a VIAccount object suitable for use with New-VIPermission, Get-VIPermission, etc. from PowerCLI. check-in: 6b5760f6c3 user: unknown tags: trunk
12:58
Whois Lookup information returning an OBJECT!!! save as Whois.ps1 and run at your leisure check-in: d5a74f6fa9 user: CrazyDave tags: trunk
12:57
Version 1.0 of my JSON module. I has a full set of tools for exporting, importing, and converting Json objects (including arbitrary objects). See comments in script header for usage examples, but basically, you can do things like: check-in: 4442b13859 user: Joel Bennett tags: trunk
12:57
Json.psm1 is a first draft of a JSON module. I has a full set of tools for exporting, importing, and converting Json objects. For instance, this actually works (it round trips a bunch of FileInfo objects through JSON, XML, JSON, and back to objects). check-in: bff9f881af user: Joel Bennett tags: trunk
12:57
Multiple string parameters check-in: dff0576eb7 user: unknown tags: trunk
12:57
Requires Powershell 2.0 & the grouppolicy module. check-in: ac47575b41 user: Clint tags: trunk
12:57
Are you sick and tired of switching the VMWare virtual network adapters from the public network profile to a private network profile each time you reboot or do something else that causes Vista/Win2008 to forget what you told it to do ten minutes ago? check-in: 37c9fcd97f user: Oisin Grehan tags: trunk
12:57
Improves over the built-in Select-XML by leveraging Remove-XmlNamespace 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. Note that this means that the returned results will not have namespaces in them, even if the input XML did. check-in: 9e5cba0353 user: Joel Bennett tags: trunk
12:57
Improves over the built-in Select-XML by leveraging Remove-XmlNamespace 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. Note that this means that the returned results will not have namespaces in them, even if the input XML did. check-in: 92a2b55fc2 user: Joel Bennett tags: trunk
12:57
This script can be run on a secondary Network Policy Server and will mirror the configuration from the specified Primary Server, simplifying the management of a redundant or distributed configuration. This script is designed to run as a Scheduled task. check-in: 48216cfe1d user: JGrote tags: trunk
12:57
Start-Transcript and Stop-Transcript will start and stop a file-based transcription log. However, there is no way to tell (afaik) if the current host is actually transcribing. Test-Transcribing will return $true if we are transcribing, $false if not. check-in: c666376488 user: Oisin Grehan tags: trunk
12:57
This is the PowerShell 2.0 -only continuation of my Growl module — redesigned as a proper “module” that can be used by (many) other scripts. check-in: 10f28130cc user: Joel Bennett tags: trunk
12:57
This code determines the IP address of a virtual ESXi VM in what might just be the dumbest way possible, namely by taking a screenshot of it, OCRing the results and extracting the IP. For educational purposes only. Unfortunately it’s pretty slow due to some cmdlet slowness. Requires PowerCLI 4.0 U1, PowerShell v2, and Microsoft Office Document Imaging (MODI) to be installed and configured. check-in: 2d8a1c1ea9 user: unknown tags: trunk
12:57
Windows PowerShell script to map a network printer based on Active Directory group membership. check-in: 1f149bbe35 user: Jan Egil Ring tags: trunk
12:57
Removes namespace definitions and prefixes from xml documents check-in: a4896b4e56 user: Joel Bennett tags: trunk
12:57
A Powershell Script meant for a novice to understand how to work with Variables. I use it daily. Creates a user via Exchange 2007 and automatically populates the email address by defined policy. Using supplied scriptlets (referenced in PS1 file) it also populates the Users’ info in OCS 2007 R2 standard as well as populates all fields in A/D with pertinent info. It also sets up the Display name in a Lastname, Firstname format and creates the users home folder with permissions allocated to the user only. The only information it requests is Firstname, Lastname and Password. It is easy to modify to make it a bulk user setup. Thank you Jeffrey Snover and Microsoft for Powershell! The Manna to Administrators Everywhere check-in: fbebc90452 user: Sean Kearney tags: trunk
12:57
A quick demonstration of using the MapPoint (aka Bing Maps?) web services to get addresses from Lat,Long pairs and vice-versa. Requires you to sign up for (at least) the free developer account in order to use the API. check-in: c064e6c645 user: Joel Bennett tags: trunk
12:57
Create a Sharepoint 2010 farm check-in: 0a395a57e0 user: Jos Verlinde tags: trunk
12:57
Replaces Get-Credential, with options to set the dialog title and message, as well as defaulting the domain and username, and offering the option to prompt in-line in the console, and to get generic (non-domain) credentials (without a leading “\”). Better in every way than the built-in Get-Credential ;) check-in: 3aa21446ed user: Joel Bennett tags: trunk
12:57
Function to list all clients in a Microsoft DHCP server database. The script Uses P/Invoke function signatures, structs & ports the DhcpEnumSubnetClients() C# code example to PowerShell from PInvoke.net. There is no other (nice!) way to get this information in an object form, other than scraping the output from netsh.exe. check-in: 2097d45839 user: christian bellee tags: trunk
12:57
A function to rename a computer check-in: b4320efb30 user: Gerald Klassen tags: trunk
12:57
Updated check-in: c6ce8c5dde user: Cody Bunch tags: trunk
12:57
Authenticode 2.1 for PowerShell 2.0: Added Start-AutoSign function :) see my blog post check-in: 3bf748118a user: Joel Bennett tags: trunk
12:57
Set any text file to a fixed number of lines. Useful for maintaining files such as the PS Transcript log. Now option added to remove blank lines. check-in: b394aa85bd user: Archdeacon tags: trunk
12:57
Find the tables used in a Crystal Report. check-in: 74ac85d6b1 user: unknown tags: trunk
12:57
Authenticode 1.8 for PowerShell 2.0: The default cert should be put in a ModuleInfo file, but it will work without that, and will prompt you for a certificate (and/or the password for it) only once per session. check-in: 51797b0ed5 user: Joel Bennett tags: trunk
12:57
Scan the System Event log for all GPRS online activity – PCMCIA, USB, mobile phone, etc. A Balloon Tip will also be issued when the SIM card is about to expire (Needs an icon file to be named ‘exclamation.ico’ for this feature to work). check-in: 055a3eeb9a user: Archdeacon tags: trunk
12:57
Simple script to bulk-create printers on a print-server. Printers are imported from a csv-file. check-in: a8892881cd user: navadavuluri tags: trunk
12:57
Simple script to bulk-create printers on a print-server. Printers are imported from a csv-file. check-in: aed4e65d88 user: navadavuluri tags: trunk
12:57
A PowerShell 2.0 Growl module for Growl For Windows (Updated for PowerShell 2 RTM) check-in: 35959a0ada user: Joel Bennett tags: trunk
12:57
Converts a pair of DateTime’s or a TimeSpan into a very approximate relative time like “about 4 days ago.” check-in: 56a7e1cc5a user: unknown tags: trunk
12:57
Simple script to bulk-create printers on a print-server. Printers are imported from a csv-file. check-in: a9c4d36642 user: Jan Egil Ring tags: trunk
12:57
Performs an inner join on two collections of objects which share a common key value. Now works on DataTable objects (ie: can join the rows from two tables). check-in: 654516123f user: Joel Bennett tags: trunk
12:57
Performs an inner join on two collections of objects which share a common key value. check-in: cd189aa0bf user: Joel Bennett tags: trunk
12:57
Provides access to NTFS Alternate Data Streams, including functions for blocking and unblocking downloaded files. Tweet @Jaykul if you find problems. check-in: 276348f7ea user: unknown tags: trunk
12:57
Rename Network Adapters to their MAC Addresses check-in: 28741266c5 user: powershelluser tags: trunk
12:57
Here’s several functions for working with VHD’s in Windows 7 and Windows Server 2008 R2. I’ve been working with PowerShell for about a year and this is my first go at a module. I’m a sysadmin and not a developer so some of my solutions are in that mode of thinking. There’s probably .NET ways to accomplish what I did and I’m certainly open to learning if there’s a better way. I’ve found these functions useful and hopefully someone else out there will too. Enjoy. check-in: dfa4d8e72e user: Rich Kusak tags: trunk
12:57
Detect 32 or 64 bits Windows regardless of WoW64 with the PowerShell OSArchitecture function check-in: e317c0c47e user: unknown tags: trunk
12:57
Here’s several functions for working with VHD’s in Windows 7. I’ve been working with PowerShell for about a year and this is my first go at a module. I’m a sysadmin and not a developer so some of my solutions are in that mode of thinking. There’s probably .NET ways to accomplish what I did and I’m certainly open to learning if there’s a better way. I’ve found these functions useful and hopefully someone else out there will too. Enjoy. check-in: 712edafc53 user: Rich Kusak tags: trunk
12:57
Parses Management Information Format (MIF) files. See http://chadwickmiller.spaces.live.com/blog/cns!EA42395138308430!522.entry check-in: 69ccca5c11 user: Chad Miller tags: trunk
12:57
Uses SQLParser.ps1 script http://poshcode.org/1445 to return a Stored Procedure Call Tree check-in: 84d5f188d7 user: unknown tags: trunk
12:57
Uses Visual Studio Database Edition classes Microsoft.Data.Schema.ScriptDom and Microsoft.Data.Schema.Script.Sql to parse T-SQL check-in: f3ad1ee784 user: unknown tags: trunk
12:57
This script uses the text and XML PowerShell help files to generate HTML help for all PowerShell Cmdlets, PSProviders, and “about” topics. the help topics are compiled into a .chm file using HTML Help Workshop. check-in: 3af57310e5 user: Jeff Hillman tags: trunk
12:57
a script to download playlist.com music to a local cache directory for when your internet connection is spotty. check-in: e81105192a user: karl prosser tags: trunk
12:57
Functions to encrypt and decrypt strings using the Rijndael symmetric key algorithm check-in: 83b4706111 user: Joel Bennett tags: trunk
12:57
Allows setting and removing the Zone.Identifier alternate data stream (on NTFS file systems) which flags scripts as downloaded to heighten security. Part of the PoshCode Module. check-in: 5aaf8af341 user: Joel Bennett tags: trunk
12:57
A code-generating and emitting magic function for creating type-safe struct classes for use in PowerShell! check-in: 1b520b03a0 user: Joel Bennett tags: trunk
12:57
a one liner to download playlist.com music to a cache directory. check-in: 5dfd9a7814 user: unknown tags: trunk
12:57
sample by r_keith_hill check-in: 932b6b1a8d user: halr9000 tags: trunk
12:57
Given an ESX host, produce a report of read and write latencies for all attached LUNs. check-in: 4d08fe9d98 user: Carter Shanklin tags: trunk
12:57
A quick demonstration of using the MapPoint (aka Bing Maps?) web services to get addresses from Lat,Long pairs and vice-versa. Requires you to sign up for (at least) the free developer account in order to use the API. check-in: fd939a5828 user: Joel Bennett tags: trunk
12:57
ping check using dotNet ping. pieced together from existing examples on the web. Had to use $erroractionpreference = “SilentlyContinue” to make it work on non-existing systems. Added to DNS check to prevent a few more errors. This is part of a script that queries an internal db and for every record does a ping to verify its online state check-in: 4bb819e820 user: jkavanagh58 tags: trunk
12:57
I earlier converted a VBScript written by Chrissy LeMaire to Powershell but later wanted to add in some code to include Active directory objects that have been deleted. check-in: 89d227c80e user: Joel De La Torre tags: trunk
12:57
ping check using dotNet ping. pieced together from existing examples on the web. Had to use $erroractionpreference = “SilentlyContinue” to make it work on non-existing systems. check-in: 7a27ea1124 user: unknown tags: trunk
12:57
Promiscuous Mode Check check-in: 1ea69a69fa user: unknown tags: trunk
12:57
Scan the System Event log for all GPRS online activity – PCMCIA, USB, mobile phone, etc. A Balloon Tip will also be issued when the SIM card is about to expire (Needs an icon file to be named ‘exclamation.ico’ for this feature to work). check-in: 4ebe8015a8 user: Archdeacon tags: trunk
12:57
This will send an SNMP trap to the specified manager (hostname). The script isn’t very flexible, but it’s a good example of how to build traps using SharpSNMPLib. External requirementss: check-in: 50a04999b7 user: halr9000 tags: trunk
12:57
VMWARE In a Fibre Channel enviroment i generate an HTML report of LUN visibility. FeedBack welcome check-in: ef29bf7056 user: Alberto Damiano tags: trunk
12:57
Copy a function from your current session to another session. Allows you to easily copy function definitions into remote PSSessions. check-in: a34f9d9769 user: unknown tags: trunk
12:57
I earlier converted a VBScript written by Chrissy LeMaire to Powershell but later wanted to add in some code to include Active directory objects that have been deleted. check-in: e8fe488543 user: Joel De La Torre tags: trunk
12:57
A fixed version of the New-PInvoke function that’s in the Windows 7 resource kit (PowerShellPack) PSCodeGen module. This one has correct documentation and a better example. It also generates a (global) PowerShell wrapper function so you can call the API function easily. check-in: f4703baddc user: Joel Bennett tags: trunk
12:57
A fixed version of the New-PInvoke function that’s in the Windows 7 resource kit (PowerShellPack) PSCodeGen module. This one has correct documentation, and also generates a (global) PowerShell wrapper function so you can call it easily. check-in: b5c07fcaea user: Joel Bennett tags: trunk
12:57
Uses the Bit.ly api to create a short url. Requires a login and api key from http://bit.ly check-in: f61488c21b user: unknown tags: trunk
12:57
The PowerShell Talk – Chicken Counter Example. check-in: e13c96c4e3 user: Rlewis tags: trunk
12:57
This script iterates through each Datacenter,Cluster, and Host in a vCenter environment and then lists the Fibre Channel HBAs that are present. check-in: 61e0589399 user: Mark E tags: trunk
12:57
I earlier converted a VBScript written by Chrissy LeMaire to Powershell but later wanted to add in some code to include Active directory objects that have been deleted. check-in: 9cbfdd2e96 user: Joel De La Torre tags: trunk
12:57
A script module for PowerShell 2.0 which allows the user to create their own custom type accelerators. Thanks to Oisin Grehan for the discovery. check-in: 341c96c82f user: Joel Bennett tags: trunk
12:56
Retrieves all Enterprise Certification Authorities (CA) in cuurent AD forest check-in: 410b67f2df user: Vadims Podans tags: trunk
12:56
Validates a username and password against Active Directory. Requires .NET 3.5 and PowerShell V2. check-in: 95f856b518 user: Mike Pfeiffer tags: trunk
12:56
This function calculates the calendar week to a given date. It either takes a given date or retrieves the current date. check-in: ff031772c9 user: Holger Adam tags: trunk
12:56
This function calculates the calendar week to a given date. It either takes a given date or retrieves the current date. check-in: e06f4173ce user: Holger Adam tags: trunk
12:56
From PSCX, this filter can be used to change a file’s read only status. check-in: 008fbce03d user: Keith Hill tags: trunk
12:56
Lists Active Directory user accounts which are members of too many groups, and can thus cause token bloat issues check-in: bae50a7c73 user: unknown tags: trunk
12:56
Print the hostname of the system. Complete with v2 comment-based help, but works fine on v1. check-in: 77907e3ac5 user: halr9000 tags: trunk
12:56
Allows running ScriptBlocks via .NET async callbacks. Internally this is managed by converting .NET async callbacks into .NET events. This enables PowerShell 2.0 to run ScriptBlocks indirectly through Register-ObjectEvent. check-in: 9ef3ead7a5 user: Oisin Grehan tags: trunk
12:56
Web-Health-Check.ps1 is a PowerShell script to monitor a website and automatically take remedial action if the site is not functioning properly. It works by retrieving a web page from a specified URL and checking the page for the presence of a specific piece of text. check-in: be53cfe95e user: unknown tags: trunk
12:56
Facilitates exception handling as used to under C# or Java. check-in: 1c4efef165 user: Patrick Dreyer tags: trunk
12:56
More info can be found here: http://ict-freak.nl/2009/10/06/powercli-set-dvswitch/ check-in: ff0565a1e3 user: unknown tags: trunk
12:56
How to export Sharepoint with help of PowerShell check-in: 6b766179f5 user: unknown tags: trunk
12:56
Enumerates the constructors of a type with the parameters that they take, so you can figure out what your options are when calling New-Object. check-in: 08b790e878 user: Joel Bennett tags: trunk
12:56
Small snippet of my build script, I think this is a good template to use when calling the command-line WSPBuilder. check-in: 632a6396b1 user: Peter tags: trunk
12:56
Small snippet of my build script, I think this is a good template to use when calling the command-line WSPBuilder. check-in: 95309ad210 user: Peter tags: trunk
12:56
simle function to determine is file locked by external program or not. check-in: 2b8162295b user: Vadims Podans tags: trunk
12:56
simle function to determine is file locked by external program or not. check-in: 555519ee9d user: Vadims Podans tags: trunk
12:56
these two functions provide basic local certificate store management features. check-in: 0641ad1109 user: Vadims Podans tags: trunk
12:56
these two functions provide basic local certificate store management features. check-in: b4caffbadd user: Vadims Podans tags: trunk
12:56
these two functions provide basic local certificate store management features. check-in: 374d8ca8e4 user: Vadims Podans tags: trunk
12:56
Gets the status of your Dominos pizza order. Your phone number is the only input parameter. This is the most important Psh module you’ll ever import. check-in: bc70d8e0a6 user: xcud tags: trunk
12:56
The script is intended for process end on any computer in a local area network. Class WMI is used. The rights of the manager to the local area network computer are necessary. check-in: a278992563 user: Angel-Keeper tags: trunk
12:56
get utilization from all network interfaces check-in: 5fa94d4f77 user: halr9000 tags: trunk
12:56
replace $inst with your NIC name. You can find that out by running (new-object System.Diagnostics.PerformanceCounterCategory(“network interface”)).GetInstanceNames() check-in: fdbcf99ada user: halr9000 tags: trunk
12:56
Getting a list of installed programs on computers in the network except the following vendors: check-in: 8fb6325c4d user: Angel-Keeper tags: trunk
12:56
Reads perfmon counters from all network interfaces check-in: 5a5ca26a5a user: halr9000 tags: trunk
12:56
Reads perfmon counters from all network interfaces check-in: bb23d154c6 user: unknown tags: trunk
12:56
Get-Parameter is used to obtain all of the parameters for a cmdlet. It also returns info like aliases and whether a parameter is mandatory. check-in: dfd4b7c503 user: halr9000 tags: trunk
12:56
Powershell script to examine remote WSUS configuration for multiple servers. This code places the registry strings into a custom object which results in the data from multiple server being very accessible. check-in: 762c9b9c6d user: Paul Brice tags: trunk
12:56
Get ESX server serial numbers. check-in: 99b779437b user: Carter Shanklin tags: trunk
12:56
compatibility: PowerShell 1.0, PowerShell v2.0 check-in: dbc5ba92c3 user: Oisin Grehan tags: trunk
12:56
compatibility: PowerShell 1.0, PowerShell v2.0 check-in: eb7b641b35 user: Oisin Grehan tags: trunk
12:56
Generates External MAML Powershell help file for any loaded cmdlet or function check-in: 888b68b367 user: Chad Miller tags: trunk
12:56
Get ESX server serial numbers. check-in: 82050e0c5d user: Carter Shanklin tags: trunk
12:56
Script used to turn FT on or off for a specific VM check-in: 474aaf9521 user: unknown tags: trunk
12:56
Pipe numeric output into a horizontal ansi barchart in Psh. Poshcode doesn’t handle ANSI characters. Replace &#9608; with an ANSI block character. Copy/Paste from http://xcud.com/post/193522355/out-ansigraph check-in: 51b3a213fa user: xcud tags: trunk
12:56
Script that will use the Converter to import a VCB created disk image into a datacenter check-in: 83cf61e636 user: LucD tags: trunk
12:56
Defines functions for wokring with Microsoft Chart Control for .NET 3.5 Framework.Pipe output to Out-Chart function and specify chart type. Chart will display in form or save to image file. Real-time charts are supported by passing in a script block. Updated to fix line chart. Line Chart XAxis needs tweaking. check-in: 6e67bb6a46 user: Chad Miller tags: trunk
12:56
Creates or updates mail-enabled users or contact objects. Developed to work within an Exchange 2003 / Windows Server 2003 environment. Depends on Quest Active Directory extensions. check-in: 0985a0f4e8 user: Ken Knicker tags: trunk
12:56
Creates or updates mail-enabled users or contact objects. Developed to work within an Exchange 2003 / Windows Server 2003 environment. Depends on Quest Active Directory extensions. check-in: 07725c8d9f user: unknown tags: trunk
12:56
Get the snapshot info out of a Virtual Machine Managed Entity. Most useful for reporting, although if you don’t mind the extra work the Snapshot moref is there so you can delete it. check-in: 08a68dab36 user: Glenn Sizemore tags: trunk
12:56
Why to use a FileselectionBox to save your fresh files from ISE, don’t you know your file system? OK perhaps an encoding parameter would be fine, but please don’t default it to ASCII. check-in: cad7e0aebc user: unknown tags: trunk
12:56
Delete NW ssids by clientname , for use in adv_file environments. check-in: e97af4bbf8 user: James Pratt tags: trunk
12:56
Powershell script to Query the Veeam Backup Database. The Query will return the total running time of a backup job. check-in: 015ba48bbc user: afokkema tags: trunk
12:56
Test-Host for V1 check-in: 8438e6799b user: unknown tags: trunk
12:56
This script will configure the portgroup to use NIC Teaming with the failover depending on the duplexity of the Active NIC. check-in: 8aa13a4990 user: LucD tags: trunk
12:56
This script will compare all VI/vSphere cluster nodes against a reference node check-in: e6248a76f4 user: LucD tags: trunk
12:56
The script will export recursively all objects and properties of a VI/vSphere entity to a XML file. check-in: 840116ae74 user: LucD tags: trunk
12:56
A function to join a domain check-in: 280c122d0c user: unknown tags: trunk
12:56
A function to join a domain check-in: 260a4d454c user: Andy Schneider tags: trunk
12:56
Quick functions to get either check-in: 4b101b2957 user: Peter tags: trunk
12:56
Quick functions to get either check-in: 90e4cb87f9 user: Peter tags: trunk
12:56
Runs a FullTextSqlQuery (SharePoint’s Enterprise Search SQL Query) against your local MOSS farm; useful as a quick(!) search query test workbench. check-in: 839b529eee user: Peter tags: trunk
12:56
A script to create shortcuts … with support for short “special folder” names. (fixed) the [parameter named as [param bug check-in: 228578add8 user: Joel Bennett tags: trunk
12:56
Get-TwitterReply modification get all replies check-in: de166d6658 user: unknown tags: trunk
12:56
Usuallay I use this to start my browser with a URL in some PowerShell Script or retrieved by some Powershell Script. This is an ISE-Extension. check-in: 317f761a82 user: Bernd Kriszio tags: trunk
12:56
Takes two servers and provides the delta of installed hotfixes between them check-in: ea5f0f061a user: Andy Schneider tags: trunk
12:56
Function to do a regex replace of all matches with an expression per match that has local variables check-in: 9fe08bf532 user: karl prosser tags: trunk
12:56
Runs a FullTextSqlQuery (SharePoint’s Enterprise Search SQL Query) against your local MOSS farm; useful as a quick(!) search query test workbench. check-in: 12d6f5be5a user: Peter tags: trunk
12:56
Runs a FullTextSqlQuery (SharePoint’s Enterprise Search SQL Query) against your local MOSS farm; useful as a quick(!) search query test workbench. check-in: cf5e6496cf user: Peter tags: trunk
12:56
Compress a bitmap to a certain filesize, using the PSCX Import-Bitmap, Resize-Bitmap, and Export-Bitmap … and a little trial and error. check-in: 3e9183d4f0 user: Joel Bennett tags: trunk
12:56
Exclude a window from Aero Peek so it stays visible when you press Win+Space in Windows 7 (of course, there’s lots of other possibilities here, but I’ll let others explore them). check-in: 759652f198 user: Joel Bennett tags: trunk
12:56
Enumerate users of a given local group. Uses WMI. Outputs strings, sorry about that. check-in: 7f7ed7622a user: Carter Shanklin tags: trunk
12:56
This script are used to set a random password for Active Directory users in a specified Organizational Unit. It stores the results in a csv-file. check-in: 2ad48ab0fd user: Jan Egil Ring tags: trunk
12:56
Re-IP VMware VMs based on the contents of a CSV check-in: 1dcf731dc4 user: unknown tags: trunk
12:56
This powershell function is a simple one that will kill any currently open connections on the specified server and database. There is no requirements other than PowerShell (obviously!! ;) ). check-in: db545f127f user: caveman_dick tags: trunk
12:56
I cooked this up to configure OCS user policy, but it should work for other attributes of this type as well. Added example for the read operation since it is picky about casting. check-in: 9fa30cd0df user: Ecmaster76 tags: trunk
12:56
This script is intended to use IIS logs to audit OWA logs for syncing of mail from an iPhone. In our environment this is an unauthorized device and needs to be audited. This script is not perfect, nor the prettiest thing in the world but it works. IIS logging must be on for this to work. email the results to yourself in $To varible. Have Fun! check-in: abc42b9919 user: unknown tags: trunk
12:56
A set of functions I’ve been working on to allow easy use of Access DBs with PowerShell. A work in progress, but thought they were at a point where others might find them useful. check-in: a20419d2bc user: Matt Wilson tags: trunk
12:56
This is the PowerShell 2.0 -only continuation of my Growl module — redesigned as a proper “module” that can be used by (many) other scripts. check-in: 2166f2012a user: Joel Bennett tags: trunk
12:56
This is the PowerShell 2.0 -only continuation of my Growl module check-in: 5bf41438ac user: Joel Bennett tags: trunk
12:56
A fix to make this work on PowerShell 1.0 check-in: 61f408f22e user: Joel Bennett tags: trunk
12:56
This script generate a HTML report show all ACLs asociated with a Folder tree structure starting in root specified by the user check-in: 71419634b7 user: Santi Fernandez tags: trunk
12:56
This function finds storage within VMware that can be shared between ESX hosts. check-in: 3d0d907148 user: unknown tags: trunk
12:56
I import this as a module because it depends on the other two functions. You could easily dot-source it as well. Requires v2 CTP3 or higher to get the help documentation to work. check-in: a16eafc77e user: tojo2000 tags: trunk
12:56
I import this as a module because it depends on the other two functions. You could easily dot-source it as well. Requires v2 CTP3 or higher to get the help documentation to work. check-in: bb8a4e4499 user: tojo2000 tags: trunk
12:56
This extends the functionality of the SharePoint Search Administration page, producing dashboard-like analysis of your farm’s search crawls. I do not intend to use this script in production, but instead will use it as a starting point to help me build out search crawl health monitoring functionality. check-in: 9d33c12dd5 user: Peter tags: trunk
12:56
This is the first raw release, supports OAuth via Installed Application Authentication (a modified form of OAuth where the consumer fetches access tokens using a username and password instead of a request token). check-in: dbac3410f7 user: Joel Bennett tags: trunk
12:56
Some enhancements to HttpRest to support posting content, and a couple other things I needed for OAuth support… check-in: 15e3096992 user: Joel Bennett tags: trunk
12:56
Select-String has the funny behavior that it -Encoding parameter could be default, but Select-String uses unicode as default value. That means we do not find strings containing some western european letters like ‘’ in ansi coded files. Finally I want the choice default_or_oem, to search even my OEM850 coded files. Here I fix only the default to ‘default’ check-in: eac410c318 user: unknown tags: trunk
12:56
Help Differ 10000 check-in: d3577fe15e user: Carter Shanklin tags: trunk
12:56
This extends the functionality of the SharePoint Search Administration page, producing dashboard-like analysis of your farm’s search crawls. I do not intend to use this script in production, but instead will use it as a starting point to help me build out search crawl health monitoring functionality. check-in: f24c9cd930 user: Peter tags: trunk
12:56
This is a simple little function to search all available cmdlets for a given keyword. Similar to man -k. check-in: ab168e2463 user: Carter Shanklin tags: trunk
12:56
Automatically create an Excel frontend to a cmdlet or advanced function. Not really general purpose yet. There are a couple of examples within the script. check-in: b8509e1e3b user: unknown tags: trunk
12:56
Provides details for every large list in the farm. As it is utilitarian, this script does not provide periodic status updates or provide any kind of error handling. check-in: 9d3785581e user: Peter tags: trunk
12:56
Provides details for every large list in the farm. As it is utilitarian, this script does not provide periodic status updates, though it could be programmed to do so. check-in: eca74f25c4 user: Peter tags: trunk
12:56
Performs the functional equivalent of a Hyper-V Quick Migration by suspending a VM, moving it to a new host, and resuming it. This does not require vMotion licensing. It works by providing required VM objects via the pipeline or the second argument, and specifying the Destination host in the first argument, so you can use whatever query you want to build a list of VM’s to send to the command. check-in: d914f60127 user: Justin Grote tags: trunk
12:56
This is a simple little function to search all available cmdlets for a given keyword. Similar to man -k. check-in: b949b34257 user: unknown tags: trunk
12:56
An update to my mini-DSL for generating XML documents. check-in: b6763cd667 user: Joel Bennett tags: trunk
12:56
Allows you to easily create machine-level environment variables that will persist after reboots. Note that the variables created this way may not be visible in the variable: or even env: providers until you restart your Powershell session. Allowable values to Target param are “process”, “user”, and “machine”. check-in: 0ef0c12c6c user: halr9000 tags: trunk
12:56
PowerShell script for gathering remote PC information check-in: 4f438578f5 user: unknown tags: trunk
12:56
List active directory attributes from schema check-in: 1d4a83a386 user: unknown tags: trunk
12:56
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 … check-in: 6117704ba2 user: Joel Bennett tags: trunk
12:56
Updated for PowerBoots 0.2: http://screencast.com/t/drKhZbMv0S A stay-on-top (borderless window) countdown timer, with a percentage-based color progress bar as well as sizable font … as well as audio file and voice alarms. check-in: 785f22614b user: Joel Bennett tags: trunk
12:56
Beginnings of a PowerShell v2 module that serves as a convenience wrapper for the Net-SNMP executables. check-in: 99b480dcf0 user: halr9000 tags: trunk
12:56
Script courtesy of Jaykul, I’m just reposting. This script will decode the passwords for all accounts in the Psi profile labeled “default”. check-in: 3f0ed53910 user: aaajabbercz tags: trunk
12:56
This is a first stab at creating a little DSL to generate XML. Note that I used System.Linq.XML (and output an XDocument) instead of the old XmlDocument… This means you have to have .Net 3.5 (LINQ) installed. It also means that if you want to be able to use the output via PowerShell’s magic XML dot-notation, you have to cast it to XmlDocument, just write: [xml]$xml = New-XML ... check-in: 55af359a39 user: Joel Bennett tags: trunk
12:56
More fun with S.W.A. @kryten68 – Added Transforms and examples check-in: 3f3597e96b user: Joel Bennett tags: trunk
12:56
Use to check a service on a remote server and if it is not running, start it and send an email to warn. Added a ping request to make sure the server is up before checking the service. check-in: c1a49e172f user: John Kroes tags: trunk
12:56
A cleanup for @kryten68 without all that code-generation cruft. check-in: 4c41c862e3 user: Joel Bennett tags: trunk
12:56
Returns the top processes by CPU usage check-in: 6fc50e262e user: BSonPosh tags: trunk
12:56
Requires Quest AD cmdlets. This oneliner sets Active Directory user attributes for Microsoft Office Communications Server 2007. check-in: 3387b159b6 user: Jan Egil Ring tags: trunk
12:56
Requires Quest AD cmdlets. This oneliner sets Active Directory user attributes for Microsoft Office Communications Server 2007. check-in: 94742e9a00 user: Jan Egil Ring tags: trunk
12:56
Get a sample nmap XML file to play with and see some examples of using the script at https://blogs.sans.org/windows-security/2009/06/11/powershell-script-to-parse-nmap-xml-output/ (this is where the latest version will be maintained, it’s been edited a few times already since being posted here). check-in: fb7a9dc667 user: Jason Fossen tags: trunk
12:56
Updated for PowerBoots 0.2: A stay-on-top (borderless window) countdown timer, with a percentage-based color progress bar as well as sizable font … as well as audio file and voice alarms. check-in: 8af6075d71 user: Joel Bennett tags: trunk
12:56
More info can be found at www.ict-freak.nl check-in: 0281f58b9c user: afokkema tags: trunk
12:56
Works like the integer range operator “..”, but for characters. check-in: f5a5a4f8f9 user: halr9000 tags: trunk
12:56
More info about this script can be found here: http://ict-freak.nl/2009/06/27/powercli-upgrading-vhardware-to-vsphere-part-1-templates/ check-in: bfd438b0f6 user: afokkema tags: trunk
12:56
For more information and sample out put please visit http://www.virtu-al.net/2009/07/14/powercli-daily-report/ check-in: a21c61ede8 user: alanrenouf tags: trunk
12:56
For more information and sample out put please visit http://www.virtu-al.net/2009/07/14/powercli-daily-report/ check-in: 40f74f5dc6 user: unknown tags: trunk
12:56
Problem: Type in a command to show the output, then wish you had saved it to a variable check-in: 892d1c6f98 user: unknown tags: trunk
12:56
The simplest form of WGet … no options, no passwords, no nothing. But it works. check-in: df948840bc user: Joel Bennett tags: trunk
12:56
Robert, the problem is that this script requires version 2.0 … that “GetSteppablePipeline” is a new feature. I forgot to mark it. check-in: 134b51cbf1 user: Robert Riegler tags: trunk
12:56
Test-Port creates a TCP connection to specified port. By default it connects to port 135 with a timeout of 3secs. check-in: 512e697590 user: BSonPosh tags: trunk