Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
200 most recent check-ins using file Set-Domain.ps1 version 3531b4ecb1
2018-06-10
| ||
13:03 | The improved code-signing module with automatic cert picking and finding. check-in: 934cdf7a78 user: Joel Bennett tags: trunk | |
13:03 | Changes: Added a -Module parameter to Set-AuthenticodeCertificate to make signing whole modules easier. check-in: f3f75e6840 user: Joel Bennett tags: trunk | |
13:03 | Version 1.0 check-in: 6e1e8e5aee user: George Howarth tags: trunk | |
13:03 | ConvertFrom-PropertyString can convert ini files, property files, and other flat key-value data strings into PSObjects. v2 changes the output so that if there are multiple instances of the same key, we collect the values in an array check-in: f9c7d62c95 user: Joel Bennett tags: trunk | |
13:03 | **********EDIT: See Carter’s Example, it’s way simpler: http://poshcode.org/1559********** check-in: d1a0f7fa31 user: jgrote tags: trunk | |
13:03 | This function will, when used at the end of pipe, produce colourful output for any format-table’d data. It has some bugs in it (problem with columns which name is right-aligned, kills pipe), but maybe someone will pick up from here and fix those. ;) check-in: 1a7793ab12 user: unknown tags: trunk | |
13:03 | A really bad roll-dice script to do ‘bad things’ to vmware snapshots taken on the pipeline. check-in: b7a84f19df user: Cody Bunch tags: trunk | |
13:03 | A really bad roll-dice script to do ‘bad things’ to vmware snapshots taken on the pipeline. check-in: 54d0c2f238 user: Cody Bunch tags: trunk | |
13:03 | Using the DataOnTap toolkit get the different protocol latencies for a specified volume. check-in: 7724f86462 user: glnsize tags: trunk | |
13:03 | Hack your ESXi welcome screen. check-in: b6a6df54ca user: Halr9000 tags: trunk | |
13:03 | Convert and import from delimited text files. check-in: 216326bcd0 user: Joel Bennett tags: trunk | |
13:03 | A really bad roll-dice script to do ‘bad things’ to vmware snapshots taken on the pipeline. check-in: d45b1f1071 user: Cody Bunch tags: trunk | |
13:03 | Hack your ESXi welcome screen. check-in: 53a9f2b44b user: unknown tags: trunk | |
13:03 | A Function which can be added to a Script or $PROFILE which generates password from 1 to whatever characters long with controlled levels of Complexity specified by the User check-in: a252dc3fdf user: Sean Kearney tags: trunk | |
13:03 | In an interesting design choice, Get-Process lets you work with processes on remote machines, but Stop-Process does not. This cmdlet uses WMI to stop a process on a remote machine. check-in: 559a1880bf user: unknown tags: trunk | |
13:03 | A wrapper around Move-Item which moves a whole folder tree and creates backup copies if the files already exist in the destination. check-in: a1bd4ebf04 user: Joel Bennett tags: trunk | |
13:03 | A simple “assert” for testing check-in: a7fc54802b user: Joel Bennett tags: trunk | |
13:03 | The Start-ComputerJobs cmdlet runs a specified scriptblock within a maximum number of simultaneously spawned Powershell jobs. check-in: 08869afcc3 user: Tome Tanasovski tags: trunk | |
13:03 | Use Reflection and IL to emit arbitrary delegatesfrom PowerShell script check-in: d23aa805cc user: Joel Bennett tags: trunk | |
13:03 | Generic function to execute query and return DataTable from any OLEDB data source. Tested against Excel, Informix, Oracle and SQL Server sources. check-in: 1f5c37de8c user: Chad Miller tags: trunk | |
13:03 | Function to import security certificates. check-in: 5a94dc8aa9 user: anti121 tags: trunk | |
13:03 | Gets all Virtual Machines, and exports a CSV that shows their virtual disk capacities and type. Used in this case for sizing a VCB temp disk. check-in: 6b9bd5ea5a user: jgrote tags: trunk | |
13:02 | Script to download and install updates from Windows Update/WSUS. Reporting and rebooting may be customized. check-in: 668cdbee8d user: Jan Egil Ring tags: trunk | |
13:02 | Recursively copies all files and folders in $source folder to $destination folder, but with .copy inserted before the extension if the file already exists check-in: ecf27634e0 user: Joel Bennett tags: trunk | |
13:02 | This cmdlet allows you to open a file in a new file tab within your current Powershell tab. You can pass a collection of files to open more than one file. check-in: 1c8d80f797 user: Tome Tanasovski tags: trunk | |
13:02 | Invoke the specified command (with parameters) in cmd.exe, and import any environment variable changes back to PowerShell check-in: 62ef524aca user: Joel Bennett tags: trunk | |
13:02 | Added -File parameter to ConvertFrom-JSON and corrected handling of arrays check-in: d9e5f708ad user: Joel Bennett tags: trunk | |
13:02 | Added -File parameter to ConvertFrom-JSON check-in: da4c134738 user: Joel Bennett tags: trunk | |
13:02 | Invoke the specified command (with parameters) in cmd.exe, and import any environment variable changes back to PowerShell check-in: 22cc06167b user: unknown tags: trunk | |
13:02 | Gets all Virtual Machines, and exports a CSV that shows their virtual disk capacities and type. Used in this case for sizing a VCB temp disk. check-in: 307cdfb3b7 user: unknown tags: trunk | |
13:02 | A function to join a domain check-in: 6dbea7c276 user: Andy Schneider tags: trunk | |
13:02 | Remotely query select machines for system information the easy way. check-in: c82230de20 user: Alex Smith tags: trunk | |
13:02 | ConvertFrom-PropertyString can convert ini files, property files, and other flat key-value data strings into PSObjects check-in: 48039d41bc user: unknown tags: trunk | |
13:02 | All Group Policy Objects modified in the specified timespan are backup up to the specified backup path. check-in: 884db05e3c user: Jan Egil Ring tags: trunk | |
13:02 | A function to rename a computer check-in: e326b102e3 user: Gerald Klassen tags: trunk | |
13:02 | See my blog post about this http://www.networkworld.com/community/blog/rdc-remoteapp-how-does-user-change-their-pass for the original info. For those that do not want to click through: check-in: 09aa656f91 user: tysonkopczynski tags: trunk | |
13:02 | A fix for JSON that returns no items. check-in: 8c2c6ec534 user: Joel Bennett tags: trunk | |
13:02 | Identical to Version 1.1, but code-signed. check-in: f7dfac6b23 user: Joel Bennett tags: trunk | |
13:02 | Gathers data from Exchange mailbox servers. check-in: 73752f43c9 user: Karl Mitschke tags: trunk | |
13:02 | get utilization from all network interfaces check-in: 611698f150 user: Jason Ochoa tags: trunk | |
13:02 | A code-generating and emitting magic function for creating type-safe struct classes for use in PowerShell! check-in: fe9bcd4e17 user: Joel Bennett tags: trunk | |
13:02 | Snipped of my powerpoint movie creator. This is not general purpose code only a sample for entertainment. Scrubbed to take out some meaningful strings, I’ll try to post something better another time. check-in: c639b7a6c1 user: unknown tags: trunk | |
13:02 | Remove the folder or folders from computer on your network. check-in: 0fd425f9e9 user: Angel-Keeper tags: trunk | |
13:02 | A simple module to temporarily replace the stock PowerCLI networkadapter cmdlets until they work with vdSwitches. Based off LucD’s functions http://www.lucd.info/2010/03/04/dvswitch-scripting-part-8-get-and-set-network-adapters/ check-in: 9f5e4d6ff3 user: glnsize tags: trunk | |
13:02 | I came across an article on the “Microsoft Active Directory PowerShell Blog”, it has a great script for analysing nested group memberships. Unfortunatly to use the PowerShell script you need to be running Windows 2008 servers for the Active Directory cmdlets to be available. So not put off I converted the script to use the Quest cmdlets available with the “Quest Active Roles Management” PSSnapIn. You will need to have these installed for the script to function. check-in: 36352e2b00 user: Paul Brice tags: trunk | |
13:02 | A complete rewrite of my wget script to use HttpWebRequest and Response to figure out the filename, added some unwrapping because a couple sites had quotes around the file names. check-in: 9c4b6c3efc user: Joel Bennett tags: trunk | |
13:02 | My rewritten XML DSL now has better element name handling than last time, and handles null attribute values a little more gracefully. NOTE: if you think that the statement you’re using to pass an attribute value could be null, you should really be very explicit and pass it using the colon syntax like this: -attribute:$value. Also, I fixed a bug when you only have one element. check-in: 18055579b7 user: Joel Bennett tags: trunk | |
13:02 | A C# source file created by running make-shell to create a SQL Server minishell check-in: 536696cddd user: unknown tags: trunk | |
13:02 | Uses QAD cmdlets to retrieve distribution list restriction attributes and then provides a list of users which can send email messages to the group. check-in: d3edf06bea user: Dmitry Sotnikov tags: trunk | |
13:02 | Uses QAD cmdlets to retrieve distribution list restriction attributes and then provides a list of users which can send email messages to the group. check-in: b41f992013 user: Dmitry Sotnikov tags: trunk | |
13:02 | Changes: Major improvements to Get-UserCertificate and Get-AuthenticodeCertificate check-in: 740d613818 user: Joel Bennett tags: trunk | |
13:02 | Identifying knowledge base article by its id number taken from string or filename. check-in: 80265a46e8 user: Kris Cieslak tags: trunk | |
13:02 | A script to use some web services for guessing languages and translating to English… check-in: 045637e65b user: Joel Bennnett tags: trunk | |
13:02 | search users in the local administrators group on computers domain network check-in: c16f385114 user: Angel-Keeper tags: trunk | |
13:02 | A function to install single-file modules (create the folder, make sure the file is named the same as the folder, etc). check-in: f5e827e311 user: Joel Bennett tags: trunk | |
13:02 | Updated from other people’s attempts. Useful for calling programs (notepad.exe, etc) or for running powershell scripts in an elevated prompt (use the -ps flag) check-in: 394c12dc21 user: pezhore tags: trunk | |
13:02 | Updated from other people’s attempts. Useful for calling programs (notepad.exe, etc) or for running powershell scripts in an elevated prompt (use the -ps flag) check-in: 62656f5dd9 user: pezhore tags: trunk | |
13:02 | Just a little wrapper for PromptForChoice check-in: df205d9266 user: Joel Bennett tags: trunk | |
13:02 | Test the Prompt features check-in: 15ed6e9897 user: Damien Ryan tags: trunk | |
13:02 | Figure out the real url’s behind the shortened forms created by snipurl, tinyurl, twurl, is.gd, ... check-in: 92ddb09d7a user: Joel Bennett tags: trunk | |
13:02 | This module makes it easier to create and remove type accelerators in PowerShell 2.0 check-in: 5d003827bf user: Joel Bennett tags: trunk | |
13:02 | Script to create a NLB-cluster for the CAS/HUB-roles in Exchange Server 2010. check-in: c44c29eed2 user: Jan Egil Ring tags: trunk | |
13:02 | A Module to solve fileshare permission issues once and for all. Allows you to impersonate other network credentials for windows network authentication. check-in: 4ab4830aec user: Joel Bennett tags: trunk | |
13:02 | Like Set-Blur, except it runs on Windows XP … you know … without the blur check-in: 66f8e18f55 user: unknown tags: trunk | |
13:02 | A function to mess with opacity, as demonstrated: !http://HuddledMasses.org/images/PowerShell/SetBlur.png! check-in: 927af30bf0 user: Joel Bennett tags: trunk | |
13:02 | A function to join a domain check-in: 73c3ef148d user: Andy Schneider tags: trunk | |
13:02 | Enumerates the constructors of a type with the parameters that they take, so you can figure out what your options are when calling New-Object. Now outputs fully paste-able syntax ;) check-in: 9493565b94 user: Joel Bennett tags: trunk | |
13:02 | Autoload function like the Korn shell — can inject functions to modules. check-in: 1134c99f88 user: Joel Bennett tags: trunk | |
13:02 | Not quite finished effort at a script intended to spit out the parameters of a cmdlet. I’m sure there’s a better but this is…adequate for now. check-in: c365f25d27 user: unknown tags: trunk | |
13:02 | Pertains to the following check-in: 06cf87068c user: TylerT tags: trunk | |
13:02 | The simplest logger. In your script just import-module Logger and debug, verbose, warnings and errors are logged to file. check-in: b755275fec user: Joel Bennett tags: trunk | |
13:02 | Version 1.1 of my JSON module. I has a full set of tools for exporting, importing, and converting Json objects (including arbitrary objects). See comments in script header for usage examples, but basically, you can do things like: check-in: c3cd49f13d user: Joel Bennett tags: trunk | |
13:02 | A Module to solve fileshare permission issues once and for all check-in: 8e09f69b47 user: Joel Bennett tags: trunk | |
13:02 | Create a desktop.ini in your PowerShell folder setting the icon and messing with the display name. check-in: 4102f942ce user: unknown tags: trunk | |
13:01 | Automated paste from PowerShell console check-in: cd66e1c4b7 user: Jaykul tags: trunk | |
13:01 | Script to spread mailboxes alphabetically across mailboxdatabases based on the first character in the user`s displayname. check-in: 3ddc24bc7f user: Jan Egil Ring tags: trunk | |
13:01 | Script to use when migrating mailboxes to Microsoft Exchange Server 2010 Cross-Forest. Prepares user objects already moved to the target forest using Active Directory Migration Tool or other tools, and then invokes the mailbox move request. check-in: 38d8f18f0e user: Jan Egil Ring tags: trunk | |
13:01 | Set applications/windows on top of other windows check-in: 6d3cbea137 user: Shay Levy tags: trunk | |
13:01 | #Publish FF Entry using PowerShell script check-in: 6eefc8dd8d user: Stefan Stranger tags: trunk | |
13:01 | My command Prompt check-in: e974814f4c user: Joel Bennett tags: trunk | |
13:01 | This short script converts Time settings and displays a “productivity” Report with a goal of 81%. check-in: 33d6d04e7f user: mazakane tags: trunk | |
13:01 | a small script to find changed files between 2 to foldertrees. Added call to diffmerge (from VS 2008) check-in: df5bbf8f73 user: Bernd Kriszio tags: trunk | |
13:01 | The simplest logger. In your script just import-module Logger and debug, verbose, warnings and errors are logged to file. check-in: 3e21ff0f85 user: Joel Bennett tags: trunk | |
13:01 | Stores script configuration on computer. This one is generic and would work with any PowerShell script/tool. A more PowerGUI specific one can be found at: http://dmitrysotnikov.wordpress.com/2010/05/07/storing-powergui-add-on-configuration check-in: 959b25d9aa user: unknown tags: trunk | |
13:01 | This code determines the IP address of a virtual ESXi VM in what might just be the dumbest way possible, namely by taking a screenshot of it, OCRing the results and extracting the IP. For educational purposes only. Unfortunately it’s pretty slow due to some cmdlet slowness. Requires PowerCLI 4.0 U1, PowerShell v2, and Microsoft Office Document Imaging (MODI) to be installed and configured. check-in: b1f0287aef user: Carter Shanklin tags: trunk | |
13:01 | Written to provide an easy method to perform easy batch check-in: 927f3f3d73 user: Jason Ferris tags: trunk | |
13:01 | Written to provide an easy method to perform easy batch check-in: 83b4f0e88c user: unknown tags: trunk | |
13:01 | All descriptions on the web which show how to do this so far have left the email attachment open which means if the script is continuing after the email and you wish to use the file you have attached you will not be able to as it will show as locked, use this example to close the attached file correctly using .Dispose() check-in: 1cce010c3f user: Richard van Erk tags: trunk | |
13:01 | Create PSObjects from hashtables. Supports converting nested hashtables, and joining multiple pipelined hashtables into one object using Join-Object check-in: f63615010a user: Joel Bennett tags: trunk | |
13:01 | Performs a join of all properties from two objects. Supports scriptblock evaluation, pipeline joining, etc. check-in: 3d988636fd user: Joel Bennett tags: trunk | |
13:01 | For more information: check-in: 7c3be5babf user: unknown tags: trunk | |
13:01 | Today I had spent a lot of time troubleshooting one module. After few checks I realized that it was simple typo that prevented PS from seeing my module in correct way. So here is function for you to avoid same problems… ;) check-in: d624785806 user: Bartek Bielawski tags: trunk | |
13:01 | This script runs a variety of checks on server hardware to get status or basic information. It can check memory, perc events, firmware versions, gets service tags, shows summary hardware status, retrieves ESM log, and can auto load the omsa webpage. This is a basic overview of some dell WMI related namespace operations which can be easily extended as needed. To run the script, provide the name of the function you want to call and the remote machine name to check. Note: WMI namespace for Dell is installed with dell openmanage software, v4 and higher. check-in: 0b9af82535 user: Nathan Linley tags: trunk | |
13:01 | This script will check if the specified Microsoft Office Excel Addins are loaded, and if not load them. check-in: 0727dc421b user: David Valdes tags: trunk | |
13:01 | The Get-ADGroupModificationsReport script, which were posted on http://poshcode.org/1402, are now enhanced in due to performance by storing each domain controllers security eventlog in a variable check-in: ee1f13a437 user: Jan Egil Ring tags: trunk | |
13:01 | Restarts applications using a ManagementEventWatcher to watch for an InstanceDeletionEvent … use at your own risk ;) check-in: bdbcdbb61b user: Joel Bennett tags: trunk | |
13:01 | A function to set an IP Address check-in: 20d3aa81bd user: Shane Powser tags: trunk | |
13:01 | Get-Weather parses and displays the current weather and forecast from the Yahoo! RSS. Simply enter your zipcode (or IXX code from Yahoo weather) and -c(elcius) if you don’t want Fahrenheit temperatures. check-in: b8c5eeaa32 user: Joel Bennett tags: trunk | |
13:01 | My sudo script runs commands or apps elevated without prompting. But it’s awfully hacky :( check-in: 878c14468e user: Joel Bennett tags: trunk | |
13:01 | Script to use when migrating mailboxes to Microsoft Exchange Server 2010 Cross-Forest. Prepares user objects already moved to the target forest using Active Directory Migration Tool or other tools, and then invokes the mailbox move request. check-in: bccba7c898 user: unknown tags: trunk | |
13:01 | Presents the user with a .NET GUI box to collect subnet (10.30.49), starting node (1) and ending node (254). Uses this info to collect information from every PC on that subnet within that node range and then outputs data to a spreadsheet. Example shown outputs to OpenOffice Calc but I have a seperate one for Excel output. This is one of my first attempts at really useful scripts. Im sure there are some things that could have (should have) been done differently or better. check-in: cbbcd3d901 user: Brad Blaylock tags: trunk | |
13:01 | Presents the user with a .NET GUI box to collect subnet (10.30.49), starting node (1) and ending node (254). Uses this info to collect information from every PC on that subnet within that node range and then outputs data to a spreadsheet. Example shown outputs to OpenOffice Calc but I have a seperate one for Excel output. This is one of my first attempts at really useful scripts. Im sure there are some things that could have (should have) been done differently or better. check-in: 222bd8b7a7 user: Brad Blaylock tags: trunk | |
13:01 | Enabling/Disabling network adapter. Works on Windows XP and higher. check-in: 9908d48c23 user: Kris Cieslak tags: trunk | |
13:01 | Send an email via the GMail SMTP server (or any server, really, but there’s some extra code in here and defaults that will make it work with Gmail so you won’t have to do research). NOTE: there’s a Send-SmtpMail in PSCX, but as far as I can tell, there’s no way to convince it to use SSL so I can’t get it to work with Gmail at all. check-in: a33202810c user: unknown tags: trunk | |
13:01 | Log SharePoint content deletions in all sites fora specified web application. Motivation was to determine content deletion dates to easily find the right backup for a selective restore. check-in: 25aad2facc user: cglessner tags: trunk | |
13:01 | Restarts applications using a ManagementEventWatcher to watch for an InstanceDeletionEvent … use at your own risk ;) check-in: f4fa5ccb6e user: unknown tags: trunk | |
13:01 | A function to set an IP Address check-in: 8b15a5f024 user: Andy Schneider tags: trunk | |
13:01 | Creates self-signed signing certificate and installs it to certificate store. check-in: 047161d4b8 user: Vadims Podans tags: trunk | |
13:01 | Creates self-signed signing certificate and installs it to certificate store. check-in: 68f6df740d user: unknown tags: trunk | |
13:01 | Modeled after SQL Server 2008 Invoke-Sqlcmd, but fixes bug in QueryTimeout. Fixed minor issue closing connection. check-in: c07af1680f user: Chad Miller tags: trunk | |
13:01 | Modeled after SQL Server 2008 Invoke-Sqlcmd, but fixes bug in QueryTimeout check-in: a44e91197b user: Chad Miller tags: trunk | |
13:01 | A simpler version of http://powershellcentral.com/scripts/178 which just bridges atom to a jabber chat check-in: 95cc05ce74 user: unknown tags: trunk | |
13:01 | Implements SQL Server 2008 Invoke-Sqlcmd and addresses bug where querytimeout does not work correctly https://connect.microsoft.com/SQLServer/feedback/details/551799/invoke-sqlcmd-querytimeout-0-still-times-out check-in: 2b343f47c6 user: unknown tags: trunk | |
13:01 | A cool prompt function. Insert code into your profile script (“C:\Users\%username%\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1”). Must use Consolas font in powershell (set font, then restart powershell) for special characters to appear correctly. Displays path + uptime in title, example prompt as: jgentile@quadbox●~\powershell► check-in: f389be45a9 user: unknown tags: trunk | |
13:01 | Find duplicates in <directories/files> comparing size then MD5 of files. Usage: finddupe.ps1 <directory/file #1> <directory/file #2> ... <directory/file #N> [-delete] [-noprompt] [-recurse] ; -delete will prompt to delete duplicates. -delete and -noprompt together will delete duplicates without prompting. -recurse looks in all subdirectories of all listed directories. The first file in a duplicate pair will not be deleted ever. check-in: 81a639842d user: James Gentile tags: trunk | |
13:01 | quick code example for a discussion on posting code. code lifted from http://sev17.com/2010/04/t-sql-tuesday-005-ssis-reporting/ check-in: e09a25dd76 user: unknown tags: trunk | |
13:01 | Creates a bridge between (any) MUC chatroom and a Jabber user — by default it joins the #PowerShell channel at IRC.FreeNode.net and echos everything said there to you, and everything you say to it … to the chat room. Really quite useless, except as a demonstration. check-in: cd398b2467 user: Joel Bennnett tags: trunk | |
13:01 | Skip -every 3rd, or -upto 3 at a time, or the -first 3, or the -last 3 or any combination of the above … check-in: eb5ebf5241 user: Joel Bennett tags: trunk | |
13:01 | My first attempt at the Autoload functionality of the Korn shell check-in: b2d30011c2 user: unknown tags: trunk | |
13:01 | push-module will import a powershell v2.0 module and ensure that when the module is removed using remove-module, the functions the module clobbered are restored. UPDATE: previous version restored (promoted to global scope) clobbered functions that were visible from push-module function scope; this is wrong – it should only restore global functions. check-in: 62f384e984 user: Oisin Grehan tags: trunk | |
13:01 | Get-Help proxy function with URLs for PowerShell Core Help Topics when using the ‘Online’ parameter. check-in: c9521f278b user: unknown tags: trunk | |
13:01 | A script to handle “Pause“ing output command without polluting your buffer check-in: f38af03eb9 user: unknown tags: trunk | |
13:01 | A PowerShell script that demonstrates working with SSIS using the SQL Server PowerShell Extensions module SSIS. check-in: ca0de180da user: Chad Miller tags: trunk | |
13:01 | Quick script signer using the last avalable codesigning cert in MY cert store check-in: 7e2540101d user: unknown tags: trunk | |
13:00 | This is an overhaul of Jeffrey Snover’s original Start-Demo script … I’ve switched it to use ReadKey, which saves you some typing and makes the whole thing seem more natural when you’re demoing, (at least to me). I’ve also added a bunch of command-line options and a couple of features in the process (see the Revision History in the script). check-in: f255abed70 user: Joel Bennett tags: trunk | |
13:00 | The simplest logger. In your script just import-module Logger and debug, verbose, warnings and errors are logged to file. check-in: 54b47ce82c user: Joel Bennett tags: trunk | |
13:00 | Converts a file path to a relative path based on a specified folder check-in: a7e65d2908 user: Joel Bennett tags: trunk | |
13:00 | A better xsl stylesheet for log4net. Auto-refreshes, maintains scroll position. check-in: ada8a8e87c user: Joel Bennett tags: trunk | |
13:00 | This is like a (very simple) “more” script for PowerShell … the problem with it is that you’re paging by a count of objects, not by how many lines of text they’ll output … so the paging doesn’t really work except for format-table output … unless you specify it manually. However, this script provides you with “an option” if you want to have paging and still be able to use a script to color the output based on context or syntax. check-in: 2b5a1b18d0 user: Joel Bennett tags: trunk | |
13:00 | Skip -every 3rd, or -upto 3 at a time, or the -first 3, or the -last 3 or any combination of the above … check-in: 84b4f6e2c6 user: unknown tags: trunk | |
13:00 | The simplest logger. In your script just import-module Logger and debug, verbose, warnings and errors are logged to file. check-in: f132d2c4ad user: Joel Bennett tags: trunk | |
13:00 | The simplest logger. In your script just import-module Logger and debug, verbose, warnings and errors are logged to file. check-in: f58f094115 user: Joel Bennett tags: trunk | |
13:00 | A stylesheet for viewing log4net xml files (which is a bit of a trick, anyway) check-in: ffb18c808c user: unknown tags: trunk | |
13:00 | The simplest logger. In your script just import-module Logger and debug, verbose, warnings and errors are logged to file. check-in: 7bbb1f8225 user: Joel Bennett tags: trunk | |
13:00 | A trivial Log4Net implementation which (optionally) causes Write-Host, Write-Verbose, Write-Warning, Write-Debug, and Write-Error to log their output when called from (any) script. check-in: 09bfe023d6 user: Joel Bennett tags: trunk | |
13:00 | An example config for Log4Net check-in: 59c37f9797 user: Joel Bennett tags: trunk | |
13:00 | A wrapper for $Host.UI.PromptForChoice (fixed a copy-paste error) check-in: 475f120458 user: Joel Bennett tags: trunk | |
13:00 | I just added a bunch of tricks, including Ghosting windows (and unghosting), as well as messing with aero peek check-in: 4415a85950 user: Joel Bennett tags: trunk | |
13:00 | A wrapper for $Host.UI.PromptForChoice check-in: 64ce942d99 user: Joel Bennett tags: trunk | |
13:00 | Attempt to resolve the path to an executable using Get-Command or the “App Paths” registry key — returns an ApplicationInfo object check-in: c346895f8e user: Joel Bennett tags: trunk | |
13:00 | Use this cmdlet to retrieve the directory objects that are members of a certain group in Active Directory. check-in: 27bf09367f user: Angel-Keeper tags: trunk | |
13:00 | Use this cmdlet to retrieve the directory objects that are members of a certain group in Active Directory. check-in: c4073f97cc user: Angel-Keeper tags: trunk | |
13:00 | Getting a list of installed programs on computers in the network except the following vendors: check-in: 7462ad385c user: Angel-Keeper tags: trunk | |
13:00 | Uses MacroScope/Antlr to parse SQL query for tables and table aliases check-in: 3a0f3ef4b1 user: unknown tags: trunk | |
13:00 | Retrieve data from factual.com. Note: Requires you to establish an API key before you can use it. check-in: 08bad3c516 user: unknown tags: trunk | |
13:00 | Simple script that uses netsh to show wireless networks. check-in: 976b985ae5 user: Kris Cieslak tags: trunk | |
13:00 | My old bytes module with some extra functions from SANS all wrapped up into a single module. check-in: 9deaf4b1c6 user: Joel Bennett tags: trunk | |
13:00 | My old bytes module with some extra functions from SANS all wrapped up into a single module. check-in: c888cde013 user: unknown tags: trunk | |
13:00 | ISE-FileName module v 1.0 check-in: bec8fee27a user: unknown tags: trunk | |
13:00 | ISE-Lines module v 1.2 check-in: 35c955fabf user: Bernd Kriszio tags: trunk | |
13:00 | ISE-Comments module v 1.1 check-in: 8cfacd29dd user: poetter tags: trunk | |
13:00 | Retrieve Online Cmdlet Help — Fix a type check check-in: 35ca6a85ba user: Joel Bennett tags: trunk | |
13:00 | Fetch the HEAD for a url and return the ResponseUri. Good for service-independent short-url lengthening ;) check-in: 34ad8291d7 user: unknown tags: trunk | |
13:00 | Audit Folders/Shares and Export to Excel check-in: 7f88c964e3 user: DigitalAsylum tags: trunk | |
13:00 | A complete rewrite of my wget script to use HttpWebRequest and Response to figure out the filename, added some unwrapping because a couple sites had quotes around the file names. check-in: 3bd47f47b2 user: Joel Bennett tags: trunk | |
13:00 | Like Select-Object -Expand, but with recursive iteration of a select chain check-in: d5edde9b56 user: unknown tags: trunk | |
13:00 | Check if the AD object/path exists. Accepts DN, SID, GUID, UPN, samAccountName, Name or Domain\Name. Returns $true or $false. check-in: 2f2b8cd894 user: Dmitry Sotnikov tags: trunk | |
13:00 | Add new smtp address from csv and set new address primary check-in: 6ad692019f user: unknown tags: trunk | |
13:00 | Helpers for working with .Net classes: Get-Constructor, Get-Assembly, Add-Assembly, Get-Type check-in: 009c084075 user: Joel Bennett tags: trunk | |
13:00 | Create a new script from a series of commands in your history… or copy them to the clipboard. check-in: 48c18aa5b8 user: Joel Bennett tags: trunk | |
13:00 | A script to do replace strings in text files. Yes, this is just a wrapper around (gc) -replace | sc check-in: 3caa326506 user: Joel Bennett tags: trunk | |
13:00 | Using netsh.exe to loop through each WLAN on the system and export the settings to the user-provided output-file. check-in: b918329257 user: Jan Egil Ring tags: trunk | |
13:00 | Attempt to resolve the path to an executable using Get-Command or the “App Paths” registry key — returns an ApplicationInfo object check-in: 2c5e598810 user: Joel Bennett tags: trunk | |
13:00 | Format-PoshTable puts the output in a WPF DataGrid (inline in PoshConsole, popup otherwise) check-in: b848ed446b user: Joel Bennett tags: trunk | |
13:00 | Takes an array of RSS feed URLs and gets the site URL and title.. check-in: 549f7dff33 user: unknown tags: trunk | |
13:00 | All descriptions on the web which show how to do this so far have left the email attachment open which means if the script is continuing after the email and you wish to use the file you have attached you will not be able to as it will show as locked, use this example to close the attached file correctly using .Dispose() check-in: 80069fbb04 user: THOMAS tags: trunk | |
13:00 | Set-WinSchedule gives a GUI to select a schedule and schedules a task using schtasks. This is a beta. There are still a lot of features to implement. Please read through the synopsis->Description to see the list of features that I hope to get in a final release. check-in: c37ae2251e user: Tome Tanasovski tags: trunk | |
13:00 | A function to get a file listing via FTP and parse it into objects. check-in: a9b6b797f3 user: Joel Bennett tags: trunk | |
13:00 | A complete rewrite of my wget script to use HttpWebRequest and Response to figure out the filename check-in: 4fe73469aa user: Joel Bennett tags: trunk | |
13:00 | An example showing how to get a file listing via ftp. NOTE: the listing comes back in (bad) html… check-in: 7aa44e25a4 user: Joel Bennett tags: trunk | |
13:00 | A very simple stream-reader implementation (with no error handling) suitable for simple interactive script task … check-in: 01d1a33801 user: Joel Bennett tags: trunk | |
13:00 | A proof of concept module implementing partial application (not currying) of functions and cmdlets in powershell. This is a functional language technique often used in languages like Haskell, ML etc. check-in: cb6955222c user: Oisin Grehan tags: trunk | |
13:00 | PowerCLI to upgrade guests tools, hardware and record to CSV check-in: a83a572f46 user: unknown tags: trunk | |
13:00 | This script is intended to use IIS logs to audit OWA/Activesync logs for syncing of mail from an iPhone or a palm device. This script is not perfect, nor the prettiest thing in the world but it works. It could be further added to parse for windows mobile devices. If it was really slick it would grab all the unique values in the DeviceType= portion and then automatically include all mobile types. You can email the results to yourself in $To varible. check-in: 2c1c95bafe user: psukus tags: trunk | |
13:00 | Where I work, we don’t use AD for roughly 30-60 servers. There are multiple identical local windows accounts on various servers, and when a person leaves the company, those accounts need to be deleted by hand. This group of scripts performs the following tasks: check-in: d4475e0099 user: niklas tags: trunk | |
12:59 | My rewritten XML DSL now has better element name handling. See Blog Comments check-in: f985fb27e5 user: Joel Bennett tags: trunk | |
12:59 | Get observed IP address ranges and VLAN IDs from an ESX host’s physical adapter. Sample use at the bottom. check-in: 7c9a331d78 user: Carter Shanklin tags: trunk | |
12:59 | Create a new script from a series of commands in your history… or copy them to the clipboard. check-in: d53df340bf user: Joel Bennett tags: trunk | |
12:59 | Produces a report of the number of and names of VMs created broken down by month and year. check-in: 528208f2c9 user: unknown tags: trunk | |
12:59 | Never content to leave well-enough alone, I’ve rewritten my XML DSL with 100% less cruft. New-XDocument no longer requires the “xe” command as long as the name of your XML Element doesn’t coincide with that of a PowerShell command (if it does, you need the “xe” on the front), and namespaces can be referred to by short name like dc:creator to keep things simple. Please review the examples on New-XDocument as this is a breaking change. check-in: 104df129fb user: Joel Bennett tags: trunk | |
12:59 | Manage ASP.NET MemberShip, Role and Profile Provider with PowerShell. Especially useful with SqlMembershipProvider. I use it to manage SharePoint users with form based authentication (FBA). check-in: 17b23bd9e5 user: cglessner tags: trunk | |
12:59 | Export-CliXml and Import-CliXml only work with files. This is an implementation for sending CliXML directly to the pipeline. Probably needs v2 powershell (not tested in v1). check-in: e22722223b user: unknown tags: trunk | |
12:59 | Manage ASP.NET MemberShip, Role and Profile Provider with PowerShell. Especially useful with SqlMembershipProvider. I use it to manage SharePoint users with form based authentication (FBA). check-in: 275680b813 user: cglessner tags: trunk | |
12:59 | Create a new script from a series of commands in your history… or copy them to the clipboard. check-in: 06f66b5be0 user: Joel Bennett tags: trunk | |
12:59 | PowerShell-module with the ability to pin and unpin programs from the taskbar and the Start-menu in Windows 7 and Windows Server 2008 R2. check-in: 221f4a5ec9 user: Jan Egil Ring tags: trunk | |
12:59 | This script expands on Dmitry Sotnikov’s blog post on creating demo Active Directory environments. http://dmitrysotnikov.wordpress.com/2007/12/14/setting-demo-ad-environments/ check-in: 4143434605 user: Ted Wagner tags: trunk | |
12:59 | A simple CSV validator framework supporting external rulesets. Run: .\test-csv.ps1 my.csv .\myruleset.ps1 check-in: 78a92ba546 user: Oisin Grehan tags: trunk | |
12:59 | A simple CSV validator framework supporting external rulesets. Run: .\test-csv.ps1 my.csv .\myruleset.ps1 check-in: 36dc5acd49 user: Oisin Grehan tags: trunk | |
12:59 | “Taking Data from SQL [INTO] CSV [EHLO] SMTP-Email” check-in: fe8af64f44 user: Paul Brice tags: trunk | |
12:59 | A function to rename a computer check-in: 0a1ca93207 user: Gerald Klassen tags: trunk | |
12:59 | A function to rename a computer check-in: 351b648812 user: Gerald Klassen tags: trunk | |
12:59 | Performs an inner join on two collections of objects which share a common key value. Now works on DataTable objects (ie: can join the rows from two tables). check-in: 6e2ea4fc6e user: Joel Bennett tags: trunk | |
12:59 | Get observed IP address ranges and VLAN IDs from an ESX host’s physical adapter. Sample use at the bottom. check-in: b07410f89d user: Carter Shanklin tags: trunk | |
12:59 | A simple function based on http://www.peterprovost.org/archive/2007/02/25/22315.aspx to launch a process elevated — basically, this is the UAC equivalent of sudo (and therefore, will almost always require you to at least click OK). check-in: 2a216948a1 user: Joel Bennett tags: trunk | |
12:59 | Poshboard AD searcher showing stale computer accounts. Borrowed parts from PowerGUI powerpack check-in: d259de8015 user: Jbandy tags: trunk | |
12:59 | Authenticode 2.1 for PowerShell 2.0: Added Start-AutoSign function :) see my blog post check-in: 7382aaeadb user: Joel Bennett tags: trunk | |
12:59 | Two cmdlets for and from the Active-Directory uninitiated… check-in: 83a2a7b7a5 user: kevinslade tags: trunk | |
12:59 | Two cmdlets for and from the Active-Directory uninitiated… check-in: 14ba3958d9 user: Aleksandar tags: trunk | |
12:59 | Locks the workstation’s display. Locking a workstation protects it from unauthorized use. check-in: 385e366766 user: Mike Pfeiffer tags: trunk | |
12:59 | The Get-Computer cmdlet retrieves basic information such as computer name, domain or workgroup name, and whether or not the computer is on a workgroup or a domain for the local computer without using WMI. It uses Netapi32.dll to get the domain/workgroup name and .Net for the computername. check-in: e07ab49b56 user: Tome toenuff T tags: trunk | |