PoshCode Archive  Timeline

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

422 check-ins using file UIAutomation.ps1 version cf207bbd14

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