PoshCode Archive  Timeline

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

189 check-ins using file Get-QADGroupNesting.ps1 version b675fc8035

2018-06-10
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
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