PoshCode Archive  Timeline

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

1388 check-ins using file The-PowerShell-Talk-Xen2.ps1 version 8924fd0beb

2018-06-10
13:21
A function to set an IP Address check-in: c38d374741 user: Andy Schneider tags: trunk
13:21
Wraps a pre-existing PowerShell cmdlet in a binary Workflow Activity and outputs a DLL that can be used in Visual Studio. check-in: f6e91ef8d6 user: Adam Driscoll tags: trunk
13:21
This script is a simple one that is meant to be scheduled on a periodic basis (we do it weekly). It looks inthe OU where we put our disabled AD users and removes users that have not logged in (inactive) for 400 days. This allows us to keep terminated employees disabled users for over a year for auditing purposes, but automatically cleans them out once the annual scope has passed. check-in: 3c2367737c user: DrDrewl tags: trunk
13:21
SarbanesOxley (SOX) compliance auditing often requires proof of review of the Windows Security Log and Remote Connections. This script captures Server 2008’s event logging and sends it to a csv for review and/or longterm archiving. The Security filter below encompasses the Account Management, Audit Policy CHanges, Failed Logins, and Audit Cleared filters. I left them for possible granular reporting in the future. check-in: 80eca8ecc4 user: DrDrewl tags: trunk
13:21
Completely based on Shay’s version, just one line added. For more information: check-in: 74c7896b26 user: Makovec tags: trunk
13:21
A script for updating the message relay server used by a Sophos client. check-in: c5d9dbd836 user: tojo2000 tags: trunk
13:21
Aaron Nelson asked via twitter: “hey beefarino or JeffHicks is there a way to GCI -Recurse on a directory and basically do an Out-WindowsMediaPlayer? #PoorMansPlayList” check-in: 4ff0292815 user: beefarino tags: trunk
13:21
Corrected the enhanced error handling, added window display option, corrected interactivity of hidden windows, added header area, wrapped in a function. check-in: cf67516046 user: obsidience tags: trunk
13:21
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. check-in: 11edcb8490 user: Archdeacon tags: trunk
13:21
Backup any recently changed PowerShell scripts to a USB drive. check-in: 18beeb767a user: Archdeacon tags: trunk
13:21
Backup any recently changed PowerShell scripts to a USB drive. check-in: aeee4d70a7 user: Archdeacon tags: trunk
13:21
Pings a host until it responds, tries to connect to the RDP port, and then when that succeeds, launches a remote desktop connection via mstsc.exe. I discuss this version here http://www.justaprogrammer.net/2012/01/07/making-an-rdp-connection-to-a-server-you-just-rebooted-with-powershell/ check-in: e6d2aa955f user: Justin Dearing tags: trunk
13:21
Quick and simple, send an email to AD accounts expiring before a specified date. The $body is specific to my org needs, but simply customize this to suit. Give values to $smtp,$from,$subject etc and away you go. check-in: 65ca8bdc2f user: andrewjh tags: trunk
13:21
Quick and simple, send an email to AD accounts expiring before a specified date. The $body is specific to my org needs, but simply customize this to suit. Give values to $smtp,$from,$subject etc and away you go. check-in: e8f5fb6e49 user: andrewjh tags: trunk
13:21
This advanced function will allow you to retrieve the current weather information for a given country/city. check-in: 7e93b83c16 user: Boe Prox tags: trunk
13:21
Backup any recently changed PowerShell scripts to a USB drive. check-in: f9b9536ee0 user: Archdeacon tags: trunk
13:21
Script to update subnet mask for all devices connected to a specific network. Specify network and new subnet mask and run on each device. check-in: f6f779164a user: Mitch tags: trunk
13:21
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: 0a40460605 user: Jonathan Walz tags: trunk
13:21
Quick and simple, send an email to AD accounts expiring before a specified date. The $body is specific to my org needs, but simply customize this to suit. check-in: 9345a7f1c1 user: andrewjh tags: trunk
13:21
A code-generating and emitting magic function for creating type-safe struct classes for use in PowerShell! check-in: 825fbaf3b9 user: Joel Bennett tags: trunk
13:21
Hack your ESXi welcome screen. check-in: b5ff6c7ac1 user: Carter Shanklin tags: trunk
13:21
Scrape AJAX driven websites example using Watin and HtmlAgilityPack. check-in: c562c02cdc user: foureight84 tags: trunk
13:21
Function to report uptimes for single/multiple hosts as objects. Useful if not very original. check-in: f622ba6816 user: 81stPerson tags: trunk
13:20
Just a short function I wrote based on FTP Upload and download examples. Requires and absolute path to the file on the FTP server that you wish to remove i.e. ftp://ftp.someserver.com/filetodelete.txt check-in: 6978f0df45 user: xandertrystin tags: trunk
13:20
Script for running unit tests over WCF services to get code coverage for the whole service stack check-in: 955a5a1fa4 user: sixeyed tags: trunk
13:20
Quick and simple, send an email to AD accounts expiring before a specified date. The $body is specific to my org needs, but simply customize this to suit. check-in: 61bd214f3e user: andrewjh tags: trunk
13:20
This will perform a basic netstat.exe command and “objectize” its output. check-in: 88c80874e3 user: glnsize tags: trunk
13:20
The Get-NistNtpServer function retrieves the list of NIST NTP server names, IP addresses, and locations. check-in: d48d7d2795 user: Rich Kusak tags: trunk
13:20
Retrieve the Set-StrictMode session setting. Use as a Module (psm1) and expose any of the user’s settings, but the ‘latest’ parameter cannot be retrieved at present. check-in: 25941643fc user: Archdeacon tags: trunk
13:20
Retrieve the Set-StrictMode session setting. Use as a Module (psm1) and expose any of the user’s settings, but the ‘latest’ parameter cannot be retrieved at present. check-in: f995f65521 user: Archdeacon tags: trunk
13:20
Reloads all the file tabs in ISE (PS3CTP2) check-in: fae9168895 user: Joel Bennett tags: trunk
13:20
DELL Welcome to your computer come sit in front of me nice Harley Trike check-in: 7cc82a794f user: Mike Hays tags: trunk
13:20
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. check-in: 742aadb6ee user: Archdeacon tags: trunk
13:20
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. check-in: 3b2712e2ca user: Archdeacon tags: trunk
13:20
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. check-in: c7eeeadca3 user: Archdeacon tags: trunk
13:20
I needed to write a script to generate a VMware guest inventory so I needed to know what was available within the PowerCLI interface and where to find it. So I wrote this script to dump everything it could find about a single VMware guest. It has proved very useful to me. I hope others will also find it useful. check-in: 23e374bb1f user: Bruce Shreffler tags: trunk
13:20
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. check-in: f5020dc167 user: Archdeacon tags: trunk
13:20
The script leverages Powershell’s .NET, COM and ADODB functionality to automate the creation of Excel workbooks pre-populated with data retrieved from a SQL2008R2 database using stored procedures. check-in: c8328b20cc user: Kent Finkle tags: trunk
13:20
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: 8ed533d68e user: Archdeacon tags: trunk
13:20
Read in an IIS *log file saved in format W3C. check-in: d639988164 user: Mark Shevchenko tags: trunk
13:20
This script will rename a sequenced set of files in a directory. check-in: 4a0425ce9d user: Sean Wendt tags: trunk
13:20
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: 8586e1748a user: Peter tags: trunk
13:20
Import Bulk Group Policies by only specifying the import directory. All group policies will be imported to domain. Script is currently only able to be run from Server 2008 R2. check-in: 05cedc8a71 user: Adam Liquorish tags: trunk
13:20
Script to print to a HTML formatted table user details for a workstation. User details include AccountLockoutTime,Enabled,LastLogon,BadLogonCount,LastPasswordSet,LastBadPasswordAttempt,PasswordNotRequired,PasswordNeverExpires,UserCannotChangePassword,AllowReversiblePasswordEncryption. check-in: cae1579956 user: Adam Liquorish tags: trunk
13:20
Create a Sharepoint 2010 farm check-in: 463e54837a user: Jos Verlinde tags: trunk
13:20
This function should be included in the PowerShell ISE profile.ps1 and it will display the start and end times of any scripts started clicking ‘Run Script’ (or F2) in the Add-ons Menu; additionally they will be logged to the Scripts Event Log (which needs creating first) and also to a text log file. This defaults to that created by the Windows Script Monitor Service (available from www.SeaStarDevelopment.Bravehost.com) which normally indicates the full command line used to start each script. check-in: 6fc6872f6e user: Archdeacon tags: trunk
13:20
This function should be included in the PowerShell ISE profile.ps1 and it will display the start and end times of any scripts started clicking ‘Run Script’ (or ALT+R) in the Add-ons Menu; additionally they will be logged to the Scripts Event Log (which needs creating first) and also to a text log file. This defaults to that created by the Windows Script Monitor Service (available from www.SeaStarDevelopment.Bravehost.com) which normally indicates the full command line used to start each script. check-in: fc790e128d user: Archdeacon tags: trunk
13:20
File Access scanner for ACL and Applocker policy. Scan a particular file/folder for write/execute access for ACL and Applocker based on the rights of a supplied user. Can be used to test the success of an applocker policy. Or to simulate what access a particular user would have. Scripts will also show direct membership and inherited membership for a user. Output is a table formatted in html. The following user types can be used; domain,local and domain cached. The domain cached can only be used when you are logged in as the cached user. Access Denied Exception errors may be produced when attempting to scan a folder that the particular user doesnt have access to( Errors are not fatal and will not effect the script outcome). check-in: 9a333dc626 user: Adam liquorish tags: trunk
13:20
Out-HTML – converts cmdlets help to HTML format check-in: 023abc9796 user: Vegard Hamar tags: trunk
13:20
The new WASP module is getting closer, but this still isn’t quite it ;) check-in: 229b5b7c87 user: Joel Bennett tags: trunk
13:20
The new WASP module is getting closer, but this still isn’t quite it ;) check-in: 8322dbdbec user: Joel Bennett tags: trunk
13:20
This script is created to file from all branch office servers. check-in: 78e3dcf1ce user: Ritesh Parab tags: trunk
13:20
This script is created to file from all branch office servers. check-in: 79ad3b9447 user: Ritesh Parab tags: trunk
13:20
Function/script to launch Remote Desktop sessions from command line, RDP file or pipeline using Terminal Services Client. check-in: b39a7c2cff user: Jason Archer tags: trunk
13:20
This function should be included in the PowerShell ISE profile.ps1 and it will display the start and end times of any scripts started clicking ‘Run Script’ (or ALT+R) in the Add-ons Menu; additionally they will be logged to the Scripts Event Log (which needs creating first) and also to a text log file. This defaults to that created by the Windows Script Monitor Service (available from www.SeaStarDevelopment.Bravehost.com) which normally indicates the full command line used to start each script. check-in: f212b67851 user: Archdeacon tags: trunk
13:20
This function should be included in the PowerShell ISE profile.ps1 and it will display the start and end times of any scripts started clicking ‘Run Script’ (or ALT+R) in the Add-ons Menu; additionally they will be logged to the Scripts Event Log (which needs creating first) and also to a text log file. This defaults to that created by the Windows Script Monitor Service (available from www.SeaStarDevelopment.Bravehost.com) which normally indicates the full command line used to start each script. check-in: 234b120e49 user: Archdeacon tags: trunk
13:20
This is a self service end user script for updating/adding their Active Directory user account thumbnailphoto attribute. The script resizes the original file to the recommended dimensions and file size. check-in: 38bbb8ddda user: Nathan Linley tags: trunk
13:20
This is the Console version of the ISE Run-Script function posted earlier. Typing ‘Run example’ from the command line will run and log the start and end times of ‘example.ps1’ check-in: 83f3fb3918 user: Archdeacon tags: trunk
13:20
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 012382037f user: Lee Holmes tags: trunk
13:20
A Theme for PowerShell ISE 3 CTP2 following the solarized theme with a dark background. See also “the Set-SolarizedHostColor script“http://poshcode.org/3081 and the Install-Solarized script for PowerShell.exe check-in: 75cd4f5353 user: Joel Bennett tags: trunk
13:20
Convert a console shortcut (e.g.: to PowerShell.exe) to the Solarized color scheme(s). check-in: 7aaa43844b user: Joel Bennett tags: trunk
13:20
a pomodoro module in PowerShell allowing you to run Pomodoros in powershell with sounds being played, and live update in the progress bar check-in: 4379ff8a8e user: karl prosser tags: trunk
13:20
Based on functions in SQLPSX. SqlProxy.psm1 module is used for administering SQL Server logins, users, and roles. Designed to be used with PS Remoting. All actions audited to a custom Eventlog. See Write-SqlProxyLog for log setup details check-in: 1caaaedbf6 user: Chad Miller tags: trunk
13:20
Description check-in: 303db81363 user: Victor Flores tags: trunk
13:20
The New-PemFile function creates a new PEM file by using the content from certificate files. check-in: 35d71c4cf0 user: Rich Kusak tags: trunk
13:20
Today I had spent a lot of time troubleshooting one module. After few checks I realized that it was simple typo that prevented PS from seeing my module in correct way. So here is function for you to avoid same problems… ;) check-in: 90abcec3aa user: Bartek Bielawski tags: trunk
13:20
Today I had spent a lot of time troubleshooting one module. After few checks I realized that it was simple typo that prevented PS from seeing my module in correct way. So here is function for you to avoid same problems… ;) check-in: b6efe67b56 user: Bartek Bielawski tags: trunk
13:19
proxy-function to get-childitem check-in: ae6ca2d071 user: walid toumi tags: trunk
13:19
This scConvertTo-Hex S-1-5-21-357043131-537017027-1947940980-1289ript will convert a security identifier (SID) in string format to its hexadecimal equivalent. e.g. check-in: 128b468283 user: S-1-5-21-2398571 tags: trunk
13:19
A script to ping servers (gets the servers from a text file) & report whether they are online or offline, to check free disks space on all servers and to report on any services which are set to automatic startup but are in a stopped state. It puts all this on a nicely formatted excel sheet, then saves a copy as H:\dailychecks\checks_todaysdate.xls (so if I’m not in I can review it later). It also launches my web browser (my home page is set to my company’s site) so that I can check the site is up, and it imports the exchange modules as I intend eventually to add another sheet to check Exchange services, when I can figure out how to do it. check-in: 73993cf14a user: Fred Fulford tags: trunk
13:19
Script used to perform user entitlement audits based on an XML report containing local groups, members of the local groups and systems that house the local groups. The script joins that data to data containing users and global groups grabbed directly from AD using the Quest AD Cmdlets and outputs the final report in CSV. Sorry that not everything is documented as I’d like it to be. check-in: 43874edbfc user: Alex Scoble tags: trunk
13:19
A module that wraps iscsicli.exe to provide basic iSCSI management capabilities check-in: db7eb4b324 user: beefarino tags: trunk
13:19
A module that wraps iscsicli.exe to provide basic iSCSI management capabilities check-in: 5ddfc25942 user: unknown tags: trunk
13:19
This is my first real PowerShell script, not sure if anyone has done anything like this before (I’m sure it has been done) but I figured Id share it anyway. Makes use of a function I found on here by Nathan Hartley called Get-NetView. check-in: 76d4d4522f user: pnorms tags: trunk
13:19
This is my first real PowerShell script, not sure if anyone has done anything like this before (I’m sure it has been done) but I figured Id share it anyway. Makes use of a function I found on here by Nathan Hartley called Get-NetView. check-in: c56454084e user: pnorms tags: trunk
13:19
This is my first real PowerShell script, not sure if anyone has done anything liek this before (I’m sure it has been done) but I figured Id share it anyway. Makes use of a function I found on here by Nathan Hartley called Get-NetView. check-in: 6349ea5403 user: pnorms tags: trunk
13:19
Makes use of Sysinternal’s psexec to get session data from qwinsta for both local and remote computers. check-in: 60553dae2a user: hotsnoj tags: trunk
13:19
Finds the length of time a session has been “locked”. check-in: 43e4e36021 user: hotsnoj tags: trunk
13:19
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 1d80f76d97 user: Lee Holmes tags: trunk
13:19
A PowerShell client for NaturalInputs.com to parse natural language dates into (optionally recurring) calendar event objects. check-in: c91fb311c2 user: Joel Bennett tags: trunk
13:19
- NOTES check-in: 03c3c7ad66 user: Andy Arismendi tags: trunk
13:19
Added hidden window, with Export/Import-Clixml to pull results into current window check-in: 69f0a265d8 user: rbellamy tags: trunk
13:19
Added hidden window, with Export/Import-Clixml to pull results into current window check-in: b4cf7a0fdb user: pezhore tags: trunk
13:19
- NOTES check-in: f1c95e17df user: ChristopheCREMON tags: trunk
13:19
Get-Path converts relative paths to drive or PSProvider -qualified paths. check-in: 01751951d9 user: Joel Bennett tags: trunk
13:19
Let’s fill the logs of the US House and Senate servers with the message we don’t want SOPA or E-Parasite! check-in: ce1212f7a3 user: hotsnoj tags: trunk
13:19
Sets properties for a given user local username. check-in: f913971941 user: Andy Arismendi tags: trunk
13:19
Get-FileHash.ps1 check-in: bcb7d41e06 user: Lee Holmes tags: trunk
13:19
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 0484a362ee user: Lee Holmes tags: trunk
13:19
Set the “user Cannot Change Password” property on an active directory user object check-in: 141be63488 user: Erik McCarty tags: trunk
13:19
Filters for backing and removing SQL Server linked servers or linked server login mappings check-in: ed7fea70dc user: Chad Miller tags: trunk
13:19
Get seller orders from Amazon’s MWS web services … with items optionally included. check-in: c3c1b20c72 user: Joel Bennett tags: trunk
13:19
Get seller orders from Amazon’s MWS web services … with items optionally included. check-in: bc24b7481e user: Joel Bennett tags: trunk
13:19
Get seller orders from Amazon’s MWS web services … with items optionally included check-in: 51048edc0b user: Joel Bennett tags: trunk
13:19
List all the members of the “AssociatedOwnerGroup” of each site (including root site) of each Site Collection of each Web Application in the farm. check-in: e24568ce44 user: Lucas Araujo tags: trunk
13:19
Starts the WIMM emulator, if you are developing for http://dev.wimm.com/ check-in: 1791d0daf1 user: Lee Holmes tags: trunk
13:19
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: e35f4b6640 user: Jonathan Walz tags: trunk
13:19
A VI toolkit script to update all VM Guests on the selected hosts check-in: f1befb23c8 user: Brian English tags: trunk
13:19
Based on functions in SQLPSX. SqlProxy.psm1 module is used for administering SQL Server logins, users, and roles. Designed to be used with PS Remoting. All actions audited to a custom Eventlog. See Write-SqlProxyLog for log setup details check-in: 92f96c6ddc user: Chad Miller tags: trunk
13:19
This is nice, but a bit over complicated for my liking… Here are a few others that may be of help to someone. check-in: e6efedfea0 user: administrator tags: trunk
13:19
Based on functions in SQLPSX. SqlProxy.psm1 module is used for administering SQL Server logins, users, and roles. Designed to be used with PS Remoting. All actions audited to a custom Eventlog. See Write-SqlProxyLog for log setup details check-in: 3ac1fda36e user: Chad Miller tags: trunk
13:19
Function to import security certificates. check-in: c5987abedb user: anti121 tags: trunk
13:19
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: e58ca86ea4 user: Jonathan Walz tags: trunk
13:19
Start up the .Net 4.0 Cassini Webserver. Useful for those of us who like to avoid opening visual studio check-in: f890c76e2c user: George Mauer tags: trunk
13:19
A function to rename a computer check-in: d7ded013f8 user: BORGKLS1 tags: trunk
13:19
Add to top of your scripts and the script will automatically create a log file called <script name>.log to the AppData folder check-in: 6267ec5f43 user: shauncroucher tags: trunk
13:19
Hardware Inventory script to run on Windows Servers and output the JSON string to a CouchDB Database check-in: 9ace58081a user: VulcanX tags: trunk
13:19
Based on functions in SQLPSX. SqlProxy.psm1 module is used for administering SQL Server logins, users, and roles. Designed to be used with PS Remoting. All actions audited to a custom Eventlog. See Write-SqlProxyLog for log setup details check-in: 3b02493ebc user: Chad Miller tags: trunk
13:19
PowerShell module that allows scripters to define argument transformation attributes in simple PowerShell syntax. This is an extension developed by beefarino of my ScriptTransform example at http://huddledmasses.org/more-custom-attributes-for-powershell-parameters/ and now supports re-defining transforms without restarting PowerShell. check-in: 0d8aca7497 user: Joel Bennett tags: trunk
13:19
A function to rename a computer check-in: a30e7f1b9b user: Gerald Klassen tags: trunk
13:19
PowerShell module that allows scripters to define argument transformation attributes in simple PowerShell syntax. This is an extension developed by beefarino of my ScriptTransform example at http://huddledmasses.org/more-custom-attributes-for-powershell-parameters/ and now supports re-defining transforms without restarting PowerShell. check-in: a861201ac2 user: beefarino tags: trunk
13:19
PowerShell module that allows scripters to define argument transformation attributes in simple PowerShell syntax. This is an extension of Joel’s ScriptTransform example at http://huddledmasses.org/more-custom-attributes-for-powershell-parameters/ check-in: 758cc56a5e user: beefarino tags: trunk
13:18
Based on functions in SQLPSX. SqlProxy.psm1 module is used for administering SQL Server logins, users, and roles. Designed to be used with PS Remoting. All actions audited to a custom Eventlog. See Write-SqlProxyLog for log setup details check-in: c4f4b42006 user: Chad Miller tags: trunk
13:18
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: f1dd34567e user: Boe Prox tags: trunk
13:18
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: 4d71ed7ebb user: Joel Bennett tags: trunk
13:18
Because people keep asking questions on IRC where the answer seems obvious… check-in: a4eb383a85 user: Joel Bennett tags: trunk
13:18
This will pull a list of computers from AD and copy a folder to that system. check-in: e11c820729 user: HughS tags: trunk
13:18
This is a sample script to read emails from an Inbox using Exchange Web Services. The code is a basic port of the C# found here: http://omegacoder.com/?p=454. The EWS SDK is a dependency: http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=c3342fb3-fbcc-4127-becf-872c746840e1 check-in: bf393d68fc user: halr9000 tags: trunk
13:18
Adapted from New-LinkedClone.ps1 from Hal Rottenberg. This version takes a third parameter called SnapName that allows a user to statically assign the snapshot that the clone should be built from. check-in: 6b163ec490 user: Cameron Smith tags: trunk
13:18
Posting on behalf of James Brundage of http://blog.start-automating.com/. Here’s his quote from email: check-in: f12809edd9 user: halr9000 tags: trunk
13:18
Deploys a file to a list of computers pulled from AD and creates a shortcut on each users desktop. check-in: 8b2f7e69c3 user: HughS tags: trunk
13:18
A function to rename a computer check-in: 32f2181385 user: Gerald Klassen tags: trunk
13:18
Create a computer login on a SQL server, optionally forcing the issue by removing any pre-existing account. For some reason, we run into this all the time with renamed computers… check-in: b9ab241fd5 user: Joel Bennett tags: trunk
13:18
A bunch of AD-related functions … I’m only pasting this because I can’t find another Get-ADComputer or Get-NTAccountName check-in: f20dd4a1e1 user: Joel Bennett tags: trunk
13:18
A bunch of AD-related functions … I’m only pasting this because I can’t find another Get-ADComputer or Get-NTAccountName check-in: ea9c36ba1a user: Joel Bennett tags: trunk
13:18
A bunch of AD-related functions … I’m only pasting this because I can’t find another Get-ADComputer check-in: 6e47adfac8 user: Joel Bennett tags: trunk
13:18
Demonstration script for getting file names and last update times into a SQL Server table. check-in: fd68fd37a9 user: Chad Miller tags: trunk
13:18
quick hard coded script for uploading a file to an ftp server. check-in: 56aeba2927 user: Stephen Price tags: trunk
13:18
Windows Script to collect Hardware information on a local system and Convert it to a JSON String and Upload that to a CouchDB Database check-in: a70202d76b user: VulcanX tags: trunk
13:18
Get-OUComputerNames check-in: b98b97d219 user: Admin tags: trunk
13:18
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: ffdada57a9 user: Jonathan Walz tags: trunk
13:18
Here is a Microsoft.PowerShellISE_profile.ps1 that causes PowerShell_ISE to save all files in ASCII encoding instead of Unicode Big Endian. Adapted from Oisin Grehan’s script at http://www.nivot.org/nivot2/post/2010/05/21/PowerShellISEHackingChangeDefaultSaveEncodingToASCII.aspx#comment. check-in: 06e3380fdf user: Richard Vantreas tags: trunk
13:18
R.Vantrease ver 1.0 – The source control I use does not understand the default encoding that PowerShell_ISE saves scripts in (Unicode Big Endian), so I wanted a way to quickly convert my scripts to a friendlier encoding. I wrote the following little ditty to convert all the PowerShell scripts and module files to ASCII encoding. check-in: 5e48338c3b user: Richard Vantreas tags: trunk
13:18
Email list of AD Accounts with PasswordNeverExpires Set check-in: fa9b707856 user: VulcanX tags: trunk
13:18
Based on functions in SQLPSX. SqlProxy.psm1 module is used for administering SQL Server logins, users, and roles. Designed to be used with PS Remoting. All actions audited to a custom Eventlog. See Write-SqlProxyLog for log setup details check-in: ff093d06da user: Chad Miller tags: trunk
13:18
Ever wonder what kind of chassis your computer thinks it’s running on? Have a need to know if you’re RDP’d into a physical or virtual system? This script can probably answer the question for you. This script was adapted to PowerShell from a VBScript I’ve had for a while. It uses WMI to determine the Chassis type and translates the reported numerical code into decipherable text. – Thought i would rewrite this code using the switch function rather than elseif. Easier to read and less code to write. check-in: 44ffe95c83 user: AlphaSun tags: trunk
13:18
A couple of functions to suspend and resume applications (like what you do with Resource Monitor). check-in: c2360ee6f8 user: Joel Bennett tags: trunk
13:18
Splits files and combines them. Nowhere near ready for use though. Just a toy I was working on. check-in: 17c4d41aa0 user: HughS tags: trunk
13:18
Split a file into smaller files. check-in: f6f37927be user: tojo2000 tags: trunk
13:18
Strips off the ’1-’ prefix from phone numbers stored in Active Directory. check-in: 6ba7345604 user: David Retherford tags: trunk
13:18
A function to make it easier (in PowerShell 2) to enforce rules about variables (without making them parameters). check-in: ef0e8f1d3b user: Joel Bennett tags: trunk
13:18
For PowerShell 3: Export and Import DefaultParameterValues, optionally overwrite existing ones check-in: e7333dee85 user: Joel Bennett tags: trunk
13:18
Set a printer as default for any user who has ever logged onto any given computer in a domain. check-in: 5f985a25d2 user: Brad Blaylock tags: trunk
13:18
Set a printer as default for any user who has ever logged onto any given computer in a domain. check-in: c3a5e25d4e user: Brad Blaylock tags: trunk
13:18
Set a printer as default for any user who has ever logged onto any given computer in a domain. check-in: eeb9d5242f user: Brad Blaylock tags: trunk
13:18
This script, given a root path, will start a transcript with a unique and standardized file name. You can throw a call to this at the end of your profile, and you’ll always have a transcript of every session (if the host you’re using supports starting a transcript). check-in: 86dbb023b8 user: Scott Percy tags: trunk
13:18
This script gets all pc’s or servers from a OU and runs GPUpdate /force on these machines. check-in: e8fa231359 user: afokkema tags: trunk
13:18
Function to retrieve selected information about all SQL Server Instances on a given server. Will work remotely if the Server supports integrated security and the user has rights on the SQL Instance. check-in: d1e253e998 user: Richard Vantreas tags: trunk
13:18
The Test-EmptyFolder function tests if a specified folder is empty by checking if it check-in: 356a639142 user: Rich Kusak tags: trunk
13:18
This code does the same thing as Sysinternals AutoLogon.exe. However this allows for automation of the task. check-in: 244abb880e user: Andy Arismendi tags: trunk
13:18
This code does the same thing as Sysinternals AutoLogon.exe. However this allows for automation of the task. check-in: 3b35a37f2a user: Andy Arismendi tags: trunk
13:18
Converts aliases and parameter shortcuts in scripts to make them more portable. Now resolves command names to include the module (make sure you load modules you need), resolves parameter aliases, etc. (Works in PowerShell 3 CTP1 too). check-in: d73f90707e user: Joel Bennett tags: trunk
13:18
Emails a report of Exchange 2010 mailboxes over their size limit. check-in: 305335b131 user: Chris Brown tags: trunk
13:18
This is a sample script to read emails from an Inbox using Exchange Web Services. The code is a basic port of the C# found here: http://omegacoder.com/?p=454. The EWS SDK is a dependency: http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=c3342fb3-fbcc-4127-becf-872c746840e1 check-in: 98ff8057c5 user: halr9000 tags: trunk
13:18
This function returns information about disk volumes, works on Win2K, WinXP, Win2003, Win2008, WinVista, Win7. Can be used in a pipeline with -Raw switch or stand-alone. check-in: 2614a3e0a7 user: Richard Vantreas tags: trunk
13:18
This function returns information about disk volumes, works on Win2K, WinXP, Win2003, Win2008, WinVista, Win7. Can be used in a pipeline with -Raw switch or stand-alone. check-in: 16be16f540 user: Richard Vantreas tags: trunk
13:17
This will perform a basic netstat.exe command and “objectize” its output. check-in: a93774c24f user: Richard Vantreas tags: trunk
13:17
This will perform a basic netstat.exe command and “objectize” its output. check-in: eaabbf7972 user: glnsize tags: trunk
13:17
This scConvertTo-Hex S-1-5-21-357043131-537017027-1947940980-1289ript will convert a security identifier (SID) in string format to its hexadecimal equivalent. e.g. check-in: ad000ec04b user: S-1-5-21-2398571 tags: trunk
13:17
Helpers for working with .Net classes: Get-Constructor, Get-Assembly, Add-Assembly, Get-Type check-in: 5a0f410d3a user: Joel Bennett tags: trunk
13:17
This script will take a Twitter User’s Screen name and get their RSS feed of posts check-in: 77121aec04 user: Charlie tags: trunk
13:17
Enable LegacyV2RuntimeActivation so that BitsTransfer and SQLPS will work in the new .Net 4 PowerShell ISE (this config file is REQUIRED for PowerShell 3 CTP1 to work with those modules and other down-level .Net 2 modules). Save as C:\Windows\System32\WindowsPowerShell\v1.0\powershell_ise.exe.config check-in: b0f5ac34e4 user: Joel Bennett tags: trunk
13:17
This script will take a Twitter User’s Screen name and get their RSS feed of posts check-in: 9fb6bb9564 user: CrazyDave tags: trunk
13:17
Requires the ShowUI module available to download from here: http://showui.codeplex.com/releases/view/73603 check-in: 3b0db04517 user: Boe Prox tags: trunk
13:17
Requires the ShowUI module available to download from here: http://showui.codeplex.com/releases/view/73603 check-in: cc94d1a844 user: Boe Prox tags: trunk
13:17
This script will copy the group membership from an existing user account to a new user account. This script relies on functions that I source in, so you’ll need to grab my code from http://scripts.patton-tech.com/browser/powershell/production/includes/ActiveDirectoryManagement.ps1 check-in: cc2aa13ae3 user: Jeff Patton tags: trunk
13:17
Function may be useful for people who want to play with CTP1 for PowerShell 3 but need to use v2 scripts (and prefer ISE over PowerShell.exe) check-in: 2052014833 user: BartekB tags: trunk
13:17
Get the Free RAM from a system check-in: 53025af1c6 user: Joel Bennett tags: trunk
13:17
Get the Windows Experience Rating check-in: 321907318e user: Joel Bennett tags: trunk
13:17
Download and install Google Chromium if there is a newer version available. check-in: 882d37f05c user: MJWJ1 tags: trunk
13:17
Sets the system primary DNS suffix by p-invoking the Win32 API. Returns true for success, false for failure. check-in: 0f279c76c2 user: Andy Arismendi tags: trunk
13:17
This function converts FSP’s to sAMAccountName’s check-in: bf1972c95b user: Jeff Patton tags: trunk
13:17
Sets the system primary DNS suffix by p-invoking the Win32 API. Returns true for success, false for failure. check-in: 3c09d567c1 user: Andy Arismendi tags: trunk
13:17
Creates a DataTable for an object, based on script by Marc van Orsouw check-in: fad282b8a4 user: Chad Miller tags: trunk
13:17
I’ve been doing some work lately with PowerShell Add-ons and figured I’d add a couple that I’ve been working on. check-in: 748af32620 user: Jeff Patton tags: trunk
13:17
This script will create an inventory of all guests in the target Virtual Center and then create a csv check-in: 4727faf879 user: Omarr tags: trunk
13:17
The Get-TheVillageChurchPodcast function returns objects of all the available sermon podcasts from The Village Church. The objects can be filtered by speaker, series, title, or date and optionally downloaded to a specified folder. check-in: 06518b3d1c user: Rich Kusak tags: trunk
13:17
Modeled after SQL Server 2008 Invoke-Sqlcmd, but fixes bug in QueryTimeout, and allows for paramaterized queries. check-in: acf8515f02 user: Chad Miller tags: trunk
13:17
The Convert-MacAddress function takes a valid hex MAC address and converts it to another valid hex format. check-in: aa9ba264a0 user: Rich Kusak tags: trunk
13:17
The Reset-OutlookLivePassword function resets an Outlook Live (Live@edu) acccount password. check-in: 540531c226 user: Rich Kusak tags: trunk
13:17
The Get-MacAddressOui function retrieves the MAC address OUI reference list maintained by the IEEE standards website and check-in: 65ef5c4898 user: Rich Kusak tags: trunk
13:17
Get-WifiNetwork – return the parsed output of netsh wlan show network mode=bssid in psobject form. Does exactly what it says on the tin. Requires Vista/2008 or higher, or XP SP3 with a hotfix (I can’t recall which one, sorry.) check-in: c0a924a3c2 user: Oisin Grehan tags: trunk
13:17
The Get-MacAddressOui function retrieves the MAC address OUI reference list maintained by the IEEE standards website and check-in: 37b6a509f2 user: Rich Kusak tags: trunk
13:17
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: 2b1a6d107a user: Chad Miller tags: trunk
13:17
Ever wonder what kind of chassis your computer thinks it’s running on? Have a need to know if you’re RDP’d into a physical or virtual system? This script can probably answer the question for you. This script was adapted to PowerShell from a VBScript I’ve had for a while. It uses WMI to determine the Chassis type and translates the reported numerical code into decipherable text. check-in: e87bfd48cc user: AlphaSun tags: trunk
13:17
This script will create (using COM) an MS Excel spreadsheet of all the software installed on the local machine. Basic information about the software, as provided in the registry, is also included. When the script has completed the data collection, all columns are set to “Auto Fit” for width and blank rows in the spreadsheet are removed. check-in: 906ef2479a user: AlphaSun tags: trunk
13:17
This is a function that queries the domain for the password policies that are set via Group Policy. Output objects include Min Password Length, Min Password Age, Max Password Age, number of passwords remembered (for password history restrictions), Lockout Threshold, Lockout Duration, and the Lockout Counter Reset time. check-in: ee08c1a464 user: AlphaSun tags: trunk
13:17
This script will delete all Active Directory User accounts that have not logged in within the number of days specified in the $NumDays variable. The script only deletes the Active Directory user accounts, not any associated Exchange mailboxes. The script also includes the Delete-ADUser function, which can be used separately from this script. All accounts that are deleted are logged in the “Removed-User-Accounts.log” file found in the local directory. The format of the log file is very basic, but effective. check-in: 197ab8718a user: AlphaSun tags: trunk
13:17
This script will disable all Active Directory User accounts that have not logged in within the number of days specified by the $NumDays variable. All accounts that are disabled are logged in the “Disabled-User-Accounts.log” file created in the local directory. The formatting of the log file is very basic, but effective. check-in: aa6c8c83a0 user: AlphaSun tags: trunk
13:17
This script will list all User objects in the current Active Directory domain. The data gathered includes Display Name, Username, Last Logon Date, and Disabled Status. All data is exported to a CSV file. check-in: 997668c4c1 user: AlphaSun tags: trunk
13:17
This script will list all computer objects (and some information about them) into a CSV file. The Ping Status and various information items are determined through WMI. Some filtering is done for special characters that regularly appear in the Operating System Caption entry and the hardware Vendor entry. This is largely the same as the List AD Computers XLS script, but is intended for use on systems that do not have Excel installed. The CSV file that is produced can easily be imported into Excel and re-saved as an XLS at a later time if required. check-in: 3d9244bb91 user: AlphaSun tags: trunk
13:17
This is essentially a snap-in for an existing script that leverages Active Directory. Typically, you’ll be working with AD objects in your own domain; however, in some instances you may need to work with AD objects that are in a different domain within your forest. This code snippet allows the flexibility to drop in an existing domain-based script and either run it on all domains in the forest (no command line arguments) or a single domain in the forest that matches a command line argument placed into a Where-Object filter. check-in: 8eae27c97e user: AlphaSun tags: trunk
13:17
Add to top of your scripts and the script will automatically create a log file called <script name>.log to the AppData folder check-in: 8731ef0559 user: shauncroucher tags: trunk
13:17
The first couple of functions for sending data to Paraimpu from PowerShell. It’s the first step in letting PowerShell participate in a network of things… check-in: e065d569c3 user: Joel Bennett tags: trunk
13:17
In this JSON module, I have a full set of tools for exporting, importing, and converting Json objects (including arbitrary objects). See comments in script header for usage examples, but basically, you can do things like: check-in: 575fe22812 user: Joel Bennett tags: trunk
13:17
Creates a random password with the specified length and number of non-alphanumeric characters. Returns clear text or a secure string depending on whether switch AsSecureString is specified. check-in: 898666f303 user: Andy Arismendi tags: trunk
13:17
A Script that demonstrates how to create a Microsoft Access database in powershell without Microsoft Access installed. It works in 32 and 64 bit instances of powershell. check-in: 6f24701c6b user: Justin Dearing tags: trunk
13:17
A function to test a user’s credentials. Return true/false. Works for local or domain user accounts. check-in: 925ce200e7 user: Andy Arismendi tags: trunk
13:17
A function to test a user’s credentials. Return true/false. Works for local or domain user accounts. check-in: a4d21b5290 user: Andy Arismendi tags: trunk
13:17
A function to test a user’s credentials. Return true/false. Works for local or domain user accounts. check-in: 5ec204eb4d user: Andy Arismendi tags: trunk
13:17
A function to test a user’s credentials. Return true/false. Works for local or domain user accounts. check-in: 81efbe2fbf user: Andy Arismendi tags: trunk
13:16
A function to test a user’s credentials. Return true/false. Works for local or domain user accounts. check-in: 02916f5f8c user: Andy Arismendi tags: trunk
13:16
Get-FailingDrive works with SMART to determine if your hard drive may be failing. If it determines that the hard drive might be failing, a warning is displayed along with a collection of information about the potentially failing drive. See my blog post for more details: check-in: 602ebb2ada user: Boe Prox tags: trunk
13:16
Check md5/sha1/etc hashes check-in: 7704ac09d5 user: Joel Bennett tags: trunk
13:16
This script gets a list of all Group Policy Objects in the domain filtered on the value of GPOSettingName. For each GPO if the Extension Name matches GPOSettingName the Extensions are then reported back. check-in: 1aa504ccd8 user: Jeff Patton tags: trunk
13:16
This is to demonstrate how to shutdown the machines you started while be reading the sample 2. check-in: 6db6d20e70 user: Alexander Petrovskiy tags: trunk
13:16
This script works in conjunction with an Event Trigger on the PrintService event on our print servers. This script queries the Microsoft-Windows-PrintService/Operational log for EventID 307, and returns the drive letter from the most recent event. check-in: 48566b2051 user: Jeff Patton tags: trunk
13:16
Added the ability to retrieve (Default) values for keys. check-in: db382e8bb7 user: Joel Bennett tags: trunk
13:16
This sample register all the virtual machines laying as folders on a ESXi host. check-in: dd8c388ab9 user: Alexander Petrovskiy tags: trunk
13:16
Heres a function to quickly look up the latest version of the bogon list maintained by Team Cymru from within PowerShell. check-in: f725f9be72 user: Rich Kusak tags: trunk
13:16
A complete set of XML functionality (especially if you don’t have PSCX), including reading and writing xml files (import-xml, export-xml), selecting (via xpath), updating, transforming and creating new xml documents. check-in: 371e9dd006 user: Joel Bennett tags: trunk
13:16
How can you automate your ESXi tasks having only bare ESXi software? May cmdlets in such case don’t work or work with serious limitations. To fulfill though partially the lack of ‘bare ESXi’ management tools, the ESXiMgmt module has been written and tested. check-in: 00e804b745 user: Alexander Petrovskiy tags: trunk
13:16
Simulate user activity to prevent desktop lock or screensaver for specified period of time check-in: bf42beb9d4 user: 129RQW tags: trunk
13:16
Simulate user activity to prevent desktop lock or screensaver for specified period of time check-in: aaf865c51f user: Dmitry Sotnikov tags: trunk
13:16
Shows a vertical “menu” in the console and allows you to pick numeric items from it. check-in: 6f0a9c711a user: Joel Bennett tags: trunk
13:16
Added a useful Show-ConsoleMenu (which is also usable outside the buffer box), but this one is coded for 10 items or less. check-in: 5d62c113b7 user: Joel Bennett tags: trunk
13:16
Immediately toggle the current user’s Internet Explorer proxy settings on/off. Uses a ‘hidden’ Internet Explorer process to trigger the application of the new proxy setting once its been changed in the registry. Accepts a single command line parameter “disable”. If no parameter is given, the proxy is “enabled”. check-in: 7e71ce2905 user: Dan Smith tags: trunk
13:16
Immediately toggle the current user’s Internet Explorer proxy settings on/off. Uses a ‘hidden’ Internet Explorer process to trigger the application of the new proxy setting once its been changed in the registry. Accepts a single command line parameter “disable”. If no parameter is given, the proxy is “enabled”. check-in: a407d85bf0 user: Dan Smith tags: trunk
13:16
Immediately toggle the current user’s Internet Explorer proxy settings on/off. Uses a ‘hidden’ Internet Explorer process to trigger the application of the new proxy setting once its been changed in the registry. Accepts a single command line parameter “disable”. If no parameter is given, the proxy is “enabled”. check-in: be5e334995 user: Dan Smith tags: trunk
13:16
Just a little wrapper for PromptForChoice check-in: c51e95499e user: Joel Bennett tags: trunk
13:16
This script takes an IPv4 address (optionally with subnet mask or mask length) and searches the subnets in active directory from most significant to least significant. Which ever subnet matches the IP address first will be returned in distinguished name format. If no subnets match, the script will return Subnet_not_assigned check-in: 5af26aa968 user: Nathan Linley tags: trunk
13:16
Returns the directory that current script is running in. check-in: 343217e918 user: Andy Arismendi tags: trunk
13:16
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: 103f41e04c user: Chad Miller tags: trunk
13:16
The Write-Output in the function Get-AccessRecordSetStructure, doesn’t return anything for me. Replacing Write-Output by return fixes the problem. check-in: cca27bc265 user: Matt Wilson tags: trunk
13:16
A very simple example of reading and writing from and to a SQLite DB using Powershell. check-in: 51213fe4b2 user: foureight84 tags: trunk
13:16
A very simple example of reading and writing from and to a SQLite DB using Powershell. check-in: 751bf69042 user: foureight84 tags: trunk
13:16
Write multiline overwriting messages, typically for iterating through long file names. check-in: 38a7a635d8 user: James Gentile tags: trunk
13:16
ChkHash.ps1 – ChkHash.ps1 can create a .XML database of files and their SHA-512 hashes and check files against the database, in order to detect corrupt or hacked files. check-in: 3d1533e17f user: James Gentile tags: trunk
13:16
Return a list of computers with their serial numbers. For Dell computers the Win32_BIOS.SerialNumber property is the service tag of the computer. This identifies the computer on the Dell support site, and with it you can get the proper drivers/manuals and warranty information. check-in: d1f1ba281a user: Jeff Patton tags: trunk
13:16
This script searches ActiveDirectory for computers. It then queries each computer for the list of users who are in the local Administrators group. check-in: 1907eff01b user: Jeff Patton tags: trunk
13:16
This script searches ActiveDirectory for computer accounts, for each computer account it removes the specified user account. check-in: 101127f68c user: Jeff Patton tags: trunk
13:16
Gets local group memebers check-in: 2636112c8a user: BSonPosh tags: trunk
13:16
Gets local group memebers check-in: e051c4db6f user: BSonPosh tags: trunk
13:16
anand@xx.com check-in: 26907e434f user: Ermias tags: trunk
13:16
Two functions Get-AllRegkey and Compare-AllRegKey which will recursivly retrieve a key’s properties and subkeys, and their properties and subkeys, as an array of objects, across multiple computers. The Compare-AllRegKey function uses Compare-Object to compare the arrays returned from each computer to an array returned from a specified reference computer. check-in: ea52b0e69c user: whertzing56 tags: trunk
13:16
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: f8fa583145 user: hclarke tags: trunk
13:16
It’s silly, it’s stupid, it’s fun check-in: a59bcb9475 user: Sean Kearney tags: trunk
13:16
This script will take a Twitter User’s Screen name and get their RSS feed of posts check-in: d4e4e48d1b user: CrazyDave tags: trunk
13:16
An interactive graphical filter for pipeline objects for ShowUI check-in: e04a9abea6 user: Joel Bennett tags: trunk
13:16
My updated version of my original binary clock. check-in: c93c24b5db user: Boe Prox tags: trunk
13:16
My updated version of my original binary clock. check-in: d83b71b4e9 user: Boe Prox tags: trunk
13:16
Add entries to the Windows hosts file. The function checks first to see if the entry exists in the file. If the entry does not exist, the function adds the entry and verifies it was added. Please feel free to add improvements. The function Utility.Time-Stamp is another helper function I use to denote the current Time. It can be found here: http://poshcode.org/2795. check-in: b0f93363a1 user: Will Steele tags: trunk
13:16
Add entries to the Windows hosts file. The function checks first to see if the entry exists in the file. If the entry does not exist, the function adds the entry and verifies it was added. Please feel free to add improvements. check-in: c60bab14af user: Will Steele tags: trunk
13:16
This is another Must Have upgrade, because I screwed up the last one ;-) check-in: e3282ec24e user: JasonMArcher tags: trunk
13:16
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: 6b7c417fb4 user: Will Steele tags: trunk
13:16
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: a65191a482 user: Andy Arismendi tags: trunk
13:16
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: 7c35927875 user: Jeff Patton tags: trunk
13:15
This is a simple weather forecast widget that shows the current temperature and forecast. Don’t forget to change the $woEID to the right one for your location. check-in: 1c3e295873 user: Joel Bennett tags: trunk
13:15
cls check-in: 306fd13498 user: Joel Bennett tags: trunk
13:15
This is a little tweak of Ravikanth’s Script to generate a dialog for adding menu items in PowerShell ISE. All I did was just clean it up a little bit following a few guidelines: check-in: 5997764e47 user: Joel Bennett tags: trunk
13:15
This is a little tweak of Ravikanth’s Script to generate a dialog for adding menu items in PowerShell ISE. All I did was just clean it up a little bit following a few guidelines: check-in: 910f49a8e5 user: Joel Bennett tags: trunk
13:15
This is a very simple function that returns a DateTime time stamp. I use it in scripts for noting times when actions occur like this Write-Host “$(Time-Stamp): Attempting to create directory.”; It’s a lot shorter than writing out the whole thing. You can also alias it to simplify the process: New-Alias -Name ts -Value Time-Stamp;. This way I use Write-Host “$(ts): Attempting to create directory.”; It outputs: 2011.07.17 05:01:10: Attempting to create directory. You can alter the value in the ToString to change the way the time stamp is formatted. check-in: 32c218cf20 user: Will Steele tags: trunk
13:15
Update to original password generator form (http://gallery.technet.microsoft.com/scriptcenter/54c3832a-4d20-4d6e-81ac-2d6f7bc10bfe). Uses WPF as opposed to Windows Forms to create the front end UI. Able to generate passwords and allows printing of the form or just display the password. Password is copied to clipboard so you can paste it into a password reset dialog. Password is also cleared from clipboard when form is closed. check-in: c904d8fe52 user: Boe Prox tags: trunk
13:15
This Exchange 2010 MailboxImportRequest cmdlet is to help identify imports that may never complete successfully or are taking a long time to complete so they can be suspended and other imports in the queued can complete in a timely manner. This version fixes pipeline input support and improves type handling. check-in: 8ef406fc64 user: Jon Webster tags: trunk
13:15
Test-Port creates a TCP connection to specified port. By default it connects to port 135 with a timeout of 3secs. check-in: a443f7427f user: BSonPosh tags: trunk
13:15
Open the sln file in the given directory hierarchy. Present a list if there is more than one. check-in: 31539d790f user: George Mauer tags: trunk
13:15
Start up the .Net 4.0 Cassini Webserver. Useful for those of us who like to avoid opening visual studio check-in: 4ee1afeef3 user: George Mauer tags: trunk
13:15
This is the log backup script to be used with the Async Backup Script http://poshcode.org/2787 check-in: eee5c67dba user: Justin tags: trunk
13:15
This will run multiple backup jobs at the same time. This script IS cluster aware. check-in: cca56f3119 user: Justin tags: trunk
13:15
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: d78e12b9f0 user: Jonathan Walz tags: trunk
13:15
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: 5ec6fdb39c user: Jonathan Walz tags: trunk
13:15
Add-SharePointLibraryFile – Uploads a file to a SharePoint library via HTTP PUT. check-in: 5f2d98b3ba user: Andy Arismendi tags: trunk
13:15
This Exchange 2010 MailboxImportRequest cmdlet is to help identify imports that may never complete successfully or are taking a long time to complete so they can be suspended and other imports in the queued can complete in a timly manner. check-in: 6e825b697f user: Jon Webster tags: trunk
13:15
A first attempt at a generic graphing function using commands from WPFToolkit’s DataVisualization dll check-in: 03259b354e user: Joel Bennett tags: trunk
13:15
Uses ShowUI to display a binary clock. Hotkeys H, T and D toggle Help, Time and Date text and +/- keys resize. Click and drag anywhere to move. Double-Click to close. This was inspired by Boe Prox’s post at: http://learn-powershell.net/2011/07/06/building-a-binary-clock-with-powershell/ and the release of ShowUI 1.1 check-in: c7943818d8 user: Ryan Grant tags: trunk
13:15
Extended version of Hal’s original “dirtoday” script via twitter https://twitter.com/#!/halr9000/status/88211937720156160 check-in: 8c7379cc33 user: bmorriso tags: trunk
13:15
Extended version of Hal’s original “dirtoday” script via twitter https://twitter.com/#!/halr9000/status/88211937720156160 check-in: ba1fb990ba user: bmorriso tags: trunk
13:15
Fix for redirect loops check-in: 3d68b781c3 user: Joel Bennett tags: trunk
13:15
Install and run BGInfo at startup using registry method check-in: 1bca9bc6fa user: Chad Miller tags: trunk
13:15
Converts Image Files to icon files check-in: 3292638469 user: Chad Miller tags: trunk
13:15
Add-PrinterDriver is a PowerShell function to install all printer drivers from a specified print server. The function is primarily targeted at Remote Desktop Services (formerly Terminal Services) Session Host servers. check-in: 083fc9d936 user: Jan Egil Ring tags: trunk
13:15
Get the MAC Address of an existing IP using SendARP request. check-in: c13ddbc9f3 user: bar971it tags: trunk
13:15
Force $duds to be an array so for small documents exceptions aren’t thrown. check-in: fa197b7bfc user: unknown tags: trunk
13:15
3014c106d0704f92677d34a02c29cc96 check-in: 1014582848 user: Joel Bennett tags: trunk
13:15
Check if all the services with StartMode AUTOMATIC are actually Running check-in: 7ac3c57558 user: LazyWinAdmincom tags: trunk
13:15
Check if all the services with StartMode AUTOMATIC are actually Running check-in: 2084a1394a user: Xavier C tags: trunk
13:15
There are a couple scripts that parse netsh commands. I didn’t see this one already done, so I couldn’t steal it. I suppose I could use some regex or something simple to cut the whitespace, so feel free to “fix her up”, but this got the job done (of putting the netsh output into an object). This is a snip from a larger script I wrote as a looping, recording monitor. I used this guy’s script for inspiration: http://poshcode.org/1731 check-in: 4138e035f3 user: Josh Popp tags: trunk
13:15
List active directory attributes from schema check-in: 297f1f9e58 user: BSonPosh tags: trunk
13:15
List active directory attributes from schema check-in: 6536c752e7 user: BSonPosh tags: trunk
13:15
List active directory attributes from schema check-in: 5c3835c78a user: BSonPosh tags: trunk
13:15
This module allows you to Get, Enable and Disable the software rollback settings on your computer or computers. This is useful when working with certain patches and software installations that require the software rollback to be enabled. check-in: d86fe4a7b6 user: Boe Prox tags: trunk
13:15
A function for creating tied variables using Robert Robelo’s idea to create breakpoints that update the variable values. check-in: e8b1c89c4e user: Joel Bennett tags: trunk
13:15
Download and install Google Chromium if there is a newer version available. check-in: 15a03b0338 user: MJWJ1 tags: trunk
13:15
Version: 0.1 check-in: 3658976898 user: Stefan Stranger tags: trunk
13:15
Version: 0.1 check-in: 7b5c748a05 user: Stefan Stranger tags: trunk
13:15
Version: 0.1 check-in: a8e8b13dd0 user: Stefan Stranger tags: trunk
13:15
This script will take a Twitter User’s Screen name and get their RSS feed of posts check-in: 0d9897862e user: CrazyDave tags: trunk
13:15
A script for ShowUI 1.0 — using Quest’s active directory cmdlets to retrieve user information and allow you to select one of the groups they’re a member of. Could be extended to populate a bunch of form fields from active directory and even allow updating them… check-in: e7bd27003a user: Joel Bennett tags: trunk
13:15
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: 54dbd0b3fe user: Jonathan Walz tags: trunk
13:15
Mounts a NFS datastore to several vSphere 4.X hosts with PowerCLI. The script assumes you are already connected to a VI server. check-in: 1d2ebcd501 user: eprich tags: trunk
13:15
Get-Path converts relative paths to drive or PSProvider -qualified paths. check-in: ad529fefa0 user: Joel Bennett tags: trunk
13:15
kyletboat3 check-in: 4c0a2d1cfc user: kyletboat3 tags: trunk
13:14
A series of functions to verify Agent, SQL, SSIS, SMB, WMI services or connections. Useful when troubleshooting data center firewall configuration. check-in: 6b5ecc9aee user: Chad Miller tags: trunk
13:14
A script that makes an encrypted Powershell script. check-in: 97f847be8a user: RYBAT tags: trunk
13:14
This function backs up eventlogs on a remote computer, where the recordcount for a given log is greater than zero. check-in: 3712439e28 user: Jeff Patton tags: trunk
13:14
This advanced function allows you to transfer or seize the FSMO roles to a specified Domain Controller. Has support for -Whatif and -Confirm to avoid making a mistake with transferring the roles. Also can display the current owners after the action has completed using -PassThru. check-in: 6e212063db user: Boe Prox tags: trunk
13:14
This advanced function will get all FSMO role owners for each domain in a forest. Returns an object that contains the collection of FSMO role owners. check-in: b30db51c4b user: Boe Prox tags: trunk
13:14
This advanced function will get all FSMO role owners for each domain in a forest. Returns an object that contains the collection of FSMO role owners. check-in: b9b4f77ed8 user: Boe Prox tags: trunk
13:14
This function backs up eventlogs on a remote computer, where the recordcount for a given log is greater than zero. check-in: 32ca21866e user: Jeff Patton tags: trunk
13:14
This advanced function will get all FSMO role owners for each domain in a forest. Returns an object that contains the collection of FSMO role owners. check-in: d6da8a2b5f user: Boe Prox tags: trunk
13:14
A series functions to verify Agent, SQL, SSIS, SMB, WMI services or connections. Useful when troubleshooting data center firewall configuration. check-in: 7baf5499c5 user: Chad Miller tags: trunk
13:14
The beginnings of a function for handling ETS exceptions thrown by types which are not CLS Compliant when you try to output them. check-in: 23aeee80ad user: Joel Bennett tags: trunk
13:14
Build a SQL Connection String using specified parameters check-in: 7569a72090 user: Joel Bennett tags: trunk
13:14
After connecting to your VI server, we get a list of virtual switches on the datacenter and from that we pull out the VHostID that matches the server we passed in at the command-line. Using the VHostID we return a list of networks objects on that server. check-in: e00f37f44b user: Jeff Patton tags: trunk
13:14
quick hard coded script for uploading a file to an ftp server. check-in: d0c02d2874 user: Stephen Price tags: trunk
13:14
This script pingscan a subnet for running machines (full parallel) and executes (full parallel) any command on these machines check-in: ef28ec561a user: Carsten Krueger tags: trunk
13:14
Helpers for working with .Net classes: Get-Constructor, Get-Assembly, Add-Assembly, Get-Type check-in: 8f614e9064 user: Joel Bennett tags: trunk
13:14
This script will take a Twitter User’s Screen name and get their RSS feed of posts check-in: 735ae7975d user: CrazyDave tags: trunk
13:14
Displays active TCP connections and includes the process ID (PID) and Name for each connection. check-in: 68a7e19306 user: Shay Levy tags: trunk
13:14
Creates new self-signed code signing certificate and installs it to current user’s personal store. Supports Windows XP and higher. check-in: 84a95785d5 user: vpodans tags: trunk
13:14
This is a template intended for creating a wizard with PowerShell code from scratch. The sample consists of two sections, the template itself and the wxample of its use. check-in: 7ac65ae6e0 user: Alexander Petrovskiy tags: trunk
13:14
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 27f914d640 user: SddrCErrR tags: trunk
13:14
hashtable to object function. check-in: 9ef0d2dd60 user: nQPuDDji tags: trunk
13:14
My first contribution. I am crazily thinking of doing a “Powershell Only” day. The first task is to figure out how to manipulate Outlook through PowerShell. The submitted script hits my Outlook inbox and goes through the inbox and each subfolder and retrieves the unread emails from it. It then goes through my task list and gets all the incomplete tasks. This was my first time using a status bar and definitely the first for making anything outside the scripting games public. I’d hate to get finished with the Outlook “module” and find out I could have saved myself a lot of time, so I through the script as it is now on the mercy of the court. Proceed with your red pens… check-in: 403ad4ed4d user: chris seiter tags: trunk
13:14
This will perform a basic netstat.exe command and “objectize” its output. check-in: 2ca0df4224 user: Ivan F tags: trunk
13:14
This is the file you need to load Quest’s Active Directory snap-in as a module. Just put this in a folder with all the dlls … check-in: cbb03c0a43 user: Joel Bennett tags: trunk
13:14
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: 5bfd8d46f1 user: halr9000 tags: trunk
13:14
WPF GUI to watch TechED 2011, NA sessions check-in: 06a50eb3ff user: Ravikanth tags: trunk
13:14
This module uses PSexec,vbscript and PowerShell to install patches on local or remote systems. This does require PSexec to be in the same directory as where you are running the function within this module. Save as a .psm1 file. check-in: b5fbe3dade user: Boe Prox tags: trunk
13:14
This is the sister script to a bigger project. I will have the full script and uses on my blog vnoob.com soon check-in: e8125ee623 user: unknown tags: trunk
13:14
This script will take a Twitter User’s Screen name and get their RSS feed of posts check-in: b2a812053e user: CrazyDave tags: trunk
13:14
How to add a SSL Certificate to IIS with Powershell as well as set the SSL Binding for the site that’s using the certificate. check-in: bffd24dc9f user: Brian H Madsen tags: trunk
13:14
I wrote this a while back to be able to automate stuff on a hp san and ilo. It’s pretty much mritten ad-hoc so please feel free to improve on it. Anyway, might be useful for someone out there. The function send-command logs on to a telnet server and executes the piped in commands. check-in: 2a66cac1ac user: David Sjstrand tags: trunk
13:14
Downloads the current sysinternals from \\live.sysinternals.com\tools and then updates your path environment variable to include the location saved to. Along with that it sorts, and removes duplicate entries in the path variable. If you call get-sysinternals without any args the local directory will be systemroot\Sysinternals\ Otherwise, the files will be put in the specified path. check-in: 0f38c009f5 user: vbjay tags: trunk
13:14
Downloads the current sysinternals from \\live.sysinternsals.com\tools and then updates your path environment variable to include the location saved to. Along with that it sorts, and removes duplicate entries in the path variable. If you call get-sysinternals without any args the local directory will be systemroot\Sysinternals\ Otherwise, the files will be put in the specified path. check-in: 6eb9bb8e2d user: vbjay tags: trunk
13:14
Downloads the current sysinternals from \\live.sysinternsals.com\tools and then updates your path environment variable to include the location saved to. Along with that it sorts, and removes duplicate entries in the path variable. If you call get-sysinternals without any args the local directory will be systemroot\Sysinternals\ Otherwise, the files will be put in the specified path. check-in: 9a34cb677e user: vbjay tags: trunk
13:14
This script is pretty simple, it connects to a remote computer and grabs the BIOS class. It then connects to the Dell support page for the remote computer’s ServiceTag. If the computer is a Dell, it grabs the BIOS revision listed on the page. The inspiration came from reading the Scripting Guy blog about comments. (http://blogs.technet.com/b/heyscriptingguy/archive/2011/05/16/add-excellent-comments-to-your-powershell-script.aspx) check-in: ff534b88b7 user: Jeff Patton tags: trunk
13:14
This script is pretty simple, it connects to a remote computer and grabs the BIOS class. It then connects to the Dell support page for the remote computer’s ServiceTag. If the computer is a Dell, it grabs the BIOS revision listed on the page. The inspiration came from reading the Scripting Guy blog about comments. (http://blogs.technet.com/b/heyscriptingguy/archive/2011/05/16/add-excellent-comments-to-your-powershell-script.aspx) check-in: 554a091fa1 user: Jeff Patton tags: trunk
13:14
This script is pretty simple, it connects to a remote computer and grabs the BIOS class. It then connects to the Dell support page for the remote computer’s ServiceTag. If the computer is a Dell, it grabs the BIOS revision listed on the page. The inspiration came from reading the Scripting Guy blog about comments. (http://blogs.technet.com/b/heyscriptingguy/archive/2011/05/16/add-excellent-comments-to-your-powershell-script.aspx) check-in: 0bdf7befed user: Jeff Patton tags: trunk
13:14
This script uses current Show-UI and SQLite to query a copy of your Firefox Bookmark Database for Bookmarks tagged with combinations of 1 to 3 keywords. It uses the WPF 4.0 Datagrid. (Improvements in Eventhandling of Hyperlinks are welcome) check-in: 9335fb6eef user: Bernd Kriszio tags: trunk
13:14
A function to rename a computer check-in: 9d909157bc user: Gerald Klassen tags: trunk
13:14
Purpose: This script can be set as a scheduled task to run every 30minutes and will monitor all exchange 2010 queue’s. If a threshold of 10 is met an output file with the queue details will be e-mailed to all intended admins listed in the e-mail settings check-in: 6f721e8bfd user: Paperclips tags: trunk
13:14
Very simple script that will create file list from -Path in simple UI generated using Show-UI. ToolTip show size and last write time of a file, and once clicked – it will pass fullname down the pipe. It was created mainly as a attempt to use some animated effects in Show-UI. check-in: bf31e8c790 user: BartekB tags: trunk
13:14
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: a59144cb6e user: Lee Holmes tags: trunk
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
13:09
A man is not old as long as he is seeking something. A man is not old until regrets take the place of dreams. check-in: 49b916ba8e user: Matt Wilson tags: trunk
13:09
Add voice to your Powershell script check-in: 8dc57650fa user: Mike Hays tags: trunk
13:09
A wrapper class for shell shortcut files from vbAccelerator which makes it easy to read & write shell links. check-in: 5682f37451 user: Joel Bennett tags: trunk
13:09
This is another Must Have upgrade, because I screwed up the last one ;-) check-in: db24ad1bce user: Joel Bennett tags: trunk
13:09
Sow nothing, reap nothing. check-in: df82ac9a5a user: Matt Wilson tags: trunk
13:09
Easy Migration Script for VMware Using PowerCLI (Version 2.0) – The Easy Migration script enables you to manually VMotion and SVMotion virtual machines very quickly and easily. You don’t have to specify the resource pools and it reduces the amount of mouse clicks required. There is also an Undo feature. check-in: 7544b409a1 user: Richard Yaw tags: trunk
13:09
All Group Policy Objects modified in the specified timespan are backup up to the specified backup path. check-in: df76589f25 user: Jan Egil Ring tags: trunk
13:09
This will perform a basic netstat.exe command and “objectize” its output. check-in: 2ac864da20 user: glnsize tags: trunk
13:09
A function to retrieve available Control Panel Applets along with a description. check-in: 245e324c66 user: unknown tags: trunk
13:09
This script will allow you to set the password for an account on a local or remote machine/s. A report is then generated when done along with an error log. Scripts accepts pipeling input for the computer/s. If any errors are encountered, a log will be generated as well. check-in: c5a9a67edc user: geraldo tags: trunk
13:09
Findup – Find Duplicates, and optionally delete them. C# version of the powershell script FindDupe.ps1, C# version is probably 100 times faster though. check-in: 9a5493bb34 user: James Gentile tags: trunk
13:09
Bulk change account passwords without requiring elevated permissions. check-in: 802279d299 user: unknown tags: trunk
13:09
Test-Port creates a TCP connection to specified port. check-in: 7bc7b3b706 user: BSonPosh tags: trunk
13:09
Enables SNMP via Add-WindowsFeature (If not already enabled) check-in: 879a5645cb user: St3v3o tags: trunk
13:09
Another version to compare 2 SQL Tables. Uses code to exclude specified columns from SELECT * check-in: ca48ffbb26 user: Bernd Kriszio tags: trunk
13:09
Compare 2 system.Data.DataSet each containing 1 table check-in: 101dba4b89 user: Bernd Kriszio tags: trunk
13:09
Compare 2 system.Data.DataSet each containing 1 table check-in: 2ad9a16684 user: Bernd Kriszio tags: trunk
13:09
All Group Policy Objects modified in the specified timespan are backup up to the specified backup path. check-in: e8be142074 user: Jan Egil Ring tags: trunk
13:09
Powershell iTunes is a Powershell script which lets you control iTunes over Powershell. check-in: 2bf0b8d154 user: tmaurer tags: trunk
13:09
Module gives functions for managing RemoteApp on Windows 2008 and Windows 2008 R2. check-in: 3a93297aac user: unknown tags: trunk
13:09
function whoami check-in: 9b49d7ba2e user: William tags: trunk
13:09
Suffering from Monday morning due to server failure. Maybe an excuse should be automatically added to mails sent from members of my team. check-in: ad6da4ec26 user: unknown tags: trunk
13:09
The beginnings of a complete rewrite … I’m actually going to recreate the functionality (but not the API) of my HttpRest module based on Hammock … this is just the first function. check-in: 4e3d0f8560 user: Joel Bennett tags: trunk
13:09
This is the second release, but still very raw. Supports OAuth via Installed Application Authentication (a modified form of OAuth where the consumer fetches access tokens using a username and password instead of a request token) ... now includes a sample app for fetching stuff off Yammer. check-in: dd61e66498 user: Joel Bennett tags: trunk
13:09
Findup – Find Duplicates, and optionall delete them. C# version of the powershell script FindDupe.ps1, C# version is probably 100 times faster though. check-in: 0a614ef776 user: James Gentile tags: trunk
13:09
This advanced function will allow you to set the IIS log location on a server or servers. You can specify a single site or perform the task on all sites. Also supports -whatif in the function. check-in: c3d5a29648 user: Boe Prox tags: trunk
13:09
This advanced function can be run against a single server or multiple servers to find the location of the log files for each website configured in IIS. This has been tested against II6 and IIS7. check-in: 8b8313da9d user: Boe Prox tags: trunk
13:09
Example of how to use Treeview Hierarchical databind using Boots. It took me a while to figure this out. Thanks JasonMArcher for your help! check-in: 8d5239849c user: unknown tags: trunk
13:09
All Group Policy Objects modified in the specified timespan are backup up to the specified backup path. check-in: e0652b8732 user: Andy Helsby tags: trunk
13:09
Splits a string (by default, on whitespace), and allows you to pick and chose which pieces are returned. Something like “cut” in bash… check-in: 1c1e5f9816 user: Joel Bennett tags: trunk
13:09
Uses WMI to create a new virtual machine check-in: cc11e14b10 user: unknown tags: trunk
13:09
Convert a URL Encoded address most commonly found in bounce messages into an X500 address that can be added as an alias to the appropriate mail-enabled object. check-in: 7eef78c7ff user: Jon Webster tags: trunk
13:09
This module allows you to manage WSUS from PowerShell. Save code as a .psm1 file and use the Import-Module command for this module. You can approve/decline updates, perform synchronizations, add/remove clients from a target group, create/delete Target groups and much more with currently 40 advanced functions. For more information about this module, please see my blog http://boeprox.wordpress.com/ check-in: 853e31ea12 user: Boe Prox tags: trunk
13:09
This module allows you to manage WSUS from PowerShell. Save code as a .psm1 file and use the Import-Module command for this module. You can approve/decline updates, perform synchronizations, add/remove clients from a target group, create/delete Target groups and much more with currently 40 advanced functions. For more information about this module, please see my blog http://boeprox.wordpress.com/ check-in: d73b33c4f5 user: Boe Prox tags: trunk
13:09
MKLINK – Make Symbolic File and Directory links. Useful for making symbolic links from powershell. check-in: 0670b5cf39 user: James Gentile tags: trunk
13:09
Invokes JQuery (or plain Javascript) commands via InternetExplorer.Application COM object,after initial injection of JQuery reference in header section. check-in: 31560b2bea user: Dirk Bremen tags: trunk
13:09
Invokes JQuery (or plain Javascript) commands via InternetExplorer.Application COM object,after initial injection of JQuery reference in header section. check-in: f7ddb7c5fb user: unknown tags: trunk
13:08
Converts a collection of PowerShell objects into a multi-dimensional array. The first row of the array contains the property names. Each additional row contains the values for each object. check-in: b7e0bf24f3 user: Tome Tanasovski tags: trunk
13:08
Findup – Find Duplicates, and optionall delete them. C# version of the powershell script FindDupe.ps1, C# version is probably 100 times faster though. check-in: 7a20820c66 user: James Gentile tags: trunk
13:08
This script uses query.exe to query local or remote computers and returns back the current logon sessions. This script will only work on Vista and above client OS’s and Windows 2008 and above server OS’s unless a Windows 2003 server is configured as a Terminal Server. check-in: dd1f9e0435 user: Boe Prox tags: trunk
13:08
Findup – Find Duplicates, and optionall delete them. C# version of the powershell script FindDupe.ps1, C# version is probably 100 times faster though. check-in: 9366c30c97 user: James Gentile tags: trunk
13:08
Calculate prime numbers … check-in: ea3f818574 user: Joel Bennett tags: trunk
13:08
hashtable to object function. check-in: 751dd6dd13 user: karl prosser tags: trunk
13:08
Resolves OID value to a Friendly Name and vice versa. The cmdlet resolves both well-known OIDs (used in Internet PKI) and Active Directory forest specific registered OIDs. check-in: 03726de51d user: unknown tags: trunk
13:08
Script to create a NLB-cluster for the CAS/HUB-roles in Exchange Server 2010. check-in: 65c5822cad user: Jan Egil Ring tags: trunk
13:08
This is an old script I had lying around. It has NOT been updated in a long time :) check-in: d347a8daf9 user: unknown tags: trunk
13:08
COMMENT: check-in: d9c4f9615a user: unknown tags: trunk
13:08
UPDATED 2010/10/28: Visually create an instance of an enum with an easy to use menu system. Supports both single value enumerated types and bitmask (flags) enums. Also supports dynamic inline help for enumerated values (help works with powershell.exe host only – ISE is buggy.) PowerShell 2.0 required. This uses uses the new to v2 IHostUISupportsMultipleChoiceSelection interface. check-in: 15922c65d6 user: Oisin Grehan tags: trunk
13:08
Findup – Find Duplicates, and optionall delete them. C# version of the powershell script FindDupe.ps1, C# version is probably 100 times faster though. check-in: 6e77b15a2f user: James Gentile tags: trunk
13:08
hashtable to object function. check-in: a063be42c1 user: karl prosser tags: trunk
13:08
Visually create an instance of an enum with an easy to use menu system. Supports both single value enumerated types and bitmask (flags) enums. Also supports dynamic inline help for enumerated values (help works with powershell.exe host only – ISE is buggy.) PowerShell 2.0 required. This uses uses the new to v2 IHostUISupportsMultipleChoiceSelection interface. check-in: 4ce0512d52 user: Oisin Grehan tags: trunk
13:08
Based on poshcode.org/753 – minor mods to support new mandatory authentication parameters in Lab Manager 4.x. check-in: 377bc54890 user: oldsienna tags: trunk
13:08
PowerBot is my IRC bot written in PowerShell script using SmartIrc4Net There’s a bit more to it than this, but this is the basic script, and all you have to do is add your own commands! Of course, you could also add your own additional message handlers and make a chatter-bot or whatever you like. Please share your mods back here! check-in: 553c13b114 user: avianses tags: trunk
13:08
Module for communicating with FTP server check-in: b05236610f user: Noldorin tags: trunk
13:08
This sample was put together with Jaykul’s help and bits and pieces were taken from the Sample.ps1 distributed with PowerBoots. It requires the current changeset of PowerBoots. Not the 0.2 beta. check-in: 91005b80ab user: foureight84 tags: trunk
13:08
Change the extension on files check-in: 2977437172 user: unknown tags: trunk
13:08
Helpers for working with .Net classes: Get-Constructor, Get-Assembly, Add-Assembly, Get-Type check-in: fdeff8f60c user: Joel Bennett tags: trunk
13:08
Autoload function like the Korn shell — can inject functions to modules. check-in: 8495e982b7 user: Joel Bennett tags: trunk
13:08
Get the Windows Experience Rating check-in: 6768fc45ba user: unknown tags: trunk
13:08
More C# than PowerShell. A script to return DHCP client leases from a DHCP server. check-in: c757834749 user: unknown tags: trunk
13:08
Updated for current PowerBoot (latest chackin) check-in: eb29e7aee0 user: Joel Bennett tags: trunk
13:08
Sample ScriptingAgentConfig.xml for working with the Exchange Server 2010 Scripting Agent cmdlet extension agent. check-in: 761e8fd537 user: Jan Egil Ring tags: trunk
13:08
This sample was put together with Jaykul’s help and bits and pieces were taken from the Sample.ps1 distributed with PowerBoots check-in: cf60e73d41 user: foureight84 tags: trunk
13:08
help needed check-in: e44793599a user: unknown tags: trunk
13:08
An attempt to resolve namespace clashes without overwriting functions … check-in: c460643976 user: unknown tags: trunk
13:08
A pair with ConvertTo-CliXml — this version closes and disposes the string reader handle. check-in: 14f48d81bb user: David Sjstrand tags: trunk
13:08
Export-CliXml and Import-CliXml only work with files. This is an implementation for sending CliXML directly to the pipeline. Requires PowerShell 2.0 check-in: c43d642d7a user: David Sjstrand tags: trunk
13:08
A Write-Output replacement with the option to output collections that don’t unwrap. check-in: 7ced72fad0 user: Joel Bennett tags: trunk
13:08
By way of demonstrating how the -Confirm parameter affects $ConfirmPreference and thus the output of cmdlets called in a script. check-in: 7f1644ee78 user: unknown tags: trunk
13:08
Enhanced error handling check-in: c1352251ba user: Lee Holmes tags: trunk
13:08
Yet another find text in text files, this time with context, too. check-in: da9e50e683 user: David Mohundro tags: trunk
13:08
Sets a very subtle windows transparency for powershell. check-in: 673ea1e5f8 user: Jachin tags: trunk
13:08
I wrote this based on ConvertTo-CliXml. This takes a xml string from the pipeline and converts it to objects. check-in: 8aaab5a669 user: David Sjstrand tags: trunk
13:08
Export-CliXml and Import-CliXml only work with files. This is an implementation for sending CliXML directly to the pipeline. Probably needs v2 powershell (not tested in v1). check-in: 59e1affc90 user: Oisin Grehan tags: trunk
13:08
Provides an easy way to change the text encoding on a lot of scripts at once. check-in: 09359ed9d1 user: Jason Ferris tags: trunk
13:08
Collection of functions to Shutdown, Reboot, Logoff, Standby(sleep) or Hibernate your computer. check-in: d0f0a83bf1 user: TJdot tags: trunk
13:08
Modeled after SQL Server 2008 Invoke-Sqlcmd, but fixes bug in QueryTimeout. check-in: 6d11f0c83d user: Chad Miller tags: trunk
13:08
Opens the MSDN web page of an object member: type, method or property. check-in: 51462a6c7b user: Shay Levy tags: trunk
13:08
Creates a SQL Server table from a DataTable using SMO. check-in: 960a23975d user: Chad Miller tags: trunk
13:08
Writes data only to SQL Server tables. However, the data source is not limited to SQL Server; any data source can be used, as long as the data can be loaded to a DataTable instance or read with a IDataReader instance. check-in: 0499519f90 user: Chad Miller tags: trunk
13:08
A module for updating the machineKey element in some or all of the web.config files on a server at once. check-in: e9d2e1dd52 user: Joel Bennett tags: trunk
13:08
A demo script which work against remote session output as well as local output: check-in: 98e90b1b53 user: unknown tags: trunk
13:08
I created this function to generate a new PowerShell Script template. It will prompt for the name of the script you want to create (don’t need to add the .ps1 extension) and the email (don’t need to add email) then it will create the template in the C:\Scripts directory (Dir should already exist) check-in: 8249cddfcc user: unknown tags: trunk
13:08
Generate Cryptographically Random Bytes, using RNGCryptoServiceProvider, and optionally format them as strings. check-in: 3a35ec2ff9 user: unknown tags: trunk
13:08
A function to join a domain check-in: cac862858b user: Andy Schneider tags: trunk
13:07
An example of making “custom objects” with strongly-typed properties, custom enumeration/validation and error messages. check-in: bf25145342 user: unknown tags: trunk
13:07
The Easy Migration script enables you to manually VMotion and SVMotion virtual machines very quickly and easily. You don’t have to specify the resource pools and it reduces the amount of mouse clicks required. There is also an Undo feature. check-in: d6d1520f44 user: unknown tags: trunk
13:07
Based on poshcode.org/753 – minor mods to support new mandatory authentication parameters in Lab Manager 4.x. check-in: 2efb859dd5 user: oldsienna tags: trunk
13:07
Generates a simple dataset based on the files in the current directory. I whipped this up while answering questions about databinding because I needed to be able to create multiple DataSets/DataTables easily, without needing an actual database. check-in: 7873b821dd user: Joel Bennett tags: trunk
13:07
Description check-in: 0f0effd51d user: Carter Shanklin tags: trunk
13:07
Datagrid Xaml layout needed for Boots DataGrid binding example http://poshcode.org/2259 check-in: 959c686d73 user: foureight84 tags: trunk
13:07
Bind DataGrid to an object array using Powerboots check-in: 08adb241ef user: foureight84 tags: trunk
13:07
This is the final version of PoshCode ISE addon for uploading scripts to PoshCode.org from PowerShell ISE. You can upload scripts in two ways. First method is to select all or part of the script and upload it by pressing CTRL+ALT+C. And, the second method is to just press CTRL+ALT+C. This way you can upload all contents without any selection. check-in: d9f09c8f31 user: ravikanth_chaganti tags: trunk
13:07
TreeView check-in: 0373144083 user: unknown tags: trunk
13:07
PowerShell ISE addon for PoshCode script uploads check-in: a93e6880eb user: unknown tags: trunk
13:07
Find matching members in a local group check-in: 381daac6d5 user: Hal Rottenberg tags: trunk
13:07
Find matching members in a local group check-in: 72a2ecd081 user: Hal Rottenberg tags: trunk
13:07
This script will help detect vulnerable configuration for the Padding Oracle check-in: 749f49a6e9 user: Jerry George tags: trunk
13:07
Some functions for drawing mini-buffers. Please try the two demo functions included! check-in: a1e10e5f74 user: Joel Bennett tags: trunk
13:07
Password gerneration function originally posted on PoshCode.org by Sean Kearney. Without any arguments, Get-NewPassword generates an 8 character password with upper, lower, and numeric characters. It can accept 2 options, the first is password length (up to 94 chars) and the other is complexity (1 to 4). I had to modify the code so that it wouldn’t create repeating characters. The code may be ugly, but it’s because I am a network admin and not a programmer. I hope it helps someone. check-in: 288aac4271 user: johnwcannon at gmail dot com tags: trunk
13:07
Function to test if a file is writable. Uses the .openwrite() method to test and returns a boolean. check-in: c460768058 user: JimbobNet tags: trunk
13:07
Function to test if a file is writable. Uses the .openwrite() method to test and returns a boolean. check-in: 0ec2ff5c23 user: JimbobNet tags: trunk
13:07
Script to translate Service DACL’s into HRL (Human Readable Language) :) check-in: 985e9083da user: Claus T Nielsen tags: trunk
13:07
Export 2007/2010 usermailbox to PST located on File Share check-in: 656b7cdbc6 user: unknown tags: trunk
13:07
You can just copy paste this entire script to your PowerShell ISE profile script. This script will take care of saving your ISE preferences such as color schemes, font styles, etc. You can change any of these values and this script will take care of storing and re-storing those preferences everytime you open ISE. check-in: 1379b003c2 user: Ravikanth Chaganti tags: trunk
13:07
This script will create a new System Center Configuration Manager (SCCM) 2007 Collection. check-in: 37800c74d1 user: Andy S tags: trunk
13:07
This invokes a command exclusively check-in: 9cc8c844d0 user: bassamf tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: c370d94e07 user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: d29c2fed70 user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 6a6147bca6 user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 347d24e7ba user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 262e6b56f3 user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: c4c2560eec user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: fba69200ab user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 0d70bfe86c user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 6d2914124f user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: b2a527d175 user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: b231d9a0a1 user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: c24bef6a13 user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 8526abbace user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 0b638f8c75 user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 8b5f9c61e9 user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 60e4e3d337 user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 9af81476f3 user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 0b26434a8c user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 9af5f81f4e user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 9eeb6cd01e user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 78a552f9c6 user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 9c9d278d68 user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 9956e37e2b user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: e0174ed8c2 user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 17a9e92447 user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: a589343eba user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: ecad39612f user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: a8a5a7144c user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 2ff3dcd205 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 231719387a user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 320bcf34f1 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 6b41d99eca user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 69685c6c3d user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 8da651434e user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: ae854ebfb9 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 98e35b771c user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: d4a2e8c740 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: fcdf4a3a32 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: a67d796c4c user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 7377999218 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: dbf79e3fb4 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 88fa6ad47b user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: b0abba9373 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: d997dc9e05 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 3dfba10b0a user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: f2f5f6017f user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 52ccb53c5b user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: d62ad63f2a user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: bba4f6e13a user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: ef95f0999d user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: ee4f22a7fe user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: dec706c655 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: f985b273a3 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 21c8affae4 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: bff95b023f user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 28cedd0aa3 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: e4873ad3c8 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 3d63760bc3 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: d81d875030 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 858f5724b4 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: d5b9482cc3 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: e64ee469f2 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 343b954e1c user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 6b73529a34 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 4541ab35a7 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: bc3416d557 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 2a3d71e629 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: c22107875b user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 149a2d1cae user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 4b27884ee7 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 6c49431de9 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 76886b5164 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 7e7f74ed46 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 0b867601ae user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 06bddc8c83 user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 58fb5474ab user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: ef5798fbdf user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 79c9a1e12b user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 37ba8f78c0 user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: cdb91a83c5 user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 17a43306eb user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 3e2bfc94b8 user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 503bbd5349 user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 5b1659394a user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 9e23ce0edf user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 1f210a23c1 user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: d0fc3074b1 user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: d9512c3c9b user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: deff60274a user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 42c8cdfc31 user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: bd085a29fa user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 5dbfc3b835 user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 31268d8dc3 user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: a5b069147c user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 9a19a76b74 user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 38aabab23e user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 8c77eb2bc2 user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 4537f544fc user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: c9e9c7b800 user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: bb7cf29030 user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 94b16c4eb9 user: Lee Holmes tags: trunk
13:05
Audit Folders/Shares and Export to Excel check-in: eb7c103e37 user: DigitalAsylum tags: trunk
13:05
This script allows you to convert one or more CSVs into an Excel file with each CSV being a new worksheet in excel. The worksheet name will be the name of the file with the exception of the extension. So a file called test.csv will be named ‘test’. CSVs can be piped into the function or you can use the -inputfile parameter to accomplish this. check-in: b52c1f67a4 user: Boe Prox tags: trunk
13:05
Use this to upload one or more files to a SharePoint document library. Should also work with any WebDAV service, although that hasn’t been tested. The filename parameter expects fileinfo objects. Easiest way to do so is to pass them on the pipeline from Get-ChildItem. This script is a refinement of a technique that I first saw here: http://blogs.flexnetconsult.co.uk/colinbyrne/PermaLink,guid,a326572f-8f78-4c80-86d5-1fe52cbd6fe5.aspx. check-in: 5220f14b40 user: halr9000 tags: trunk
13:05
Find an Application on remote list of computers. check-in: 70efc53d75 user: Sean Kearney tags: trunk
13:05
Creates a SQL Server table from a DataTable using SMO. check-in: c748193495 user: Chad Miller tags: trunk
13:05
Creates a DataTable for an object, based on script by Marc van Orsouw check-in: 2f15a2ed96 user: Chad Miller tags: trunk
13:05
Writes data only to SQL Server tables. However, the data source is not limited to SQL Server; any data source can be used, as long as the data can be loaded to a DataTable instance or read with a IDataReader instance. check-in: ded2d97798 user: Chad Miller tags: trunk
13:05
Power Shell 1 script used to grab mailbox stats for a Exchange 2007 server. It saves the information into a .csv file by changing the $OUTFILE variable. check-in: 1440602e65 user: Hinkle tags: trunk
13:05
Creates a DataTable for an object, based on script by Marc van Orsouw check-in: a6fae1ee0f user: Chad Miller tags: trunk
13:05
This function can send WOL packages. Note that this a modified version of code already floating online. You need to specify the Mac address as a string. Optionally use -Ports (0,1000) to specify the udp ports. (use -verbose to show which pacakges are being send). check-in: ff2effcac2 user: FrankSpierings tags: trunk
13:05
Modeled after SQL Server 2008 Invoke-Sqlcmd, but fixes bug in QueryTimeout. check-in: 00797fa518 user: Chad Miller tags: trunk
13:05
Modeled after SQL Server 2008 Invoke-Sqlcmd, but fixes bug in QueryTimeout. check-in: ef485bb9b8 user: Chad Miller tags: trunk
13:05
A DOS cmd script to show how your arguments look to “native” console apps check-in: d8df007c55 user: unknown tags: trunk
13:05
This script will allow you to set the password for an account on a local or remote machine/s. A report is then generated when done along with an error log. Scripts accepts pipeling input for the computer/s. If any errors are encountered, a log will be generated as well. check-in: 89078e96e1 user: Boe Prox tags: trunk
13:05
This script will allow you to set the password for an account on a local or remote machine/s. A report is then generated when done along with an error log. Scripts accepts pipeling input for the computer/s. If any errors are encountered, a log will be generated as well. check-in: af16d2fa36 user: unknown tags: trunk
13:05
http://georgemauer.net/blog/enabledisable-fusionlog-powershell-script/ check-in: 35db00eb65 user: George Mauer tags: trunk
13:05
My current (WPF 4 compatible) PowerBoots-based Presentation Module. REQUIRES PresentationFrame.xaml and, of course, PowerBoots check-in: 0e305c74b8 user: Joel Bennett tags: trunk
13:05
A required file for my PowerShell Presentation module check-in: b39cb9df82 user: unknown tags: trunk
13:05
A script to do a query on a remote registry key or value. check-in: 4e2c37c193 user: Joel Bennett tags: trunk
13:05
Generates a self-signed certificate authority and a code-signing certificate using OpenSSL check-in: 0fd9fc6f95 user: Joel Bennett tags: trunk
13:05
just a quick re-write of gmagerr’s Powershell Template script to enable his template to create Powershell ISE help-comment based structure which I often use; I just put this function into an add-isemenu custom menu array. Thanks to gmagerr for the structure I just added a couple of things (most of which work fine!). thx for the base gmagerr. check-in: 8febf5243d user: biryani tags: trunk
13:05
I’ve tweaked New-SshSession again, this time it supports multiple parameter sets (including one with the password in plain text, and one which takes a PSCredential). check-in: 889dd55cb9 user: Joel Bennett tags: trunk
13:04
In this JSON module, I have a full set of tools for exporting, importing, and converting Json objects (including arbitrary objects). See comments in script header for usage examples, but basically, you can do things like: check-in: c27af2ca7c user: Joel Bennett tags: trunk
13:04
Upgraded more functions to PowerShell 2.0 [CmdletBinding()] check-in: a8e65ba498 user: Joel Bennett tags: trunk
13:04
This is my profile script … it contains a few things that are specific to my setup (particularly: which modules I load, and the scripts which I Autoload), but they are all available here on PoshCode.org :-) check-in: f530b18341 user: Joel Bennett tags: trunk
13:04
My command Prompt — I recently added a “Pastable” option so that I can safely copy-paste a commandline and have it run without having to manually edit out my prompt. check-in: d656a92e90 user: Joel Bennett tags: trunk
13:04
You need to download and unpack LoreSoft.MathExpressions.dll into your Documents\WindowsPowerShell\Libraries or tweak this module. check-in: ebf442b08f user: Joel Bennett tags: trunk
13:04
I created this function to generate a new PowerShell Script template. I’ve modified it to prompt for the file name, eMail, and finally you can add a comment. The tricky part was trimmimg the comment so it would wrap properly. I use this all the time. Enjoy. check-in: b3aa09b0ed user: gmagerr tags: trunk
13:04
This Script allows testing of newly sequenced App-V apps without having to specify the file:// URL in the OSD, or distributing via the App-V infrastructure or SCCM. It scans a directory and loads all XML manifests for app-v packages in that directory, overriding the default distribution URLs. check-in: b046a59e70 user: jgrote tags: trunk
13:04
Check to see if users passwords will expire in X days and send them an email notification. This script was written using the Active Directory cmdlets bundled with Server 2008 and Powershell 2.0 check-in: 9cc3e07463 user: St3v3o tags: trunk
13:04
Add a type property to the VirtualHarddisk object to associate a disks type…. too big to past into twitter :D check-in: fa63524da9 user: unknown tags: trunk
13:04
Power Shell 1 script used to grab mailbox stats for a Exchange 2007 server. It saves the information into a .csv file by changing the $OUTFILE variable. check-in: f73175edc4 user: Hinkle tags: trunk
13:04
Script to run daily send/receive reports in .csv format on a Exchange 2007 server using Power Shell 1. check-in: d2d1c62fa7 user: Hinkle tags: trunk
13:04
COMMENT: check-in: a19fff10ed user: Stephen Wheet tags: trunk
13:04
COMMENT: check-in: dddc967069 user: Stephen Wheet tags: trunk
13:04
Get-FileEncoding function determines encoding by looking at Byte Order Mark (BOM). check-in: ffb9b4efc9 user: Chad Miller tags: trunk
13:04
Remotely force WSUS Check on Servers within your network. Powershell remoting must be enabled. check-in: 805a8644c9 user: St3v3o tags: trunk
13:04
Update AD Security Group with users that have attribut X set. This script does all updates on the PDC emulator. check-in: 62a96998e8 user: St3v3o tags: trunk
13:04
Check to see if users passwords will expire in X days and send them an email notification. This script was written using the Active Directory cmdlets bundled with Server 2008 and Powershell 2.0 check-in: a0ce6aace5 user: unknown tags: trunk
13:04
Enables SNMP via Add-WindowsFeature (If not already enabled) check-in: 3593e26413 user: St3v3o tags: trunk
13:04
Invoke generic method definitions (including static methods) from PowerShell. check-in: 3cafa218f1 user: Joel Bennett tags: trunk
13:04
Get-FileEncoding function determines encoding by looking at Byte Order Mark (BOM). check-in: bc382390a3 user: Chad Miller tags: trunk
13:04
A simple function for connecting a UNC path to a specified Windows drive letter. Some other things I’d like to see added: check-in: 702162cc21 user: mtown_nerd tags: trunk
13:04
Displays private fields of passed object. This function is useful only if you want to want to see what is under the hood in powershell check-in: 9bf3e91c05 user: Andrew Savinykh tags: trunk
13:04
Splits a string (by default, on whitespace), and allows you to pick and chose which pieces are returned. Something like “cut” in bash… check-in: ef604b8ed8 user: Joel Bennett tags: trunk
13:04
Enable aero “glass” effects for the regular powershell 2.0 console (not ISE) – vista or above, powershell 2+ and aero-compatible gfx card. check-in: 4502475d88 user: Oisin Grehan tags: trunk
13:04
Takes a fixed format CSV and pumps out clones from a template. Easily modified to do clones of a VM or create new VMs. Some of the restrictions mentioned in the notes appear to be fixed with VMware ESX v4.1. check-in: 56de1423e0 user: monahancj tags: trunk
13:04
ConvertFrom-PropertyString 3.0 can convert ini files, property files, and other flat key-value data strings into PSObjects. check-in: c4c2f2f34b user: Joel Bennett tags: trunk
13:04
Notifies other processes that the global environment block has changed. This lets other processes pick changes to ENV: without having to reboot or logoff/logon. A non-zero result from SendMessageTimeout indicates success. check-in: cce4780579 user: Oisin Grehan tags: trunk
13:04
A function to migrate a single user in the Active Directory Migration Tool, based on the sample script Invoke-ADMTUserMigration.ps1: http://poshcode.org/2046 check-in: e20f247bab user: Jan Egil Ring tags: trunk
13:04
A function to migrate a single user in the Active Directory Migration Tool, based on the sample script Invoke-ADMTUserMigration.ps1: http://poshcode.org/2046 check-in: 60723522bd user: unknown tags: trunk
13:04
This is an example on how to script the Active Directory Migration Tool (ADMT) using PowerShell. check-in: b53178488b user: Jan Egil Ring tags: trunk
13:04
Enable .Net 4 and \\UNC path modules for PowerShell, PowerShell_ISE and even wsmprovhost.exe by using this app.config. check-in: a993c35e9d user: Joel Bennett tags: trunk
13:04
Enable .Net 4 and \\UNC path modules for PowerShell, PowerShell_ISE and even wsmprovhost.exe by using this app.config. check-in: 21de747283 user: Joel Bennett tags: trunk
13:04
A wrapper for DataSvcUtil to generate web service proxies in-memory for OData services like NetFlix (which are not handled correctly by PowerShell’s built-in New-WebServiceProxy). check-in: 402a535ad7 user: Joel Bennett tags: trunk
13:04
A function that allows me to query DNS on my internal servers for Domain Controllers check-in: 8d4801c26d user: unknown tags: trunk
13:04
A wrapper for DataSvcUtil to generate web service proxies in-memory for OData services like NetFlix (which are not handled correctly by PowerShell’s built-in New-WebServiceProxy). check-in: 9dbf477e26 user: Joel Bennett tags: trunk
13:04
This scConvertTo-Hex S-1-5-21-357043131-537017027-1947940980-1289ript will convert a security identifier (SID) in string format to its hexadecimal equivalent. e.g. check-in: d9522ce826 user: S-1-5-21-2398571 tags: trunk
13:04
A few miscellaneous enhancements to HttpRest for pipelining urls, and the beginning of documentation … check-in: 8bbf433859 user: Joel Bennett tags: trunk
13:04
Checks whether MSDTC is enabled for network access. By default MSDTC network access is disabled. This feature is needed by SQL Server Linked Servers check-in: 1a8263fceb user: Chad Miller tags: trunk
13:04
Gathers data from Exchange mailbox servers. check-in: ccb20a215b user: Karl Mitschke tags: trunk
13:04
Get-EmptyGroup: Function to find empty groups in Win2000/2003/2003R2/2008 domains. check-in: a0be759133 user: unknown tags: trunk
13:04
This script has a function that allows you to take a screenshot of the entire desktop or of an active window. Also includes option to save the screenshot to a file. check-in: 3d53b085b5 user: Boe Prox tags: trunk
13:04
Generating error report bundle for VMware PowerCLI / vSphere check-in: b29f5c4fec user: unknown tags: trunk
13:04
Generating error report bundle for VMware PowerCLI / vSphere check-in: 6aea18b059 user: unknown tags: trunk
13:04
This function will determine whether the local operating system architecture is 64-bit. This has been converted to PowerShell from the original C# code produced by Stefan Schultze check-in: de7cce50cb user: George Howarth tags: trunk
13:04
Error handling with PowerCLI 4.1 check-in: 78322f13a3 user: Yasen Kalchev tags: trunk
13:04
Deploying a VM with Static IP in 3 steps check-in: 4e2dc318ec user: Nedko Nedev tags: trunk
13:04
Deploying VM with static ip in 3 steps check-in: 8b8c25dd0d user: Nedko Nedev tags: trunk
13:04
Deploying a VM with Static IP in 3 Lines check-in: f6644c54ed user: Nedko Nedev tags: trunk
13:04
4 lines of PowerShell to wrap that C# class and show you how to use it… (with Add-Type -Path) check-in: a536bf2c3a user: Joel Bennett tags: trunk
13:04
A C# class (use with Add-Type -Path) that encapsulates the desktop APIs… check-in: 78095fa0c1 user: Joel Bennett tags: trunk
13:04
Enumerate the Parameters of a command by ParameterSet, including DynamicParameters check-in: 1c0f701bbb user: Joel Bennett tags: trunk
13:03
This script was written to test comment based help. In current version supports only v2 comments. Only minimal tests, so there may be some bugs… check-in: 72f621265b user: BartekB tags: trunk
13:03
Deploying VM with static IP in 3 lines check-in: 519d09f6d4 user: unknown tags: trunk
13:03
Deploying VM with static IP in 3 lines check-in: 7f70145421 user: unknown tags: trunk
13:03
There are problems with displaying modal dialogs from PowerShell in XP SP3. When the ShowDialog() method is called, the dialog is not modal and is behind the PowerShell window. To solve this problem, you need to add a class that implements System.Windows.Forms.IWin32Window and instantiate that class with the handle to the main window of the running process, and then pass that handle as a parameter to the ShowDialog() method to make the dialog act modally. check-in: a23bab7826 user: George Howarth tags: trunk
13:03
Set’s the screen resolution on the primary monitor using Win32 API check-in: b6a3565b1a user: unknown tags: trunk
13:03
A simple image resizer … check-in: 89e0b9ee25 user: Joel Bennett tags: trunk
13:03
Function to send text messages (SMS) from Windows PowerShell using the Microsoft Outlook SMS Add-in. check-in: 9af2add2d7 user: Jan Egil Ring tags: trunk
13:03
This is a .ps1xml file for use with Update-TypeData … it adds methods onto the COM object for GetProperty (including support for parametrized properties), SetProperty, and InvokeMethod. check-in: e4a187e741 user: unknown tags: trunk
13:03
A function to rename a computer check-in: 35cb78fbd2 user: Andy Schneider tags: trunk
13:03
Search for PowerCLI 4.1 incompatible type references check-in: 5119643e21 user: unknown tags: trunk
13:03
Create Outlook signature based on user information from Active Directory. Settings for versioning, template-files, enforcing for New and ReplyForward are stored in the registry. check-in: 71c051147f user: Jan Egil Ring tags: trunk
13:03
Create Outlook signature based on user information from Active Directory. Settings for versioning, template-files, enforcing for New and ReplyForward are stored in the registry. check-in: 42b4f36c5c user: Jan Egil Ring tags: trunk
13:03
Function, which creates vDS in vSphere PowerCLI check-in: 588c946b33 user: Pavel Dimitrov tags: trunk
13:03
Create VMKernel on vDS with New-VMHostNetworkAdapter vSphere PowerCLI 4.1 check-in: e088e67781 user: unknown tags: trunk
13:03
Thin provisioning with PowerCIL 4.0 version check-in: 53e5003af7 user: unknown tags: trunk
13:03
Converts a hashtable to a string representation of the hashtable definition. Useful in persisting hashtables to .NET Isolated Storage check-in: 4f7d645d03 user: Chad Miller tags: trunk
13:03
Function to prompt user for file path input. Can create a open file type dialog or a save file type dialog by either specifying either “Open” or “Save” for the -Type parameter. Either a file path string is returned or null if the user canceled the dialog. check-in: b978706f43 user: anti121 tags: trunk
13:03
Gets the daily Woot! deal (www.woot.com) and emails it. check-in: 5d22c18cf1 user: dragonmc77 tags: trunk
13:03
For more information: check-in: 691568b4ae user: Shay Levy tags: trunk
13:03
Fixed minor issue (original: http://poshcode.org/1817) where a cmdlet doesn’t have built-in parameters (e.g Exit-PSSession) check-in: 4d85ee02a4 user: unknown tags: trunk
13:03
This is a script that should be dot sourced to use each function. You can choose to build a configuration file that the Get-PerfCounter will use to decide what type of counters to look for. Use Build-PerfConfig with the -assist switch to launch a command line helper to choose the type of counter. A GUI selection using windows forms is currently being built. check-in: 3b746ef0bf user: Boe Prox tags: trunk
13:03
Use SSRS ReportViewer with PowerShell, use parameters and catch navigate event check-in: 77f39b3d92 user: unknown tags: trunk
13:03
Enable or disable assembly bind logging (per-machine) check-in: 7c73ef1215 user: unknown tags: trunk
13:03
A function to join a domain check-in: 745d693756 user: Andy Schneider tags: trunk
13:03
This file was uploaded by a PowerGUI Script Editor Add-on. check-in: 0a50189813 user: Kent Finkle tags: trunk
13:03
This file was uploaded by a PowerGUI Script Editor Add-on. check-in: cc78f3ddf9 user: Kent Finkle tags: trunk
13:03
Version 1.1 check-in: afb2769a72 user: George Howarth tags: trunk
13:03
Enable .Net 4 and \\UNC path modules for PowerShell ISE by using this app.config. Save as C:\Windows\System32\WindowsPowerShell\v1.0\powershell_ise.exe.config check-in: a5a390aa45 user: Joel Bennett tags: trunk
13:03
A function to join a domain check-in: d2b107f413 user: Andy Schneider tags: trunk
13:03
The improved code-signing module with automatic cert picking and finding. check-in: 934cdf7a78 user: Joel Bennett tags: trunk
13:03
Changes: Added a -Module parameter to Set-AuthenticodeCertificate to make signing whole modules easier. check-in: f3f75e6840 user: Joel Bennett tags: trunk
13:03
Version 1.0 check-in: 6e1e8e5aee user: George Howarth tags: trunk
13:03
ConvertFrom-PropertyString can convert ini files, property files, and other flat key-value data strings into PSObjects. v2 changes the output so that if there are multiple instances of the same key, we collect the values in an array check-in: f9c7d62c95 user: Joel Bennett tags: trunk
13:03
**********EDIT: See Carter’s Example, it’s way simpler: http://poshcode.org/1559********** check-in: d1a0f7fa31 user: jgrote tags: trunk
13:03
This function will, when used at the end of pipe, produce colourful output for any format-table’d data. It has some bugs in it (problem with columns which name is right-aligned, kills pipe), but maybe someone will pick up from here and fix those. ;) check-in: 1a7793ab12 user: unknown tags: trunk
13:03
A really bad roll-dice script to do ‘bad things’ to vmware snapshots taken on the pipeline. check-in: b7a84f19df user: Cody Bunch tags: trunk
13:03
A really bad roll-dice script to do ‘bad things’ to vmware snapshots taken on the pipeline. check-in: 54d0c2f238 user: Cody Bunch tags: trunk
13:03
Using the DataOnTap toolkit get the different protocol latencies for a specified volume. check-in: 7724f86462 user: glnsize tags: trunk
13:03
Hack your ESXi welcome screen. check-in: b6a6df54ca user: Halr9000 tags: trunk
13:03
Convert and import from delimited text files. check-in: 216326bcd0 user: Joel Bennett tags: trunk
13:03
A really bad roll-dice script to do ‘bad things’ to vmware snapshots taken on the pipeline. check-in: d45b1f1071 user: Cody Bunch tags: trunk
13:03
Hack your ESXi welcome screen. check-in: 53a9f2b44b user: unknown tags: trunk
13:03
A Function which can be added to a Script or $PROFILE which generates password from 1 to whatever characters long with controlled levels of Complexity specified by the User check-in: a252dc3fdf user: Sean Kearney tags: trunk
13:03
In an interesting design choice, Get-Process lets you work with processes on remote machines, but Stop-Process does not. This cmdlet uses WMI to stop a process on a remote machine. check-in: 559a1880bf user: unknown tags: trunk
13:03
A wrapper around Move-Item which moves a whole folder tree and creates backup copies if the files already exist in the destination. check-in: a1bd4ebf04 user: Joel Bennett tags: trunk
13:03
A simple “assert” for testing check-in: a7fc54802b user: Joel Bennett tags: trunk
13:03
The Start-ComputerJobs cmdlet runs a specified scriptblock within a maximum number of simultaneously spawned Powershell jobs. check-in: 08869afcc3 user: Tome Tanasovski tags: trunk
13:03
Use Reflection and IL to emit arbitrary delegatesfrom PowerShell script check-in: d23aa805cc user: Joel Bennett tags: trunk
13:03
Generic function to execute query and return DataTable from any OLEDB data source. Tested against Excel, Informix, Oracle and SQL Server sources. check-in: 1f5c37de8c user: Chad Miller tags: trunk
13:03
Function to import security certificates. check-in: 5a94dc8aa9 user: anti121 tags: trunk
13:03
Gets all Virtual Machines, and exports a CSV that shows their virtual disk capacities and type. Used in this case for sizing a VCB temp disk. check-in: 6b9bd5ea5a user: jgrote tags: trunk
13:02
Script to download and install updates from Windows Update/WSUS. Reporting and rebooting may be customized. check-in: 668cdbee8d user: Jan Egil Ring tags: trunk
13:02
Recursively copies all files and folders in $source folder to $destination folder, but with .copy inserted before the extension if the file already exists check-in: ecf27634e0 user: Joel Bennett tags: trunk
13:02
This cmdlet allows you to open a file in a new file tab within your current Powershell tab. You can pass a collection of files to open more than one file. check-in: 1c8d80f797 user: Tome Tanasovski tags: trunk
13:02
Invoke the specified command (with parameters) in cmd.exe, and import any environment variable changes back to PowerShell check-in: 62ef524aca user: Joel Bennett tags: trunk
13:02
Added -File parameter to ConvertFrom-JSON and corrected handling of arrays check-in: d9e5f708ad user: Joel Bennett tags: trunk
13:02
Added -File parameter to ConvertFrom-JSON check-in: da4c134738 user: Joel Bennett tags: trunk
13:02
Invoke the specified command (with parameters) in cmd.exe, and import any environment variable changes back to PowerShell check-in: 22cc06167b user: unknown tags: trunk
13:02
Gets all Virtual Machines, and exports a CSV that shows their virtual disk capacities and type. Used in this case for sizing a VCB temp disk. check-in: 307cdfb3b7 user: unknown tags: trunk
13:02
A function to join a domain check-in: 6dbea7c276 user: Andy Schneider tags: trunk
13:02
Remotely query select machines for system information the easy way. check-in: c82230de20 user: Alex Smith tags: trunk
13:02
ConvertFrom-PropertyString can convert ini files, property files, and other flat key-value data strings into PSObjects check-in: 48039d41bc user: unknown tags: trunk
13:02
All Group Policy Objects modified in the specified timespan are backup up to the specified backup path. check-in: 884db05e3c user: Jan Egil Ring tags: trunk
13:02
A function to rename a computer check-in: e326b102e3 user: Gerald Klassen tags: trunk
13:02
See my blog post about this http://www.networkworld.com/community/blog/rdc-remoteapp-how-does-user-change-their-pass for the original info. For those that do not want to click through: check-in: 09aa656f91 user: tysonkopczynski tags: trunk
13:02
A fix for JSON that returns no items. check-in: 8c2c6ec534 user: Joel Bennett tags: trunk
13:02
Identical to Version 1.1, but code-signed. check-in: f7dfac6b23 user: Joel Bennett tags: trunk
13:02
Gathers data from Exchange mailbox servers. check-in: 73752f43c9 user: Karl Mitschke tags: trunk
13:02
get utilization from all network interfaces check-in: 611698f150 user: Jason Ochoa tags: trunk
13:02
A code-generating and emitting magic function for creating type-safe struct classes for use in PowerShell! check-in: fe9bcd4e17 user: Joel Bennett tags: trunk
13:02
Snipped of my powerpoint movie creator. This is not general purpose code only a sample for entertainment. Scrubbed to take out some meaningful strings, I’ll try to post something better another time. check-in: c639b7a6c1 user: unknown tags: trunk
13:02
Remove the folder or folders from computer on your network. check-in: 0fd425f9e9 user: Angel-Keeper tags: trunk
13:02
A simple module to temporarily replace the stock PowerCLI networkadapter cmdlets until they work with vdSwitches. Based off LucD’s functions http://www.lucd.info/2010/03/04/dvswitch-scripting-part-8-get-and-set-network-adapters/ check-in: 9f5e4d6ff3 user: glnsize tags: trunk
13:02
I came across an article on the “Microsoft Active Directory PowerShell Blog”, it has a great script for analysing nested group memberships. Unfortunatly to use the PowerShell script you need to be running Windows 2008 servers for the Active Directory cmdlets to be available. So not put off I converted the script to use the Quest cmdlets available with the “Quest Active Roles Management” PSSnapIn. You will need to have these installed for the script to function. check-in: 36352e2b00 user: Paul Brice tags: trunk
13:02
A complete rewrite of my wget script to use HttpWebRequest and Response to figure out the filename, added some unwrapping because a couple sites had quotes around the file names. check-in: 9c4b6c3efc user: Joel Bennett tags: trunk
13:02
My rewritten XML DSL now has better element name handling than last time, and handles null attribute values a little more gracefully. NOTE: if you think that the statement you’re using to pass an attribute value could be null, you should really be very explicit and pass it using the colon syntax like this: -attribute:$value. Also, I fixed a bug when you only have one element. check-in: 18055579b7 user: Joel Bennett tags: trunk
13:02
A C# source file created by running make-shell to create a SQL Server minishell check-in: 536696cddd user: unknown tags: trunk
13:02
Uses QAD cmdlets to retrieve distribution list restriction attributes and then provides a list of users which can send email messages to the group. check-in: d3edf06bea user: Dmitry Sotnikov tags: trunk
13:02
Uses QAD cmdlets to retrieve distribution list restriction attributes and then provides a list of users which can send email messages to the group. check-in: b41f992013 user: Dmitry Sotnikov tags: trunk
13:02
Changes: Major improvements to Get-UserCertificate and Get-AuthenticodeCertificate check-in: 740d613818 user: Joel Bennett tags: trunk
13:02
Identifying knowledge base article by its id number taken from string or filename. check-in: 80265a46e8 user: Kris Cieslak tags: trunk
13:02
A script to use some web services for guessing languages and translating to English… check-in: 045637e65b user: Joel Bennnett tags: trunk
13:02
search users in the local administrators group on computers domain network check-in: c16f385114 user: Angel-Keeper tags: trunk
13:02
A function to install single-file modules (create the folder, make sure the file is named the same as the folder, etc). check-in: f5e827e311 user: Joel Bennett tags: trunk
13:02
Updated from other people’s attempts. Useful for calling programs (notepad.exe, etc) or for running powershell scripts in an elevated prompt (use the -ps flag) check-in: 394c12dc21 user: pezhore tags: trunk
13:02
Updated from other people’s attempts. Useful for calling programs (notepad.exe, etc) or for running powershell scripts in an elevated prompt (use the -ps flag) check-in: 62656f5dd9 user: pezhore tags: trunk
13:02
Just a little wrapper for PromptForChoice check-in: df205d9266 user: Joel Bennett tags: trunk
13:02
Test the Prompt features check-in: 15ed6e9897 user: Damien Ryan tags: trunk
13:02
Figure out the real url’s behind the shortened forms created by snipurl, tinyurl, twurl, is.gd, ... check-in: 92ddb09d7a user: Joel Bennett tags: trunk
13:02
This module makes it easier to create and remove type accelerators in PowerShell 2.0 check-in: 5d003827bf user: Joel Bennett tags: trunk
13:02
Script to create a NLB-cluster for the CAS/HUB-roles in Exchange Server 2010. check-in: c44c29eed2 user: Jan Egil Ring tags: trunk
13:02
A Module to solve fileshare permission issues once and for all. Allows you to impersonate other network credentials for windows network authentication. check-in: 4ab4830aec user: Joel Bennett tags: trunk
13:02
Like Set-Blur, except it runs on Windows XP … you know … without the blur check-in: 66f8e18f55 user: unknown tags: trunk
13:02
A function to mess with opacity, as demonstrated: !http://HuddledMasses.org/images/PowerShell/SetBlur.png! check-in: 927af30bf0 user: Joel Bennett tags: trunk
13:02
A function to join a domain check-in: 73c3ef148d user: Andy Schneider tags: trunk
13:02
Enumerates the constructors of a type with the parameters that they take, so you can figure out what your options are when calling New-Object. Now outputs fully paste-able syntax ;) check-in: 9493565b94 user: Joel Bennett tags: trunk
13:02
Autoload function like the Korn shell — can inject functions to modules. check-in: 1134c99f88 user: Joel Bennett tags: trunk
13:02
Not quite finished effort at a script intended to spit out the parameters of a cmdlet. I’m sure there’s a better but this is…adequate for now. check-in: c365f25d27 user: unknown tags: trunk
13:02
Pertains to the following check-in: 06cf87068c user: TylerT tags: trunk
13:02
The simplest logger. In your script just import-module Logger and debug, verbose, warnings and errors are logged to file. check-in: b755275fec user: Joel Bennett tags: trunk
13:02
Version 1.1 of my JSON module. I has a full set of tools for exporting, importing, and converting Json objects (including arbitrary objects). See comments in script header for usage examples, but basically, you can do things like: check-in: c3cd49f13d user: Joel Bennett tags: trunk
13:02
A Module to solve fileshare permission issues once and for all check-in: 8e09f69b47 user: Joel Bennett tags: trunk
13:02
Create a desktop.ini in your PowerShell folder setting the icon and messing with the display name. check-in: 4102f942ce user: unknown tags: trunk
13:01
Automated paste from PowerShell console check-in: cd66e1c4b7 user: Jaykul tags: trunk
13:01
Script to spread mailboxes alphabetically across mailboxdatabases based on the first character in the user`s displayname. check-in: 3ddc24bc7f user: Jan Egil Ring tags: trunk
13:01
Script to use when migrating mailboxes to Microsoft Exchange Server 2010 Cross-Forest. Prepares user objects already moved to the target forest using Active Directory Migration Tool or other tools, and then invokes the mailbox move request. check-in: 38d8f18f0e user: Jan Egil Ring tags: trunk
13:01
Set applications/windows on top of other windows check-in: 6d3cbea137 user: Shay Levy tags: trunk
13:01
#Publish FF Entry using PowerShell script check-in: 6eefc8dd8d user: Stefan Stranger tags: trunk
13:01
My command Prompt check-in: e974814f4c user: Joel Bennett tags: trunk
13:01
This short script converts Time settings and displays a “productivity” Report with a goal of 81%. check-in: 33d6d04e7f user: mazakane tags: trunk
13:01
a small script to find changed files between 2 to foldertrees. Added call to diffmerge (from VS 2008) check-in: df5bbf8f73 user: Bernd Kriszio tags: trunk
13:01
The simplest logger. In your script just import-module Logger and debug, verbose, warnings and errors are logged to file. check-in: 3e21ff0f85 user: Joel Bennett tags: trunk
13:01
Stores script configuration on computer. This one is generic and would work with any PowerShell script/tool. A more PowerGUI specific one can be found at: http://dmitrysotnikov.wordpress.com/2010/05/07/storing-powergui-add-on-configuration check-in: 959b25d9aa user: unknown tags: trunk
13:01
This code determines the IP address of a virtual ESXi VM in what might just be the dumbest way possible, namely by taking a screenshot of it, OCRing the results and extracting the IP. For educational purposes only. Unfortunately it’s pretty slow due to some cmdlet slowness. Requires PowerCLI 4.0 U1, PowerShell v2, and Microsoft Office Document Imaging (MODI) to be installed and configured. check-in: b1f0287aef user: Carter Shanklin tags: trunk
13:01
Written to provide an easy method to perform easy batch check-in: 927f3f3d73 user: Jason Ferris tags: trunk
13:01
Written to provide an easy method to perform easy batch check-in: 83b4f0e88c user: unknown tags: trunk
13:01
All descriptions on the web which show how to do this so far have left the email attachment open which means if the script is continuing after the email and you wish to use the file you have attached you will not be able to as it will show as locked, use this example to close the attached file correctly using .Dispose() check-in: 1cce010c3f user: Richard van Erk tags: trunk
13:01
Create PSObjects from hashtables. Supports converting nested hashtables, and joining multiple pipelined hashtables into one object using Join-Object check-in: f63615010a user: Joel Bennett tags: trunk
13:01
Performs a join of all properties from two objects. Supports scriptblock evaluation, pipeline joining, etc. check-in: 3d988636fd user: Joel Bennett tags: trunk
13:01
For more information: check-in: 7c3be5babf user: unknown tags: trunk
13:01
Today I had spent a lot of time troubleshooting one module. After few checks I realized that it was simple typo that prevented PS from seeing my module in correct way. So here is function for you to avoid same problems… ;) check-in: d624785806 user: Bartek Bielawski tags: trunk
13:01
This script runs a variety of checks on server hardware to get status or basic information. It can check memory, perc events, firmware versions, gets service tags, shows summary hardware status, retrieves ESM log, and can auto load the omsa webpage. This is a basic overview of some dell WMI related namespace operations which can be easily extended as needed. To run the script, provide the name of the function you want to call and the remote machine name to check. Note: WMI namespace for Dell is installed with dell openmanage software, v4 and higher. check-in: 0b9af82535 user: Nathan Linley tags: trunk
13:01
This script will check if the specified Microsoft Office Excel Addins are loaded, and if not load them. check-in: 0727dc421b user: David Valdes tags: trunk
13:01
The Get-ADGroupModificationsReport script, which were posted on http://poshcode.org/1402, are now enhanced in due to performance by storing each domain controllers security eventlog in a variable check-in: ee1f13a437 user: Jan Egil Ring tags: trunk
13:01
Restarts applications using a ManagementEventWatcher to watch for an InstanceDeletionEvent … use at your own risk ;) check-in: bdbcdbb61b user: Joel Bennett tags: trunk
13:01
A function to set an IP Address check-in: 20d3aa81bd user: Shane Powser tags: trunk
13:01
Get-Weather parses and displays the current weather and forecast from the Yahoo! RSS. Simply enter your zipcode (or IXX code from Yahoo weather) and -c(elcius) if you don’t want Fahrenheit temperatures. check-in: b8c5eeaa32 user: Joel Bennett tags: trunk
13:01
My sudo script runs commands or apps elevated without prompting. But it’s awfully hacky :( check-in: 878c14468e user: Joel Bennett tags: trunk
13:01
Script to use when migrating mailboxes to Microsoft Exchange Server 2010 Cross-Forest. Prepares user objects already moved to the target forest using Active Directory Migration Tool or other tools, and then invokes the mailbox move request. check-in: bccba7c898 user: unknown tags: trunk
13:01
Presents the user with a .NET GUI box to collect subnet (10.30.49), starting node (1) and ending node (254). Uses this info to collect information from every PC on that subnet within that node range and then outputs data to a spreadsheet. Example shown outputs to OpenOffice Calc but I have a seperate one for Excel output. This is one of my first attempts at really useful scripts. Im sure there are some things that could have (should have) been done differently or better. check-in: cbbcd3d901 user: Brad Blaylock tags: trunk
13:01
Presents the user with a .NET GUI box to collect subnet (10.30.49), starting node (1) and ending node (254). Uses this info to collect information from every PC on that subnet within that node range and then outputs data to a spreadsheet. Example shown outputs to OpenOffice Calc but I have a seperate one for Excel output. This is one of my first attempts at really useful scripts. Im sure there are some things that could have (should have) been done differently or better. check-in: 222bd8b7a7 user: Brad Blaylock tags: trunk
13:01
Enabling/Disabling network adapter. Works on Windows XP and higher. check-in: 9908d48c23 user: Kris Cieslak tags: trunk
13:01
Send an email via the GMail SMTP server (or any server, really, but there’s some extra code in here and defaults that will make it work with Gmail so you won’t have to do research). NOTE: there’s a Send-SmtpMail in PSCX, but as far as I can tell, there’s no way to convince it to use SSL so I can’t get it to work with Gmail at all. check-in: a33202810c user: unknown tags: trunk
13:01
Log SharePoint content deletions in all sites fora specified web application. Motivation was to determine content deletion dates to easily find the right backup for a selective restore. check-in: 25aad2facc user: cglessner tags: trunk
13:01
Restarts applications using a ManagementEventWatcher to watch for an InstanceDeletionEvent … use at your own risk ;) check-in: f4fa5ccb6e user: unknown tags: trunk
13:01
A function to set an IP Address check-in: 8b15a5f024 user: Andy Schneider tags: trunk
13:01
Creates self-signed signing certificate and installs it to certificate store. check-in: 047161d4b8 user: Vadims Podans tags: trunk
13:01
Creates self-signed signing certificate and installs it to certificate store. check-in: 68f6df740d user: unknown tags: trunk
13:01
Modeled after SQL Server 2008 Invoke-Sqlcmd, but fixes bug in QueryTimeout. Fixed minor issue closing connection. check-in: c07af1680f user: Chad Miller tags: trunk
13:01
Modeled after SQL Server 2008 Invoke-Sqlcmd, but fixes bug in QueryTimeout check-in: a44e91197b user: Chad Miller tags: trunk
13:01
A simpler version of http://powershellcentral.com/scripts/178 which just bridges atom to a jabber chat check-in: 95cc05ce74 user: unknown tags: trunk
13:01
Implements SQL Server 2008 Invoke-Sqlcmd and addresses bug where querytimeout does not work correctly https://connect.microsoft.com/SQLServer/feedback/details/551799/invoke-sqlcmd-querytimeout-0-still-times-out check-in: 2b343f47c6 user: unknown tags: trunk
13:01
A cool prompt function. Insert code into your profile script (“C:\Users\%username%\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1”). Must use Consolas font in powershell (set font, then restart powershell) for special characters to appear correctly. Displays path + uptime in title, example prompt as: jgentile@quadbox&#9679;~\powershell&#9658; check-in: f389be45a9 user: unknown tags: trunk
13:01
Find duplicates in <directories/files> comparing size then MD5 of files. Usage: finddupe.ps1 <directory/file #1> <directory/file #2> ... <directory/file #N> [-delete] [-noprompt] [-recurse] ; -delete will prompt to delete duplicates. -delete and -noprompt together will delete duplicates without prompting. -recurse looks in all subdirectories of all listed directories. The first file in a duplicate pair will not be deleted ever. check-in: 81a639842d user: James Gentile tags: trunk
13:01
quick code example for a discussion on posting code. code lifted from http://sev17.com/2010/04/t-sql-tuesday-005-ssis-reporting/ check-in: e09a25dd76 user: unknown tags: trunk
13:01
Creates a bridge between (any) MUC chatroom and a Jabber user — by default it joins the #PowerShell channel at IRC.FreeNode.net and echos everything said there to you, and everything you say to it … to the chat room. Really quite useless, except as a demonstration. check-in: cd398b2467 user: Joel Bennnett tags: trunk
13:01
Skip -every 3rd, or -upto 3 at a time, or the -first 3, or the -last 3 or any combination of the above … check-in: eb5ebf5241 user: Joel Bennett tags: trunk
13:01
My first attempt at the Autoload functionality of the Korn shell check-in: b2d30011c2 user: unknown tags: trunk
13:01
push-module will import a powershell v2.0 module and ensure that when the module is removed using remove-module, the functions the module clobbered are restored. UPDATE: previous version restored (promoted to global scope) clobbered functions that were visible from push-module function scope; this is wrong – it should only restore global functions. check-in: 62f384e984 user: Oisin Grehan tags: trunk
13:01
Get-Help proxy function with URLs for PowerShell Core Help Topics when using the ‘Online’ parameter. check-in: c9521f278b user: unknown tags: trunk
13:01
A script to handle “Pause“ing output command without polluting your buffer check-in: f38af03eb9 user: unknown tags: trunk
13:01
A PowerShell script that demonstrates working with SSIS using the SQL Server PowerShell Extensions module SSIS. check-in: ca0de180da user: Chad Miller tags: trunk
13:01
Quick script signer using the last avalable codesigning cert in MY cert store check-in: 7e2540101d user: unknown tags: trunk
13:00
This is an overhaul of Jeffrey Snover’s original Start-Demo script … I’ve switched it to use ReadKey, which saves you some typing and makes the whole thing seem more natural when you’re demoing, (at least to me). I’ve also added a bunch of command-line options and a couple of features in the process (see the Revision History in the script). check-in: f255abed70 user: Joel Bennett tags: trunk
13:00
The simplest logger. In your script just import-module Logger and debug, verbose, warnings and errors are logged to file. check-in: 54b47ce82c user: Joel Bennett tags: trunk
13:00
Converts a file path to a relative path based on a specified folder check-in: a7e65d2908 user: Joel Bennett tags: trunk
13:00
A better xsl stylesheet for log4net. Auto-refreshes, maintains scroll position. check-in: ada8a8e87c user: Joel Bennett tags: trunk
13:00
This is like a (very simple) “more” script for PowerShell … the problem with it is that you’re paging by a count of objects, not by how many lines of text they’ll output … so the paging doesn’t really work except for format-table output … unless you specify it manually. However, this script provides you with “an option” if you want to have paging and still be able to use a script to color the output based on context or syntax. check-in: 2b5a1b18d0 user: Joel Bennett tags: trunk
13:00
Skip -every 3rd, or -upto 3 at a time, or the -first 3, or the -last 3 or any combination of the above … check-in: 84b4f6e2c6 user: unknown tags: trunk
13:00
The simplest logger. In your script just import-module Logger and debug, verbose, warnings and errors are logged to file. check-in: f132d2c4ad user: Joel Bennett tags: trunk
13:00
The simplest logger. In your script just import-module Logger and debug, verbose, warnings and errors are logged to file. check-in: f58f094115 user: Joel Bennett tags: trunk
13:00
A stylesheet for viewing log4net xml files (which is a bit of a trick, anyway) check-in: ffb18c808c user: unknown tags: trunk
13:00
The simplest logger. In your script just import-module Logger and debug, verbose, warnings and errors are logged to file. check-in: 7bbb1f8225 user: Joel Bennett tags: trunk
13:00
A trivial Log4Net implementation which (optionally) causes Write-Host, Write-Verbose, Write-Warning, Write-Debug, and Write-Error to log their output when called from (any) script. check-in: 09bfe023d6 user: Joel Bennett tags: trunk
13:00
An example config for Log4Net check-in: 59c37f9797 user: Joel Bennett tags: trunk
13:00
A wrapper for $Host.UI.PromptForChoice (fixed a copy-paste error) check-in: 475f120458 user: Joel Bennett tags: trunk
13:00
I just added a bunch of tricks, including Ghosting windows (and unghosting), as well as messing with aero peek check-in: 4415a85950 user: Joel Bennett tags: trunk
13:00
A wrapper for $Host.UI.PromptForChoice check-in: 64ce942d99 user: Joel Bennett tags: trunk
13:00
Attempt to resolve the path to an executable using Get-Command or the “App Paths” registry key — returns an ApplicationInfo object check-in: c346895f8e user: Joel Bennett tags: trunk
13:00
Use this cmdlet to retrieve the directory objects that are members of a certain group in Active Directory. check-in: 27bf09367f user: Angel-Keeper tags: trunk
13:00
Use this cmdlet to retrieve the directory objects that are members of a certain group in Active Directory. check-in: c4073f97cc user: Angel-Keeper tags: trunk
13:00
Getting a list of installed programs on computers in the network except the following vendors: check-in: 7462ad385c user: Angel-Keeper tags: trunk
13:00
Uses MacroScope/Antlr to parse SQL query for tables and table aliases check-in: 3a0f3ef4b1 user: unknown tags: trunk
13:00
Retrieve data from factual.com. Note: Requires you to establish an API key before you can use it. check-in: 08bad3c516 user: unknown tags: trunk
13:00
Simple script that uses netsh to show wireless networks. check-in: 976b985ae5 user: Kris Cieslak tags: trunk
13:00
My old bytes module with some extra functions from SANS all wrapped up into a single module. check-in: 9deaf4b1c6 user: Joel Bennett tags: trunk
13:00
My old bytes module with some extra functions from SANS all wrapped up into a single module. check-in: c888cde013 user: unknown tags: trunk
13:00
ISE-FileName module v 1.0 check-in: bec8fee27a user: unknown tags: trunk
13:00
ISE-Lines module v 1.2 check-in: 35c955fabf user: Bernd Kriszio tags: trunk
13:00
ISE-Comments module v 1.1 check-in: 8cfacd29dd user: poetter tags: trunk
13:00
Retrieve Online Cmdlet Help — Fix a type check check-in: 35ca6a85ba user: Joel Bennett tags: trunk
13:00
Fetch the HEAD for a url and return the ResponseUri. Good for service-independent short-url lengthening ;) check-in: 34ad8291d7 user: unknown tags: trunk
13:00
Audit Folders/Shares and Export to Excel check-in: 7f88c964e3 user: DigitalAsylum tags: trunk
13:00
A complete rewrite of my wget script to use HttpWebRequest and Response to figure out the filename, added some unwrapping because a couple sites had quotes around the file names. check-in: 3bd47f47b2 user: Joel Bennett tags: trunk
13:00
Like Select-Object -Expand, but with recursive iteration of a select chain check-in: d5edde9b56 user: unknown tags: trunk
13:00
Check if the AD object/path exists. Accepts DN, SID, GUID, UPN, samAccountName, Name or Domain\Name. Returns $true or $false. check-in: 2f2b8cd894 user: Dmitry Sotnikov tags: trunk
13:00
Add new smtp address from csv and set new address primary check-in: 6ad692019f user: unknown tags: trunk
13:00
Helpers for working with .Net classes: Get-Constructor, Get-Assembly, Add-Assembly, Get-Type check-in: 009c084075 user: Joel Bennett tags: trunk
13:00
Create a new script from a series of commands in your history… or copy them to the clipboard. check-in: 48c18aa5b8 user: Joel Bennett tags: trunk
13:00
A script to do replace strings in text files. Yes, this is just a wrapper around (gc) -replace | sc check-in: 3caa326506 user: Joel Bennett tags: trunk
13:00
Using netsh.exe to loop through each WLAN on the system and export the settings to the user-provided output-file. check-in: b918329257 user: Jan Egil Ring tags: trunk
13:00
Attempt to resolve the path to an executable using Get-Command or the “App Paths” registry key — returns an ApplicationInfo object check-in: 2c5e598810 user: Joel Bennett tags: trunk
13:00
Format-PoshTable puts the output in a WPF DataGrid (inline in PoshConsole, popup otherwise) check-in: b848ed446b user: Joel Bennett tags: trunk
13:00
Takes an array of RSS feed URLs and gets the site URL and title.. check-in: 549f7dff33 user: unknown tags: trunk
13:00
All descriptions on the web which show how to do this so far have left the email attachment open which means if the script is continuing after the email and you wish to use the file you have attached you will not be able to as it will show as locked, use this example to close the attached file correctly using .Dispose() check-in: 80069fbb04 user: THOMAS tags: trunk
13:00
Set-WinSchedule gives a GUI to select a schedule and schedules a task using schtasks. This is a beta. There are still a lot of features to implement. Please read through the synopsis->Description to see the list of features that I hope to get in a final release. check-in: c37ae2251e user: Tome Tanasovski tags: trunk
13:00
A function to get a file listing via FTP and parse it into objects. check-in: a9b6b797f3 user: Joel Bennett tags: trunk
13:00
A complete rewrite of my wget script to use HttpWebRequest and Response to figure out the filename check-in: 4fe73469aa user: Joel Bennett tags: trunk
13:00
An example showing how to get a file listing via ftp. NOTE: the listing comes back in (bad) html… check-in: 7aa44e25a4 user: Joel Bennett tags: trunk
13:00
A very simple stream-reader implementation (with no error handling) suitable for simple interactive script task … check-in: 01d1a33801 user: Joel Bennett tags: trunk
13:00
A proof of concept module implementing partial application (not currying) of functions and cmdlets in powershell. This is a functional language technique often used in languages like Haskell, ML etc. check-in: cb6955222c user: Oisin Grehan tags: trunk
13:00
PowerCLI to upgrade guests tools, hardware and record to CSV check-in: a83a572f46 user: unknown tags: trunk
13:00
This script is intended to use IIS logs to audit OWA/Activesync logs for syncing of mail from an iPhone or a palm device. This script is not perfect, nor the prettiest thing in the world but it works. It could be further added to parse for windows mobile devices. If it was really slick it would grab all the unique values in the DeviceType= portion and then automatically include all mobile types. You can email the results to yourself in $To varible. check-in: 2c1c95bafe user: psukus tags: trunk
13:00
Where I work, we don’t use AD for roughly 30-60 servers. There are multiple identical local windows accounts on various servers, and when a person leaves the company, those accounts need to be deleted by hand. This group of scripts performs the following tasks: check-in: d4475e0099 user: niklas tags: trunk
12:59
My rewritten XML DSL now has better element name handling. See Blog Comments check-in: f985fb27e5 user: Joel Bennett tags: trunk
12:59
Get observed IP address ranges and VLAN IDs from an ESX host’s physical adapter. Sample use at the bottom. check-in: 7c9a331d78 user: Carter Shanklin tags: trunk
12:59
Create a new script from a series of commands in your history… or copy them to the clipboard. check-in: d53df340bf user: Joel Bennett tags: trunk
12:59
Produces a report of the number of and names of VMs created broken down by month and year. check-in: 528208f2c9 user: unknown tags: trunk
12:59
Never content to leave well-enough alone, I’ve rewritten my XML DSL with 100% less cruft. New-XDocument no longer requires the “xe” command as long as the name of your XML Element doesn’t coincide with that of a PowerShell command (if it does, you need the “xe” on the front), and namespaces can be referred to by short name like dc:creator to keep things simple. Please review the examples on New-XDocument as this is a breaking change. check-in: 104df129fb user: Joel Bennett tags: trunk
12:59
Manage ASP.NET MemberShip, Role and Profile Provider with PowerShell. Especially useful with SqlMembershipProvider. I use it to manage SharePoint users with form based authentication (FBA). check-in: 17b23bd9e5 user: cglessner tags: trunk
12:59
Export-CliXml and Import-CliXml only work with files. This is an implementation for sending CliXML directly to the pipeline. Probably needs v2 powershell (not tested in v1). check-in: e22722223b user: unknown tags: trunk
12:59
Manage ASP.NET MemberShip, Role and Profile Provider with PowerShell. Especially useful with SqlMembershipProvider. I use it to manage SharePoint users with form based authentication (FBA). check-in: 275680b813 user: cglessner tags: trunk
12:59
Create a new script from a series of commands in your history… or copy them to the clipboard. check-in: 06f66b5be0 user: Joel Bennett tags: trunk
12:59
PowerShell-module with the ability to pin and unpin programs from the taskbar and the Start-menu in Windows 7 and Windows Server 2008 R2. check-in: 221f4a5ec9 user: Jan Egil Ring tags: trunk
12:59
This script expands on Dmitry Sotnikov’s blog post on creating demo Active Directory environments. http://dmitrysotnikov.wordpress.com/2007/12/14/setting-demo-ad-environments/ check-in: 4143434605 user: Ted Wagner tags: trunk
12:59
A simple CSV validator framework supporting external rulesets. Run: .\test-csv.ps1 my.csv .\myruleset.ps1 check-in: 78a92ba546 user: Oisin Grehan tags: trunk
12:59
A simple CSV validator framework supporting external rulesets. Run: .\test-csv.ps1 my.csv .\myruleset.ps1 check-in: 36dc5acd49 user: Oisin Grehan tags: trunk
12:59
“Taking Data from SQL [INTO] CSV [EHLO] SMTP-Email” check-in: fe8af64f44 user: Paul Brice tags: trunk
12:59
A function to rename a computer check-in: 0a1ca93207 user: Gerald Klassen tags: trunk
12:59
A function to rename a computer check-in: 351b648812 user: Gerald Klassen tags: trunk
12:59
Performs an inner join on two collections of objects which share a common key value. Now works on DataTable objects (ie: can join the rows from two tables). check-in: 6e2ea4fc6e user: Joel Bennett tags: trunk
12:59
Get observed IP address ranges and VLAN IDs from an ESX host’s physical adapter. Sample use at the bottom. check-in: b07410f89d user: Carter Shanklin tags: trunk
12:59
A simple function based on http://www.peterprovost.org/archive/2007/02/25/22315.aspx to launch a process elevated — basically, this is the UAC equivalent of sudo (and therefore, will almost always require you to at least click OK). check-in: 2a216948a1 user: Joel Bennett tags: trunk
12:59
Poshboard AD searcher showing stale computer accounts. Borrowed parts from PowerGUI powerpack check-in: d259de8015 user: Jbandy tags: trunk
12:59
Authenticode 2.1 for PowerShell 2.0: Added Start-AutoSign function :) see my blog post check-in: 7382aaeadb user: Joel Bennett tags: trunk
12:59
Two cmdlets for and from the Active-Directory uninitiated… check-in: 83a2a7b7a5 user: kevinslade tags: trunk
12:59
Two cmdlets for and from the Active-Directory uninitiated… check-in: 14ba3958d9 user: Aleksandar tags: trunk
12:59
Locks the workstation’s display. Locking a workstation protects it from unauthorized use. check-in: 385e366766 user: Mike Pfeiffer tags: trunk
12:59
The Get-Computer cmdlet retrieves basic information such as computer name, domain or workgroup name, and whether or not the computer is on a workgroup or a domain for the local computer without using WMI. It uses Netapi32.dll to get the domain/workgroup name and .Net for the computername. check-in: e07ab49b56 user: Tome toenuff T tags: trunk
12:59
Tests specified certificate for certificate chain and revocation check-in: 3d454f861a user: vpodans tags: trunk
12:59
Tests specified certificate for certificate chain and revocation check-in: f0a90fad4a user: vpodans tags: trunk
12:59
This script will query your AD for all users, groups and contacts. It will then process through each of the SMTP addresses for all objects and count the number of occurances of each address. The scope expanded as I kept thinking of other interesting questions regarding the SMTP addresses that were in my domain. Once the script has finished gathering interesting data regarding the SMTP addresses in your domain, it will dump that information out to a spreadsheet (requires Excel), then send the spreadsheet as an email to you. check-in: 7e018d58f8 user: Kevin tags: trunk
12:59
This script will query your AD for all users, groups and contacts. It will then process through each of the SMTP addresses for all objects and count the number of occurances of each address. The scope expanded as I kept thinking of other interesting questions regarding the SMTP addresses that were in my domain. Once the script has finished gathering interesting data regarding the SMTP addresses in your domain, it will dump that information out to a spreadsheet (requires Excel), then send the spreadsheet as an email to you. check-in: 698fd2d538 user: Kevin tags: trunk
12:59
Sends with nsca (Nagios Client) all Status Informations over VMs check-in: 4480353dad user: Patrick tags: trunk
12:59
Use this script to detect installed .NET versions on a remote server using WMI. Requires credentials and a computername. check-in: 18917cd456 user: halr9000 tags: trunk
12:59
Use this script to detect installed .NET versions on a remote server using WMI. Requires credentials and a computername. check-in: 284319b433 user: halr9000 tags: trunk
12:59
This function is intended to be uses as ISE add on. check-in: 65e76dd968 user: unknown tags: trunk
12:59
A little Send-FTP script to support uploading files. This version is simple: it can’t create folders nor allow you to specify whether to overwrite files … check-in: 8e2e052801 user: Joel Bennett tags: trunk
12:59
Get Local Security Groups and their Members from Remote Computers. check-in: 8ea9f12595 user: unknown tags: trunk
12:59
PowerShells wrapping behaviour may be adequate for the console host. Using ISE it’s far from the optimal. But you don’t need to use the output pane. Send your output to a new ISE Editor. To see the difference just try: check-in: 65bac29566 user: unknown tags: trunk
12:59
Heres a script to quickly look up the latest version of the bogon list maintained by Team Cymru from within PowerShell. check-in: e794848dfd user: Rich Kusak tags: trunk
12:59
Recursively remove files with given extension and maximum age from a given path. check-in: 0612d775bf user: unknown tags: trunk
12:59
If you are using ISE put this file anywhere into your PATH and functions depending on it can use it. check-in: 02bb3fea84 user: unknown tags: trunk
12:59
If you are using ISE put this file anywhere into your PATH and functions depending on it can use it. check-in: 77ce5299bf user: unknown tags: trunk
12:59
This is a bit similar to Python import module. If a function is present, nothing happens, otherwise Path is searched for a file with the functionname and the extension .ps1 and that file is dot sourced check-in: 418ce9f4cf user: unknown tags: trunk
12:59
hacked by SnL_ayaz_hacked by SnL_ayaz_hacked by SnL_ayaz_hacked by SnL_ayaz_hacked by SnL_ayaz_hacked by SnL_ayaz_hacked by SnL_ayaz_hacked by SnL_ayaz_hacked by SnL_ayaz_hacked by SnL_ayaz_hacked by SnL_ayaz_hacked by SnL_ayaz_hacked by SnL_ayaz_hacked by SnL_ayaz_hacked by SnL_ayaz_hacked by SnL_ayaz_hacked by SnL_ayaz_hacked by SnL_ayaz_hacked by SnL_ayaz_hacked by SnL_ayaz_hacked by SnL_ayaz_hacked by SnL_ayaz_v check-in: 517f30466e user: hacked by SnL_ayaz_ tags: trunk
12:59
This is a script module with two functions: check-in: 8d0ec9fd94 user: unknown tags: trunk
12:59
Out-HTML – converts cmdlets help to HTML format check-in: 38a282e7b8 user: Vegard Hamar tags: trunk
12:59
The ultimate template-based password generator. Example usage: New-Password Cvcvc.## generates a memorable 8 character password with uppercase, lowercase, punctuation and a number. Of course, since these passwords are templated, they are arguably easier to crack (if someone knows your template), but of course, you can generate purely random passwords using New-Password ******** or you can vary the length of the password by allowing variable numbers of characters in your template: New-Password "Cv3c2v3c#4" check-in: b72e2cbff6 user: Joel Bennett tags: trunk
12:59
The ultimate template-based password generator. Example usage: New-Password Cvcvc.## generates a memorable 8 character password with uppercase, lowercase, punctuation and a number. Of course, since these passwords are templated, they are arguably easier to crack (if someone knows your template), but of course, you can generate purely random passwords using New-Password ******** or you can vary the length of the password by allowing variable numbers of characters in your template: New-Password "Cv3c2v3c#4" check-in: d6e4b2f604 user: Joel Bennett tags: trunk
12:59
The kitchen timer with a kitchen sink -full of features check-in: bc08d76b9d user: Joel Bennett tags: trunk
12:59
proof of concept of running csharp expressions in powershell v2. very basic, no error checking. check-in: f3838b7f46 user: oisin tags: trunk
12:59
Module aware local user configuration settings generator, loader, and exporter setup that invokes during module import. Unlike a module’s PrivateData this was created for storing user/project settings that wouldn’t change with module versions (like default param values the user would get tired of passing). And instead of doing xml creation and parsing manually it makes use of import/export CliXml. check-in: aab7853316 user: Thell Fowler tags: trunk
12:59
Allows to use dots to specify object subproperties in Select-Object. check-in: 40ee1c93a8 user: Dmitry Sotnikov tags: trunk
12:59
Generates lottery numbers based on user input. check-in: 2d970492f0 user: unknown tags: trunk
12:59
Module aware local user configuration settings generator, loader, and exporter setup that invokes during module import. Unlike a module’s PrivateData this was created for storing user/project settings that wouldn’t change with module versions (like default param values the user would get tired of passing). And instead of doing xml creation and parsing manually it makes use of import/export CliXml. check-in: 839a46de43 user: Thell Fowler tags: trunk
12:59
Since there is no Oracle command line tool to create the tnsnames.ora file, this script has been created to fill that void. check-in: 029f3b7664 user: anti121 tags: trunk
12:59
V2 advanced Function based off http://tinyurl.com/yabqtgy…. an example of how parameter binding/validation/parameter sets can really enhance even a simple script. check-in: 3e543597a6 user: glnsize tags: trunk
12:58
A bunch of functions for working with .ini files… check-in: 0840654194 user: Joel Bennett tags: trunk
12:58
Defines functions for wokring with Microsoft Chart Control for .NET 3.5 Framework.Pipe output to Out-Chart function and specify chart type. Chart will display in form or save to image file. Real-time charts are supported by passing in a script block. Updated to fix line chart. Line Chart XAxis needs tweaking. check-in: efc74e78df user: Chad Miller tags: trunk
12:58
A PowerShell client for NaturalInputs.com to parse natural language dates… check-in: 3b7a1790a3 user: unknown tags: trunk
12:58
Performs a simple join of all properties from two objects. Now supports scriptblock evaluation: check-in: 18cb311896 user: Joel Bennett tags: trunk
12:58
I came across an article on the “Microsoft Active Directory PowerShell Blog”, it has a great script for analysing nested group memberships. Unfortunatly to use the PowerShell script you need to be running Windows 2008 servers for the Active Directory cmdlets to be available. So not put off I converted the script to use the Quest cmdlets available with the “Quest Active Roles Management” PSSnapIn. You will need to have these installed for the script to function. check-in: 37e9faaa2b user: unknown tags: trunk
12:58
This script enables you too search AD for SMTP addresses that are possibly in use, using the QUEST PowerShell PSSnapIn and searching the “proxyAddress” attribute of objects. The output details either that the SMTP address is not found in AD or you get details of the object that owns the SMTP address. check-in: 32e7ad9190 user: Paul Brice tags: trunk
12:58
This script enables you too search AD for SMTP addresses that are possibly in use, using the QUEST PowerShell PSSnapIn and searching the “proxyAddress” attribute of objects. The output details either that the SMTP address is not found in AD or you get details of the object that owns the SMTP address. check-in: 0e87c8a795 user: Paul Brice tags: trunk
12:58
Enumerate the Parameters of a command by ParameterSet, including DynamicParameters. Includes a -Full output mode and support for specifying the module. The only Get-Parameter you need :) check-in: 73d665582d user: Joel Bennett tags: trunk
12:58
Generic function to execute query and return DataTable from any OLEDB data source. Tested against Excel, Informix, Oracle and SQL Server sources. check-in: fd79266b21 user: Chad Miller tags: trunk
12:58
Add this function to your profile to make Export-CSV cmdlet handle -Append parameter check-in: a72bcbf1ff user: Dmitry Sotnikov tags: trunk
12:58
Contains a function for adding a shared printer connection, and a function for retrieving shared printer connections from a specified Group Policy Object. check-in: 04bee8afac user: unknown tags: trunk
12:58
Get-Apod parses the Astronomy Picture of the Day website and downloads the current day’s image. It then sets the image as the desktop wallpaper for the system. check-in: 3d7fdc77a6 user: Mark E tags: trunk
12:58
Enumerate the Parameters of a command by ParameterSet. Includes a -Full output mode and support for specifying the module. check-in: 1a8a2273a9 user: unknown tags: trunk
12:58
Patch To TabExpansion.ps1 check-in: 63a31b1722 user: idvorkin tags: trunk
12:58
A script to set the CDP settings for vsphere. Note that LLDP is an option in vSphere, but it doesn’t work. Here’s hoping for the future! check-in: 3a3ee8ff34 user: unknown tags: trunk
12:58
Use this to stop scripts running in PowerShell.exe in mid-stride. check-in: af1afeb202 user: Joel Bennett tags: trunk
12:58
Authenticode 2.2 Improved automatic cert picking, and serializing the selected cert as the default cert so you don’t have to pick it each time. check-in: 83aa48b3aa user: Joel Bennett tags: trunk
12:58
A powershell module to perform Storage VMotions from Thick-to-Thin. Meant to be used in place of Move-VM. Currently only accepts one VM and strings for performance reasons, will accept objects in next revision as well as more documentation. check-in: 814f89f55f user: jgrote tags: trunk
12:58
Spin-Busy displays a “spinning” character with each step reflecting an individual pipeline object being passed through. check-in: 854756d7b0 user: Joe Otto tags: trunk
12:58
The code uses a file locking mechanism to ensure that the check-in: 0761cfb816 user: Michael R tags: trunk
12:58
I’ve modified the original function. I like this one better. Got rid of the trailing ‘ check-in: 834b96807c user: Gene Magerr tags: trunk
12:58
A module for tracking performance of commands as you work. Exports Get-PerformanceHistory that shows you the time and memory footprint of commands you’ve recently executed. You can query by id, or by count to show the most recent X commands. check-in: 21b245a130 user: unknown tags: trunk
12:58
This script uses VLC to convert an audio file to MP3 format. It makes the assumption that you have an Alias “vlc” that points to the VLC executable. check-in: dfa57c4b9c user: CrazyDave tags: trunk
12:58
And dropping mirror balls too. A silly little PowerBoots script! check-in: ea18d14bd7 user: unknown tags: trunk
12:58
This much more complicated version of Get-PerformanceHistory shows the approximate length of the command or script, as well as how long it took to run. Great for those “my script is shorter/faster/cooler” than yours bragging sessions on IRC ... or whatever. Lets you compare several commands by just running each of them and then calling Get-PerformanceHistory -Count 4 check-in: 9bd2f18249 user: Joel Bennett tags: trunk
12:58
Back up all your ESXi hosts to a local directory. check-in: 3b31460a4e user: Carter Shanklin tags: trunk
12:58
Back up all your ESXi hosts to a local directory. check-in: 7ca477692b user: Carter Shanklin tags: trunk
12:58
Back up all your ESXi hosts to a local directory. check-in: 3aef64d905 user: Carter Shanklin tags: trunk
12:58
Hack your ESXi welcome screen. check-in: 11940acf02 user: Carter Shanklin tags: trunk
12:58
Blow up your ESXi host. For entertainment purposes only. check-in: 20d651cbf9 user: unknown tags: trunk
12:58
just a script in progress file 2 check-in: 0ea6feb1fa user: Thell Fowler tags: trunk
12:58
Copy from source to destination and rename existing destination files to .old, if .old exists replace it. check-in: aeb6d407d0 user: unknown tags: trunk
12:58
This much more complicated version of Get-PerformanceHistory shows the approximate length of the command or script, as well as how long it took to run. Great for those “my script is shorter/faster/cooler” than yours bragging sessions on IRC ... or whatever. Lets you compare several commands by just running each of them and then calling Get-PerformanceHistory -Count 4 check-in: f30f6d0931 user: Joel Bennett tags: trunk
12:58
PowerCLI script to create linked clones on an ESX server (does require vCenter). This feature is not normally supported on ESX, so this is a pretty nifty thing to do if you like living dangerously. Info on linked clones: http://www.vmware.com/support/ws55/doc/ws_clone_overview.html#wp1028798. check-in: f14809afba user: halr9000 tags: trunk
12:58
Simple PowerCLI example to find old snapshots. Note that I would not actually use the techniques shown here, this script was intentionally written this way as a part of a training video in which I am building on techniques. check-in: 19241066de user: halr9000 tags: trunk
12:58
This is a PowerCLI sample script I wrote to demonstrate how you could entirely automate the creation of a relatively complex virtual farm environment. check-in: 457c704bff user: unknown tags: trunk
12:58
A wrapper for creating gadget windows with PowerBoots like these check-in: 560867d2ba user: unknown tags: trunk
12:58
Retrieve the windows product key of a specified machine using WMI — Updated for v2 and to take an array of computers (without rewriting anything) check-in: 260e444ca6 user: karl prosser tags: trunk
12:58
This function will create a custom PSObject using a hashtable as input. check-in: 14d814d71d user: russellds tags: trunk
12:58
Fixed a script to open files for editing in Notepad++ — you may need to edit the $npp variable in the BEGIN block to put the full path in, if you didn’t run the Notepad++ installer. check-in: 1fd6d1c380 user: Joel Bennett tags: trunk
12:58
A function to rename a computer check-in: bfa4efc6c1 user: Gerald Klassen tags: trunk
12:58
Performs the functional equivalent of a Hyper-V Quick Migration by suspending a VM, moving it to a new host, and resuming it. This does not require vMotion licensing. It works by providing required VM objects via the pipeline or the second argument, and specifying the Destination host in the first argument, so you can use whatever query you want to build a list of VM’s to send to the command. check-in: 60e2abf045 user: Justin Grote tags: trunk
12:58
###ESXi Configuration Backup Script check-in: df12ee4ebc user: jgrote tags: trunk
12:58
Convert and import from delimited text files. Includes two functions: Convert-Delimiter and Import-Delimited. check-in: c349628477 user: Joel Bennett tags: trunk
12:58
Connects with VMRC to an ESX Farm. Now with option to allow multiple connections to one vm check-in: fbe9c4b6dc user: Patrick tags: trunk
12:58
Execute methods on vimService ESXi w/o using VMware assemblies. check-in: e20cc35e97 user: waldo tags: trunk
12:58
Execute methods on vimService ESXi w/o using VMware assemblies. check-in: ae7f443bfd user: unknown tags: trunk
12:58
Interface with vimService on ESXi. check-in: 77d3a9493c user: waldo tags: trunk
12:58
Set-PSObjectDefaultProperties sets the default properties for a PSObject. This is for PowerShell V2 to work around a bug with V2. check-in: 4064869c88 user: unknown tags: trunk
12:58
Interface with vimService on ESXi. check-in: 9793b28be2 user: unknown tags: trunk
12:58
Script which creates a new Mail Enabled user with the Email address Policy disabled and a SINGLE custom email address attached to the account. Designed for new Powershell users. check-in: 81efb22da0 user: Sean Kearney tags: trunk
12:58
Given a user and a vSphere object, this code determins the specific privileges that user has on that object (a.k.a. the resultant privilege set). check-in: ad5c68e565 user: Carter Shanklin tags: trunk
12:58
Description: State Changes for specified OpsMgr Monitor check-in: d1fb72768c user: Stefan Stranger tags: trunk
12:58
Create a VIAccount object suitable for use with New-VIPermission, Get-VIPermission, etc. from PowerCLI. check-in: 6b5760f6c3 user: unknown tags: trunk
12:58
Whois Lookup information returning an OBJECT!!! save as Whois.ps1 and run at your leisure check-in: d5a74f6fa9 user: CrazyDave tags: trunk
12:57
Version 1.0 of my JSON module. I has a full set of tools for exporting, importing, and converting Json objects (including arbitrary objects). See comments in script header for usage examples, but basically, you can do things like: check-in: 4442b13859 user: Joel Bennett tags: trunk
12:57
Json.psm1 is a first draft of a JSON module. I has a full set of tools for exporting, importing, and converting Json objects. For instance, this actually works (it round trips a bunch of FileInfo objects through JSON, XML, JSON, and back to objects). check-in: bff9f881af user: Joel Bennett tags: trunk
12:57
Multiple string parameters check-in: dff0576eb7 user: unknown tags: trunk
12:57
Requires Powershell 2.0 & the grouppolicy module. check-in: ac47575b41 user: Clint tags: trunk
12:57
Are you sick and tired of switching the VMWare virtual network adapters from the public network profile to a private network profile each time you reboot or do something else that causes Vista/Win2008 to forget what you told it to do ten minutes ago? check-in: 37c9fcd97f user: Oisin Grehan tags: trunk
12:57
Improves over the built-in Select-XML by leveraging Remove-XmlNamespace to provide a -RemoveNamespace parameter — if it’s supplied, all of the namespace declarations and prefixes are removed from all XML nodes (by an XSL transform) before searching. Note that this means that the returned results will not have namespaces in them, even if the input XML did. check-in: 9e5cba0353 user: Joel Bennett tags: trunk
12:57
Improves over the built-in Select-XML by leveraging Remove-XmlNamespace to provide a -RemoveNamespace parameter — if it’s supplied, all of the namespace declarations and prefixes are removed from all XML nodes (by an XSL transform) before searching. Note that this means that the returned results will not have namespaces in them, even if the input XML did. check-in: 92a2b55fc2 user: Joel Bennett tags: trunk
12:57
This script can be run on a secondary Network Policy Server and will mirror the configuration from the specified Primary Server, simplifying the management of a redundant or distributed configuration. This script is designed to run as a Scheduled task. check-in: 48216cfe1d user: JGrote tags: trunk
12:57
Start-Transcript and Stop-Transcript will start and stop a file-based transcription log. However, there is no way to tell (afaik) if the current host is actually transcribing. Test-Transcribing will return $true if we are transcribing, $false if not. check-in: c666376488 user: Oisin Grehan tags: trunk
12:57
This is the PowerShell 2.0 -only continuation of my Growl module — redesigned as a proper “module” that can be used by (many) other scripts. check-in: 10f28130cc user: Joel Bennett tags: trunk
12:57
This code determines the IP address of a virtual ESXi VM in what might just be the dumbest way possible, namely by taking a screenshot of it, OCRing the results and extracting the IP. For educational purposes only. Unfortunately it’s pretty slow due to some cmdlet slowness. Requires PowerCLI 4.0 U1, PowerShell v2, and Microsoft Office Document Imaging (MODI) to be installed and configured. check-in: 2d8a1c1ea9 user: unknown tags: trunk
12:57
Windows PowerShell script to map a network printer based on Active Directory group membership. check-in: 1f149bbe35 user: Jan Egil Ring tags: trunk
12:57
Removes namespace definitions and prefixes from xml documents check-in: a4896b4e56 user: Joel Bennett tags: trunk
12:57
A Powershell Script meant for a novice to understand how to work with Variables. I use it daily. Creates a user via Exchange 2007 and automatically populates the email address by defined policy. Using supplied scriptlets (referenced in PS1 file) it also populates the Users’ info in OCS 2007 R2 standard as well as populates all fields in A/D with pertinent info. It also sets up the Display name in a Lastname, Firstname format and creates the users home folder with permissions allocated to the user only. The only information it requests is Firstname, Lastname and Password. It is easy to modify to make it a bulk user setup. Thank you Jeffrey Snover and Microsoft for Powershell! The Manna to Administrators Everywhere check-in: fbebc90452 user: Sean Kearney tags: trunk
12:57
A quick demonstration of using the MapPoint (aka Bing Maps?) web services to get addresses from Lat,Long pairs and vice-versa. Requires you to sign up for (at least) the free developer account in order to use the API. check-in: c064e6c645 user: Joel Bennett tags: trunk
12:57
Create a Sharepoint 2010 farm check-in: 0a395a57e0 user: Jos Verlinde tags: trunk
12:57
Replaces Get-Credential, with options to set the dialog title and message, as well as defaulting the domain and username, and offering the option to prompt in-line in the console, and to get generic (non-domain) credentials (without a leading “\”). Better in every way than the built-in Get-Credential ;) check-in: 3aa21446ed user: Joel Bennett tags: trunk
12:57
Function to list all clients in a Microsoft DHCP server database. The script Uses P/Invoke function signatures, structs & ports the DhcpEnumSubnetClients() C# code example to PowerShell from PInvoke.net. There is no other (nice!) way to get this information in an object form, other than scraping the output from netsh.exe. check-in: 2097d45839 user: christian bellee tags: trunk
12:57
A function to rename a computer check-in: b4320efb30 user: Gerald Klassen tags: trunk
12:57
Updated check-in: c6ce8c5dde user: Cody Bunch tags: trunk
12:57
Authenticode 2.1 for PowerShell 2.0: Added Start-AutoSign function :) see my blog post check-in: 3bf748118a user: Joel Bennett tags: trunk
12:57
Set any text file to a fixed number of lines. Useful for maintaining files such as the PS Transcript log. Now option added to remove blank lines. check-in: b394aa85bd user: Archdeacon tags: trunk
12:57
Find the tables used in a Crystal Report. check-in: 74ac85d6b1 user: unknown tags: trunk
12:57
Authenticode 1.8 for PowerShell 2.0: The default cert should be put in a ModuleInfo file, but it will work without that, and will prompt you for a certificate (and/or the password for it) only once per session. check-in: 51797b0ed5 user: Joel Bennett tags: trunk
12:57
Scan the System Event log for all GPRS online activity – PCMCIA, USB, mobile phone, etc. A Balloon Tip will also be issued when the SIM card is about to expire (Needs an icon file to be named ‘exclamation.ico’ for this feature to work). check-in: 055a3eeb9a user: Archdeacon tags: trunk
12:57
Simple script to bulk-create printers on a print-server. Printers are imported from a csv-file. check-in: a8892881cd user: navadavuluri tags: trunk
12:57
Simple script to bulk-create printers on a print-server. Printers are imported from a csv-file. check-in: aed4e65d88 user: navadavuluri tags: trunk
12:57
A PowerShell 2.0 Growl module for Growl For Windows (Updated for PowerShell 2 RTM) check-in: 35959a0ada user: Joel Bennett tags: trunk
12:57
Converts a pair of DateTime’s or a TimeSpan into a very approximate relative time like “about 4 days ago.” check-in: 56a7e1cc5a user: unknown tags: trunk
12:57
Simple script to bulk-create printers on a print-server. Printers are imported from a csv-file. check-in: a9c4d36642 user: Jan Egil Ring tags: trunk
12:57
Performs an inner join on two collections of objects which share a common key value. Now works on DataTable objects (ie: can join the rows from two tables). check-in: 654516123f user: Joel Bennett tags: trunk
12:57
Performs an inner join on two collections of objects which share a common key value. check-in: cd189aa0bf user: Joel Bennett tags: trunk
12:57
Provides access to NTFS Alternate Data Streams, including functions for blocking and unblocking downloaded files. Tweet @Jaykul if you find problems. check-in: 276348f7ea user: unknown tags: trunk
12:57
Rename Network Adapters to their MAC Addresses check-in: 28741266c5 user: powershelluser tags: trunk
12:57
Here’s several functions for working with VHD’s in Windows 7 and Windows Server 2008 R2. I’ve been working with PowerShell for about a year and this is my first go at a module. I’m a sysadmin and not a developer so some of my solutions are in that mode of thinking. There’s probably .NET ways to accomplish what I did and I’m certainly open to learning if there’s a better way. I’ve found these functions useful and hopefully someone else out there will too. Enjoy. check-in: dfa4d8e72e user: Rich Kusak tags: trunk
12:57
Detect 32 or 64 bits Windows regardless of WoW64 with the PowerShell OSArchitecture function check-in: e317c0c47e user: unknown tags: trunk
12:57
Here’s several functions for working with VHD’s in Windows 7. I’ve been working with PowerShell for about a year and this is my first go at a module. I’m a sysadmin and not a developer so some of my solutions are in that mode of thinking. There’s probably .NET ways to accomplish what I did and I’m certainly open to learning if there’s a better way. I’ve found these functions useful and hopefully someone else out there will too. Enjoy. check-in: 712edafc53 user: Rich Kusak tags: trunk
12:57
Parses Management Information Format (MIF) files. See http://chadwickmiller.spaces.live.com/blog/cns!EA42395138308430!522.entry check-in: 69ccca5c11 user: Chad Miller tags: trunk
12:57
Uses SQLParser.ps1 script http://poshcode.org/1445 to return a Stored Procedure Call Tree check-in: 84d5f188d7 user: unknown tags: trunk
12:57
Uses Visual Studio Database Edition classes Microsoft.Data.Schema.ScriptDom and Microsoft.Data.Schema.Script.Sql to parse T-SQL check-in: f3ad1ee784 user: unknown tags: trunk
12:57
This script uses the text and XML PowerShell help files to generate HTML help for all PowerShell Cmdlets, PSProviders, and “about” topics. the help topics are compiled into a .chm file using HTML Help Workshop. check-in: 3af57310e5 user: Jeff Hillman tags: trunk
12:57
a script to download playlist.com music to a local cache directory for when your internet connection is spotty. check-in: e81105192a user: karl prosser tags: trunk
12:57
Functions to encrypt and decrypt strings using the Rijndael symmetric key algorithm check-in: 83b4706111 user: Joel Bennett tags: trunk
12:57
Allows setting and removing the Zone.Identifier alternate data stream (on NTFS file systems) which flags scripts as downloaded to heighten security. Part of the PoshCode Module. check-in: 5aaf8af341 user: Joel Bennett tags: trunk
12:57
A code-generating and emitting magic function for creating type-safe struct classes for use in PowerShell! check-in: 1b520b03a0 user: Joel Bennett tags: trunk
12:57
a one liner to download playlist.com music to a cache directory. check-in: 5dfd9a7814 user: unknown tags: trunk
12:57
sample by r_keith_hill check-in: 932b6b1a8d user: halr9000 tags: trunk
12:57
Given an ESX host, produce a report of read and write latencies for all attached LUNs. check-in: 4d08fe9d98 user: Carter Shanklin tags: trunk
12:57
A quick demonstration of using the MapPoint (aka Bing Maps?) web services to get addresses from Lat,Long pairs and vice-versa. Requires you to sign up for (at least) the free developer account in order to use the API. check-in: fd939a5828 user: Joel Bennett tags: trunk
12:57
ping check using dotNet ping. pieced together from existing examples on the web. Had to use $erroractionpreference = “SilentlyContinue” to make it work on non-existing systems. Added to DNS check to prevent a few more errors. This is part of a script that queries an internal db and for every record does a ping to verify its online state check-in: 4bb819e820 user: jkavanagh58 tags: trunk
12:57
I earlier converted a VBScript written by Chrissy LeMaire to Powershell but later wanted to add in some code to include Active directory objects that have been deleted. check-in: 89d227c80e user: Joel De La Torre tags: trunk
12:57
ping check using dotNet ping. pieced together from existing examples on the web. Had to use $erroractionpreference = “SilentlyContinue” to make it work on non-existing systems. check-in: 7a27ea1124 user: unknown tags: trunk
12:57
Promiscuous Mode Check check-in: 1ea69a69fa user: unknown tags: trunk
12:57
Scan the System Event log for all GPRS online activity – PCMCIA, USB, mobile phone, etc. A Balloon Tip will also be issued when the SIM card is about to expire (Needs an icon file to be named ‘exclamation.ico’ for this feature to work). check-in: 4ebe8015a8 user: Archdeacon tags: trunk
12:57
This will send an SNMP trap to the specified manager (hostname). The script isn’t very flexible, but it’s a good example of how to build traps using SharpSNMPLib. External requirementss: check-in: 50a04999b7 user: halr9000 tags: trunk
12:57
VMWARE In a Fibre Channel enviroment i generate an HTML report of LUN visibility. FeedBack welcome check-in: ef29bf7056 user: Alberto Damiano tags: trunk
12:57
Copy a function from your current session to another session. Allows you to easily copy function definitions into remote PSSessions. check-in: a34f9d9769 user: unknown tags: trunk
12:57
I earlier converted a VBScript written by Chrissy LeMaire to Powershell but later wanted to add in some code to include Active directory objects that have been deleted. check-in: e8fe488543 user: Joel De La Torre tags: trunk
12:57
A fixed version of the New-PInvoke function that’s in the Windows 7 resource kit (PowerShellPack) PSCodeGen module. This one has correct documentation and a better example. It also generates a (global) PowerShell wrapper function so you can call the API function easily. check-in: f4703baddc user: Joel Bennett tags: trunk
12:57
A fixed version of the New-PInvoke function that’s in the Windows 7 resource kit (PowerShellPack) PSCodeGen module. This one has correct documentation, and also generates a (global) PowerShell wrapper function so you can call it easily. check-in: b5c07fcaea user: Joel Bennett tags: trunk
12:57
Uses the Bit.ly api to create a short url. Requires a login and api key from http://bit.ly check-in: f61488c21b user: unknown tags: trunk
12:57
The PowerShell Talk – Chicken Counter Example. check-in: e13c96c4e3 user: Rlewis tags: trunk
12:57
This script iterates through each Datacenter,Cluster, and Host in a vCenter environment and then lists the Fibre Channel HBAs that are present. check-in: 61e0589399 user: Mark E tags: trunk
12:57
I earlier converted a VBScript written by Chrissy LeMaire to Powershell but later wanted to add in some code to include Active directory objects that have been deleted. check-in: 9cbfdd2e96 user: Joel De La Torre tags: trunk
12:57
A script module for PowerShell 2.0 which allows the user to create their own custom type accelerators. Thanks to Oisin Grehan for the discovery. check-in: 341c96c82f user: Joel Bennett tags: trunk
12:56
Retrieves all Enterprise Certification Authorities (CA) in cuurent AD forest check-in: 410b67f2df user: Vadims Podans tags: trunk
12:56
Validates a username and password against Active Directory. Requires .NET 3.5 and PowerShell V2. check-in: 95f856b518 user: Mike Pfeiffer tags: trunk
12:56
This function calculates the calendar week to a given date. It either takes a given date or retrieves the current date. check-in: ff031772c9 user: Holger Adam tags: trunk
12:56
This function calculates the calendar week to a given date. It either takes a given date or retrieves the current date. check-in: e06f4173ce user: Holger Adam tags: trunk
12:56
From PSCX, this filter can be used to change a file’s read only status. check-in: 008fbce03d user: Keith Hill tags: trunk
12:56
Lists Active Directory user accounts which are members of too many groups, and can thus cause token bloat issues check-in: bae50a7c73 user: unknown tags: trunk
12:56
Print the hostname of the system. Complete with v2 comment-based help, but works fine on v1. check-in: 77907e3ac5 user: halr9000 tags: trunk
12:56
Allows running ScriptBlocks via .NET async callbacks. Internally this is managed by converting .NET async callbacks into .NET events. This enables PowerShell 2.0 to run ScriptBlocks indirectly through Register-ObjectEvent. check-in: 9ef3ead7a5 user: Oisin Grehan tags: trunk
12:56
Web-Health-Check.ps1 is a PowerShell script to monitor a website and automatically take remedial action if the site is not functioning properly. It works by retrieving a web page from a specified URL and checking the page for the presence of a specific piece of text. check-in: be53cfe95e user: unknown tags: trunk
12:56
Facilitates exception handling as used to under C# or Java. check-in: 1c4efef165 user: Patrick Dreyer tags: trunk
12:56
More info can be found here: http://ict-freak.nl/2009/10/06/powercli-set-dvswitch/ check-in: ff0565a1e3 user: unknown tags: trunk
12:56
How to export Sharepoint with help of PowerShell check-in: 6b766179f5 user: unknown tags: trunk
12:56
Enumerates the constructors of a type with the parameters that they take, so you can figure out what your options are when calling New-Object. check-in: 08b790e878 user: Joel Bennett tags: trunk
12:56
Small snippet of my build script, I think this is a good template to use when calling the command-line WSPBuilder. check-in: 632a6396b1 user: Peter tags: trunk
12:56
Small snippet of my build script, I think this is a good template to use when calling the command-line WSPBuilder. check-in: 95309ad210 user: Peter tags: trunk
12:56
simle function to determine is file locked by external program or not. check-in: 2b8162295b user: Vadims Podans tags: trunk
12:56
simle function to determine is file locked by external program or not. check-in: 555519ee9d user: Vadims Podans tags: trunk
12:56
these two functions provide basic local certificate store management features. check-in: 0641ad1109 user: Vadims Podans tags: trunk
12:56
these two functions provide basic local certificate store management features. check-in: b4caffbadd user: Vadims Podans tags: trunk
12:56
these two functions provide basic local certificate store management features. check-in: 374d8ca8e4 user: Vadims Podans tags: trunk
12:56
Gets the status of your Dominos pizza order. Your phone number is the only input parameter. This is the most important Psh module you’ll ever import. check-in: bc70d8e0a6 user: xcud tags: trunk
12:56
The script is intended for process end on any computer in a local area network. Class WMI is used. The rights of the manager to the local area network computer are necessary. check-in: a278992563 user: Angel-Keeper tags: trunk
12:56
get utilization from all network interfaces check-in: 5fa94d4f77 user: halr9000 tags: trunk
12:56
replace $inst with your NIC name. You can find that out by running (new-object System.Diagnostics.PerformanceCounterCategory(“network interface”)).GetInstanceNames() check-in: fdbcf99ada user: halr9000 tags: trunk
12:56
Getting a list of installed programs on computers in the network except the following vendors: check-in: 8fb6325c4d user: Angel-Keeper tags: trunk
12:56
Reads perfmon counters from all network interfaces check-in: 5a5ca26a5a user: halr9000 tags: trunk
12:56
Reads perfmon counters from all network interfaces check-in: bb23d154c6 user: unknown tags: trunk
12:56
Get-Parameter is used to obtain all of the parameters for a cmdlet. It also returns info like aliases and whether a parameter is mandatory. check-in: dfd4b7c503 user: halr9000 tags: trunk
12:56
Powershell script to examine remote WSUS configuration for multiple servers. This code places the registry strings into a custom object which results in the data from multiple server being very accessible. check-in: 762c9b9c6d user: Paul Brice tags: trunk
12:56
Get ESX server serial numbers. check-in: 99b779437b user: Carter Shanklin tags: trunk
12:56
compatibility: PowerShell 1.0, PowerShell v2.0 check-in: dbc5ba92c3 user: Oisin Grehan tags: trunk
12:56
compatibility: PowerShell 1.0, PowerShell v2.0 check-in: eb7b641b35 user: Oisin Grehan tags: trunk
12:56
Generates External MAML Powershell help file for any loaded cmdlet or function check-in: 888b68b367 user: Chad Miller tags: trunk
12:56
Get ESX server serial numbers. check-in: 82050e0c5d user: Carter Shanklin tags: trunk
12:56
Script used to turn FT on or off for a specific VM check-in: 474aaf9521 user: unknown tags: trunk
12:56
Pipe numeric output into a horizontal ansi barchart in Psh. Poshcode doesn’t handle ANSI characters. Replace &#9608; with an ANSI block character. Copy/Paste from http://xcud.com/post/193522355/out-ansigraph check-in: 51b3a213fa user: xcud tags: trunk
12:56
Script that will use the Converter to import a VCB created disk image into a datacenter check-in: 83cf61e636 user: LucD tags: trunk
12:56
Defines functions for wokring with Microsoft Chart Control for .NET 3.5 Framework.Pipe output to Out-Chart function and specify chart type. Chart will display in form or save to image file. Real-time charts are supported by passing in a script block. Updated to fix line chart. Line Chart XAxis needs tweaking. check-in: 6e67bb6a46 user: Chad Miller tags: trunk
12:56
Creates or updates mail-enabled users or contact objects. Developed to work within an Exchange 2003 / Windows Server 2003 environment. Depends on Quest Active Directory extensions. check-in: 0985a0f4e8 user: Ken Knicker tags: trunk
12:56
Creates or updates mail-enabled users or contact objects. Developed to work within an Exchange 2003 / Windows Server 2003 environment. Depends on Quest Active Directory extensions. check-in: 07725c8d9f user: unknown tags: trunk
12:56
Get the snapshot info out of a Virtual Machine Managed Entity. Most useful for reporting, although if you don’t mind the extra work the Snapshot moref is there so you can delete it. check-in: 08a68dab36 user: Glenn Sizemore tags: trunk
12:56
Why to use a FileselectionBox to save your fresh files from ISE, don’t you know your file system? OK perhaps an encoding parameter would be fine, but please don’t default it to ASCII. check-in: cad7e0aebc user: unknown tags: trunk
12:56
Delete NW ssids by clientname , for use in adv_file environments. check-in: e97af4bbf8 user: James Pratt tags: trunk
12:56
Powershell script to Query the Veeam Backup Database. The Query will return the total running time of a backup job. check-in: 015ba48bbc user: afokkema tags: trunk
12:56
Test-Host for V1 check-in: 8438e6799b user: unknown tags: trunk
12:56
This script will configure the portgroup to use NIC Teaming with the failover depending on the duplexity of the Active NIC. check-in: 8aa13a4990 user: LucD tags: trunk
12:56
This script will compare all VI/vSphere cluster nodes against a reference node check-in: e6248a76f4 user: LucD tags: trunk
12:56
The script will export recursively all objects and properties of a VI/vSphere entity to a XML file. check-in: 840116ae74 user: LucD tags: trunk
12:56
A function to join a domain check-in: 280c122d0c user: unknown tags: trunk
12:56
A function to join a domain check-in: 260a4d454c user: Andy Schneider tags: trunk
12:56
Quick functions to get either check-in: 4b101b2957 user: Peter tags: trunk
12:56
Quick functions to get either check-in: 90e4cb87f9 user: Peter tags: trunk
12:56
Runs a FullTextSqlQuery (SharePoint’s Enterprise Search SQL Query) against your local MOSS farm; useful as a quick(!) search query test workbench. check-in: 839b529eee user: Peter tags: trunk
12:56
A script to create shortcuts … with support for short “special folder” names. (fixed) the [parameter named as [param bug check-in: 228578add8 user: Joel Bennett tags: trunk
12:56
Get-TwitterReply modification get all replies check-in: de166d6658 user: unknown tags: trunk
12:56
Usuallay I use this to start my browser with a URL in some PowerShell Script or retrieved by some Powershell Script. This is an ISE-Extension. check-in: 317f761a82 user: Bernd Kriszio tags: trunk
12:56
Takes two servers and provides the delta of installed hotfixes between them check-in: ea5f0f061a user: Andy Schneider tags: trunk
12:56
Function to do a regex replace of all matches with an expression per match that has local variables check-in: 9fe08bf532 user: karl prosser tags: trunk
12:56
Runs a FullTextSqlQuery (SharePoint’s Enterprise Search SQL Query) against your local MOSS farm; useful as a quick(!) search query test workbench. check-in: 12d6f5be5a user: Peter tags: trunk
12:56
Runs a FullTextSqlQuery (SharePoint’s Enterprise Search SQL Query) against your local MOSS farm; useful as a quick(!) search query test workbench. check-in: cf5e6496cf user: Peter tags: trunk
12:56
Compress a bitmap to a certain filesize, using the PSCX Import-Bitmap, Resize-Bitmap, and Export-Bitmap … and a little trial and error. check-in: 3e9183d4f0 user: Joel Bennett tags: trunk
12:56
Exclude a window from Aero Peek so it stays visible when you press Win+Space in Windows 7 (of course, there’s lots of other possibilities here, but I’ll let others explore them). check-in: 759652f198 user: Joel Bennett tags: trunk
12:56
Enumerate users of a given local group. Uses WMI. Outputs strings, sorry about that. check-in: 7f7ed7622a user: Carter Shanklin tags: trunk
12:56
This script are used to set a random password for Active Directory users in a specified Organizational Unit. It stores the results in a csv-file. check-in: 2ad48ab0fd user: Jan Egil Ring tags: trunk
12:56
Re-IP VMware VMs based on the contents of a CSV check-in: 1dcf731dc4 user: unknown tags: trunk
12:56
This powershell function is a simple one that will kill any currently open connections on the specified server and database. There is no requirements other than PowerShell (obviously!! ;) ). check-in: db545f127f user: caveman_dick tags: trunk
12:56
I cooked this up to configure OCS user policy, but it should work for other attributes of this type as well. Added example for the read operation since it is picky about casting. check-in: 9fa30cd0df user: Ecmaster76 tags: trunk
12:56
This script is intended to use IIS logs to audit OWA logs for syncing of mail from an iPhone. In our environment this is an unauthorized device and needs to be audited. This script is not perfect, nor the prettiest thing in the world but it works. IIS logging must be on for this to work. email the results to yourself in $To varible. Have Fun! check-in: abc42b9919 user: unknown tags: trunk
12:56
A set of functions I’ve been working on to allow easy use of Access DBs with PowerShell. A work in progress, but thought they were at a point where others might find them useful. check-in: a20419d2bc user: Matt Wilson tags: trunk
12:56
This is the PowerShell 2.0 -only continuation of my Growl module — redesigned as a proper “module” that can be used by (many) other scripts. check-in: 2166f2012a user: Joel Bennett tags: trunk
12:56
This is the PowerShell 2.0 -only continuation of my Growl module check-in: 5bf41438ac user: Joel Bennett tags: trunk
12:56
A fix to make this work on PowerShell 1.0 check-in: 61f408f22e user: Joel Bennett tags: trunk
12:56
This script generate a HTML report show all ACLs asociated with a Folder tree structure starting in root specified by the user check-in: 71419634b7 user: Santi Fernandez tags: trunk
12:56
This function finds storage within VMware that can be shared between ESX hosts. check-in: 3d0d907148 user: unknown tags: trunk
12:56
I import this as a module because it depends on the other two functions. You could easily dot-source it as well. Requires v2 CTP3 or higher to get the help documentation to work. check-in: a16eafc77e user: tojo2000 tags: trunk
12:56
I import this as a module because it depends on the other two functions. You could easily dot-source it as well. Requires v2 CTP3 or higher to get the help documentation to work. check-in: bb8a4e4499 user: tojo2000 tags: trunk
12:56
This extends the functionality of the SharePoint Search Administration page, producing dashboard-like analysis of your farm’s search crawls. I do not intend to use this script in production, but instead will use it as a starting point to help me build out search crawl health monitoring functionality. check-in: 9d33c12dd5 user: Peter tags: trunk
12:56
This is the first raw release, supports OAuth via Installed Application Authentication (a modified form of OAuth where the consumer fetches access tokens using a username and password instead of a request token). check-in: dbac3410f7 user: Joel Bennett tags: trunk
12:56
Some enhancements to HttpRest to support posting content, and a couple other things I needed for OAuth support… check-in: 15e3096992 user: Joel Bennett tags: trunk
12:56
Select-String has the funny behavior that it -Encoding parameter could be default, but Select-String uses unicode as default value. That means we do not find strings containing some western european letters like ‘’ in ansi coded files. Finally I want the choice default_or_oem, to search even my OEM850 coded files. Here I fix only the default to ‘default’ check-in: eac410c318 user: unknown tags: trunk
12:56
Help Differ 10000 check-in: d3577fe15e user: Carter Shanklin tags: trunk
12:56
This extends the functionality of the SharePoint Search Administration page, producing dashboard-like analysis of your farm’s search crawls. I do not intend to use this script in production, but instead will use it as a starting point to help me build out search crawl health monitoring functionality. check-in: f24c9cd930 user: Peter tags: trunk
12:56
This is a simple little function to search all available cmdlets for a given keyword. Similar to man -k. check-in: ab168e2463 user: Carter Shanklin tags: trunk
12:56
Automatically create an Excel frontend to a cmdlet or advanced function. Not really general purpose yet. There are a couple of examples within the script. check-in: b8509e1e3b user: unknown tags: trunk
12:56
Provides details for every large list in the farm. As it is utilitarian, this script does not provide periodic status updates or provide any kind of error handling. check-in: 9d3785581e user: Peter tags: trunk
12:56
Provides details for every large list in the farm. As it is utilitarian, this script does not provide periodic status updates, though it could be programmed to do so. check-in: eca74f25c4 user: Peter tags: trunk
12:56
Performs the functional equivalent of a Hyper-V Quick Migration by suspending a VM, moving it to a new host, and resuming it. This does not require vMotion licensing. It works by providing required VM objects via the pipeline or the second argument, and specifying the Destination host in the first argument, so you can use whatever query you want to build a list of VM’s to send to the command. check-in: d914f60127 user: Justin Grote tags: trunk
12:56
This is a simple little function to search all available cmdlets for a given keyword. Similar to man -k. check-in: b949b34257 user: unknown tags: trunk
12:56
An update to my mini-DSL for generating XML documents. check-in: b6763cd667 user: Joel Bennett tags: trunk
12:56
Allows you to easily create machine-level environment variables that will persist after reboots. Note that the variables created this way may not be visible in the variable: or even env: providers until you restart your Powershell session. Allowable values to Target param are “process”, “user”, and “machine”. check-in: 0ef0c12c6c user: halr9000 tags: trunk
12:56
PowerShell script for gathering remote PC information check-in: 4f438578f5 user: unknown tags: trunk
12:56
List active directory attributes from schema check-in: 1d4a83a386 user: unknown tags: trunk
12:56
A little Send-FTP script to support uploading files. This version is simple: it can’t create folders nor allow you to specify whether to overwrite files … check-in: 6117704ba2 user: Joel Bennett tags: trunk
12:56
Updated for PowerBoots 0.2: http://screencast.com/t/drKhZbMv0S A stay-on-top (borderless window) countdown timer, with a percentage-based color progress bar as well as sizable font … as well as audio file and voice alarms. check-in: 785f22614b user: Joel Bennett tags: trunk
12:56
Beginnings of a PowerShell v2 module that serves as a convenience wrapper for the Net-SNMP executables. check-in: 99b480dcf0 user: halr9000 tags: trunk
12:56
Script courtesy of Jaykul, I’m just reposting. This script will decode the passwords for all accounts in the Psi profile labeled “default”. check-in: 3f0ed53910 user: aaajabbercz tags: trunk
12:56
This is a first stab at creating a little DSL to generate XML. Note that I used System.Linq.XML (and output an XDocument) instead of the old XmlDocument… This means you have to have .Net 3.5 (LINQ) installed. It also means that if you want to be able to use the output via PowerShell’s magic XML dot-notation, you have to cast it to XmlDocument, just write: [xml]$xml = New-XML ... check-in: 55af359a39 user: Joel Bennett tags: trunk
12:56
More fun with S.W.A. @kryten68 – Added Transforms and examples check-in: 3f3597e96b user: Joel Bennett tags: trunk
12:56
Use to check a service on a remote server and if it is not running, start it and send an email to warn. Added a ping request to make sure the server is up before checking the service. check-in: c1a49e172f user: John Kroes tags: trunk
12:56
A cleanup for @kryten68 without all that code-generation cruft. check-in: 4c41c862e3 user: Joel Bennett tags: trunk
12:56
Returns the top processes by CPU usage check-in: 6fc50e262e user: BSonPosh tags: trunk
12:56
Requires Quest AD cmdlets. This oneliner sets Active Directory user attributes for Microsoft Office Communications Server 2007. check-in: 3387b159b6 user: Jan Egil Ring tags: trunk
12:56
Requires Quest AD cmdlets. This oneliner sets Active Directory user attributes for Microsoft Office Communications Server 2007. check-in: 94742e9a00 user: Jan Egil Ring tags: trunk
12:56
Get a sample nmap XML file to play with and see some examples of using the script at https://blogs.sans.org/windows-security/2009/06/11/powershell-script-to-parse-nmap-xml-output/ (this is where the latest version will be maintained, it’s been edited a few times already since being posted here). check-in: fb7a9dc667 user: Jason Fossen tags: trunk
12:56
Updated for PowerBoots 0.2: A stay-on-top (borderless window) countdown timer, with a percentage-based color progress bar as well as sizable font … as well as audio file and voice alarms. check-in: 8af6075d71 user: Joel Bennett tags: trunk
12:56
More info can be found at www.ict-freak.nl check-in: 0281f58b9c user: afokkema tags: trunk
12:56
Works like the integer range operator “..”, but for characters. check-in: f5a5a4f8f9 user: halr9000 tags: trunk
12:56
More info about this script can be found here: http://ict-freak.nl/2009/06/27/powercli-upgrading-vhardware-to-vsphere-part-1-templates/ check-in: bfd438b0f6 user: afokkema tags: trunk
12:56
For more information and sample out put please visit http://www.virtu-al.net/2009/07/14/powercli-daily-report/ check-in: a21c61ede8 user: alanrenouf tags: trunk
12:56
For more information and sample out put please visit http://www.virtu-al.net/2009/07/14/powercli-daily-report/ check-in: 40f74f5dc6 user: unknown tags: trunk
12:56
Problem: Type in a command to show the output, then wish you had saved it to a variable check-in: 892d1c6f98 user: unknown tags: trunk
12:56
The simplest form of WGet … no options, no passwords, no nothing. But it works. check-in: df948840bc user: Joel Bennett tags: trunk
12:56
Robert, the problem is that this script requires version 2.0 … that “GetSteppablePipeline” is a new feature. I forgot to mark it. check-in: 134b51cbf1 user: Robert Riegler tags: trunk
12:56
Test-Port creates a TCP connection to specified port. By default it connects to port 135 with a timeout of 3secs. check-in: 512e697590 user: BSonPosh tags: trunk
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