PoshCode Archive  Timeline

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

200 most recent check-ins using file Send-HTMLFormattedEmail.ps1 version 64749ffa6b

2018-06-10
13:22
Plink to map ISO on iLO check-in: 87a66bd8a5 user: David tags: trunk
13:22
PowerZip – PowerShell Module that allows you to zip files check-in: b90f91ea3c user: ChristopheCREMON tags: trunk
13:22
An upgrade to my wget script which can output the downloaded html to the pipeline. Get-WebFile can download text or binary files, automatically determine file names, and present a progress report for large files… check-in: 25be4eb865 user: BillBarry tags: trunk
13:22
An upgrade to my wget script which can output the downloaded html to the pipeline. Get-WebFile can download text or binary files, automatically determine file names, and present a progress report for large files… check-in: 27940fda31 user: Joel Bennett tags: trunk
13:22
GUI interface that helps you update host profiles faster. check-in: 00d12d1cd9 user: David Chung tags: trunk
13:22
ESXi virtual machine VLAN check on two NIC configuration ESXi server. check-in: 1b3d851357 user: Bernd Kriszio tags: trunk
13:22
This script will compare the bios/firmware/driver/OMSA versions of a remote server against the Dell SUU update package. To use it, get a copy of the latest Dell SUU. Inside the SUU file structure, look for catalog.xml in the repository. This file will be read to determine the latest versions, and compare it to the currently installed versions on the remote machine (reporting any differences). The output can be used to easily push updates as well, since the update file name is returned in the results. check-in: 25eaa0c57f user: Nathan Linley tags: trunk
13:22
Search users by email, last name or username. Give status of user. Create and reset password, unlock user and enable user. check-in: a949cb6090 user: Tektility tags: trunk
13:22
My command prompt, as always. I leave this in a separate script file and invoke it from my profile. That way I can RE-invoke it to reset my prompt if I have to mess with it for some reason. check-in: df153333ed user: Joel Bennett tags: trunk
13:22
A script to convert MAML help to HTML. check-in: cabfd02a30 user: Joel Bennett tags: trunk
13:22
Debug Regex operation when matching any string check-in: c50124e916 user: Archdeacon tags: trunk
13:21
This script is a proof of concept. Further work needs to be done. It requires the user to enter a valid username and password for a gmail.com account. It then attempts to form an SSL connection with the server, and, retrieve the first email. Unfortunately it returns random results. Perhaps someone can improve upon it with some more sockets knowledge than I have. check-in: d3734fe973 user: Will Steele tags: trunk
13:21
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: 841f1e3934 user: Chad Miller tags: trunk
13:21
Add new smtp address from csv and set new address primary check-in: 305d826d2e user: Ermias tags: trunk
13:21
I really am still working on this replacement for the WASP module ;-) check-in: 47350de046 user: shakila tags: trunk
13:21
Extract all Parameters for a cmdlet from GET-HELP, list them in a single column check-in: 5ab612d012 user: Sean Kearney tags: trunk
13:21
A script to convert MAML help to HTML. check-in: 6cae18c3d4 user: Joel Bennett tags: trunk
13:21
I was having a great deal of difficulty in properly enumerating software applications on remote machines, so I wrote this function to help ease the problem somewhat. Among the many methods of gathering this information that are available, I had the most success using the “SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall” registry key as an information source. In order to use this function, the Powershell instance must support .Net 4.0 or greater, which is fairly straightforward if you follow these instructions. check-in: e16a26fccc user: Geoffrey Guynn tags: trunk
13:21
Debug Regex operation when matching any string check-in: 29b22020e0 user: Archdeacon tags: trunk
13:21
Read the first few characters of a file … fast. check-in: 90e5628915 user: Joel Bennett tags: trunk
13:21
A test that checks for hostname, ip, domain, ping, wsman (with credssp if you wish) remote reg RPC and RDP check-in: d35a4dd96a user: Juan Carlos tags: trunk
13:21
The function hex2sid will convert HEX-represented SID string like 010500000000000515000000358A021A75B9755407E53B2B1EF10108 to SID string (also known as SSDL) check-in: 0c700029b3 user: Dormidont tags: trunk
13:21
set-FSRMQuotaBasedOnSQL check-in: 8d8b7a24e7 user: ziembor tags: trunk
13:21
A test that checks for hostname, ip, domain, ping, wsman (with credssp if you wish) remote reg RPC and RDP check-in: 0bf4d83ed4 user: Justin tags: trunk
13:21
Backup any recently changed PowerShell scripts to a USB drive. check-in: e9d8a7cf62 user: Archdeacon tags: trunk
13:21
I really am still working on this replacement for the WASP module ;-) check-in: 94cc72b800 user: Joel Bennett tags: trunk
13:21
Helpers for working with .Net classes: Get-Constructor, Get-Assembly, Add-Assembly, Get-Type check-in: e888e8170c user: Joel Bennett tags: trunk
13:21
Autoload function like the Korn shell — can inject functions to modules. check-in: 265031418c user: Joel Bennett tags: trunk
13:21
This script generate a HTML report show all ACLs asociated with a Folder tree structure starting in root specified by the user check-in: 9d7bd81b55 user: Santi Fernandez tags: trunk
13:21
This is a script that reports movie library statistics, it’s hard coded to work on my two lan computers so you will have to do some hacking if you want to get it to work. check-in: 475e7e50fc user: James Gentile tags: trunk
13:21
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: 691ddf15c1 user: Chris tags: trunk
13:21
The PowerShell Talk – Demo 2, VM Easy Bake, XenServer check-in: 7c599787e0 user: Cody Bunch tags: trunk
13:21
A function to set an IP Address check-in: c38d374741 user: Andy Schneider tags: trunk
13:21
Wraps a pre-existing PowerShell cmdlet in a binary Workflow Activity and outputs a DLL that can be used in Visual Studio. check-in: f6e91ef8d6 user: Adam Driscoll tags: trunk
13:21
This script is a simple one that is meant to be scheduled on a periodic basis (we do it weekly). It looks inthe OU where we put our disabled AD users and removes users that have not logged in (inactive) for 400 days. This allows us to keep terminated employees disabled users for over a year for auditing purposes, but automatically cleans them out once the annual scope has passed. check-in: 3c2367737c user: DrDrewl tags: trunk
13:21
SarbanesOxley (SOX) compliance auditing often requires proof of review of the Windows Security Log and Remote Connections. This script captures Server 2008’s event logging and sends it to a csv for review and/or longterm archiving. The Security filter below encompasses the Account Management, Audit Policy CHanges, Failed Logins, and Audit Cleared filters. I left them for possible granular reporting in the future. check-in: 80eca8ecc4 user: DrDrewl tags: trunk
13:21
Completely based on Shay’s version, just one line added. For more information: check-in: 74c7896b26 user: Makovec tags: trunk
13:21
A script for updating the message relay server used by a Sophos client. check-in: c5d9dbd836 user: tojo2000 tags: trunk
13:21
Aaron Nelson asked via twitter: “hey beefarino or JeffHicks is there a way to GCI -Recurse on a directory and basically do an Out-WindowsMediaPlayer? #PoorMansPlayList” check-in: 4ff0292815 user: beefarino tags: trunk
13:21
Corrected the enhanced error handling, added window display option, corrected interactivity of hidden windows, added header area, wrapped in a function. check-in: cf67516046 user: obsidience tags: trunk
13:21
Scan the System Event log for all GPRS online activity – PCMCIA, USB, mobile phone, etc. A Balloon Tip will also be issued when the SIM card is about to expire. check-in: 11edcb8490 user: Archdeacon tags: trunk
13:21
Backup any recently changed PowerShell scripts to a USB drive. check-in: 18beeb767a user: Archdeacon tags: trunk
13:21
Backup any recently changed PowerShell scripts to a USB drive. check-in: aeee4d70a7 user: Archdeacon tags: trunk
13:21
Pings a host until it responds, tries to connect to the RDP port, and then when that succeeds, launches a remote desktop connection via mstsc.exe. I discuss this version here http://www.justaprogrammer.net/2012/01/07/making-an-rdp-connection-to-a-server-you-just-rebooted-with-powershell/ check-in: e6d2aa955f user: Justin Dearing tags: trunk
13:21
Quick and simple, send an email to AD accounts expiring before a specified date. The $body is specific to my org needs, but simply customize this to suit. Give values to $smtp,$from,$subject etc and away you go. check-in: 65ca8bdc2f user: andrewjh tags: trunk
13:21
Quick and simple, send an email to AD accounts expiring before a specified date. The $body is specific to my org needs, but simply customize this to suit. Give values to $smtp,$from,$subject etc and away you go. check-in: e8f5fb6e49 user: andrewjh tags: trunk
13:21
This advanced function will allow you to retrieve the current weather information for a given country/city. check-in: 7e93b83c16 user: Boe Prox tags: trunk
13:21
Backup any recently changed PowerShell scripts to a USB drive. check-in: f9b9536ee0 user: Archdeacon tags: trunk
13:21
Script to update subnet mask for all devices connected to a specific network. Specify network and new subnet mask and run on each device. check-in: f6f779164a user: Mitch tags: trunk
13:21
This function is an attempt to duplicate the Quest Get-QADUser cmdlet without using any third party snap-ins. If you want to run it against a Global Catalog you simply need to replace LDAP: with GC: and you will want to comment out the lines that pull the password last set and last logon timestamp unless you happen to be replicating those to your GC. check-in: 0a40460605 user: Jonathan Walz tags: trunk
13:21
Quick and simple, send an email to AD accounts expiring before a specified date. The $body is specific to my org needs, but simply customize this to suit. check-in: 9345a7f1c1 user: andrewjh tags: trunk
13:21
A code-generating and emitting magic function for creating type-safe struct classes for use in PowerShell! check-in: 825fbaf3b9 user: Joel Bennett tags: trunk
13:21
Hack your ESXi welcome screen. check-in: b5ff6c7ac1 user: Carter Shanklin tags: trunk
13:21
Scrape AJAX driven websites example using Watin and HtmlAgilityPack. check-in: c562c02cdc user: foureight84 tags: trunk
13:21
Function to report uptimes for single/multiple hosts as objects. Useful if not very original. check-in: f622ba6816 user: 81stPerson tags: trunk
13:20
Just a short function I wrote based on FTP Upload and download examples. Requires and absolute path to the file on the FTP server that you wish to remove i.e. ftp://ftp.someserver.com/filetodelete.txt check-in: 6978f0df45 user: xandertrystin tags: trunk
13:20
Script for running unit tests over WCF services to get code coverage for the whole service stack check-in: 955a5a1fa4 user: sixeyed tags: trunk
13:20
Quick and simple, send an email to AD accounts expiring before a specified date. The $body is specific to my org needs, but simply customize this to suit. check-in: 61bd214f3e user: andrewjh tags: trunk
13:20
This will perform a basic netstat.exe command and “objectize” its output. check-in: 88c80874e3 user: glnsize tags: trunk
13:20
The Get-NistNtpServer function retrieves the list of NIST NTP server names, IP addresses, and locations. check-in: d48d7d2795 user: Rich Kusak tags: trunk
13:20
Retrieve the Set-StrictMode session setting. Use as a Module (psm1) and expose any of the user’s settings, but the ‘latest’ parameter cannot be retrieved at present. check-in: 25941643fc user: Archdeacon tags: trunk
13:20
Retrieve the Set-StrictMode session setting. Use as a Module (psm1) and expose any of the user’s settings, but the ‘latest’ parameter cannot be retrieved at present. check-in: f995f65521 user: Archdeacon tags: trunk
13:20
Reloads all the file tabs in ISE (PS3CTP2) check-in: fae9168895 user: Joel Bennett tags: trunk
13:20
DELL Welcome to your computer come sit in front of me nice Harley Trike check-in: 7cc82a794f user: Mike Hays tags: trunk
13:20
Scan the System Event log for all GPRS online activity – PCMCIA, USB, mobile phone, etc. A Balloon Tip will also be issued when the SIM card is about to expire. check-in: 742aadb6ee user: Archdeacon tags: trunk
13:20
Scan the System Event log for all GPRS online activity – PCMCIA, USB, mobile phone, etc. A Balloon Tip will also be issued when the SIM card is about to expire. check-in: 3b2712e2ca user: Archdeacon tags: trunk
13:20
Scan the System Event log for all GPRS online activity – PCMCIA, USB, mobile phone, etc. A Balloon Tip will also be issued when the SIM card is about to expire. check-in: c7eeeadca3 user: Archdeacon tags: trunk
13:20
I needed to write a script to generate a VMware guest inventory so I needed to know what was available within the PowerCLI interface and where to find it. So I wrote this script to dump everything it could find about a single VMware guest. It has proved very useful to me. I hope others will also find it useful. check-in: 23e374bb1f user: Bruce Shreffler tags: trunk
13:20
Scan the System Event log for all GPRS online activity – PCMCIA, USB, mobile phone, etc. A Balloon Tip will also be issued when the SIM card is about to expire. check-in: f5020dc167 user: Archdeacon tags: trunk
13:20
The script leverages Powershell’s .NET, COM and ADODB functionality to automate the creation of Excel workbooks pre-populated with data retrieved from a SQL2008R2 database using stored procedures. check-in: c8328b20cc user: Kent Finkle tags: trunk
13:20
Set any text file to a fixed number of lines. Useful for maintaining files such as the PS Transcript log. Now option added to remove blank lines. check-in: 8ed533d68e user: Archdeacon tags: trunk
13:20
Read in an IIS *log file saved in format W3C. check-in: d639988164 user: Mark Shevchenko tags: trunk
13:20
This script will rename a sequenced set of files in a directory. check-in: 4a0425ce9d user: Sean Wendt tags: trunk
13:20
Provides details for every large list in the farm. As it is utilitarian, this script does not provide periodic status updates, though it could be programmed to do so. check-in: 8586e1748a user: Peter tags: trunk
13:20
Import Bulk Group Policies by only specifying the import directory. All group policies will be imported to domain. Script is currently only able to be run from Server 2008 R2. check-in: 05cedc8a71 user: Adam Liquorish tags: trunk
13:20
Script to print to a HTML formatted table user details for a workstation. User details include AccountLockoutTime,Enabled,LastLogon,BadLogonCount,LastPasswordSet,LastBadPasswordAttempt,PasswordNotRequired,PasswordNeverExpires,UserCannotChangePassword,AllowReversiblePasswordEncryption. check-in: cae1579956 user: Adam Liquorish tags: trunk
13:20
Create a Sharepoint 2010 farm check-in: 463e54837a user: Jos Verlinde tags: trunk
13:20
This function should be included in the PowerShell ISE profile.ps1 and it will display the start and end times of any scripts started clicking ‘Run Script’ (or F2) in the Add-ons Menu; additionally they will be logged to the Scripts Event Log (which needs creating first) and also to a text log file. This defaults to that created by the Windows Script Monitor Service (available from www.SeaStarDevelopment.Bravehost.com) which normally indicates the full command line used to start each script. check-in: 6fc6872f6e user: Archdeacon tags: trunk
13:20
This function should be included in the PowerShell ISE profile.ps1 and it will display the start and end times of any scripts started clicking ‘Run Script’ (or ALT+R) in the Add-ons Menu; additionally they will be logged to the Scripts Event Log (which needs creating first) and also to a text log file. This defaults to that created by the Windows Script Monitor Service (available from www.SeaStarDevelopment.Bravehost.com) which normally indicates the full command line used to start each script. check-in: fc790e128d user: Archdeacon tags: trunk
13:20
File Access scanner for ACL and Applocker policy. Scan a particular file/folder for write/execute access for ACL and Applocker based on the rights of a supplied user. Can be used to test the success of an applocker policy. Or to simulate what access a particular user would have. Scripts will also show direct membership and inherited membership for a user. Output is a table formatted in html. The following user types can be used; domain,local and domain cached. The domain cached can only be used when you are logged in as the cached user. Access Denied Exception errors may be produced when attempting to scan a folder that the particular user doesnt have access to( Errors are not fatal and will not effect the script outcome). check-in: 9a333dc626 user: Adam liquorish tags: trunk
13:20
Out-HTML – converts cmdlets help to HTML format check-in: 023abc9796 user: Vegard Hamar tags: trunk
13:20
The new WASP module is getting closer, but this still isn’t quite it ;) check-in: 229b5b7c87 user: Joel Bennett tags: trunk
13:20
The new WASP module is getting closer, but this still isn’t quite it ;) check-in: 8322dbdbec user: Joel Bennett tags: trunk
13:20
This script is created to file from all branch office servers. check-in: 78e3dcf1ce user: Ritesh Parab tags: trunk
13:20
This script is created to file from all branch office servers. check-in: 79ad3b9447 user: Ritesh Parab tags: trunk
13:20
Function/script to launch Remote Desktop sessions from command line, RDP file or pipeline using Terminal Services Client. check-in: b39a7c2cff user: Jason Archer tags: trunk
13:20
This function should be included in the PowerShell ISE profile.ps1 and it will display the start and end times of any scripts started clicking ‘Run Script’ (or ALT+R) in the Add-ons Menu; additionally they will be logged to the Scripts Event Log (which needs creating first) and also to a text log file. This defaults to that created by the Windows Script Monitor Service (available from www.SeaStarDevelopment.Bravehost.com) which normally indicates the full command line used to start each script. check-in: f212b67851 user: Archdeacon tags: trunk
13:20
This function should be included in the PowerShell ISE profile.ps1 and it will display the start and end times of any scripts started clicking ‘Run Script’ (or ALT+R) in the Add-ons Menu; additionally they will be logged to the Scripts Event Log (which needs creating first) and also to a text log file. This defaults to that created by the Windows Script Monitor Service (available from www.SeaStarDevelopment.Bravehost.com) which normally indicates the full command line used to start each script. check-in: 234b120e49 user: Archdeacon tags: trunk
13:20
This is a self service end user script for updating/adding their Active Directory user account thumbnailphoto attribute. The script resizes the original file to the recommended dimensions and file size. check-in: 38bbb8ddda user: Nathan Linley tags: trunk
13:20
This is the Console version of the ISE Run-Script function posted earlier. Typing ‘Run example’ from the command line will run and log the start and end times of ‘example.ps1’ check-in: 83f3fb3918 user: Archdeacon tags: trunk
13:20
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 012382037f user: Lee Holmes tags: trunk
13:20
A Theme for PowerShell ISE 3 CTP2 following the solarized theme with a dark background. See also “the Set-SolarizedHostColor script“http://poshcode.org/3081 and the Install-Solarized script for PowerShell.exe check-in: 75cd4f5353 user: Joel Bennett tags: trunk
13:20
Convert a console shortcut (e.g.: to PowerShell.exe) to the Solarized color scheme(s). check-in: 7aaa43844b user: Joel Bennett tags: trunk
13:20
a pomodoro module in PowerShell allowing you to run Pomodoros in powershell with sounds being played, and live update in the progress bar check-in: 4379ff8a8e user: karl prosser tags: trunk
13:20
Based on functions in SQLPSX. SqlProxy.psm1 module is used for administering SQL Server logins, users, and roles. Designed to be used with PS Remoting. All actions audited to a custom Eventlog. See Write-SqlProxyLog for log setup details check-in: 1caaaedbf6 user: Chad Miller tags: trunk
13:20
Description check-in: 303db81363 user: Victor Flores tags: trunk
13:20
The New-PemFile function creates a new PEM file by using the content from certificate files. check-in: 35d71c4cf0 user: Rich Kusak tags: trunk
13:20
Today I had spent a lot of time troubleshooting one module. After few checks I realized that it was simple typo that prevented PS from seeing my module in correct way. So here is function for you to avoid same problems… ;) check-in: 90abcec3aa user: Bartek Bielawski tags: trunk
13:20
Today I had spent a lot of time troubleshooting one module. After few checks I realized that it was simple typo that prevented PS from seeing my module in correct way. So here is function for you to avoid same problems… ;) check-in: b6efe67b56 user: Bartek Bielawski tags: trunk
13:19
proxy-function to get-childitem check-in: ae6ca2d071 user: walid toumi tags: trunk
13:19
This scConvertTo-Hex S-1-5-21-357043131-537017027-1947940980-1289ript will convert a security identifier (SID) in string format to its hexadecimal equivalent. e.g. check-in: 128b468283 user: S-1-5-21-2398571 tags: trunk
13:19
A script to ping servers (gets the servers from a text file) & report whether they are online or offline, to check free disks space on all servers and to report on any services which are set to automatic startup but are in a stopped state. It puts all this on a nicely formatted excel sheet, then saves a copy as H:\dailychecks\checks_todaysdate.xls (so if I’m not in I can review it later). It also launches my web browser (my home page is set to my company’s site) so that I can check the site is up, and it imports the exchange modules as I intend eventually to add another sheet to check Exchange services, when I can figure out how to do it. check-in: 73993cf14a user: Fred Fulford tags: trunk
13:19
Script used to perform user entitlement audits based on an XML report containing local groups, members of the local groups and systems that house the local groups. The script joins that data to data containing users and global groups grabbed directly from AD using the Quest AD Cmdlets and outputs the final report in CSV. Sorry that not everything is documented as I’d like it to be. check-in: 43874edbfc user: Alex Scoble tags: trunk
13:19
A module that wraps iscsicli.exe to provide basic iSCSI management capabilities check-in: db7eb4b324 user: beefarino tags: trunk
13:19
A module that wraps iscsicli.exe to provide basic iSCSI management capabilities check-in: 5ddfc25942 user: unknown tags: trunk
13:19
This is my first real PowerShell script, not sure if anyone has done anything like this before (I’m sure it has been done) but I figured Id share it anyway. Makes use of a function I found on here by Nathan Hartley called Get-NetView. check-in: 76d4d4522f user: pnorms tags: trunk
13:19
This is my first real PowerShell script, not sure if anyone has done anything like this before (I’m sure it has been done) but I figured Id share it anyway. Makes use of a function I found on here by Nathan Hartley called Get-NetView. check-in: c56454084e user: pnorms tags: trunk
13:19
This is my first real PowerShell script, not sure if anyone has done anything liek this before (I’m sure it has been done) but I figured Id share it anyway. Makes use of a function I found on here by Nathan Hartley called Get-NetView. check-in: 6349ea5403 user: pnorms tags: trunk
13:19
Makes use of Sysinternal’s psexec to get session data from qwinsta for both local and remote computers. check-in: 60553dae2a user: hotsnoj tags: trunk
13:19
Finds the length of time a session has been “locked”. check-in: 43e4e36021 user: hotsnoj tags: trunk
13:19
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 1d80f76d97 user: Lee Holmes tags: trunk
13:19
A PowerShell client for NaturalInputs.com to parse natural language dates into (optionally recurring) calendar event objects. check-in: c91fb311c2 user: Joel Bennett tags: trunk
13:19
- NOTES check-in: 03c3c7ad66 user: Andy Arismendi tags: trunk
13:19
Added hidden window, with Export/Import-Clixml to pull results into current window check-in: 69f0a265d8 user: rbellamy tags: trunk
13:19
Added hidden window, with Export/Import-Clixml to pull results into current window check-in: b4cf7a0fdb user: pezhore tags: trunk
13:19
- NOTES check-in: f1c95e17df user: ChristopheCREMON tags: trunk
13:19
Get-Path converts relative paths to drive or PSProvider -qualified paths. check-in: 01751951d9 user: Joel Bennett tags: trunk
13:19
Let’s fill the logs of the US House and Senate servers with the message we don’t want SOPA or E-Parasite! check-in: ce1212f7a3 user: hotsnoj tags: trunk
13:19
Sets properties for a given user local username. check-in: f913971941 user: Andy Arismendi tags: trunk
13:19
Get-FileHash.ps1 check-in: bcb7d41e06 user: Lee Holmes tags: trunk
13:19
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 0484a362ee user: Lee Holmes tags: trunk
13:19
Set the “user Cannot Change Password” property on an active directory user object check-in: 141be63488 user: Erik McCarty tags: trunk
13:19
Filters for backing and removing SQL Server linked servers or linked server login mappings check-in: ed7fea70dc user: Chad Miller tags: trunk
13:19
Get seller orders from Amazon’s MWS web services … with items optionally included. check-in: c3c1b20c72 user: Joel Bennett tags: trunk
13:19
Get seller orders from Amazon’s MWS web services … with items optionally included. check-in: bc24b7481e user: Joel Bennett tags: trunk
13:19
Get seller orders from Amazon’s MWS web services … with items optionally included check-in: 51048edc0b user: Joel Bennett tags: trunk
13:19
List all the members of the “AssociatedOwnerGroup” of each site (including root site) of each Site Collection of each Web Application in the farm. check-in: e24568ce44 user: Lucas Araujo tags: trunk
13:19
Starts the WIMM emulator, if you are developing for http://dev.wimm.com/ check-in: 1791d0daf1 user: Lee Holmes tags: trunk
13:19
This function is an attempt to duplicate the Quest Get-QADUser cmdlet without using any third party snap-ins. If you want to run it against a Global Catalog you simply need to replace LDAP: with GC: and you will want to comment out the lines that pull the password last set and last logon timestamp unless you happen to be replicating those to your GC. check-in: e35f4b6640 user: Jonathan Walz tags: trunk
13:19
A VI toolkit script to update all VM Guests on the selected hosts check-in: f1befb23c8 user: Brian English tags: trunk
13:19
Based on functions in SQLPSX. SqlProxy.psm1 module is used for administering SQL Server logins, users, and roles. Designed to be used with PS Remoting. All actions audited to a custom Eventlog. See Write-SqlProxyLog for log setup details check-in: 92f96c6ddc user: Chad Miller tags: trunk
13:19
This is nice, but a bit over complicated for my liking… Here are a few others that may be of help to someone. check-in: e6efedfea0 user: administrator tags: trunk
13:19
Based on functions in SQLPSX. SqlProxy.psm1 module is used for administering SQL Server logins, users, and roles. Designed to be used with PS Remoting. All actions audited to a custom Eventlog. See Write-SqlProxyLog for log setup details check-in: 3ac1fda36e user: Chad Miller tags: trunk
13:19
Function to import security certificates. check-in: c5987abedb user: anti121 tags: trunk
13:19
This function is an attempt to duplicate the Quest Get-QADUser cmdlet without using any third party snap-ins. If you want to run it against a Global Catalog you simply need to replace LDAP: with GC: and you will want to comment out the lines that pull the password last set and last logon timestamp unless you happen to be replicating those to your GC. check-in: e58ca86ea4 user: Jonathan Walz tags: trunk
13:19
Start up the .Net 4.0 Cassini Webserver. Useful for those of us who like to avoid opening visual studio check-in: f890c76e2c user: George Mauer tags: trunk
13:19
A function to rename a computer check-in: d7ded013f8 user: BORGKLS1 tags: trunk
13:19
Add to top of your scripts and the script will automatically create a log file called <script name>.log to the AppData folder check-in: 6267ec5f43 user: shauncroucher tags: trunk
13:19
Hardware Inventory script to run on Windows Servers and output the JSON string to a CouchDB Database check-in: 9ace58081a user: VulcanX tags: trunk
13:19
Based on functions in SQLPSX. SqlProxy.psm1 module is used for administering SQL Server logins, users, and roles. Designed to be used with PS Remoting. All actions audited to a custom Eventlog. See Write-SqlProxyLog for log setup details check-in: 3b02493ebc user: Chad Miller tags: trunk
13:19
PowerShell module that allows scripters to define argument transformation attributes in simple PowerShell syntax. This is an extension developed by beefarino of my ScriptTransform example at http://huddledmasses.org/more-custom-attributes-for-powershell-parameters/ and now supports re-defining transforms without restarting PowerShell. check-in: 0d8aca7497 user: Joel Bennett tags: trunk
13:19
A function to rename a computer check-in: a30e7f1b9b user: Gerald Klassen tags: trunk
13:19
PowerShell module that allows scripters to define argument transformation attributes in simple PowerShell syntax. This is an extension developed by beefarino of my ScriptTransform example at http://huddledmasses.org/more-custom-attributes-for-powershell-parameters/ and now supports re-defining transforms without restarting PowerShell. check-in: a861201ac2 user: beefarino tags: trunk
13:19
PowerShell module that allows scripters to define argument transformation attributes in simple PowerShell syntax. This is an extension of Joel’s ScriptTransform example at http://huddledmasses.org/more-custom-attributes-for-powershell-parameters/ check-in: 758cc56a5e user: beefarino tags: trunk
13:18
Based on functions in SQLPSX. SqlProxy.psm1 module is used for administering SQL Server logins, users, and roles. Designed to be used with PS Remoting. All actions audited to a custom Eventlog. See Write-SqlProxyLog for log setup details check-in: c4f4b42006 user: Chad Miller tags: trunk
13:18
Advanced function used to test UDP or TCP port/s on one or more systems to determine if it is open or not. check-in: f1dd34567e user: Boe Prox tags: trunk
13:18
This is an overhaul of Jeffrey Snover’s original Start-Demo script … I’ve switched it to use ReadKey, which saves you some typing and makes the whole thing seem more natural when you’re demoing, (at least to me). I’ve also added a bunch of command-line options and a couple of features in the process (see the Revision History in the script). check-in: 4d71ed7ebb user: Joel Bennett tags: trunk
13:18
Because people keep asking questions on IRC where the answer seems obvious… check-in: a4eb383a85 user: Joel Bennett tags: trunk
13:18
This will pull a list of computers from AD and copy a folder to that system. check-in: e11c820729 user: HughS tags: trunk
13:18
This is a sample script to read emails from an Inbox using Exchange Web Services. The code is a basic port of the C# found here: http://omegacoder.com/?p=454. The EWS SDK is a dependency: http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=c3342fb3-fbcc-4127-becf-872c746840e1 check-in: bf393d68fc user: halr9000 tags: trunk
13:18
Adapted from New-LinkedClone.ps1 from Hal Rottenberg. This version takes a third parameter called SnapName that allows a user to statically assign the snapshot that the clone should be built from. check-in: 6b163ec490 user: Cameron Smith tags: trunk
13:18
Posting on behalf of James Brundage of http://blog.start-automating.com/. Here’s his quote from email: check-in: f12809edd9 user: halr9000 tags: trunk
13:18
Deploys a file to a list of computers pulled from AD and creates a shortcut on each users desktop. check-in: 8b2f7e69c3 user: HughS tags: trunk
13:18
A function to rename a computer check-in: 32f2181385 user: Gerald Klassen tags: trunk
13:18
Create a computer login on a SQL server, optionally forcing the issue by removing any pre-existing account. For some reason, we run into this all the time with renamed computers… check-in: b9ab241fd5 user: Joel Bennett tags: trunk
13:18
A bunch of AD-related functions … I’m only pasting this because I can’t find another Get-ADComputer or Get-NTAccountName check-in: f20dd4a1e1 user: Joel Bennett tags: trunk
13:18
A bunch of AD-related functions … I’m only pasting this because I can’t find another Get-ADComputer or Get-NTAccountName check-in: ea9c36ba1a user: Joel Bennett tags: trunk
13:18
A bunch of AD-related functions … I’m only pasting this because I can’t find another Get-ADComputer check-in: 6e47adfac8 user: Joel Bennett tags: trunk
13:18
Demonstration script for getting file names and last update times into a SQL Server table. check-in: fd68fd37a9 user: Chad Miller tags: trunk
13:18
quick hard coded script for uploading a file to an ftp server. check-in: 56aeba2927 user: Stephen Price tags: trunk
13:18
Windows Script to collect Hardware information on a local system and Convert it to a JSON String and Upload that to a CouchDB Database check-in: a70202d76b user: VulcanX tags: trunk
13:18
Get-OUComputerNames check-in: b98b97d219 user: Admin tags: trunk
13:18
This function is an attempt to duplicate the Quest Get-QADUser cmdlet without using any third party snap-ins. If you want to run it against a Global Catalog you simply need to replace LDAP: with GC: and you will want to comment out the lines that pull the password last set and last logon timestamp unless you happen to be replicating those to your GC. check-in: ffdada57a9 user: Jonathan Walz tags: trunk
13:18
Here is a Microsoft.PowerShellISE_profile.ps1 that causes PowerShell_ISE to save all files in ASCII encoding instead of Unicode Big Endian. Adapted from Oisin Grehan’s script at http://www.nivot.org/nivot2/post/2010/05/21/PowerShellISEHackingChangeDefaultSaveEncodingToASCII.aspx#comment. check-in: 06e3380fdf user: Richard Vantreas tags: trunk
13:18
R.Vantrease ver 1.0 – The source control I use does not understand the default encoding that PowerShell_ISE saves scripts in (Unicode Big Endian), so I wanted a way to quickly convert my scripts to a friendlier encoding. I wrote the following little ditty to convert all the PowerShell scripts and module files to ASCII encoding. check-in: 5e48338c3b user: Richard Vantreas tags: trunk
13:18
Email list of AD Accounts with PasswordNeverExpires Set check-in: fa9b707856 user: VulcanX tags: trunk
13:18
Based on functions in SQLPSX. SqlProxy.psm1 module is used for administering SQL Server logins, users, and roles. Designed to be used with PS Remoting. All actions audited to a custom Eventlog. See Write-SqlProxyLog for log setup details check-in: ff093d06da user: Chad Miller tags: trunk
13:18
Ever wonder what kind of chassis your computer thinks it’s running on? Have a need to know if you’re RDP’d into a physical or virtual system? This script can probably answer the question for you. This script was adapted to PowerShell from a VBScript I’ve had for a while. It uses WMI to determine the Chassis type and translates the reported numerical code into decipherable text. – Thought i would rewrite this code using the switch function rather than elseif. Easier to read and less code to write. check-in: 44ffe95c83 user: AlphaSun tags: trunk
13:18
A couple of functions to suspend and resume applications (like what you do with Resource Monitor). check-in: c2360ee6f8 user: Joel Bennett tags: trunk
13:18
Splits files and combines them. Nowhere near ready for use though. Just a toy I was working on. check-in: 17c4d41aa0 user: HughS tags: trunk
13:18
Split a file into smaller files. check-in: f6f37927be user: tojo2000 tags: trunk
13:18
Strips off the ’1-’ prefix from phone numbers stored in Active Directory. check-in: 6ba7345604 user: David Retherford tags: trunk
13:18
A function to make it easier (in PowerShell 2) to enforce rules about variables (without making them parameters). check-in: ef0e8f1d3b user: Joel Bennett tags: trunk
13:18
For PowerShell 3: Export and Import DefaultParameterValues, optionally overwrite existing ones check-in: e7333dee85 user: Joel Bennett tags: trunk
13:18
Set a printer as default for any user who has ever logged onto any given computer in a domain. check-in: 5f985a25d2 user: Brad Blaylock tags: trunk
13:18
Set a printer as default for any user who has ever logged onto any given computer in a domain. check-in: c3a5e25d4e user: Brad Blaylock tags: trunk
13:18
Set a printer as default for any user who has ever logged onto any given computer in a domain. check-in: eeb9d5242f user: Brad Blaylock tags: trunk
13:18
This script, given a root path, will start a transcript with a unique and standardized file name. You can throw a call to this at the end of your profile, and you’ll always have a transcript of every session (if the host you’re using supports starting a transcript). check-in: 86dbb023b8 user: Scott Percy tags: trunk
13:18
This script gets all pc’s or servers from a OU and runs GPUpdate /force on these machines. check-in: e8fa231359 user: afokkema tags: trunk
13:18
Function to retrieve selected information about all SQL Server Instances on a given server. Will work remotely if the Server supports integrated security and the user has rights on the SQL Instance. check-in: d1e253e998 user: Richard Vantreas tags: trunk
13:18
The Test-EmptyFolder function tests if a specified folder is empty by checking if it check-in: 356a639142 user: Rich Kusak tags: trunk
13:18
This code does the same thing as Sysinternals AutoLogon.exe. However this allows for automation of the task. check-in: 244abb880e user: Andy Arismendi tags: trunk
13:18
This code does the same thing as Sysinternals AutoLogon.exe. However this allows for automation of the task. check-in: 3b35a37f2a user: Andy Arismendi tags: trunk
13:18
Converts aliases and parameter shortcuts in scripts to make them more portable. Now resolves command names to include the module (make sure you load modules you need), resolves parameter aliases, etc. (Works in PowerShell 3 CTP1 too). check-in: d73f90707e user: Joel Bennett tags: trunk
13:18
Emails a report of Exchange 2010 mailboxes over their size limit. check-in: 305335b131 user: Chris Brown tags: trunk
13:18
This is a sample script to read emails from an Inbox using Exchange Web Services. The code is a basic port of the C# found here: http://omegacoder.com/?p=454. The EWS SDK is a dependency: http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=c3342fb3-fbcc-4127-becf-872c746840e1 check-in: 98ff8057c5 user: halr9000 tags: trunk
13:18
This function returns information about disk volumes, works on Win2K, WinXP, Win2003, Win2008, WinVista, Win7. Can be used in a pipeline with -Raw switch or stand-alone. check-in: 2614a3e0a7 user: Richard Vantreas tags: trunk
13:18
This function returns information about disk volumes, works on Win2K, WinXP, Win2003, Win2008, WinVista, Win7. Can be used in a pipeline with -Raw switch or stand-alone. check-in: 16be16f540 user: Richard Vantreas tags: trunk
13:17
This will perform a basic netstat.exe command and “objectize” its output. check-in: a93774c24f user: Richard Vantreas tags: trunk
13:17
This will perform a basic netstat.exe command and “objectize” its output. check-in: eaabbf7972 user: glnsize tags: trunk
13:17
This scConvertTo-Hex S-1-5-21-357043131-537017027-1947940980-1289ript will convert a security identifier (SID) in string format to its hexadecimal equivalent. e.g. check-in: ad000ec04b user: S-1-5-21-2398571 tags: trunk
13:17
Helpers for working with .Net classes: Get-Constructor, Get-Assembly, Add-Assembly, Get-Type check-in: 5a0f410d3a user: Joel Bennett tags: trunk
13:17
This script will take a Twitter User’s Screen name and get their RSS feed of posts check-in: 77121aec04 user: Charlie tags: trunk
13:17
Enable LegacyV2RuntimeActivation so that BitsTransfer and SQLPS will work in the new .Net 4 PowerShell ISE (this config file is REQUIRED for PowerShell 3 CTP1 to work with those modules and other down-level .Net 2 modules). Save as C:\Windows\System32\WindowsPowerShell\v1.0\powershell_ise.exe.config check-in: b0f5ac34e4 user: Joel Bennett tags: trunk
13:17
This script will take a Twitter User’s Screen name and get their RSS feed of posts check-in: 9fb6bb9564 user: CrazyDave tags: trunk
13:17
Requires the ShowUI module available to download from here: http://showui.codeplex.com/releases/view/73603 check-in: 3b0db04517 user: Boe Prox tags: trunk
13:17
Requires the ShowUI module available to download from here: http://showui.codeplex.com/releases/view/73603 check-in: cc94d1a844 user: Boe Prox tags: trunk
13:17
This script will copy the group membership from an existing user account to a new user account. This script relies on functions that I source in, so you’ll need to grab my code from http://scripts.patton-tech.com/browser/powershell/production/includes/ActiveDirectoryManagement.ps1 check-in: cc2aa13ae3 user: Jeff Patton tags: trunk
13:17
Function may be useful for people who want to play with CTP1 for PowerShell 3 but need to use v2 scripts (and prefer ISE over PowerShell.exe) check-in: 2052014833 user: BartekB tags: trunk
13:17
Get the Free RAM from a system check-in: 53025af1c6 user: Joel Bennett tags: trunk