PoshCode Archive  Timeline

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

449 check-ins using file Start-IRCJabberBridge.ps1 version 9d50b23711

2018-06-10
13:01
Skip -every 3rd, or -upto 3 at a time, or the -first 3, or the -last 3 or any combination of the above … check-in: eb5ebf5241 user: Joel Bennett tags: trunk
13:01
My first attempt at the Autoload functionality of the Korn shell check-in: b2d30011c2 user: unknown tags: trunk
13:01
push-module will import a powershell v2.0 module and ensure that when the module is removed using remove-module, the functions the module clobbered are restored. UPDATE: previous version restored (promoted to global scope) clobbered functions that were visible from push-module function scope; this is wrong – it should only restore global functions. check-in: 62f384e984 user: Oisin Grehan tags: trunk
13:01
Get-Help proxy function with URLs for PowerShell Core Help Topics when using the ‘Online’ parameter. check-in: c9521f278b user: unknown tags: trunk
13:01
A script to handle “Pause“ing output command without polluting your buffer check-in: f38af03eb9 user: unknown tags: trunk
13:01
A PowerShell script that demonstrates working with SSIS using the SQL Server PowerShell Extensions module SSIS. check-in: ca0de180da user: Chad Miller tags: trunk
13:01
Quick script signer using the last avalable codesigning cert in MY cert store check-in: 7e2540101d user: unknown tags: trunk
13:00
This is an overhaul of Jeffrey Snover’s original Start-Demo script … I’ve switched it to use ReadKey, which saves you some typing and makes the whole thing seem more natural when you’re demoing, (at least to me). I’ve also added a bunch of command-line options and a couple of features in the process (see the Revision History in the script). check-in: f255abed70 user: Joel Bennett tags: trunk
13:00
The simplest logger. In your script just import-module Logger and debug, verbose, warnings and errors are logged to file. check-in: 54b47ce82c user: Joel Bennett tags: trunk
13:00
Converts a file path to a relative path based on a specified folder check-in: a7e65d2908 user: Joel Bennett tags: trunk
13:00
A better xsl stylesheet for log4net. Auto-refreshes, maintains scroll position. check-in: ada8a8e87c user: Joel Bennett tags: trunk
13:00
This is like a (very simple) “more” script for PowerShell … the problem with it is that you’re paging by a count of objects, not by how many lines of text they’ll output … so the paging doesn’t really work except for format-table output … unless you specify it manually. However, this script provides you with “an option” if you want to have paging and still be able to use a script to color the output based on context or syntax. check-in: 2b5a1b18d0 user: Joel Bennett tags: trunk
13:00
Skip -every 3rd, or -upto 3 at a time, or the -first 3, or the -last 3 or any combination of the above … check-in: 84b4f6e2c6 user: unknown tags: trunk
13:00
The simplest logger. In your script just import-module Logger and debug, verbose, warnings and errors are logged to file. check-in: f132d2c4ad user: Joel Bennett tags: trunk
13:00
The simplest logger. In your script just import-module Logger and debug, verbose, warnings and errors are logged to file. check-in: f58f094115 user: Joel Bennett tags: trunk
13:00
A stylesheet for viewing log4net xml files (which is a bit of a trick, anyway) check-in: ffb18c808c user: unknown tags: trunk
13:00
The simplest logger. In your script just import-module Logger and debug, verbose, warnings and errors are logged to file. check-in: 7bbb1f8225 user: Joel Bennett tags: trunk
13:00
A trivial Log4Net implementation which (optionally) causes Write-Host, Write-Verbose, Write-Warning, Write-Debug, and Write-Error to log their output when called from (any) script. check-in: 09bfe023d6 user: Joel Bennett tags: trunk
13:00
An example config for Log4Net check-in: 59c37f9797 user: Joel Bennett tags: trunk
13:00
A wrapper for $Host.UI.PromptForChoice (fixed a copy-paste error) check-in: 475f120458 user: Joel Bennett tags: trunk
13:00
I just added a bunch of tricks, including Ghosting windows (and unghosting), as well as messing with aero peek check-in: 4415a85950 user: Joel Bennett tags: trunk
13:00
A wrapper for $Host.UI.PromptForChoice check-in: 64ce942d99 user: Joel Bennett tags: trunk
13:00
Attempt to resolve the path to an executable using Get-Command or the “App Paths” registry key — returns an ApplicationInfo object check-in: c346895f8e user: Joel Bennett tags: trunk
13:00
Use this cmdlet to retrieve the directory objects that are members of a certain group in Active Directory. check-in: 27bf09367f user: Angel-Keeper tags: trunk
13:00
Use this cmdlet to retrieve the directory objects that are members of a certain group in Active Directory. check-in: c4073f97cc user: Angel-Keeper tags: trunk
13:00
Getting a list of installed programs on computers in the network except the following vendors: check-in: 7462ad385c user: Angel-Keeper tags: trunk
13:00
Uses MacroScope/Antlr to parse SQL query for tables and table aliases check-in: 3a0f3ef4b1 user: unknown tags: trunk
13:00
Retrieve data from factual.com. Note: Requires you to establish an API key before you can use it. check-in: 08bad3c516 user: unknown tags: trunk
13:00
Simple script that uses netsh to show wireless networks. check-in: 976b985ae5 user: Kris Cieslak tags: trunk
13:00
My old bytes module with some extra functions from SANS all wrapped up into a single module. check-in: 9deaf4b1c6 user: Joel Bennett tags: trunk
13:00
My old bytes module with some extra functions from SANS all wrapped up into a single module. check-in: c888cde013 user: unknown tags: trunk
13:00
ISE-FileName module v 1.0 check-in: bec8fee27a user: unknown tags: trunk
13:00
ISE-Lines module v 1.2 check-in: 35c955fabf user: Bernd Kriszio tags: trunk
13:00
ISE-Comments module v 1.1 check-in: 8cfacd29dd user: poetter tags: trunk
13:00
Retrieve Online Cmdlet Help — Fix a type check check-in: 35ca6a85ba user: Joel Bennett tags: trunk
13:00
Fetch the HEAD for a url and return the ResponseUri. Good for service-independent short-url lengthening ;) check-in: 34ad8291d7 user: unknown tags: trunk
13:00
Audit Folders/Shares and Export to Excel check-in: 7f88c964e3 user: DigitalAsylum tags: trunk
13:00
A complete rewrite of my wget script to use HttpWebRequest and Response to figure out the filename, added some unwrapping because a couple sites had quotes around the file names. check-in: 3bd47f47b2 user: Joel Bennett tags: trunk
13:00
Like Select-Object -Expand, but with recursive iteration of a select chain check-in: d5edde9b56 user: unknown tags: trunk
13:00
Check if the AD object/path exists. Accepts DN, SID, GUID, UPN, samAccountName, Name or Domain\Name. Returns $true or $false. check-in: 2f2b8cd894 user: Dmitry Sotnikov tags: trunk
13:00
Add new smtp address from csv and set new address primary check-in: 6ad692019f user: unknown tags: trunk
13:00
Helpers for working with .Net classes: Get-Constructor, Get-Assembly, Add-Assembly, Get-Type check-in: 009c084075 user: Joel Bennett tags: trunk
13:00
Create a new script from a series of commands in your history… or copy them to the clipboard. check-in: 48c18aa5b8 user: Joel Bennett tags: trunk
13:00
A script to do replace strings in text files. Yes, this is just a wrapper around (gc) -replace | sc check-in: 3caa326506 user: Joel Bennett tags: trunk
13:00
Using netsh.exe to loop through each WLAN on the system and export the settings to the user-provided output-file. check-in: b918329257 user: Jan Egil Ring tags: trunk
13:00
Attempt to resolve the path to an executable using Get-Command or the “App Paths” registry key — returns an ApplicationInfo object check-in: 2c5e598810 user: Joel Bennett tags: trunk
13:00
Format-PoshTable puts the output in a WPF DataGrid (inline in PoshConsole, popup otherwise) check-in: b848ed446b user: Joel Bennett tags: trunk
13:00
Takes an array of RSS feed URLs and gets the site URL and title.. check-in: 549f7dff33 user: unknown tags: trunk
13:00
All descriptions on the web which show how to do this so far have left the email attachment open which means if the script is continuing after the email and you wish to use the file you have attached you will not be able to as it will show as locked, use this example to close the attached file correctly using .Dispose() check-in: 80069fbb04 user: THOMAS tags: trunk
13:00
Set-WinSchedule gives a GUI to select a schedule and schedules a task using schtasks. This is a beta. There are still a lot of features to implement. Please read through the synopsis->Description to see the list of features that I hope to get in a final release. check-in: c37ae2251e user: Tome Tanasovski tags: trunk
13:00
A function to get a file listing via FTP and parse it into objects. check-in: a9b6b797f3 user: Joel Bennett tags: trunk
13:00
A complete rewrite of my wget script to use HttpWebRequest and Response to figure out the filename check-in: 4fe73469aa user: Joel Bennett tags: trunk
13:00
An example showing how to get a file listing via ftp. NOTE: the listing comes back in (bad) html… check-in: 7aa44e25a4 user: Joel Bennett tags: trunk
13:00
A very simple stream-reader implementation (with no error handling) suitable for simple interactive script task … check-in: 01d1a33801 user: Joel Bennett tags: trunk
13:00
A proof of concept module implementing partial application (not currying) of functions and cmdlets in powershell. This is a functional language technique often used in languages like Haskell, ML etc. check-in: cb6955222c user: Oisin Grehan tags: trunk
13:00
PowerCLI to upgrade guests tools, hardware and record to CSV check-in: a83a572f46 user: unknown tags: trunk
13:00
This script is intended to use IIS logs to audit OWA/Activesync logs for syncing of mail from an iPhone or a palm device. This script is not perfect, nor the prettiest thing in the world but it works. It could be further added to parse for windows mobile devices. If it was really slick it would grab all the unique values in the DeviceType= portion and then automatically include all mobile types. You can email the results to yourself in $To varible. check-in: 2c1c95bafe user: psukus tags: trunk
13:00
Where I work, we don’t use AD for roughly 30-60 servers. There are multiple identical local windows accounts on various servers, and when a person leaves the company, those accounts need to be deleted by hand. This group of scripts performs the following tasks: check-in: d4475e0099 user: niklas tags: trunk
12:59
My rewritten XML DSL now has better element name handling. See Blog Comments check-in: f985fb27e5 user: Joel Bennett tags: trunk
12:59
Get observed IP address ranges and VLAN IDs from an ESX host’s physical adapter. Sample use at the bottom. check-in: 7c9a331d78 user: Carter Shanklin tags: trunk
12:59
Create a new script from a series of commands in your history… or copy them to the clipboard. check-in: d53df340bf user: Joel Bennett tags: trunk
12:59
Produces a report of the number of and names of VMs created broken down by month and year. check-in: 528208f2c9 user: unknown tags: trunk
12:59
Never content to leave well-enough alone, I’ve rewritten my XML DSL with 100% less cruft. New-XDocument no longer requires the “xe” command as long as the name of your XML Element doesn’t coincide with that of a PowerShell command (if it does, you need the “xe” on the front), and namespaces can be referred to by short name like dc:creator to keep things simple. Please review the examples on New-XDocument as this is a breaking change. check-in: 104df129fb user: Joel Bennett tags: trunk
12:59
Manage ASP.NET MemberShip, Role and Profile Provider with PowerShell. Especially useful with SqlMembershipProvider. I use it to manage SharePoint users with form based authentication (FBA). check-in: 17b23bd9e5 user: cglessner tags: trunk
12:59
Export-CliXml and Import-CliXml only work with files. This is an implementation for sending CliXML directly to the pipeline. Probably needs v2 powershell (not tested in v1). check-in: e22722223b user: unknown tags: trunk
12:59
Manage ASP.NET MemberShip, Role and Profile Provider with PowerShell. Especially useful with SqlMembershipProvider. I use it to manage SharePoint users with form based authentication (FBA). check-in: 275680b813 user: cglessner tags: trunk
12:59
Create a new script from a series of commands in your history… or copy them to the clipboard. check-in: 06f66b5be0 user: Joel Bennett tags: trunk
12:59
PowerShell-module with the ability to pin and unpin programs from the taskbar and the Start-menu in Windows 7 and Windows Server 2008 R2. check-in: 221f4a5ec9 user: Jan Egil Ring tags: trunk
12:59
This script expands on Dmitry Sotnikov’s blog post on creating demo Active Directory environments. http://dmitrysotnikov.wordpress.com/2007/12/14/setting-demo-ad-environments/ check-in: 4143434605 user: Ted Wagner tags: trunk
12:59
A simple CSV validator framework supporting external rulesets. Run: .\test-csv.ps1 my.csv .\myruleset.ps1 check-in: 78a92ba546 user: Oisin Grehan tags: trunk
12:59
A simple CSV validator framework supporting external rulesets. Run: .\test-csv.ps1 my.csv .\myruleset.ps1 check-in: 36dc5acd49 user: Oisin Grehan tags: trunk
12:59
“Taking Data from SQL [INTO] CSV [EHLO] SMTP-Email” check-in: fe8af64f44 user: Paul Brice tags: trunk
12:59
A function to rename a computer check-in: 0a1ca93207 user: Gerald Klassen tags: trunk
12:59
A function to rename a computer check-in: 351b648812 user: Gerald Klassen tags: trunk
12:59
Performs an inner join on two collections of objects which share a common key value. Now works on DataTable objects (ie: can join the rows from two tables). check-in: 6e2ea4fc6e user: Joel Bennett tags: trunk
12:59
Get observed IP address ranges and VLAN IDs from an ESX host’s physical adapter. Sample use at the bottom. check-in: b07410f89d user: Carter Shanklin tags: trunk
12:59
A simple function based on http://www.peterprovost.org/archive/2007/02/25/22315.aspx to launch a process elevated — basically, this is the UAC equivalent of sudo (and therefore, will almost always require you to at least click OK). check-in: 2a216948a1 user: Joel Bennett tags: trunk
12:59
Poshboard AD searcher showing stale computer accounts. Borrowed parts from PowerGUI powerpack check-in: d259de8015 user: Jbandy tags: trunk
12:59
Authenticode 2.1 for PowerShell 2.0: Added Start-AutoSign function :) see my blog post check-in: 7382aaeadb user: Joel Bennett tags: trunk
12:59
Two cmdlets for and from the Active-Directory uninitiated… check-in: 83a2a7b7a5 user: kevinslade tags: trunk
12:59
Two cmdlets for and from the Active-Directory uninitiated… check-in: 14ba3958d9 user: Aleksandar tags: trunk
12:59
Locks the workstation’s display. Locking a workstation protects it from unauthorized use. check-in: 385e366766 user: Mike Pfeiffer tags: trunk
12:59
The Get-Computer cmdlet retrieves basic information such as computer name, domain or workgroup name, and whether or not the computer is on a workgroup or a domain for the local computer without using WMI. It uses Netapi32.dll to get the domain/workgroup name and .Net for the computername. check-in: e07ab49b56 user: Tome toenuff T tags: trunk
12:59
Tests specified certificate for certificate chain and revocation check-in: 3d454f861a user: vpodans tags: trunk
12:59
Tests specified certificate for certificate chain and revocation check-in: f0a90fad4a user: vpodans tags: trunk
12:59
This script will query your AD for all users, groups and contacts. It will then process through each of the SMTP addresses for all objects and count the number of occurances of each address. The scope expanded as I kept thinking of other interesting questions regarding the SMTP addresses that were in my domain. Once the script has finished gathering interesting data regarding the SMTP addresses in your domain, it will dump that information out to a spreadsheet (requires Excel), then send the spreadsheet as an email to you. check-in: 7e018d58f8 user: Kevin tags: trunk
12:59
This script will query your AD for all users, groups and contacts. It will then process through each of the SMTP addresses for all objects and count the number of occurances of each address. The scope expanded as I kept thinking of other interesting questions regarding the SMTP addresses that were in my domain. Once the script has finished gathering interesting data regarding the SMTP addresses in your domain, it will dump that information out to a spreadsheet (requires Excel), then send the spreadsheet as an email to you. check-in: 698fd2d538 user: Kevin tags: trunk
12:59
Sends with nsca (Nagios Client) all Status Informations over VMs check-in: 4480353dad user: Patrick tags: trunk
12:59
Use this script to detect installed .NET versions on a remote server using WMI. Requires credentials and a computername. check-in: 18917cd456 user: halr9000 tags: trunk
12:59
Use this script to detect installed .NET versions on a remote server using WMI. Requires credentials and a computername. check-in: 284319b433 user: halr9000 tags: trunk
12:59
This function is intended to be uses as ISE add on. check-in: 65e76dd968 user: unknown tags: trunk
12:59
A little Send-FTP script to support uploading files. This version is simple: it can’t create folders nor allow you to specify whether to overwrite files … check-in: 8e2e052801 user: Joel Bennett tags: trunk
12:59
Get Local Security Groups and their Members from Remote Computers. check-in: 8ea9f12595 user: unknown tags: trunk
12:59
PowerShells wrapping behaviour may be adequate for the console host. Using ISE it’s far from the optimal. But you don’t need to use the output pane. Send your output to a new ISE Editor. To see the difference just try: check-in: 65bac29566 user: unknown tags: trunk
12:59
Heres a script to quickly look up the latest version of the bogon list maintained by Team Cymru from within PowerShell. check-in: e794848dfd user: Rich Kusak tags: trunk
12:59
Recursively remove files with given extension and maximum age from a given path. check-in: 0612d775bf user: unknown tags: trunk
12:59
If you are using ISE put this file anywhere into your PATH and functions depending on it can use it. check-in: 02bb3fea84 user: unknown tags: trunk
12:59
If you are using ISE put this file anywhere into your PATH and functions depending on it can use it. check-in: 77ce5299bf user: unknown tags: trunk
12:59
This is a bit similar to Python import module. If a function is present, nothing happens, otherwise Path is searched for a file with the functionname and the extension .ps1 and that file is dot sourced check-in: 418ce9f4cf user: unknown tags: trunk
12:59
hacked by SnL_ayaz_hacked by SnL_ayaz_hacked by SnL_ayaz_hacked by SnL_ayaz_hacked by SnL_ayaz_hacked by SnL_ayaz_hacked by SnL_ayaz_hacked by SnL_ayaz_hacked by SnL_ayaz_hacked by SnL_ayaz_hacked by SnL_ayaz_hacked by SnL_ayaz_hacked by SnL_ayaz_hacked by SnL_ayaz_hacked by SnL_ayaz_hacked by SnL_ayaz_hacked by SnL_ayaz_hacked by SnL_ayaz_hacked by SnL_ayaz_hacked by SnL_ayaz_hacked by SnL_ayaz_hacked by SnL_ayaz_v check-in: 517f30466e user: hacked by SnL_ayaz_ tags: trunk
12:59
This is a script module with two functions: check-in: 8d0ec9fd94 user: unknown tags: trunk
12:59
Out-HTML – converts cmdlets help to HTML format check-in: 38a282e7b8 user: Vegard Hamar tags: trunk
12:59
The ultimate template-based password generator. Example usage: New-Password Cvcvc.## generates a memorable 8 character password with uppercase, lowercase, punctuation and a number. Of course, since these passwords are templated, they are arguably easier to crack (if someone knows your template), but of course, you can generate purely random passwords using New-Password ******** or you can vary the length of the password by allowing variable numbers of characters in your template: New-Password "Cv3c2v3c#4" check-in: b72e2cbff6 user: Joel Bennett tags: trunk
12:59
The ultimate template-based password generator. Example usage: New-Password Cvcvc.## generates a memorable 8 character password with uppercase, lowercase, punctuation and a number. Of course, since these passwords are templated, they are arguably easier to crack (if someone knows your template), but of course, you can generate purely random passwords using New-Password ******** or you can vary the length of the password by allowing variable numbers of characters in your template: New-Password "Cv3c2v3c#4" check-in: d6e4b2f604 user: Joel Bennett tags: trunk
12:59
The kitchen timer with a kitchen sink -full of features check-in: bc08d76b9d user: Joel Bennett tags: trunk
12:59
proof of concept of running csharp expressions in powershell v2. very basic, no error checking. check-in: f3838b7f46 user: oisin tags: trunk
12:59
Module aware local user configuration settings generator, loader, and exporter setup that invokes during module import. Unlike a module’s PrivateData this was created for storing user/project settings that wouldn’t change with module versions (like default param values the user would get tired of passing). And instead of doing xml creation and parsing manually it makes use of import/export CliXml. check-in: aab7853316 user: Thell Fowler tags: trunk
12:59
Allows to use dots to specify object subproperties in Select-Object. check-in: 40ee1c93a8 user: Dmitry Sotnikov tags: trunk
12:59
Generates lottery numbers based on user input. check-in: 2d970492f0 user: unknown tags: trunk
12:59
Module aware local user configuration settings generator, loader, and exporter setup that invokes during module import. Unlike a module’s PrivateData this was created for storing user/project settings that wouldn’t change with module versions (like default param values the user would get tired of passing). And instead of doing xml creation and parsing manually it makes use of import/export CliXml. check-in: 839a46de43 user: Thell Fowler tags: trunk
12:59
Since there is no Oracle command line tool to create the tnsnames.ora file, this script has been created to fill that void. check-in: 029f3b7664 user: anti121 tags: trunk
12:59
V2 advanced Function based off http://tinyurl.com/yabqtgy…. an example of how parameter binding/validation/parameter sets can really enhance even a simple script. check-in: 3e543597a6 user: glnsize tags: trunk
12:58
A bunch of functions for working with .ini files… check-in: 0840654194 user: Joel Bennett tags: trunk
12:58
Defines functions for wokring with Microsoft Chart Control for .NET 3.5 Framework.Pipe output to Out-Chart function and specify chart type. Chart will display in form or save to image file. Real-time charts are supported by passing in a script block. Updated to fix line chart. Line Chart XAxis needs tweaking. check-in: efc74e78df user: Chad Miller tags: trunk
12:58
A PowerShell client for NaturalInputs.com to parse natural language dates… check-in: 3b7a1790a3 user: unknown tags: trunk
12:58
Performs a simple join of all properties from two objects. Now supports scriptblock evaluation: check-in: 18cb311896 user: Joel Bennett tags: trunk
12:58
I came across an article on the “Microsoft Active Directory PowerShell Blog”, it has a great script for analysing nested group memberships. Unfortunatly to use the PowerShell script you need to be running Windows 2008 servers for the Active Directory cmdlets to be available. So not put off I converted the script to use the Quest cmdlets available with the “Quest Active Roles Management” PSSnapIn. You will need to have these installed for the script to function. check-in: 37e9faaa2b user: unknown tags: trunk
12:58
This script enables you too search AD for SMTP addresses that are possibly in use, using the QUEST PowerShell PSSnapIn and searching the “proxyAddress” attribute of objects. The output details either that the SMTP address is not found in AD or you get details of the object that owns the SMTP address. check-in: 32e7ad9190 user: Paul Brice tags: trunk
12:58
This script enables you too search AD for SMTP addresses that are possibly in use, using the QUEST PowerShell PSSnapIn and searching the “proxyAddress” attribute of objects. The output details either that the SMTP address is not found in AD or you get details of the object that owns the SMTP address. check-in: 0e87c8a795 user: Paul Brice tags: trunk
12:58
Enumerate the Parameters of a command by ParameterSet, including DynamicParameters. Includes a -Full output mode and support for specifying the module. The only Get-Parameter you need :) check-in: 73d665582d user: Joel Bennett tags: trunk
12:58
Generic function to execute query and return DataTable from any OLEDB data source. Tested against Excel, Informix, Oracle and SQL Server sources. check-in: fd79266b21 user: Chad Miller tags: trunk
12:58
Add this function to your profile to make Export-CSV cmdlet handle -Append parameter check-in: a72bcbf1ff user: Dmitry Sotnikov tags: trunk
12:58
Contains a function for adding a shared printer connection, and a function for retrieving shared printer connections from a specified Group Policy Object. check-in: 04bee8afac user: unknown tags: trunk
12:58
Get-Apod parses the Astronomy Picture of the Day website and downloads the current day’s image. It then sets the image as the desktop wallpaper for the system. check-in: 3d7fdc77a6 user: Mark E tags: trunk
12:58
Enumerate the Parameters of a command by ParameterSet. Includes a -Full output mode and support for specifying the module. check-in: 1a8a2273a9 user: unknown tags: trunk
12:58
Patch To TabExpansion.ps1 check-in: 63a31b1722 user: idvorkin tags: trunk
12:58
A script to set the CDP settings for vsphere. Note that LLDP is an option in vSphere, but it doesn’t work. Here’s hoping for the future! check-in: 3a3ee8ff34 user: unknown tags: trunk
12:58
Use this to stop scripts running in PowerShell.exe in mid-stride. check-in: af1afeb202 user: Joel Bennett tags: trunk
12:58
Authenticode 2.2 Improved automatic cert picking, and serializing the selected cert as the default cert so you don’t have to pick it each time. check-in: 83aa48b3aa user: Joel Bennett tags: trunk
12:58
A powershell module to perform Storage VMotions from Thick-to-Thin. Meant to be used in place of Move-VM. Currently only accepts one VM and strings for performance reasons, will accept objects in next revision as well as more documentation. check-in: 814f89f55f user: jgrote tags: trunk
12:58
Spin-Busy displays a “spinning” character with each step reflecting an individual pipeline object being passed through. check-in: 854756d7b0 user: Joe Otto tags: trunk
12:58
The code uses a file locking mechanism to ensure that the check-in: 0761cfb816 user: Michael R tags: trunk
12:58
I’ve modified the original function. I like this one better. Got rid of the trailing ‘ check-in: 834b96807c user: Gene Magerr tags: trunk
12:58
A module for tracking performance of commands as you work. Exports Get-PerformanceHistory that shows you the time and memory footprint of commands you’ve recently executed. You can query by id, or by count to show the most recent X commands. check-in: 21b245a130 user: unknown tags: trunk
12:58
This script uses VLC to convert an audio file to MP3 format. It makes the assumption that you have an Alias “vlc” that points to the VLC executable. check-in: dfa57c4b9c user: CrazyDave tags: trunk
12:58
And dropping mirror balls too. A silly little PowerBoots script! check-in: ea18d14bd7 user: unknown tags: trunk
12:58
This much more complicated version of Get-PerformanceHistory shows the approximate length of the command or script, as well as how long it took to run. Great for those “my script is shorter/faster/cooler” than yours bragging sessions on IRC ... or whatever. Lets you compare several commands by just running each of them and then calling Get-PerformanceHistory -Count 4 check-in: 9bd2f18249 user: Joel Bennett tags: trunk
12:58
Back up all your ESXi hosts to a local directory. check-in: 3b31460a4e user: Carter Shanklin tags: trunk
12:58
Back up all your ESXi hosts to a local directory. check-in: 7ca477692b user: Carter Shanklin tags: trunk
12:58
Back up all your ESXi hosts to a local directory. check-in: 3aef64d905 user: Carter Shanklin tags: trunk
12:58
Hack your ESXi welcome screen. check-in: 11940acf02 user: Carter Shanklin tags: trunk
12:58
Blow up your ESXi host. For entertainment purposes only. check-in: 20d651cbf9 user: unknown tags: trunk
12:58
just a script in progress file 2 check-in: 0ea6feb1fa user: Thell Fowler tags: trunk
12:58
Copy from source to destination and rename existing destination files to .old, if .old exists replace it. check-in: aeb6d407d0 user: unknown tags: trunk
12:58
This much more complicated version of Get-PerformanceHistory shows the approximate length of the command or script, as well as how long it took to run. Great for those “my script is shorter/faster/cooler” than yours bragging sessions on IRC ... or whatever. Lets you compare several commands by just running each of them and then calling Get-PerformanceHistory -Count 4 check-in: f30f6d0931 user: Joel Bennett tags: trunk
12:58
PowerCLI script to create linked clones on an ESX server (does require vCenter). This feature is not normally supported on ESX, so this is a pretty nifty thing to do if you like living dangerously. Info on linked clones: http://www.vmware.com/support/ws55/doc/ws_clone_overview.html#wp1028798. check-in: f14809afba user: halr9000 tags: trunk
12:58
Simple PowerCLI example to find old snapshots. Note that I would not actually use the techniques shown here, this script was intentionally written this way as a part of a training video in which I am building on techniques. check-in: 19241066de user: halr9000 tags: trunk
12:58
This is a PowerCLI sample script I wrote to demonstrate how you could entirely automate the creation of a relatively complex virtual farm environment. check-in: 457c704bff user: unknown tags: trunk
12:58
A wrapper for creating gadget windows with PowerBoots like these check-in: 560867d2ba user: unknown tags: trunk
12:58
Retrieve the windows product key of a specified machine using WMI — Updated for v2 and to take an array of computers (without rewriting anything) check-in: 260e444ca6 user: karl prosser tags: trunk
12:58
This function will create a custom PSObject using a hashtable as input. check-in: 14d814d71d user: russellds tags: trunk
12:58
Fixed a script to open files for editing in Notepad++ — you may need to edit the $npp variable in the BEGIN block to put the full path in, if you didn’t run the Notepad++ installer. check-in: 1fd6d1c380 user: Joel Bennett tags: trunk
12:58
A function to rename a computer check-in: bfa4efc6c1 user: Gerald Klassen tags: trunk
12:58
Performs the functional equivalent of a Hyper-V Quick Migration by suspending a VM, moving it to a new host, and resuming it. This does not require vMotion licensing. It works by providing required VM objects via the pipeline or the second argument, and specifying the Destination host in the first argument, so you can use whatever query you want to build a list of VM’s to send to the command. check-in: 60e2abf045 user: Justin Grote tags: trunk
12:58
###ESXi Configuration Backup Script check-in: df12ee4ebc user: jgrote tags: trunk
12:58
Convert and import from delimited text files. Includes two functions: Convert-Delimiter and Import-Delimited. check-in: c349628477 user: Joel Bennett tags: trunk
12:58
Connects with VMRC to an ESX Farm. Now with option to allow multiple connections to one vm check-in: fbe9c4b6dc user: Patrick tags: trunk
12:58
Execute methods on vimService ESXi w/o using VMware assemblies. check-in: e20cc35e97 user: waldo tags: trunk
12:58
Execute methods on vimService ESXi w/o using VMware assemblies. check-in: ae7f443bfd user: unknown tags: trunk
12:58
Interface with vimService on ESXi. check-in: 77d3a9493c user: waldo tags: trunk
12:58
Set-PSObjectDefaultProperties sets the default properties for a PSObject. This is for PowerShell V2 to work around a bug with V2. check-in: 4064869c88 user: unknown tags: trunk
12:58
Interface with vimService on ESXi. check-in: 9793b28be2 user: unknown tags: trunk
12:58
Script which creates a new Mail Enabled user with the Email address Policy disabled and a SINGLE custom email address attached to the account. Designed for new Powershell users. check-in: 81efb22da0 user: Sean Kearney tags: trunk
12:58
Given a user and a vSphere object, this code determins the specific privileges that user has on that object (a.k.a. the resultant privilege set). check-in: ad5c68e565 user: Carter Shanklin tags: trunk
12:58
Description: State Changes for specified OpsMgr Monitor check-in: d1fb72768c user: Stefan Stranger tags: trunk
12:58
Create a VIAccount object suitable for use with New-VIPermission, Get-VIPermission, etc. from PowerCLI. check-in: 6b5760f6c3 user: unknown tags: trunk
12:58
Whois Lookup information returning an OBJECT!!! save as Whois.ps1 and run at your leisure check-in: d5a74f6fa9 user: CrazyDave tags: trunk
12:57
Version 1.0 of my JSON module. I has a full set of tools for exporting, importing, and converting Json objects (including arbitrary objects). See comments in script header for usage examples, but basically, you can do things like: check-in: 4442b13859 user: Joel Bennett tags: trunk
12:57
Json.psm1 is a first draft of a JSON module. I has a full set of tools for exporting, importing, and converting Json objects. For instance, this actually works (it round trips a bunch of FileInfo objects through JSON, XML, JSON, and back to objects). check-in: bff9f881af user: Joel Bennett tags: trunk
12:57
Multiple string parameters check-in: dff0576eb7 user: unknown tags: trunk
12:57
Requires Powershell 2.0 & the grouppolicy module. check-in: ac47575b41 user: Clint tags: trunk
12:57
Are you sick and tired of switching the VMWare virtual network adapters from the public network profile to a private network profile each time you reboot or do something else that causes Vista/Win2008 to forget what you told it to do ten minutes ago? check-in: 37c9fcd97f user: Oisin Grehan tags: trunk
12:57
Improves over the built-in Select-XML by leveraging Remove-XmlNamespace to provide a -RemoveNamespace parameter — if it’s supplied, all of the namespace declarations and prefixes are removed from all XML nodes (by an XSL transform) before searching. Note that this means that the returned results will not have namespaces in them, even if the input XML did. check-in: 9e5cba0353 user: Joel Bennett tags: trunk
12:57
Improves over the built-in Select-XML by leveraging Remove-XmlNamespace to provide a -RemoveNamespace parameter — if it’s supplied, all of the namespace declarations and prefixes are removed from all XML nodes (by an XSL transform) before searching. Note that this means that the returned results will not have namespaces in them, even if the input XML did. check-in: 92a2b55fc2 user: Joel Bennett tags: trunk
12:57
This script can be run on a secondary Network Policy Server and will mirror the configuration from the specified Primary Server, simplifying the management of a redundant or distributed configuration. This script is designed to run as a Scheduled task. check-in: 48216cfe1d user: JGrote tags: trunk
12:57
Start-Transcript and Stop-Transcript will start and stop a file-based transcription log. However, there is no way to tell (afaik) if the current host is actually transcribing. Test-Transcribing will return $true if we are transcribing, $false if not. check-in: c666376488 user: Oisin Grehan tags: trunk
12:57
This is the PowerShell 2.0 -only continuation of my Growl module — redesigned as a proper “module” that can be used by (many) other scripts. check-in: 10f28130cc user: Joel Bennett tags: trunk
12:57
This code determines the IP address of a virtual ESXi VM in what might just be the dumbest way possible, namely by taking a screenshot of it, OCRing the results and extracting the IP. For educational purposes only. Unfortunately it’s pretty slow due to some cmdlet slowness. Requires PowerCLI 4.0 U1, PowerShell v2, and Microsoft Office Document Imaging (MODI) to be installed and configured. check-in: 2d8a1c1ea9 user: unknown tags: trunk
12:57
Windows PowerShell script to map a network printer based on Active Directory group membership. check-in: 1f149bbe35 user: Jan Egil Ring tags: trunk
12:57
Removes namespace definitions and prefixes from xml documents check-in: a4896b4e56 user: Joel Bennett tags: trunk
12:57
A Powershell Script meant for a novice to understand how to work with Variables. I use it daily. Creates a user via Exchange 2007 and automatically populates the email address by defined policy. Using supplied scriptlets (referenced in PS1 file) it also populates the Users’ info in OCS 2007 R2 standard as well as populates all fields in A/D with pertinent info. It also sets up the Display name in a Lastname, Firstname format and creates the users home folder with permissions allocated to the user only. The only information it requests is Firstname, Lastname and Password. It is easy to modify to make it a bulk user setup. Thank you Jeffrey Snover and Microsoft for Powershell! The Manna to Administrators Everywhere check-in: fbebc90452 user: Sean Kearney tags: trunk
12:57
A quick demonstration of using the MapPoint (aka Bing Maps?) web services to get addresses from Lat,Long pairs and vice-versa. Requires you to sign up for (at least) the free developer account in order to use the API. check-in: c064e6c645 user: Joel Bennett tags: trunk
12:57
Create a Sharepoint 2010 farm check-in: 0a395a57e0 user: Jos Verlinde tags: trunk
12:57
Replaces Get-Credential, with options to set the dialog title and message, as well as defaulting the domain and username, and offering the option to prompt in-line in the console, and to get generic (non-domain) credentials (without a leading “\”). Better in every way than the built-in Get-Credential ;) check-in: 3aa21446ed user: Joel Bennett tags: trunk
12:57
Function to list all clients in a Microsoft DHCP server database. The script Uses P/Invoke function signatures, structs & ports the DhcpEnumSubnetClients() C# code example to PowerShell from PInvoke.net. There is no other (nice!) way to get this information in an object form, other than scraping the output from netsh.exe. check-in: 2097d45839 user: christian bellee tags: trunk
12:57
A function to rename a computer check-in: b4320efb30 user: Gerald Klassen tags: trunk
12:57
Updated check-in: c6ce8c5dde user: Cody Bunch tags: trunk
12:57
Authenticode 2.1 for PowerShell 2.0: Added Start-AutoSign function :) see my blog post check-in: 3bf748118a user: Joel Bennett tags: trunk
12:57
Set any text file to a fixed number of lines. Useful for maintaining files such as the PS Transcript log. Now option added to remove blank lines. check-in: b394aa85bd user: Archdeacon tags: trunk
12:57
Find the tables used in a Crystal Report. check-in: 74ac85d6b1 user: unknown tags: trunk
12:57
Authenticode 1.8 for PowerShell 2.0: The default cert should be put in a ModuleInfo file, but it will work without that, and will prompt you for a certificate (and/or the password for it) only once per session. check-in: 51797b0ed5 user: Joel Bennett tags: trunk
12:57
Scan the System Event log for all GPRS online activity – PCMCIA, USB, mobile phone, etc. A Balloon Tip will also be issued when the SIM card is about to expire (Needs an icon file to be named ‘exclamation.ico’ for this feature to work). check-in: 055a3eeb9a user: Archdeacon tags: trunk
12:57
Simple script to bulk-create printers on a print-server. Printers are imported from a csv-file. check-in: a8892881cd user: navadavuluri tags: trunk
12:57
Simple script to bulk-create printers on a print-server. Printers are imported from a csv-file. check-in: aed4e65d88 user: navadavuluri tags: trunk
12:57
A PowerShell 2.0 Growl module for Growl For Windows (Updated for PowerShell 2 RTM) check-in: 35959a0ada user: Joel Bennett tags: trunk
12:57
Converts a pair of DateTime’s or a TimeSpan into a very approximate relative time like “about 4 days ago.” check-in: 56a7e1cc5a user: unknown tags: trunk
12:57
Simple script to bulk-create printers on a print-server. Printers are imported from a csv-file. check-in: a9c4d36642 user: Jan Egil Ring tags: trunk
12:57
Performs an inner join on two collections of objects which share a common key value. Now works on DataTable objects (ie: can join the rows from two tables). check-in: 654516123f user: Joel Bennett tags: trunk
12:57
Performs an inner join on two collections of objects which share a common key value. check-in: cd189aa0bf user: Joel Bennett tags: trunk
12:57
Provides access to NTFS Alternate Data Streams, including functions for blocking and unblocking downloaded files. Tweet @Jaykul if you find problems. check-in: 276348f7ea user: unknown tags: trunk
12:57
Rename Network Adapters to their MAC Addresses check-in: 28741266c5 user: powershelluser tags: trunk
12:57
Here’s several functions for working with VHD’s in Windows 7 and Windows Server 2008 R2. I’ve been working with PowerShell for about a year and this is my first go at a module. I’m a sysadmin and not a developer so some of my solutions are in that mode of thinking. There’s probably .NET ways to accomplish what I did and I’m certainly open to learning if there’s a better way. I’ve found these functions useful and hopefully someone else out there will too. Enjoy. check-in: dfa4d8e72e user: Rich Kusak tags: trunk
12:57
Detect 32 or 64 bits Windows regardless of WoW64 with the PowerShell OSArchitecture function check-in: e317c0c47e user: unknown tags: trunk
12:57
Here’s several functions for working with VHD’s in Windows 7. I’ve been working with PowerShell for about a year and this is my first go at a module. I’m a sysadmin and not a developer so some of my solutions are in that mode of thinking. There’s probably .NET ways to accomplish what I did and I’m certainly open to learning if there’s a better way. I’ve found these functions useful and hopefully someone else out there will too. Enjoy. check-in: 712edafc53 user: Rich Kusak tags: trunk
12:57
Parses Management Information Format (MIF) files. See http://chadwickmiller.spaces.live.com/blog/cns!EA42395138308430!522.entry check-in: 69ccca5c11 user: Chad Miller tags: trunk
12:57
Uses SQLParser.ps1 script http://poshcode.org/1445 to return a Stored Procedure Call Tree check-in: 84d5f188d7 user: unknown tags: trunk
12:57
Uses Visual Studio Database Edition classes Microsoft.Data.Schema.ScriptDom and Microsoft.Data.Schema.Script.Sql to parse T-SQL check-in: f3ad1ee784 user: unknown tags: trunk
12:57
This script uses the text and XML PowerShell help files to generate HTML help for all PowerShell Cmdlets, PSProviders, and “about” topics. the help topics are compiled into a .chm file using HTML Help Workshop. check-in: 3af57310e5 user: Jeff Hillman tags: trunk
12:57
a script to download playlist.com music to a local cache directory for when your internet connection is spotty. check-in: e81105192a user: karl prosser tags: trunk
12:57
Functions to encrypt and decrypt strings using the Rijndael symmetric key algorithm check-in: 83b4706111 user: Joel Bennett tags: trunk
12:57
Allows setting and removing the Zone.Identifier alternate data stream (on NTFS file systems) which flags scripts as downloaded to heighten security. Part of the PoshCode Module. check-in: 5aaf8af341 user: Joel Bennett tags: trunk
12:57
A code-generating and emitting magic function for creating type-safe struct classes for use in PowerShell! check-in: 1b520b03a0 user: Joel Bennett tags: trunk
12:57
a one liner to download playlist.com music to a cache directory. check-in: 5dfd9a7814 user: unknown tags: trunk
12:57
sample by r_keith_hill check-in: 932b6b1a8d user: halr9000 tags: trunk
12:57
Given an ESX host, produce a report of read and write latencies for all attached LUNs. check-in: 4d08fe9d98 user: Carter Shanklin tags: trunk
12:57
A quick demonstration of using the MapPoint (aka Bing Maps?) web services to get addresses from Lat,Long pairs and vice-versa. Requires you to sign up for (at least) the free developer account in order to use the API. check-in: fd939a5828 user: Joel Bennett tags: trunk
12:57
ping check using dotNet ping. pieced together from existing examples on the web. Had to use $erroractionpreference = “SilentlyContinue” to make it work on non-existing systems. Added to DNS check to prevent a few more errors. This is part of a script that queries an internal db and for every record does a ping to verify its online state check-in: 4bb819e820 user: jkavanagh58 tags: trunk
12:57
I earlier converted a VBScript written by Chrissy LeMaire to Powershell but later wanted to add in some code to include Active directory objects that have been deleted. check-in: 89d227c80e user: Joel De La Torre tags: trunk
12:57
ping check using dotNet ping. pieced together from existing examples on the web. Had to use $erroractionpreference = “SilentlyContinue” to make it work on non-existing systems. check-in: 7a27ea1124 user: unknown tags: trunk
12:57
Promiscuous Mode Check check-in: 1ea69a69fa user: unknown tags: trunk
12:57
Scan the System Event log for all GPRS online activity – PCMCIA, USB, mobile phone, etc. A Balloon Tip will also be issued when the SIM card is about to expire (Needs an icon file to be named ‘exclamation.ico’ for this feature to work). check-in: 4ebe8015a8 user: Archdeacon tags: trunk
12:57
This will send an SNMP trap to the specified manager (hostname). The script isn’t very flexible, but it’s a good example of how to build traps using SharpSNMPLib. External requirementss: check-in: 50a04999b7 user: halr9000 tags: trunk
12:57
VMWARE In a Fibre Channel enviroment i generate an HTML report of LUN visibility. FeedBack welcome check-in: ef29bf7056 user: Alberto Damiano tags: trunk
12:57
Copy a function from your current session to another session. Allows you to easily copy function definitions into remote PSSessions. check-in: a34f9d9769 user: unknown tags: trunk
12:57
I earlier converted a VBScript written by Chrissy LeMaire to Powershell but later wanted to add in some code to include Active directory objects that have been deleted. check-in: e8fe488543 user: Joel De La Torre tags: trunk
12:57
A fixed version of the New-PInvoke function that’s in the Windows 7 resource kit (PowerShellPack) PSCodeGen module. This one has correct documentation and a better example. It also generates a (global) PowerShell wrapper function so you can call the API function easily. check-in: f4703baddc user: Joel Bennett tags: trunk
12:57
A fixed version of the New-PInvoke function that’s in the Windows 7 resource kit (PowerShellPack) PSCodeGen module. This one has correct documentation, and also generates a (global) PowerShell wrapper function so you can call it easily. check-in: b5c07fcaea user: Joel Bennett tags: trunk
12:57
Uses the Bit.ly api to create a short url. Requires a login and api key from http://bit.ly check-in: f61488c21b user: unknown tags: trunk
12:57
The PowerShell Talk – Chicken Counter Example. check-in: e13c96c4e3 user: Rlewis tags: trunk
12:57
This script iterates through each Datacenter,Cluster, and Host in a vCenter environment and then lists the Fibre Channel HBAs that are present. check-in: 61e0589399 user: Mark E tags: trunk
12:57
I earlier converted a VBScript written by Chrissy LeMaire to Powershell but later wanted to add in some code to include Active directory objects that have been deleted. check-in: 9cbfdd2e96 user: Joel De La Torre tags: trunk
12:57
A script module for PowerShell 2.0 which allows the user to create their own custom type accelerators. Thanks to Oisin Grehan for the discovery. check-in: 341c96c82f user: Joel Bennett tags: trunk
12:56
Retrieves all Enterprise Certification Authorities (CA) in cuurent AD forest check-in: 410b67f2df user: Vadims Podans tags: trunk
12:56
Validates a username and password against Active Directory. Requires .NET 3.5 and PowerShell V2. check-in: 95f856b518 user: Mike Pfeiffer tags: trunk
12:56
This function calculates the calendar week to a given date. It either takes a given date or retrieves the current date. check-in: ff031772c9 user: Holger Adam tags: trunk
12:56
This function calculates the calendar week to a given date. It either takes a given date or retrieves the current date. check-in: e06f4173ce user: Holger Adam tags: trunk
12:56
From PSCX, this filter can be used to change a file’s read only status. check-in: 008fbce03d user: Keith Hill tags: trunk
12:56
Lists Active Directory user accounts which are members of too many groups, and can thus cause token bloat issues check-in: bae50a7c73 user: unknown tags: trunk
12:56
Print the hostname of the system. Complete with v2 comment-based help, but works fine on v1. check-in: 77907e3ac5 user: halr9000 tags: trunk
12:56
Allows running ScriptBlocks via .NET async callbacks. Internally this is managed by converting .NET async callbacks into .NET events. This enables PowerShell 2.0 to run ScriptBlocks indirectly through Register-ObjectEvent. check-in: 9ef3ead7a5 user: Oisin Grehan tags: trunk
12:56
Web-Health-Check.ps1 is a PowerShell script to monitor a website and automatically take remedial action if the site is not functioning properly. It works by retrieving a web page from a specified URL and checking the page for the presence of a specific piece of text. check-in: be53cfe95e user: unknown tags: trunk
12:56
Facilitates exception handling as used to under C# or Java. check-in: 1c4efef165 user: Patrick Dreyer tags: trunk
12:56
More info can be found here: http://ict-freak.nl/2009/10/06/powercli-set-dvswitch/ check-in: ff0565a1e3 user: unknown tags: trunk
12:56
How to export Sharepoint with help of PowerShell check-in: 6b766179f5 user: unknown tags: trunk
12:56
Enumerates the constructors of a type with the parameters that they take, so you can figure out what your options are when calling New-Object. check-in: 08b790e878 user: Joel Bennett tags: trunk
12:56
Small snippet of my build script, I think this is a good template to use when calling the command-line WSPBuilder. check-in: 632a6396b1 user: Peter tags: trunk
12:56
Small snippet of my build script, I think this is a good template to use when calling the command-line WSPBuilder. check-in: 95309ad210 user: Peter tags: trunk
12:56
simle function to determine is file locked by external program or not. check-in: 2b8162295b user: Vadims Podans tags: trunk
12:56
simle function to determine is file locked by external program or not. check-in: 555519ee9d user: Vadims Podans tags: trunk
12:56
these two functions provide basic local certificate store management features. check-in: 0641ad1109 user: Vadims Podans tags: trunk
12:56
these two functions provide basic local certificate store management features. check-in: b4caffbadd user: Vadims Podans tags: trunk
12:56
these two functions provide basic local certificate store management features. check-in: 374d8ca8e4 user: Vadims Podans tags: trunk
12:56
Gets the status of your Dominos pizza order. Your phone number is the only input parameter. This is the most important Psh module you’ll ever import. check-in: bc70d8e0a6 user: xcud tags: trunk
12:56
The script is intended for process end on any computer in a local area network. Class WMI is used. The rights of the manager to the local area network computer are necessary. check-in: a278992563 user: Angel-Keeper tags: trunk
12:56
get utilization from all network interfaces check-in: 5fa94d4f77 user: halr9000 tags: trunk
12:56
replace $inst with your NIC name. You can find that out by running (new-object System.Diagnostics.PerformanceCounterCategory(“network interface”)).GetInstanceNames() check-in: fdbcf99ada user: halr9000 tags: trunk
12:56
Getting a list of installed programs on computers in the network except the following vendors: check-in: 8fb6325c4d user: Angel-Keeper tags: trunk
12:56
Reads perfmon counters from all network interfaces check-in: 5a5ca26a5a user: halr9000 tags: trunk
12:56
Reads perfmon counters from all network interfaces check-in: bb23d154c6 user: unknown tags: trunk
12:56
Get-Parameter is used to obtain all of the parameters for a cmdlet. It also returns info like aliases and whether a parameter is mandatory. check-in: dfd4b7c503 user: halr9000 tags: trunk
12:56
Powershell script to examine remote WSUS configuration for multiple servers. This code places the registry strings into a custom object which results in the data from multiple server being very accessible. check-in: 762c9b9c6d user: Paul Brice tags: trunk
12:56
Get ESX server serial numbers. check-in: 99b779437b user: Carter Shanklin tags: trunk
12:56
compatibility: PowerShell 1.0, PowerShell v2.0 check-in: dbc5ba92c3 user: Oisin Grehan tags: trunk
12:56
compatibility: PowerShell 1.0, PowerShell v2.0 check-in: eb7b641b35 user: Oisin Grehan tags: trunk
12:56
Generates External MAML Powershell help file for any loaded cmdlet or function check-in: 888b68b367 user: Chad Miller tags: trunk
12:56
Get ESX server serial numbers. check-in: 82050e0c5d user: Carter Shanklin tags: trunk
12:56
Script used to turn FT on or off for a specific VM check-in: 474aaf9521 user: unknown tags: trunk
12:56
Pipe numeric output into a horizontal ansi barchart in Psh. Poshcode doesn’t handle ANSI characters. Replace █ with an ANSI block character. Copy/Paste from http://xcud.com/post/193522355/out-ansigraph check-in: 51b3a213fa user: xcud tags: trunk
12:56
Script that will use the Converter to import a VCB created disk image into a datacenter check-in: 83cf61e636 user: LucD tags: trunk
12:56
Defines functions for wokring with Microsoft Chart Control for .NET 3.5 Framework.Pipe output to Out-Chart function and specify chart type. Chart will display in form or save to image file. Real-time charts are supported by passing in a script block. Updated to fix line chart. Line Chart XAxis needs tweaking. check-in: 6e67bb6a46 user: Chad Miller tags: trunk
12:56
Creates or updates mail-enabled users or contact objects. Developed to work within an Exchange 2003 / Windows Server 2003 environment. Depends on Quest Active Directory extensions. check-in: 0985a0f4e8 user: Ken Knicker tags: trunk
12:56
Creates or updates mail-enabled users or contact objects. Developed to work within an Exchange 2003 / Windows Server 2003 environment. Depends on Quest Active Directory extensions. check-in: 07725c8d9f user: unknown tags: trunk
12:56
Get the snapshot info out of a Virtual Machine Managed Entity. Most useful for reporting, although if you don’t mind the extra work the Snapshot moref is there so you can delete it. check-in: 08a68dab36 user: Glenn Sizemore tags: trunk
12:56
Why to use a FileselectionBox to save your fresh files from ISE, don’t you know your file system? OK perhaps an encoding parameter would be fine, but please don’t default it to ASCII. check-in: cad7e0aebc user: unknown tags: trunk
12:56
Delete NW ssids by clientname , for use in adv_file environments. check-in: e97af4bbf8 user: James Pratt tags: trunk
12:56
Powershell script to Query the Veeam Backup Database. The Query will return the total running time of a backup job. check-in: 015ba48bbc user: afokkema tags: trunk
12:56
Test-Host for V1 check-in: 8438e6799b user: unknown tags: trunk
12:56
This script will configure the portgroup to use NIC Teaming with the failover depending on the duplexity of the Active NIC. check-in: 8aa13a4990 user: LucD tags: trunk
12:56
This script will compare all VI/vSphere cluster nodes against a reference node check-in: e6248a76f4 user: LucD tags: trunk
12:56
The script will export recursively all objects and properties of a VI/vSphere entity to a XML file. check-in: 840116ae74 user: LucD tags: trunk
12:56
A function to join a domain check-in: 280c122d0c user: unknown tags: trunk
12:56
A function to join a domain check-in: 260a4d454c user: Andy Schneider tags: trunk
12:56
Quick functions to get either check-in: 4b101b2957 user: Peter tags: trunk
12:56
Quick functions to get either check-in: 90e4cb87f9 user: Peter tags: trunk
12:56
Runs a FullTextSqlQuery (SharePoint’s Enterprise Search SQL Query) against your local MOSS farm; useful as a quick(!) search query test workbench. check-in: 839b529eee user: Peter tags: trunk
12:56
A script to create shortcuts … with support for short “special folder” names. (fixed) the [parameter named as [param bug check-in: 228578add8 user: Joel Bennett tags: trunk
12:56
Get-TwitterReply modification get all replies check-in: de166d6658 user: unknown tags: trunk
12:56
Usuallay I use this to start my browser with a URL in some PowerShell Script or retrieved by some Powershell Script. This is an ISE-Extension. check-in: 317f761a82 user: Bernd Kriszio tags: trunk
12:56
Takes two servers and provides the delta of installed hotfixes between them check-in: ea5f0f061a user: Andy Schneider tags: trunk
12:56
Function to do a regex replace of all matches with an expression per match that has local variables check-in: 9fe08bf532 user: karl prosser tags: trunk
12:56
Runs a FullTextSqlQuery (SharePoint’s Enterprise Search SQL Query) against your local MOSS farm; useful as a quick(!) search query test workbench. check-in: 12d6f5be5a user: Peter tags: trunk
12:56
Runs a FullTextSqlQuery (SharePoint’s Enterprise Search SQL Query) against your local MOSS farm; useful as a quick(!) search query test workbench. check-in: cf5e6496cf user: Peter tags: trunk
12:56
Compress a bitmap to a certain filesize, using the PSCX Import-Bitmap, Resize-Bitmap, and Export-Bitmap … and a little trial and error. check-in: 3e9183d4f0 user: Joel Bennett tags: trunk
12:56
Exclude a window from Aero Peek so it stays visible when you press Win+Space in Windows 7 (of course, there’s lots of other possibilities here, but I’ll let others explore them). check-in: 759652f198 user: Joel Bennett tags: trunk
12:56
Enumerate users of a given local group. Uses WMI. Outputs strings, sorry about that. check-in: 7f7ed7622a user: Carter Shanklin tags: trunk
12:56
This script are used to set a random password for Active Directory users in a specified Organizational Unit. It stores the results in a csv-file. check-in: 2ad48ab0fd user: Jan Egil Ring tags: trunk
12:56
Re-IP VMware VMs based on the contents of a CSV check-in: 1dcf731dc4 user: unknown tags: trunk
12:56
This powershell function is a simple one that will kill any currently open connections on the specified server and database. There is no requirements other than PowerShell (obviously!! ;) ). check-in: db545f127f user: caveman_dick tags: trunk
12:56
I cooked this up to configure OCS user policy, but it should work for other attributes of this type as well. Added example for the read operation since it is picky about casting. check-in: 9fa30cd0df user: Ecmaster76 tags: trunk
12:56
This script is intended to use IIS logs to audit OWA logs for syncing of mail from an iPhone. In our environment this is an unauthorized device and needs to be audited. This script is not perfect, nor the prettiest thing in the world but it works. IIS logging must be on for this to work. email the results to yourself in $To varible. Have Fun! check-in: abc42b9919 user: unknown tags: trunk
12:56
A set of functions I’ve been working on to allow easy use of Access DBs with PowerShell. A work in progress, but thought they were at a point where others might find them useful. check-in: a20419d2bc user: Matt Wilson tags: trunk
12:56
This is the PowerShell 2.0 -only continuation of my Growl module — redesigned as a proper “module” that can be used by (many) other scripts. check-in: 2166f2012a user: Joel Bennett tags: trunk
12:56
This is the PowerShell 2.0 -only continuation of my Growl module check-in: 5bf41438ac user: Joel Bennett tags: trunk
12:56
A fix to make this work on PowerShell 1.0 check-in: 61f408f22e user: Joel Bennett tags: trunk
12:56
This script generate a HTML report show all ACLs asociated with a Folder tree structure starting in root specified by the user check-in: 71419634b7 user: Santi Fernandez tags: trunk
12:56
This function finds storage within VMware that can be shared between ESX hosts. check-in: 3d0d907148 user: unknown tags: trunk
12:56
I import this as a module because it depends on the other two functions. You could easily dot-source it as well. Requires v2 CTP3 or higher to get the help documentation to work. check-in: a16eafc77e user: tojo2000 tags: trunk
12:56
I import this as a module because it depends on the other two functions. You could easily dot-source it as well. Requires v2 CTP3 or higher to get the help documentation to work. check-in: bb8a4e4499 user: tojo2000 tags: trunk
12:56
This extends the functionality of the SharePoint Search Administration page, producing dashboard-like analysis of your farm’s search crawls. I do not intend to use this script in production, but instead will use it as a starting point to help me build out search crawl health monitoring functionality. check-in: 9d33c12dd5 user: Peter tags: trunk
12:56
This is the first raw release, supports OAuth via Installed Application Authentication (a modified form of OAuth where the consumer fetches access tokens using a username and password instead of a request token). check-in: dbac3410f7 user: Joel Bennett tags: trunk
12:56
Some enhancements to HttpRest to support posting content, and a couple other things I needed for OAuth support… check-in: 15e3096992 user: Joel Bennett tags: trunk
12:56
Select-String has the funny behavior that it -Encoding parameter could be default, but Select-String uses unicode as default value. That means we do not find strings containing some western european letters like ‘’ in ansi coded files. Finally I want the choice default_or_oem, to search even my OEM850 coded files. Here I fix only the default to ‘default’ check-in: eac410c318 user: unknown tags: trunk
12:56
Help Differ 10000 check-in: d3577fe15e user: Carter Shanklin tags: trunk
12:56
This extends the functionality of the SharePoint Search Administration page, producing dashboard-like analysis of your farm’s search crawls. I do not intend to use this script in production, but instead will use it as a starting point to help me build out search crawl health monitoring functionality. check-in: f24c9cd930 user: Peter tags: trunk
12:56
This is a simple little function to search all available cmdlets for a given keyword. Similar to man -k. check-in: ab168e2463 user: Carter Shanklin tags: trunk
12:56
Automatically create an Excel frontend to a cmdlet or advanced function. Not really general purpose yet. There are a couple of examples within the script. check-in: b8509e1e3b user: unknown tags: trunk
12:56
Provides details for every large list in the farm. As it is utilitarian, this script does not provide periodic status updates or provide any kind of error handling. check-in: 9d3785581e user: Peter tags: trunk
12:56
Provides details for every large list in the farm. As it is utilitarian, this script does not provide periodic status updates, though it could be programmed to do so. check-in: eca74f25c4 user: Peter tags: trunk
12:56
Performs the functional equivalent of a Hyper-V Quick Migration by suspending a VM, moving it to a new host, and resuming it. This does not require vMotion licensing. It works by providing required VM objects via the pipeline or the second argument, and specifying the Destination host in the first argument, so you can use whatever query you want to build a list of VM’s to send to the command. check-in: d914f60127 user: Justin Grote tags: trunk
12:56
This is a simple little function to search all available cmdlets for a given keyword. Similar to man -k. check-in: b949b34257 user: unknown tags: trunk
12:56
An update to my mini-DSL for generating XML documents. check-in: b6763cd667 user: Joel Bennett tags: trunk
12:56
Allows you to easily create machine-level environment variables that will persist after reboots. Note that the variables created this way may not be visible in the variable: or even env: providers until you restart your Powershell session. Allowable values to Target param are “process”, “user”, and “machine”. check-in: 0ef0c12c6c user: halr9000 tags: trunk
12:56
PowerShell script for gathering remote PC information check-in: 4f438578f5 user: unknown tags: trunk
12:56
List active directory attributes from schema check-in: 1d4a83a386 user: unknown tags: trunk
12:56
A little Send-FTP script to support uploading files. This version is simple: it can’t create folders nor allow you to specify whether to overwrite files … check-in: 6117704ba2 user: Joel Bennett tags: trunk
12:56
Updated for PowerBoots 0.2: http://screencast.com/t/drKhZbMv0S A stay-on-top (borderless window) countdown timer, with a percentage-based color progress bar as well as sizable font … as well as audio file and voice alarms. check-in: 785f22614b user: Joel Bennett tags: trunk
12:56
Beginnings of a PowerShell v2 module that serves as a convenience wrapper for the Net-SNMP executables. check-in: 99b480dcf0 user: halr9000 tags: trunk
12:56
Script courtesy of Jaykul, I’m just reposting. This script will decode the passwords for all accounts in the Psi profile labeled “default”. check-in: 3f0ed53910 user: aaajabbercz tags: trunk
12:56
This is a first stab at creating a little DSL to generate XML. Note that I used System.Linq.XML (and output an XDocument) instead of the old XmlDocument… This means you have to have .Net 3.5 (LINQ) installed. It also means that if you want to be able to use the output via PowerShell’s magic XML dot-notation, you have to cast it to XmlDocument, just write: [xml]$xml = New-XML ... check-in: 55af359a39 user: Joel Bennett tags: trunk
12:56
More fun with S.W.A. @kryten68 – Added Transforms and examples check-in: 3f3597e96b user: Joel Bennett tags: trunk
12:56
Use to check a service on a remote server and if it is not running, start it and send an email to warn. Added a ping request to make sure the server is up before checking the service. check-in: c1a49e172f user: John Kroes tags: trunk
12:56
A cleanup for @kryten68 without all that code-generation cruft. check-in: 4c41c862e3 user: Joel Bennett tags: trunk
12:56
Returns the top processes by CPU usage check-in: 6fc50e262e user: BSonPosh tags: trunk
12:56
Requires Quest AD cmdlets. This oneliner sets Active Directory user attributes for Microsoft Office Communications Server 2007. check-in: 3387b159b6 user: Jan Egil Ring tags: trunk
12:56
Requires Quest AD cmdlets. This oneliner sets Active Directory user attributes for Microsoft Office Communications Server 2007. check-in: 94742e9a00 user: Jan Egil Ring tags: trunk
12:56
Get a sample nmap XML file to play with and see some examples of using the script at https://blogs.sans.org/windows-security/2009/06/11/powershell-script-to-parse-nmap-xml-output/ (this is where the latest version will be maintained, it’s been edited a few times already since being posted here). check-in: fb7a9dc667 user: Jason Fossen tags: trunk
12:56
Updated for PowerBoots 0.2: A stay-on-top (borderless window) countdown timer, with a percentage-based color progress bar as well as sizable font … as well as audio file and voice alarms. check-in: 8af6075d71 user: Joel Bennett tags: trunk
12:56
More info can be found at www.ict-freak.nl check-in: 0281f58b9c user: afokkema tags: trunk
12:56
Works like the integer range operator “..”, but for characters. check-in: f5a5a4f8f9 user: halr9000 tags: trunk
12:56
More info about this script can be found here: http://ict-freak.nl/2009/06/27/powercli-upgrading-vhardware-to-vsphere-part-1-templates/ check-in: bfd438b0f6 user: afokkema tags: trunk
12:56
For more information and sample out put please visit http://www.virtu-al.net/2009/07/14/powercli-daily-report/ check-in: a21c61ede8 user: alanrenouf tags: trunk
12:56
For more information and sample out put please visit http://www.virtu-al.net/2009/07/14/powercli-daily-report/ check-in: 40f74f5dc6 user: unknown tags: trunk
12:56
Problem: Type in a command to show the output, then wish you had saved it to a variable check-in: 892d1c6f98 user: unknown tags: trunk
12:56
The simplest form of WGet … no options, no passwords, no nothing. But it works. check-in: df948840bc user: Joel Bennett tags: trunk
12:56
Robert, the problem is that this script requires version 2.0 … that “GetSteppablePipeline” is a new feature. I forgot to mark it. check-in: 134b51cbf1 user: Robert Riegler tags: trunk
12:56
Test-Port creates a TCP connection to specified port. By default it connects to port 135 with a timeout of 3secs. check-in: 512e697590 user: BSonPosh tags: trunk
12:56
Helllo check-in: 0198d77b29 user: foobar tags: trunk
12:56
Defines functions for wokring with Microsoft Chart Control for .NET 3.5 Framework.Pipe output to Out-Chart function and specify chart type. Chart will display in form or save to image file. Real-time charts are supported by passing in a script block. Updated to fix line chart. Line Chart XAxis needs tweaking. check-in: ad088f0980 user: Chad Miller tags: trunk
12:56
Defines functions for wokring with Microsoft Chart Control for .NET 3.5 Framework.Pipe output to Out-Chart function and specify chart type. Chart will display in form or save to image file. Real-time charts are supported by passing in a script block check-in: 2fe68f6ccb user: Chad Miller tags: trunk
12:56
The trap statement for this script does not appear to function as suggested. When I try to run it and force an incorrect file location, it ignores the inner exception that would show the correct error. check-in: 9366a70dbc user: Chad Miller tags: trunk
12:56
The simplest form of WGet … will become Get-FromWeb or something … check-in: e25d90a499 user: Joel Bennett tags: trunk
12:56
This version of the script supports using “*” to capture dictation. The result is that you can now write macros to look up words online, or pass parameters to a function (within the constraints of your voice recognition accuracy). check-in: 27f6d1c730 user: Joel Bennett tags: trunk
12:56
Enable Server Side Junk E-mail filtering for Exchange 2007 mailboxes check-in: 24921e3b4c user: Jon Webster tags: trunk
12:56
A script to generate advanced functions that wrap cmdlets so you can tweak them, add features, etc. From the PowerShell Team Blog check-in: 3187aa0256 user: unknown tags: trunk
12:56
A script I submitted for Event 10 of the Scripting games. Displays a simple Windows Form that counts down three minutes. It makes a good example for using Windows forms. check-in: 9121cae591 user: tojo2000 tags: trunk
12:56
A script I submitted for Event 10 of the Scripting games. Displays a simple Windows Form that counts down three minutes. It makes a good example for using Windows forms. check-in: 2dbbc93ed6 user: tojo2000 tags: trunk
12:56
The source to PoshBot – who bridges IRC and Jabber check-in: 2f3fc82aa9 user: Joel Bennnett tags: trunk
12:56
Standalone script adapted from SQL Server Powershell Extensions (sqlpsx) http://sqlpsx.codeplex.com. Defines SQL Server backup and restore functions. check-in: 5faa21b1e5 user: Chad Miller tags: trunk
12:56
A v2.0 function to recursively get the sizes of all subdirectories under a root path. check-in: 08dda2fd03 user: tojo2000 tags: trunk
12:56
Select a user-defined number of random elements from the collection … which can be passed as a parameter or input via the pipeline. An improvement over http://www.powershellcentral.com/scripts/60 which allows you to select more than one item, but offers the option to collect the pipeline into RAM to trade speed for memory use (replaces 81 and 83). check-in: 9a51cb952b user: Joel Bennett tags: trunk
12:56
A PowerShell script into which one or more nmap XML output file objects can be piped, then the script emits synthetic objects representing port-scanned hosts from the XML file(s). Get Windows and Linux versions of the nmap scanner for free from http://nmap.org. Get a sample nmap XML file to play with and see some examples of using the script at https://blogs.sans.org/windows-security/2009/06/11/powershell-script-to-parse-nmap-xml-output/ check-in: f00f82240f user: Jason Fossen tags: trunk
12:56
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: 2f2591c070 user: Joel Bennett tags: trunk
12:56
REALLY validates given IP address and returns True/False. The original script didn’t allow ZEROS in the Ip address (eg: 127.0.0.1 returned $false) check-in: 6444ec7be2 user: Joel Bennett tags: trunk
12:56
REALLY validates given IP address and returns True/False. The original script didn’t allow ZEROS in the Ip address (eg: 127.0.0.1 returned $false) check-in: 4db576c824 user: ucthakur tags: trunk
12:56
reconfigure-ha.ps1 – take a VMhost object from the pipeline and apply the ‘Reconfigure HA host’ task check-in: 9e6628af3e user: Cody Bunch tags: trunk
12:56
I cooked this up to configure OCS user policy, but it should work for other attributes of this type as well. check-in: c66e244c23 user: unknown tags: trunk
12:56
validates given IP address and returns True/False check-in: 5fcf0ad63f user: ucthakur tags: trunk
12:56
Get-OUComputerNames check-in: 03c3cd0443 user: Admin tags: trunk
12:56
PowerShell script for shrinking a partition, works with Vista and Server 2008. check-in: ca5c8ef67b user: unknown tags: trunk
12:56
Removes AD objects matching the filter (Name=$Name*) older than $MaxDaysOld check-in: 4fd34c14d8 user: unknown tags: trunk
12:56
Version: 0.1 check-in: ba1f2e3469 user: Stefan Stranger tags: trunk
12:56
Script will help discover any service accounts that are currently being used. I have been using this script for about a month in production. While your mileage may vary this script is strictly read only, thus -confirm, and -whatif are not supported. check-in: e450f8a18d user: Glenn Sizemore glnsize tags: trunk
12:56
Functions to encrypt and decrypt strings using the Rijndael symmetric key algorithm check-in: 23949c4840 user: Joel Bennett tags: trunk
12:56
Script will help discover any service accounts that are currently being used. I have been using this script for about a month in production. While your mileage may vary this script is strictly read only, thus -confirm, and -whatif are not supported. check-in: 3f60620e33 user: Glenn Sizemore glnsize tags: trunk
12:56
Converts an input string into its C ASCI Hex equivalent, useful for converting a string into an unsigned char array check-in: 85c0fb39ea user: CrazyDave tags: trunk
12:56
Converts an input string into its C ASCI Hex equivalent, useful for converting a string into an unsigned char array check-in: 336c33bf6b user: CrazyDave tags: trunk
12:56
#The PowerShell Talk check-in: 4e5eaf6ecb user: Cody Bunch tags: trunk
12:56
Retrieve data from an Oracle database into a dataset. check-in: 5ac47fd6d3 user: foureight84 tags: trunk
12:56
A series of functions to handle getting data from SQL Servers. Think of these more as tutorials for using SQL Server from powershell than as a finished set of scripts. check-in: 7e85bf9ecd user: unknown tags: trunk
12:56
From Shay’s blog entry: http://blogs.microsoft.co.il/blogs/scriptfanatic/archive/2009/06/07/auto-link-powershell-cmdlet-names-in-windows-live-writer.aspx check-in: f368f6d83d user: unknown tags: trunk
12:56
Colorize STAT, UPDATE and DIFF (without params) commands output for Subversion (svn) and Mercurial (hg). check-in: 7129d9ca7e user: Bishop tags: trunk
12:56
Uses PerformanceCounter to return the number of connections to web sites on the current machine. check-in: 9a766b0a43 user: Lance RobinGeson tags: trunk
12:56
A Process Block check-in: f79013ba96 user: unknown tags: trunk
12:56
A Begin Block check-in: 55a3ba6336 user: unknown tags: trunk
12:56
Colorize Subversion SVN STAT, UPDATE and DIFF (without params) output. check-in: 2f672afdcf user: Bishop tags: trunk
12:56
PS1 script to launch gpupdate on all computers in domain, without some stupid QAD cmdlets, just pure PS1 and WMI check-in: 60847d4d9a user: unknown tags: trunk
12:56
Uploads a directory tree to a remote FTP server. Uses NetCmdlets (send-ftp). check-in: 0d903dbbaa user: Lance Robinson tags: trunk
12:56
Library defines two simple functions that use ADO.NET to get and set SQL data. check-in: 6aa8e6f89f user: unknown tags: trunk
12:56
Ported TabExpansion from V2CTP2 to V2CTP3 and extended. Please dot souce this script file to use. check-in: d8b10112a4 user: foobar tags: trunk
12:56
Ported TabExpansion from V2CTP2 to v1.0 and extended. Please dot souce this script file to use. check-in: 975f9065db user: foobar tags: trunk
12:56
This script uses the text and XML PowerShell help files to generate HTML help for all PowerShell Cmdlets, PSProviders, and “about” topics. the help topics are compiled into a .chm file using HTML Help Workshop. check-in: f7af4c0c19 user: John Robbins tags: trunk
12:56
A script module that allows you to sync feeds using the Microsoft Feeds Manager automation API, as well as mark items read for all or specific folders. check-in: adc8150054 user: Heath Stewart tags: trunk
12:56
quick hard coded script for uploading a file to an ftp server. check-in: 622cb47492 user: Stephen Price tags: trunk
12:56
quick hard coded script for uploading a file to an ftp server. check-in: bbd9c191cf user: Stephen Price tags: trunk
12:56
Gets the VMHostSnmp object for VMWare VI Toolkit consumption check-in: 12315a3fea user: unknown tags: trunk
12:56
Delete NW ssids by clientname , for use in adv_file environments. check-in: cb443603c5 user: James Pratt tags: trunk
12:56
Test connectivity to the host using a ping or TCP port check-in: ca122c1771 user: unknown tags: trunk
12:56
This script customizes the welcome screen which PowerGUI admin console displays on start-up or when a folder is selected in the left-hand tree. check-in: 74eacf08ef user: Dmitry Sotnikov tags: trunk
12:56
Returns the priority mail server (SMTP) to send email directly to the SMTP server of a particular domain/email address. Uses NetCmdlets (get-dns). check-in: 034b35afef user: unknown tags: trunk
12:56
Ported TabExpansion from V2CTP2 to V2CTP3 and extended. Please dot souce this script file to use. check-in: 68cd42a1f3 user: foobar tags: trunk
12:56
Ported TabExpansion from V2CTP2 to v1.0 and extended. Please dot souce this script file to use. check-in: fc3a4a4dff user: foobar tags: trunk
12:56
Returns the priority SRV hostname and port for a particular service and domain. Requires NetCmdlets (get-dns). check-in: e0a55c2c6f user: Lance Robinson tags: trunk
12:56
Get-OUComputerNames check-in: fc5cdf8fe3 user: Nathan Hartley tags: trunk
12:56
This script will recursively enumerate your entire server objects, if they all reside under an OU and get the service tag via WMI for each one of them excluding the VMWare guest servers. This is good if you have a lot of servers and don’t want to spend the time having to go to each one of them to manually get the information. check-in: 3c1dd41d36 user: unknown tags: trunk
12:56
Syncs the system time with that of a remote time server. Uses NetCmdlets. check-in: 1682dd4255 user: Lance Robinson tags: trunk
12:56
Quickly tests if a given web server (specified by Url parameter) is running a WebDAV service. Should work against any server platform that supports the WebDAV RFCs. check-in: b6cc488882 user: halr9000 tags: trunk
12:56
A PowerShell implementation of Commandline Fu Episode 38, I skipped the first step of looking only at posts to login just because I don’t have anything like that in my logs :) check-in: 56fb9fb57a user: unknown tags: trunk
12:56
This script has appeared in many places in many different forms. Eg: PowerShell.com Sometimes it’s called ConvertTo-Object, but I find that too generic, since it can ONLY convert hashtables. check-in: d174e9688e user: Joel Bennett tags: trunk
12:56
This script has appeared in many places in many different forms. Eg: PowerShell.com Sometimes it’s called ConvertTo-Object, but I find that too generic, since it can ONLY convert hashtables. check-in: 38212d2b59 user: Joel Bennett tags: trunk
12:56
A recursive function that allows the user to do a container search and specify the number of levels they would like to recurse. (Requires v2.0 CTP3 or later) check-in: 86f45aa489 user: CrazyDave tags: trunk
12:56
A recursive function that allows the user to do a container search and specify the number of levels they would like to recurse. (Requires v2.0 CTP3 or later) check-in: 712754aa72 user: tojo2000 tags: trunk
12:56
A recursive function that allows the user to do a container search and specify the number of levels they would like to recurse. (Requires v2.0 CTP3 or later) check-in: 54c6437d30 user: tojo2000 tags: trunk
12:56
having problems with my dsl connection, a simple pinging log script check-in: 97196f35bc user: karl prosser tags: trunk
12:56
Authenticode 1.7 for CTP3: Now with integrated help. NOTE: The default cert should be put in a ModuleInfo file, but it will work without that, and will prompt you for a certificate (and/or the password for it) only once per session. check-in: e82515cfd6 user: Joel Bennett tags: trunk
12:56
For FriendFeed users: get any twitter friends who aren’t on FriendFeed, and make imaginary versions of them, complete with avatars. check-in: 75463e67b6 user: Joel Bennett tags: trunk
12:56
Really basic initial scripts to enable Watin automation via powershell check-in: 45d957b9e7 user: Joel Bennett tags: trunk
12:56
Continued reworking in PowerShell 2.0 with parameter sets. check-in: e3904b58f9 user: Joel Bennett tags: trunk
12:56
Ported TabExpansion from V2CTP2 to V2CTP3 and extended. Please dot souce this script file to use. check-in: f4511dedb2 user: foobar tags: trunk
12:56
Copy Data between Folders including a Progressbar check-in: 0f6d0271ef user: mazakane tags: trunk
12:56
A function to join a domain check-in: 2e59d78174 user: Andy Schneider tags: trunk
12:56
This is the PowerShell syntax file for GeSHi that we use on PoshCode 1.0 check-in: e2910990ed user: Joel Bennett tags: trunk
12:56
A bunch of script functions for creating a simple in-console split-view with output above and an input line below. It allows scripts to sort-of simulate accepting input while they output text. It’s still pretty fragile and occasionally does weird things while you’re typing, because it’s not really multi-threaded and the $Host doesn’t have a “LineAvailable” method … and if you pause a script, you can’t see output from typing, so the whole things is well and truly a hack. But it works! check-in: 72078cba88 user: Joel Bennett tags: trunk
12:56
Imports an Excel spreadsheet to a SQL Server table using OLEDB check-in: 19a7111b07 user: Chad MIller tags: trunk
12:56
A PowerShell 2.0 Brush for the javascript SyntaxHighlighter check-in: 45061dd92f user: David Mohundro tags: trunk
12:56
Yet another find text in text files, this time with context, too. check-in: fd29f8446b user: unknown tags: trunk
12:56
Formats and highlights matches in a MatchInfo object which check-in: d27c03882c user: unknown tags: trunk
12:56
The PowerShell Talk – Demo 2, VM Easy Bake, XenServer check-in: 53dcd44e85 user: Cody Bunch tags: trunk
12:56
Speaks text using the SAPI text-to-speech api check-in: e8b5b6c87f user: Joel Bennett tags: trunk
12:56
The PowerShell Talk, Demo 1 – XenServer check-in: 5b6578cf52 user: Cody Bunch tags: trunk
12:56
I created this script because of the need to monitor a MSDE 2000 database which have reached the 2 GB database limit until the application administrator deleted old data from the database. SQL Server 2008 Management Studio Express must be installed on the computer running the script as a scheduled task. check-in: 1586decddb user: Jan Egil Ring tags: trunk
12:56
Script to find any VM’s that we’re added to vCenter in the last x days. check-in: a4d931cbec user: glnsize tags: trunk
12:56
This script gets all pc’s or servers from a OU and runs GPUpdate /force on these machines. check-in: b4f4c2e183 user: afokkema tags: trunk
12:56
In order to enumerate all the WMI namespaces, you must first connect to the “root” namespace, query for all the “__NAMESPACE” instances, and for each instance recursively repeat this process. You can use the computerName parameter of Get-WmiNamespace to list the WMI namespaces on the remote computer. check-in: 4d6dcfab3b user: Aleksandar tags: trunk
12:56
The Get-HotFix function gets the quick-fix engineering (QFE) updates that have been applied to the local computer or to remote computers and filter those hotfixes named “file 1”. check-in: 727f2a2372 user: Aleksandar tags: trunk
12:56
A function for recursively getting a list of unique users that are members of a Domain Group. check-in: 9fbce74e7a user: tojo2000 tags: trunk
12:56
A function for recursively getting a list of unique users that are members of a Domain Group. check-in: c987d20c32 user: tojo2000 tags: trunk
12:56
############################################################################## check-in: b7c3d3d90d user: Josh Einstein tags: trunk
12:56
############################################################################## check-in: 802c9aa9a6 user: Josh Einstein tags: trunk
12:56
Converts a string containing the SDDL SID format (e.g. ‘S-1-5-21-39260824-743453154-142223018-195717’) to a Win32_SID WMI object. Also adds a property with the base64 encoded binary SID to match the format used by some AD backup utilities. check-in: e0f5416020 user: tojo2000 tags: trunk
12:56
Demo for unexpected output of Compare-Object check-in: 3085368cc1 user: unknown tags: trunk
12:56
This script will create a new subnet in AD Sites and Services given the subnet, site name and location. check-in: f8b1f8f402 user: Andy Stumph tags: trunk
12:56
This script will retrieve all user accounts whose passwords are set to not expire for a given LDAP path. Defaults to root of the domain. check-in: d8368ed808 user: unknown tags: trunk
12:56
This script reads a list of usernames from a text file and outputs (to the screen) a comma-delimited list of usernames with a status value (OK, DISABLED or NOTFOUND). This uses ADSI. check-in: 13c68e94cb user: unknown tags: trunk
12:56
moved source from Poshcomm http://powershellcommunity.org/Forums/tabid/54/aff/1/aft/3804/afv/topic/afpgj/2/Default.aspx#4926 to accelerate development, and because I was sick of fighting the WYSIWYG editor… check-in: 7e946225dc user: glnsize tags: trunk
12:56
Exports a SharePoint list to a SQL Server table using OLEDB check-in: 75537b5925 user: Chad Miller tags: trunk
12:56
Imports an Excel spreadsheet to a SQL Server table using OLEDB check-in: 69d976610a user: Chad MIller tags: trunk
12:56
Powershell wrapper to an Oracle stored procedure returning one Ref cursor. Here it determines the version of the Oracle Server. You can substitute similar procedures. check-in: a425ac95dc user: unknown tags: trunk
12:56
A PowerShell 2.0 function to do the equivalent of the ‘nix tail, including the continuous feature (tail -f). Notice this does not try to emulate the ‘nix command parameters, which never made sense to me. I’ll leave that to someone else. check-in: e2ac3bae70 user: Joel Bennett tags: trunk
12:56
Creates a bridge between (any) MUC chatroom and a Jabber user — by default it joins the #PowerShell channel at IRC.FreeNode.net and echos everything said there to you, and everything you say to it … to the chat room. Really quite useless, except as a demonstration. check-in: 2bc299e2f6 user: halr9000 tags: trunk