PoshCode Archive  Timeline

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

586 check-ins using file finddupe.ps1 version e947bd04de

2018-06-10
13:13
Get-ImageMetadata lets you access the EXIF, XMP and other metadata about image files … this should only be taken as an example and a reference, not for solid production work — in other words, I won’t take the blame if you zero out all your jpgs trying to modify this to ReadWrite instead of just Read :) check-in: 85f75bc467 user: Joel Bennett tags: trunk
13:13
Here is a quick script I created to convert files to ASCII character set. This came about because I found Out-File was creating files as Unicode and Add-Content was writing ASCII (Even though the help says it defaults to Unicode). So writing to the files with Add-Content would use the wrong encoding and add garbage to the log files. I changed all my code to include the -Encoding ASCII parameter, but had thousands of files encoded as Unicode. (Note: To see what format it is, open in Notepad and select Save As… it will be listed at the bottom). It replaces the file with a new ASCII encoded file so I also added some logic to capture and set the original file timestamps. This is my first draft so I’m sure there is room for improvements. Such as error handling and adjustments so the input parameters don’t have to be so exact, but it works and thought I would share. -=Levon check-in: 06089a5f9b user: Levon Becker tags: trunk
13:13
Here is a quick script I created to convert files to ASCII character set. This came about because I found Out-File was creating files as Unicode and Add-Content was writing ASCII (Even though the help says it defaults to Unicode). So writing to the files with Add-Content would use the wrong encoding and add garbage to the log files. I changed all my code to include the -Encoding ASCII parameter, but had thousands of files encoded as Unicode. (Note: To see what format it is, open in Notepad and select Save As… it will be listed at the bottom). It replaces the file with a new ASCII encoded file so I also added some logic to capture and set the original file timestamps. This is my first draft so I’m sure there is room for improvements. Such as error handling and adjustments so the input parameters don’t have to be so exact, but it works and thought I would share. -=Levon check-in: 90d053ecc9 user: Levon Becker tags: trunk
13:13
Here is a quick script I created to convert files to ASCII character set. This came about because I found Out-File was creating files as Unicode and Add-Content was writing ASCII (Even though the help says it defaults to Unicode). So writing to the files with Add-Content would use the wrong encoding and add garbage to the log files. I changed all my code to include the -Encoding ASCII parameter, but had thousands of files encoded as Unicode. (Note: To see what format it is, open in Notepad and select Save As… it will be listed at the bottom). It replaces the file with a new ASCII encoded file so I also added some logic to capture and set the original file timestamps. This is my first draft so I’m sure there is room for improvements. Such as error handling and adjustments so the input parameters don’t have to be so exact, but it works and thought I would share. -=Levon check-in: 2c8464a4e7 user: Levon Becker tags: trunk
13:13
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: 173b63586d user: Joel Bennett tags: trunk
13:13
Displays a custom dialog box for a timeout period. The dialog box contains a message, two buttons and a countdown timer. The button text and other options are set through the parameters. The WSHShell.Popup has a bug so replace it with this script. check-in: b2078a8a4e user: Grant Carthew tags: trunk
13:13
Initialize-WindowsInstallPoint check-in: 5232da3026 user: Rich Kusak tags: trunk
13:13
A function that simplifies calling methods with named parameters to make it easier to deal with long signatures and optional parameters. This is particularly helpful for COM objects. check-in: a7b4ec09b5 user: Jason Archer tags: trunk
13:13
A function to rename a computer check-in: 6e9c8a1585 user: Gerald Klassen tags: trunk
13:13
Get and Set functions for SNTP check-in: eb1b591b74 user: a Monkey tags: trunk
13:12
Set-Wallpaper lets you set your windows desktop wallpaper. It requires PInvoke and I wrote it using PowerShell 2’s Add-Type, although it could be done in v1 using the JIT code generation tricks Lee Holmes has mentioned in the past … check-in: 5d0bc2dea3 user: Winfred tags: trunk
13:12
posh entry check-in: 3c011d8fa3 user: Marc Carter tags: trunk
13:12
Emails a report of Exchange 2010 mailboxes over their size limit. check-in: 9555bcc87b user: Chris Brown tags: trunk
13:12
This is a Powershell v2 module that takes NMAP XML output and formats it into custom powershell objects, allowing you to manipulate NMAP output data in Powershell. It operates similarly to import-csv. check-in: 8762b7de49 user: Jason Fossen tags: trunk
13:12
Functions to encrypt and decrypt strings using the Rijndael symmetric key algorithm check-in: d18da12495 user: Joel Bennett tags: trunk
13:12
Functions to encrypt and decrypt strings using the Rijndael symmetric key algorithm check-in: 9028e3e087 user: Joel Bennett tags: trunk
13:12
Uses the Haversine equation (you know you LOVE spherical geometry) to calculate distance between two points on the earth. check-in: 0ba3a887f0 user: callias tags: trunk
13:12
Search and browse to url in an instapaper csv. check-in: 043b58d825 user: Adminian tags: trunk
13:12
A powershell script that will create the CREATE DDL for any object in a SQL Server database. It requires the open source Atlantis.SchemaEngine.dll available at http://www.atlantis-interactive.co.uk/blog/post/2011/02/24/Free-SQL-Server-Schema-Synchronisation-Engine-announcing-the-release-of-the-AtlantisSchemaEngine-source-code.aspx check-in: 760bf9d067 user: Justin Dearing tags: trunk
13:12
Some functions for drawing mini-buffers. Please try the two Test functions included: Test-DisplayBox and Test-BufferBox check-in: 216a8245ed user: Joel Bennett tags: trunk
13:12
A powershell script that will create the CREATE DDL for any object in a SQL Server database. It requires the open source Atlantis.SchemaEngine.dll available at http://www.atlantis-interactive.co.uk/blog/post/2011/02/24/Free-SQL-Server-Schema-Synchronisation-Engine-announcing-the-release-of-the-AtlantisSchemaEngine-source-code.aspx check-in: 16fb3f4479 user: Justin Dearing tags: trunk
13:12
A powershell script that will create the CREATE DDL for any object in a SQL Server database. It requires the open source Atlantis.SchemaEngine.dll available at http://www.atlantis-interactive.co.uk/blog/post/2011/02/24/Free-SQL-Server-Schema-Synchronisation-Engine-announcing-the-release-of-the-AtlantisSchemaEngine-source-code.aspx check-in: 3d7d444d92 user: Justin Dearing tags: trunk
13:12
A powershell script that will create the CREATE DML for any object in a SQL Server database. It requires the open source Atlantis.SchemaEngine.dll available at http://www.atlantis-interactive.co.uk/blog/post/2011/02/24/Free-SQL-Server-Schema-Synchronisation-Engine-announcing-the-release-of-the-AtlantisSchemaEngine-source-code.aspx check-in: c51ed6d496 user: Justin Dearing tags: trunk
13:12
A script that scripts a stored proc in SQL server. check-in: 9074d8ead2 user: Justin Dearing tags: trunk
13:12
A script that scripts a stored proc in SQL server. check-in: abf71a8c92 user: Justin Dearing tags: trunk
13:12
A script that scripts a stored proc in SQL server. check-in: 4440f10fe0 user: Justin Dearing tags: trunk
13:12
Simple function that executes a command (stored procedure) against an SQL database. check-in: a89c20d3cf user: dragonmc77 tags: trunk
13:12
Get an attachment from an exchange e-mail. check-in: d22b83702a user: George Mauer tags: trunk
13:12
AnalyzeScript opens a dialog box for user selection; checks that input is a powershell script; parses and agrigates the script components. check-in: e568420376 user: Paul A tags: trunk
13:12
AnalizeScript opens a dialog box for user selection; checks that input is a powershell script; parses and agrigates the script components. check-in: dc9d1166ca user: Paul A tags: trunk
13:12
Logging function for Powershell v2. Needed to address current Powershell logging limitations. See a discussion about said limitations here: http://jdhitsolutions.com/blog/2011/03/powershell-automatic-logging/#comment-2899 . check-in: 4e58443b98 user: Andy Arismendi tags: trunk
13:12
Read in an IIS *log file saved in format W3C. check-in: 56c3d7a509 user: Mark Shevchenko tags: trunk
13:12
Read in an IIS *log file saved in format W3C. check-in: a802a5d486 user: unknown tags: trunk
13:12
different examples of how you can access properties with a custom where function check-in: 38929b1aef user: karl prosser tags: trunk
13:12
different examples of how you can access properties with a custom where function check-in: 8f29baa863 user: karl prosser tags: trunk
13:12
Logging function for Powershell v2. Needed to address current Powershell logging limitations. See a discussion about said limitations here: http://jdhitsolutions.com/blog/2011/03/powershell-automatic-logging/#comment-2899 . check-in: cc8c9d38b8 user: Andy Arismendi tags: trunk
13:12
This function will allow you to retreive the contents of a hosts file on a local or remote system. This can be used with one or more systems. check-in: a70951df0d user: Boe Prox tags: trunk
13:12
As written will manually apply all settings associated with a local WSUS server. Ideal for use when you need to force a non-domain system to point to a domain based WSUS server. check-in: 4b683b8d04 user: Kenneth C Mazie tags: trunk
13:12
This function will allow you to retreive the contents of a hosts file on a local or remote system. This can be used with one or more systems. check-in: ea054b98d4 user: Boe Prox tags: trunk
13:12
Originally written to regenerate the init.txt file for server based Halo 1 PC multiplayer games. It may however be easily edited and used to randomize any array or group of arrays. check-in: cc20bc00d6 user: Kenneth C Mazie tags: trunk
13:12
AutoArchive Script check-in: a5c6cc2fff user: ChristopheCREMON tags: trunk
13:12
This function will allow you to retreive the contents of a hosts file on a local or remote system. This can be used with one or more systems. check-in: f9d93afacb user: Boe Prox tags: trunk
13:12
Create a Sharepoint 2010 farm check-in: ec8ffc043a user: Jos Verlinde tags: trunk
13:12
Creates an event handler for monitoring either process creation or deletion. This requires to be run as administrator. check-in: e0f79a02a9 user: Ravikanth tags: trunk
13:12
Creates an event handler for monitoring either process creation or deletion. This requires to be run as administrator. check-in: 5877966bb6 user: Ravikanth tags: trunk
13:12
Queries DNS to return the host name and associated IP addresses, given either an IP address or a host name via the pipeline or parameter (accepts arrays). check-in: 9ee2692d1b user: Nathan Hartley tags: trunk
13:12
Set-Wallpaper lets you set your windows desktop wallpaper. It requires PInvoke and I wrote it using PowerShell 2’s Add-Type, although it could be done in v1 using the JIT code generation tricks Lee Holmes has mentioned in the past … check-in: bf94c883c7 user: Joel Bennett tags: trunk
13:12
As written it will poll Cisco routers and switches and if the snmp OID’s match it will pull out model, serial, and IOS version. The resulting spreadsheet contains IP, host name, serial, model, IOS version, and rack location. The script is heavily documented internally. See the script for more info. check-in: 29115fd95a user: Kenneth C Mazie tags: trunk
13:12
Give as input a cmdlet name. Output is a set of properties about each parameter, including: name, parameter set, aliases, ismandatory, and CommonParameter. Thanks to LucD for the technique. check-in: 3e10580577 user: halr9000 tags: trunk
13:12
This function will allow you to query local or remote computer/s and determine if there are pending WSUS updates that need to be installed. A report is returned that can be exported to a CSV file if desired. check-in: 8db30724ff user: Boe Prox tags: trunk
13:12
Advanced function used to test UDP or TCP port/s on one or more systems to determine if it is open or not. check-in: 3b86ce9bf4 user: Boe Prox tags: trunk
13:12
Advanced function used to test UDP or TCP port/s on one or more systems to determine if it is open or not. check-in: 317da19173 user: Boe Prox tags: trunk
13:12
This function will allow you to query any server hosting SQL and return the file sizes for the each Database file(MDF) and Transaction Log file(LDF). This does not return back the file locations for each database. I have tested this on SQL 2000, 2005 and 2008. check-in: 002b0a0511 user: Boe Prox tags: trunk
13:12
#a function to count how many items there are, whether its an array, a collection, a hashtable or actually just check-in: 2df993104f user: karl prosser tags: trunk
13:12
Script demonstrates automated SQL database restore using SQLPSX SQLServer module that relocates files to default directory and kills all connections to database. check-in: fe318ed71c user: Chad Miller tags: trunk
13:12
Script demonstrates automated SQL database restore using SQLPSX SQLServer module that relocates files to default directory and kills all connections to database. check-in: 0d20c62472 user: unknown tags: trunk
13:12
Basic authentication class, with really simple dumb cookie set. check-in: 891c1636d3 user: unknown tags: trunk
13:11
I saw few questions about this functionality on VUG, so I decided to give it a try and create function that would allow user to created object with nested objects. I needed to have also possibility to define type of nested object, so I’ve used key in hashtable to define it, if exists. Works fine now with Windows.Forms :) Meanwhile I’ve noticed Karl already produced another script that does similar things. Oh, well, maybe that will be also handy for somebody. :) check-in: 451e3d18a4 user: BartekB tags: trunk
13:11
Just a slight remake of a previous ‘Edit-File’ advanced function. check-in: ce90ffe7b7 user: Smobutter tags: trunk
13:11
Just a slight remake of a previous ‘Edit-File’ advanced function. check-in: 98cad7d2c9 user: Smobutter tags: trunk
13:11
I saw few questions about this functionality on VUG, so I decided to give it a try and create function that would allow user to created object with nested objects. I needed to have also possibility to define type of nested object, so I’ve used key in hashtable to define it, if exists. Works fine now with Windows.Forms :) Meanwhile I’ve noticed Karl already produced another script that does similar things. Oh, well, maybe that will be also handy for somebody. :) check-in: ff9cd14417 user: unknown tags: trunk
13:11
this function takes nested hashtables and converts them to nested pscustomobjects.it can also contain arrays of hashtables, and it will turn those hashtables in the arrays also into PScustomobjects check-in: dd3ef45e69 user: unknown tags: trunk
13:11
This will return the specified website’s X.509 certificate either as an object or a file (if the -OutputFile parameter is specified). See included comment based help for documentation. check-in: cc7056aa4e user: Andy Arismendi tags: trunk
13:11
Connect to an exchange mailbox and get your latest emails. check-in: f12b3a76e6 user: George Mauer tags: trunk
13:11
Connect to an exchange mailbox and get your latest emails. check-in: d4af3817db user: George Mauer tags: trunk
13:11
Get-PSExecutionPolicy.ps1 uses WMI to query remote registry for PowerShell path and exeuction policy settings. Because WMI is used works from x86 to x64 machines. check-in: 93913f6eab user: Chad Miller tags: trunk
13:11
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: 421452b816 user: Paul Brice tags: trunk
13:11
Joins array elements together using a specific string separator check-in: bd2e83a607 user: Joel Bennett tags: trunk
13:11
Given an ESX host, produce a report of read and write latencies for all attached LUNs. check-in: ac0abd1824 user: Carter Shanklin tags: trunk
13:11
Advanced function used to test UDP or TCP port/s on one or more systems to determine if it is open or not. check-in: 96ea24c532 user: Boe Prox tags: trunk
13:11
This is a Powershell wrapper around the CreateShortCut method of the WScript.Shell COM object. I’ve added a feature to set the “Run as Administrator” flag. This feature is used on OS versions with UAC. check-in: e7d2555c6f user: Andy Arismendi tags: trunk
13:11
where-in and where-propertyin are filters that allow to pass through pipeline object that are in a specified array/collection, or that have a property that is in an array or collection. They also can take a scriptblock that can be used to implement a comparision when the relationship isn’t exact. in that scriptblock the variable $__ is created to represent the item in the collection being compared with the pipeline $_ object. see examples embedded. check-in: b1737686f6 user: karl prosser tags: trunk
13:11
a demo of using some build in dotnet attributes to store some powershell METADATA (hashtables) and extract that. check-in: 1ab9caf26c user: karl prosser tags: trunk
13:11
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: b661aae4d5 user: james tags: trunk
13:11
This advanced function will allow you to retrieve the current weather information for a given country/city. check-in: 73bd74e62f user: Boe Prox tags: trunk
13:11
This advanced function will allow you to retrieve the current weather information for a given country/city. check-in: b19c1152a9 user: Boe Prox tags: trunk
13:11
A function to rename a computer check-in: 12379df108 user: Gerald Klassen tags: trunk
13:11
Prompt replacement based on a script by iainsimpson (http://blogs.technet.com/iainsimpson/archive/2008/02/20/custom-powershell-prompt.aspx). check-in: 0bcf6441ab user: callias tags: trunk
13:11
This script will allow you to query a web site and retrieve information about the web site and whether it is available or not. check-in: d6a4d6086a user: Boe Prox tags: trunk
13:11
This script will allow you to query a web site and retrieve information about the web site and whether it is available or not. check-in: 9781d477c4 user: Boe Prox tags: trunk
13:11
This script will allow you to query a web site and retrieve information about the web site and whether it is available or not. check-in: 495fd6611f user: Boe Prox tags: trunk
13:11
This script will trap events such as USB insertion, file changes, registry key check-in: 3f63214c04 user: Archdeacon tags: trunk
13:11
This script will trap events such as USB insertion, file changes, registry key check-in: 05bedb1316 user: unknown tags: trunk
13:11
This script will allow you to query a web site and retrieve information about the web site and whether it is available or not. check-in: 9edc145181 user: Boe Prox tags: trunk
13:11
This function allows you to download the contents of a webpage to display on a PowerShell console. Also included is a switch to show the size of the web page. check-in: 1cc40ab5fe user: Boe Prox tags: trunk
13:11
This function allows you to download the contents of a webpage to display on a PowerShell console. Also included is a switch to show the size of the web page. check-in: 1e2fc1e1ca user: Boe Prox tags: trunk
13:11
This script will allow you to query a web site and retrieve information about the web site and whether it is available or not. check-in: 0902fff4f8 user: Boe Prox tags: trunk
13:11
Autoload function like the Korn shell — can inject functions to modules. check-in: cef7e3bfdc user: Joel Bennett tags: trunk
13:11
Sets Application Compatibility flags for an application. (Same as on the Compatibility tab of the properties.) check-in: 21c171935b user: Steven Murawski tags: trunk
13:11
Sorry, but for now this is an all-in-one link creating/editing function: GET-Link and then call methods on it … feel free to polish it up and paste back. All credit goes to Ian Clegg for writing 90% of this code. check-in: a99d842149 user: unknown tags: trunk
13:11
Example on how to use Proxy Cmdlets in combination with object events. check-in: 3b2bb10413 user: Jan Egil Ring tags: trunk
13:11
Example on how to use Proxy Cmdlets in combination with object events. check-in: d22c3dec6d user: Jan Egil Ring tags: trunk
13:11
Module to extend PowerShell ISE functionality. Adds two GUIs (one to play with token colors, second to get command from history back to commandpane), and three functions that may be useful when using ISE (Edit-Function, Add-MyMenuItem and Expand-Alias). Comment-based help included. Have ISE – Fun! ;) check-in: c4c838e6da user: Bartek Bielawski tags: trunk
13:11
Very simple module that’s add ‘cd -’ functionality. It basically keeps track of folders you have visited (using prompt function) and make those available in Set-PrevLocation function. Alias cd- make it (almost) feel like original. You can add argument [int] that will limit list’s length. If you have other modules that modify prompt: keep in mind that it will restore prompt function on removal but will use state that existed when it was imported… So any changes done in between will be probably lost. check-in: a1e2614bae user: Bartek Bielawski tags: trunk
13:11
A simple implemenation of the Experimental.IO LongPath library from the Microsoft Base Class Library project as a module. check-in: c292ea5524 user: Joel Bennett tags: trunk
13:11
This function is an attempt to duplicate the Quest Get-QADUser cmdlet without using any third party snap-ins. If you want to run it against a Global Catalog you simply need to replace LDAP: with GC: and you will want to comment out the lines that pull the password last set and last logon timestamp unless you happen to be replicating those to your GC. check-in: 8a723a26e4 user: Jonathan Walz tags: trunk
13:11
This is a Powershell v2 module that takes NMAP XML output and formats it into custom powershell objects, allowing you to manipulate NMAP output data in Powershell. It operates similarly to import-csv. check-in: 71ef087140 user: Jason Fossen tags: trunk
13:11
Easy Migration Script for VMware Using PowerCLI – 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: 2fcd0124e9 user: Richard Yaw tags: trunk
13:11
Wrapper script for executing a T-SQL call and optionally returning a delimited file. Informational/Error messages are written to the Application EventLog. Purpose of script is run T-SQL commands from external scheduler (UniCenter, AutoSys, etc.), log messages to EventLog and return success/failed status. check-in: b9399825b6 user: Chad Miller tags: trunk
13:11
The new WASP module is getting closer, but this still isn’t quite it ;) check-in: f4028addcf user: Joel Bennett tags: trunk
13:11
Queries the Dell Website for a list of service tags and returns the warranty information as a custom object. check-in: 1e6a513458 user: jgrote tags: trunk
13:11
Helpers for working with .Net classes: Get-Constructor, Get-Assembly, Add-Assembly, Get-Type check-in: d9d3aa22bb user: Joel Bennett tags: trunk
13:11
This is script will first ask for a computername and then will scan the Win32_UserProfile WMI class and present the user with all of the possible user profiles to remove. After the profile has been deleted, the user has a choice to continue to remove another profile or quit. This script will only work against Vista and above client OS’s and Window 2008 and above server OS’s, but can be ran from any OS that has PowerShell installed. check-in: f3398d0857 user: Boe Prox tags: trunk
13:11
This is script will first ask for a computername and then will scan the Win32_UserProfile WMI class and present the user with all of the possible user profiles to remove. After the profile has been deleted, the user has a choice to continue to remove another profile or quit. This script will only work against Vista and above client OS’s and Window 2008 and above server OS’s, but can be ran from any OS that has PowerShell installed. check-in: 2cfb8b382d user: Boe Prox tags: trunk
13:10
Here’s a first simple hit on how to use the Experimental.IO LongPath library from the Microsoft Base Class Library codeplex project. Will list files and/or folders (recursively) ... check-in: c845c6c8aa user: Joel Bennett tags: trunk
13:10
Get one or more performance counter objects. check-in: 3f7fb18061 user: tojo2000 tags: trunk
13:10
PowerShell functions to export and import WLAN profiles in Windows Vista/Windows 7 check-in: 32cf196e03 user: unknown tags: trunk
13:10
A function to rename a computer check-in: 034011d604 user: DEEPSEADC01 tags: trunk
13:10
A way to easily edit textual variables and environment variables: Edit-Variable env:path check-in: c8935f0fb3 user: unknown tags: trunk
13:10
This script creates a WMI Class Win32_AddRemovePrograms (and, on 64bit systems, a Win32_AddRemovePrograms32 for 32bit apps) which are backed by the registry provider. They can then be queried to list installed apps (and versions) and perform much faster than running the same queries using the PowerShell Registry provider. Additionally, they can be used in GPO policies, etc. check-in: db369ae37e user: Joel Bennett tags: trunk
13:10
Sample of calling RichCopy.exe for massively parallel file copy. Great when copying many small files over long distance, to overlap latency delays. Same as Windows 7 ‘robocopy.exe /MT:64’ but works on Windows XP and Server 2003. check-in: e05dcb20e4 user: unknown tags: trunk
13:10
Here is a handful of functions that I use to manage netapp appliances. The code could be improved in several ways, but I think it is a good starting point and functions as a good set of examples for those interested in using the ontap SDK in powershell. check-in: 65dc3bda91 user: Jason Ochoa tags: trunk
13:10
Restarts local or remote IIS AppPools check-in: 749e4cece8 user: Joel Bennett tags: trunk
13:10
Restarts local or remote IIS AppPools check-in: 0579fd5f88 user: Joel Bennett tags: trunk
13:10
This file was uploaded by a PowerGUI Script Editor Add-on. check-in: 76ac0f0af5 user: unknown tags: trunk
13:10
This file was uploaded by a PowerGUI Script Editor Add-on. check-in: 64022f7fdc user: arodd tags: trunk
13:10
This file was uploaded by a PowerGUI Script Editor Add-on. check-in: 5e3f5f4552 user: unknown tags: trunk
13:10
This script will download a file showing the download progression as it completes check-in: 9219b35b45 user: CrazyDave tags: trunk
13:10
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: a10d9a407d user: Joel Bennett tags: trunk
13:10
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 722f21cbe2 user: Lee Holmes tags: trunk
13:10
Module to extend PowerShell ISE functionality. Adds two GUIs (one to play with token colors, second to get command from history back to commandpane), and three functions that may be useful when using ISE (Edit-Function, Add-MyMenuItem and Expand-Alias). Comment-based help included. Have ISE – Fun! ;) check-in: 9453e05f57 user: Bartek Bielawski tags: trunk
13:10
GUI script that helps to workaround problems with desktop sharing by non-admin person and running process as admin. In default scenario UAC kicks in and will show user/password prompt to non-admin user rather than remotely connected IT person. This script separates alternating credentials and elevating, so IT person can enter credentials first, and remote user gets only yes/no prompt. GUI code generated using PrimalForms community edition and re-written a bit. If you have any comments please ping me via twitter (@bielawb) or e-mail (bartb at aster.pl) check-in: dbd4440bf0 user: unknown tags: trunk
13:10
Easy Migration Script for VMware Using PowerCLI (Version 2.0) – 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: b5cf47c91e user: Richard Yaw tags: trunk
13:10
- NOTES check-in: be5a230b92 user: ChristopheCREMON tags: trunk
13:10
Derived from Oisin’s New-ScriptBlockCallback, this is an example of how to do asynchronous sockets in PowerShell. The two functions below enable simple “expect” scripting of socket communications. check-in: 8cbe0ede8b user: Oisin Grehan tags: trunk
13:10
Deploying a VM with Static IP in 3 steps check-in: 6a815811f3 user: Nedko Nedev tags: trunk
13:10
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: bdbd8c257c user: Lee Holmes tags: trunk
13:10
This code is a script that sets the width of a div according to client’s monitor resolution. Very useful when we have a varied audience check-in: e96e7a3b6b user: youikar tags: trunk
13:10
Requires mGet-DatastoreList.ps1 check-in: 017847744f user: monahancj tags: trunk
13:10
A version of the VMware Get-Datastore cmdlet that filters out datastore we don’t want to use for VMs by type of datastore and our naming conventions for the datastore naming indicating what kind of data is on the datastore. Line 9 will have to be updated for your own environment. check-in: 389ccbb881 user: monahancj tags: trunk
13:10
This is a batch file … with a PowerShell script inside. It’s my answer to all those “compile your .ps1” solutions that are floating around. Why would you do that, when PowerShell still has to be installed? check-in: 8fddfecb03 user: unknown tags: trunk
13:10
Function, which creates vDS in vSphere PowerCLI check-in: be42bec8ac user: Pavel Dimitrov tags: trunk
13:10
Forces Replication of all DCs in the current Logon Domain. check-in: 2acefd710c user: Chris tags: trunk
13:10
Converting datareader to dataset check-in: 66f8b48c56 user: unknown tags: trunk
13:10
ASP.NET – Using httpContext check-in: 064f65d83f user: ti4funcom tags: trunk
13:10
PowerZip – PowerShell Module that allows you to zip files check-in: d0844c40fa user: ChristopheCREMON tags: trunk
13:10
The .NET framework has the System.Net.IPAddress class which can be used to validate a string as an IP address. I wanted to do the same with IP masks as well and came up with this script. check-in: a207a21dc9 user: Rich Kusak tags: trunk
13:10
The .NET framework has the System.Net.IPAddress class which can be used to validate a string as an IP address. I wanted to do the same with IP masks as well and came up with this script. check-in: a19ff21d7c user: Rich Kusak tags: trunk
13:10
PowerZip – PowerShell Module that allows you to zip files check-in: 55e9a4bdae user: ChristopheCREMON tags: trunk
13:10
PowerZip – PowerShell Module that allows you to zip files check-in: 93bb718f82 user: ChristopheCREMON tags: trunk
13:10
PowerZip – PowerShell Module that allows you to zip files check-in: 6794ee471e user: ChristopheCREMON tags: trunk
13:10
Make it easier to use Watin automation via PowerShell check-in: ab0a953841 user: Joel Bennett tags: trunk
13:10
PowerZip – PowerShell Module that allows you to zip files check-in: dc37563026 user: ChristopheCREMON tags: trunk
13:10
PowerShell Module to manage Windows Scheduled Tasks check-in: eb5e1dbdc6 user: ChristopheCREMON tags: trunk
13:10
PowerShell Module to manage Windows Scheduled Tasks check-in: dcc883a574 user: ChristopheCREMON tags: trunk
13:10
Findup – Find Duplicates, and optionally delete them. C# version of the powershell script FindDupe.ps1, C# version is probably 100 times faster though. check-in: 8690e49588 user: James Gentile tags: trunk
13:10
A Windows PowerShell-script for generating an HTML-report for DFS-R SYSVOL and sending it via e-mail. check-in: bf12bf6f2f user: Jan Egil Ring tags: trunk
13:10
Although Windows Server 2008 R2/Powershell 2.0 includes a FailoverClusters module, it only works on a machine running cluster service and NOT against Windows 2003/2008 clusters. This script provides a library functions for working with Microsft Cluster Services (MSCS) using the WMI MSCluster* class. Base class properties are extended with additional info from association classes. check-in: 4851d4f35c user: Chad Miller tags: trunk
13:10
A module manifest Wrapper for Microsoft’s Operations Manager Shell. Requires Operations Manager Shell on build machine, but resulting module can be copied/used on clients w/o Operations Manager installation. check-in: b3236d39aa user: unknown tags: trunk
13:10
Create a Sharepoint 2010 farm check-in: 41cd1c3aec user: Jos Verlinde tags: trunk
13:10
Get the name of the current (or last) transcription file used in the current session. Requires powershell v2.0. Some things to note: check-in: f6e15ba5d6 user: Oisin Grehan tags: trunk
13:09
Download and install Google Chromium if there is a newer version available. check-in: 5e3860c614 user: MJWJ1 tags: trunk
13:09
This function is an attempt to duplicate the Quest Get-QADUser cmdlet without using any third party snap-ins. If you want to run it against a Global Catalog you simply need to replace LDAP: with GC: and you will want to comment out the lines that pull the password last set and last logon timestamp unless you happen to be replicating those to your GC. check-in: 5a36adfc16 user: Jonathan Walz tags: trunk
13:09
journal mailboxes check-in: 9d613fd8b7 user: unknown tags: trunk
13:09
evac mailboxes check-in: 9b15575665 user: unknown tags: trunk
13:09
It just needs presents under it… check-in: 3bddad9f46 user: Joel Bennett tags: trunk
13:09
Script to create a backup report from Netbackup jobs check-in: b8e965a486 user: Martijn Jonker tags: trunk
13:09
A simple stream-reader implementation suitable for simple interactive script task … check-in: 10d0a308e9 user: Joel Bennett tags: trunk
13:09
Pipe filter which empties working set for any received System.Diagnostics.Process object check-in: 24839b7655 user: amirul tags: trunk
13:09
A pure console screen saver in the vein of the popular CMatrix x-term screensaver. PowerShell 2.0 module, see blog post: http://goo.gl/5QkI5 check-in: 2adadaaa5d user: Oisin Grehan tags: trunk
13:09
Simple Windows form to connect to Live@Edu for the purpose of searching for accounts and resetting their passwords. check-in: 62b52cc8a5 user: unknown tags: trunk
13:09
A man is not old as long as he is seeking something. A man is not old until regrets take the place of dreams. check-in: 49b916ba8e user: Matt Wilson tags: trunk
13:09
Add voice to your Powershell script check-in: 8dc57650fa user: Mike Hays tags: trunk
13:09
A wrapper class for shell shortcut files from vbAccelerator which makes it easy to read & write shell links. check-in: 5682f37451 user: Joel Bennett tags: trunk
13:09
This is another Must Have upgrade, because I screwed up the last one ;-) check-in: db24ad1bce user: Joel Bennett tags: trunk
13:09
Sow nothing, reap nothing. check-in: df82ac9a5a user: Matt Wilson tags: trunk
13:09
Easy Migration Script for VMware Using PowerCLI (Version 2.0) – 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: 7544b409a1 user: Richard Yaw tags: trunk
13:09
All Group Policy Objects modified in the specified timespan are backup up to the specified backup path. check-in: df76589f25 user: Jan Egil Ring tags: trunk
13:09
This will perform a basic netstat.exe command and “objectize” its output. check-in: 2ac864da20 user: glnsize tags: trunk
13:09
A function to retrieve available Control Panel Applets along with a description. check-in: 245e324c66 user: unknown tags: trunk
13:09
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: c5a9a67edc user: geraldo tags: trunk
13:09
Findup – Find Duplicates, and optionally delete them. C# version of the powershell script FindDupe.ps1, C# version is probably 100 times faster though. check-in: 9a5493bb34 user: James Gentile tags: trunk
13:09
Bulk change account passwords without requiring elevated permissions. check-in: 802279d299 user: unknown tags: trunk
13:09
Test-Port creates a TCP connection to specified port. check-in: 7bc7b3b706 user: BSonPosh tags: trunk
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