PoshCode Archive  Timeline

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

200 most recent check-ins using file VerifyCategoryRule.ps1 version bf5a796850

2018-06-10
13:14
This is an update to my “Speech.psm1” script module for doing voice/speech recognition. With this version, speech macros will be executed asynchronously, so it doesn’t tie up the shell for the duration :) Of course, if the shell is actually BUSY, it will delay execution of macros. See usage examples at the bottom of the script. check-in: 8fcd3dba57 user: Joel Bennett tags: trunk
13:14
A set of functions I’ve been working on to allow easy use of Access DBs with PowerShell. A work in progress, but thought they were at a point where others might find them useful. check-in: 449248f40a user: Matt Wilson tags: trunk
13:14
A demonstration of how to do menus and commands in ShowUI (it works against the Latest Changeset d7ad095858eb right now, so you can just hit the download link on the right of that page). check-in: 66a2a8fea6 user: Joel Bennett tags: trunk
13:14
This Advanced Function will look to see if the current user context running a command/script is an Administrator or not. If not, a menu is presented to the user to either continue or enter alternate credentials. The function will either return a credential object of the alternate credential or a string type stating that the current user context will be used. check-in: f5f4d53a6a user: Boe Prox tags: trunk
13:13
This is a flexible multiple-input prompt for Show-UI (it works against the Latest Changeset ‘d7ad095858eb’ right now, so you can just hit the download link on the right) check-in: 3901cff930 user: Joel Bennett tags: trunk
13:13
Modeled after SQL Server 2008 Invoke-Sqlcmd, but fixes bug in QueryTimeout. Put closing connection in finally block. check-in: 15a0dc019e user: Chad Miller tags: trunk
13:13
I noticed that WPF has LinearGradient and RadialGradient. Wanted something more… square in size. First tried to use something that allowed me to build brush easy, but it was hard to change it into something portable. So I just used New-Object and now you can use it in WPK, PowerBoots or Show-UI, whichever you prefer. ;) This script is building actual function and shows some demo usage + load required assemblies and makes sure we are in STA (some controls barfed at me when I tried to leave it -MTA). I only hope it’s not done already… ;) Corners are rounded, so that it looks more soft. check-in: df93d0dd33 user: BartekB tags: trunk
13:13
Invoke generic method definitions (including static methods) from PowerShell. check-in: c10daadadf user: Oisin tags: trunk
13:13
The Get-MyPublicIPAddress script uses DNS-O-Matic, an OpenDNS resource, to retreive the public IP address that represents your computer on the internet. check-in: 45b50c1d72 user: Rich Kusak tags: trunk
13:13
New-Choice Update check-in: 8e36ee1f15 user: Andy Schneider tags: trunk
13:13
Creates a Choice Dialog for end users. It will return the string that the user chose. check-in: 9176ad4232 user: Andy Schneider tags: trunk
13:13
This function returns an object that contains all the properties of a user object. This function works for small groups as well as groups in excess of 1000. check-in: 8b366a7556 user: Jeff Patton tags: trunk
13:13
Heres a function to quickly look up the latest version of the bogon list maintained by Team Cymru from within PowerShell. check-in: bb382272a1 user: Rich Kusak tags: trunk
13:13
This function returns an object that contains all the properties of a user object. This function works for small groups as well as groups in excess of 1000. check-in: 97a4e1d94f user: Jeff Patton tags: trunk
13:13
Invoke generic method definitions (including static methods) from PowerShell. check-in: 691d2635ba user: Joel Bennett tags: trunk
13:13
Convert a Windows PowerShell shortcut to the Solarized color scheme(s). check-in: 7983109e5a user: Joel Bennett tags: trunk
13:13
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: b2144145dd user: Chad Miller tags: trunk
13:13
An interactive graphical filter for pipeline objects… (a sample script for Show-UI which works right now on changeset d7ad095858eb) check-in: 2a91e3e42d user: Joel Bennett tags: trunk
13:13
Imports certificate in specified certificate store. check-in: ea49577b56 user: anti121 tags: trunk
13:13
Get PowerShell numbered scope in anytime!!! check-in: 213c07c6df user: ingted tags: trunk
13:13
Enumerate through the default folder within Outlook and calculate size of each sub-folder and produce a final total size. check-in: ada53f5dfe user: marcadamcarter tags: trunk
13:13
Converts objects to custom PSObjects with robust type support. Allows converting data from Import-CSV etc into type-safe pseudo structs … check-in: ea03176103 user: Joel Bennett tags: trunk
13:13
Converts objects to custom PSObjects with robust type support. Allows converting data from Import-CSV etc into type-safe pseudo structs … check-in: a4061d8f92 user: Joel Bennett tags: trunk
13:13
Converts objects to custom PSObjects with robust type support. Allows converting data from Import-CSV etc into type-safe pseduo structs … check-in: f9ce36867d user: Joel Bennett tags: trunk
13:13
Get PowerShell numbered scope in anytime!!! check-in: ccfa44e0cd user: ingted tags: trunk
13:13
Attempt to resolve the path to an Application using Get-Command or the “App Paths” registry key or the start menu search. check-in: d18f1d4109 user: Joel Bennett tags: trunk
13:13
Add new smtp address from csv and set new address primary check-in: d95871d728 user: Ermias tags: trunk
13:13
Hack your ESXi welcome screen. check-in: 246a851cfa user: Carter Shanklin tags: trunk
13:13
Script to retrieve the leader boards from the 2011 Scripting Games as objects. New version fixes an error with regex that caused usernames with periods or other non-english characters to be excluded (Thanks to Scott Alvarino for noticing this). Also added rankings, which unfortunately causes PowerShell to default the display to a list format, but I assume that any PowerSheller looking at the leaderboards is capable of piping the output to “Format-Table -AutoSize” :) check-in: 6f13bec683 user: Scott Alvarino tags: trunk
13:13
Script to retrieve the leader boards from the 2011 Scripting Games as objects. New version fixes an error with regex that caused usernames with periods or other non-english characters to be excluded (Thanks to Scott Alvarino for noticing this). Also added rankings, which unfortunately causes PowerShell to default the display to a list format, but I assume that any PowerSheller looking at the leaderboards is capable of piping the output to “Format-Table -AutoSize” :) check-in: c575b20582 user: Alex McFarland tags: trunk
13:13
ACE.psm1 is a module for getting data from Microsoft Office Access (*.mdb and .accdb) files and Microsoft Office Excel (.xls, *.xlsx, and *.xlsb) files. check-in: a153fadb9b user: Chad Miller tags: trunk
13:13
From a great function in Powertab (on Codeplex). check-in: 2986e97d10 user: bar971it tags: trunk
13:13
My variation for SG 2011 Leader Board watcher. :) Using regex + xml. Lets you specify -Top and -Name, so that you see person even if she/he is not (yet ;) ) in top. :D check-in: 267698e099 user: BartekB tags: trunk
13:13
Function to retrieve score information for the 2011 Microsoft Scripting Games. check-in: 5bc0876fa2 user: Mike Hammond tags: trunk
13:13
The Split-Job function provides easy multithreading at the command line or in a script. It was created from a system administrator’s point of view and is compatible with PS v1. Supports importing functions, variables and snapins. For history and background please visit http://www.jansveld.net/powershell. check-in: e66aef07e1 user: Arnoud Jansveld tags: trunk
13:13
The Split-Job function provides easy multithreading at the command line or in a script. It was created from a system administrator’s point of view and is compatible with PS v1. Supports importing functions, variables and snapins. For history and background please visit http://www.jansveld.net/powershell. check-in: 6aaafd7339 user: Arnoud Jansveld tags: trunk
13:13
The Split-Job function provides easy multithreading at the command line or in a script. It was created from a system administrator’s point of view and is compatible with PS v1. Supports importing functions, variables and snapins. For history and background please visit http://www.jansveld.net/powershell. check-in: b0ef0d4d15 user: Arnoud Jansveld tags: trunk
13:13
Tails a File, but does not work. No output to screen, not even an error when not setting number of lines variables. check-in: 5a36207184 user: William Stacey tags: trunk
13:13
Find duplicates in <directories/files> comparing size then SHA-512 hash 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: e4e92dbecf user: James Gentile tags: trunk
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. &#65279;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. &#65279;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