Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
241 check-ins using file Get-NetworkStatistics.ps1 version ce61756402
2018-06-10
| ||
13:57 | A couple functions I use to convert DN to Canonical, and canonical to DN. I find them handy for adhoc AD tasks… I saw someone ask about it on #powershell and figured I would share :) check-in: 41623f063d user: Glenn Sizemore glnsize tags: trunk | |
13:57 | This code is from a web scrape guide I’ve written on my blog. check-in: 59cff20bdb user: DollarUnderscore tags: trunk | |
13:57 | A function to parse tables out of HTML files and return them as PowerShell objects. check-in: ef5eb79085 user: Carter Shanklin tags: trunk | |
13:57 | A couple functions I use to convert DN to Canonical, and canonical to DN. I find them handy for adhoc AD tasks… I saw someone ask about it on #powershell and figured I would share :) check-in: fd2fa4b685 user: Glenn Sizemore glnsize tags: trunk | |
13:57 | Stop service and associated Pid. Sometimes homegrown win32 services has its Pid still terminating gracefully in the background for quite a while. This function allows to wait indefinitely, or after some time, kill the associated Pid. check-in: 3fc0cbc394 user: Daniel Cheng tags: trunk | |
13:57 | Regex match valid character string check-in: c785c9e93a user: Zefram tags: trunk | |
13:57 | IMCEAEX-_o=BLASTECH_ou=Exchange+20Administrative+20Group+20+28FYDIBOHF23SPDLT+29_cn=Recipients_cn=413261bf342845a7885ba18612590371-Shane+20Anderson@blastech.com.au check-in: 11101b3aad user: IMMTZ tags: trunk | |
13:57 | Get CSV report for messages received in mailbox during a month check-in: dd254351db user: Andrei Moraru tags: trunk | |
13:57 | This will perform a basic netstat.exe command and “objectize” its output. check-in: 2f77522023 user: glnsize tags: trunk | |
13:57 | L33t, Couldn’t have been any easier. check-in: 6baeee3c10 user: 123456 tags: trunk | |
13:57 | L33t, Couldn’t have been any easier. check-in: 0fd5ca1d0e user: 123456 tags: trunk | |
13:57 | L33t, Couldn’t have been any easier. check-in: 20db3b7c86 user: VISIONED tags: trunk | |
13:57 | L33t, Couldn’t have been any easier. check-in: fa15cc4c19 user: VISIONED tags: trunk | |
13:57 | Generate your own CA and sign your own certificates check-in: 72f9087e9c user: Andre Combrinck tags: trunk | |
13:57 | Generate your own CA and sign your own certificates check-in: 29d434b6d1 user: Andre Combrinck tags: trunk | |
13:57 | Generate your own CA and sign your own certificates check-in: 740b4eca78 user: Andre Combrinck tags: trunk | |
13:57 | Generate your own CA and sign your own certificates check-in: 6c028ac382 user: Andre Combrinck tags: trunk | |
13:57 | Get-Weather parses and displays the current weather and forecast from the Yahoo! RSS. Simply enter your zipcode (or IXX code from Yahoo weather) and -c(elcius) if you don’t want Fahrenheit temperatures. check-in: 45951ef2af user: unknown tags: trunk | |
13:57 | Generates an CSR certificate request powershell check-in: 5abc03b6fd user: Pavel tags: trunk | |
13:57 | Connect to an exchange mailbox and get your latest emails. check-in: 70ec02b304 user: George Mauer tags: trunk | |
13:57 | Removes the alpha channel of a given ARGB Color in Hex with the specified background color and returns a new [System.Drawing.Color]. check-in: cd008a9f30 user: Felix Bayer tags: trunk | |
13:57 | Configure Visio Graphics Services – just a small snippet for me to remember check-in: f5d5d70c07 user: Brian H Madsen tags: trunk | |
13:57 | This will perform a basic netstat.exe command and “objectize” its output. check-in: 136844f707 user: glnsize tags: trunk | |
13:57 | Iterate site, list and items and show permissions – only adds items with unique permissions to report check-in: ff36ee1186 user: Brian H Madsen tags: trunk | |
13:57 | Iterate site, list and items and show permissions – only adds items with unique permissions to report check-in: 2bfb70197f user: Brian H Madsen tags: trunk | |
13:57 | L33t, Couldn’t have been any easier. check-in: b3a500aa6b user: SunnyChakraborty tags: trunk | |
13:57 | Flattens a hashtable, removing ‘unnecessary’ levels of nesting. check-in: 4b39ce1963 user: Ross J Micheals tags: trunk | |
13:57 | Simple script to bulk-create printers on a print-server. Printers are imported from a csv-file. check-in: 37decee4c2 user: Jan Egil Ring tags: trunk | |
13:57 | <# check-in: ecbeb33757 user: DBAWithABeard tags: trunk | |
13:57 | Generate your own CA and sign your own certificates check-in: d9bd0b4a70 user: unknown tags: trunk | |
13:57 | Generate your own CA and sign your own certificates check-in: 76a448f7d9 user: unknown tags: trunk | |
13:57 | Mass User lookup Script to query user account name / UID and resolve a user’s first last name created by Morne Loubser. This simple light-weight script can resolve as many usernames as you’d like to in one go. There aren’t any sources that performs this function on the net, so this one is a definite keeper. The first of it’s kind to date to make it’s way onto the web. Can be used by both noobies and professional scripters. check-in: 7e262fd0a8 user: Morlokor tags: trunk | |
13:57 | This is an example of how to use Timers, Events, and Jobs together in a way that doesn’t block the event, but does block the host. See the Example for … an example. More later when I have time to think of them ;-) check-in: 9a84ad86a2 user: Joel Bennett tags: trunk | |
13:57 | A Whois script for powershell. check-in: 76fa610157 user: Joel Bennett tags: trunk | |
13:57 | ############################################################################################# check-in: 662940e8e8 user: Rob Sewell tags: trunk | |
13:57 | Added support for header to pass into the log, fixed FileCountLimit error proxy to out-file when non-default specified (remove from $PSBoundParameters), set output of $PSBoundParameters add/removal to $null to prevent output of boolean result. check-in: 29509b3510 user: Jim Ficarra tags: trunk | |
13:57 | Corrected syntax to delete the FileCountLimit’th file. (Script was failing to write past the max # of files) check-in: 7b19c9199d user: Jim Ficarra tags: trunk | |
13:57 | History: check-in: 883fe60af8 user: greg zakharov tags: trunk | |
13:56 | retrieve the windows product key of a specified machine using WMI check-in: 436d63bc29 user: karl prosser tags: trunk | |
13:56 | It’s like Test-WSMan but you can set the flags, so you can turn off CACheck and CNCheck (and I do, by default) check-in: 105afc3284 user: Joel Bennett tags: trunk | |
13:56 | Execute methods on vimService ESXi w/o using VMware assemblies. check-in: f0fbfc4981 user: waldo tags: trunk | |
13:56 | IMCEAEX-_O=CONTOSO_OU=First+20Administrative+20Group_cn=Recipients_cn=john+5Fjacob+2Esmith@contoso.com check-in: 2b9907df97 user: ahygate tags: trunk | |
13:56 | IMCEAEX-_O=CONTOSO_OU=First+20Administrative+20Group_cn=Recipients_cn=john+5Fjacob+2Esmith@contoso.com check-in: 28f75242f4 user: Test1 tags: trunk | |
13:56 | This simple function exports the structure of nested groups in a similar way as folder and file structures are usually presented. check-in: d10d5f870d user: DollarUnderscore tags: trunk | |
13:56 | Same as functionality as http://poshcode.org/5536 but with a GUI on top. check-in: f5045261f8 user: DollarUnderscore tags: trunk | |
13:56 | This simple function exports the structure of nested groups in a similar way as folder and file structures are usually presented. check-in: 14e7e81c93 user: DollarUnderscore tags: trunk | |
13:56 | Run the following from the Exchange 2010 shell and it will give you a semi-graphical view on the status of any open move requests: check-in: 6d51f9849f user: themoblin tags: trunk | |
13:56 | Opens a function in a text editor…. check-in: faf536422e user: Joel Bennett tags: trunk | |
13:56 | another delete files script check-in: 136b1217eb user: chriskenis tags: trunk | |
13:56 | A tool to find a text editor check-in: 35d27343f5 user: Joel Bennett tags: trunk | |
13:56 | Install and run BGInfo at startup using registry method check-in: a96cf98936 user: Chad Miller tags: trunk | |
13:56 | Writes a message to the console with colored foreground and background. Given messages are split on word boundaries into lines, and each line is padded to $Limit length in order to allow the background color of the message to extend to $Limit consistently. check-in: 577cba7d55 user: jpbruckler tags: trunk | |
13:56 | Splits a file into many files based on a regular expression check-in: 440be607cf user: Joel Bennett tags: trunk | |
13:56 | Pattern which shows: How to create a non blocking GUI Thread and how to write Data with PowerShell to GUI controls correctly from a different Runspace. check-in: d26582ab25 user: Peter Kriegel tags: trunk | |
13:56 | Requires – Quest ActiveRoles Snapin check-in: 559bc7551b user: Steven Saehrig tags: trunk | |
13:56 | Creates or updates registry keys to disable SSL3 and enable TLS 1.0, 1.1, 1.2 check-in: f5dc06cba3 user: anonymous tags: trunk | |
13:56 | opens a function in a text editor…. check-in: 6793472cc6 user: Joel Bennett tags: trunk | |
13:56 | Late bound invocation for any methods/generic methods (or properties), including open generic members that would normally require awkward reflection and near-impossible manual generic type parameter inference. Pipe the type or instance, pass the method name as a string, the arguments as an object array and don’t forget to tell it if you want to call a static method. check-in: 2be2a9c7b8 user: Oisin Grehan tags: trunk | |
13:56 | Simple script to bulk-create printers on a print-server. Printers are imported from a csv-file. check-in: f4695ab358 user: Jan Egil Ring tags: trunk | |
13:56 | quick hard coded script for uploading a file to an ftp server. check-in: 46296409fa user: Stephen Price tags: trunk | |
13:56 | quick hard coded script for uploading a file to an ftp server. check-in: d1380ffec6 user: Stephen Price tags: trunk | |
13:56 | quick hard coded script for uploading a file to an ftp server. check-in: 35a43669a4 user: Stephen Price tags: trunk | |
13:56 | IMCEAEX-_O=BAYMAIL_OU=EXCHANGE+20ADMINISTRATIVE+20GROUP+20+28FYDIBOHF23SP DLT+29_CN=RECIPIENTS_CN=IMMTZ@bayer.cnb check-in: eb54c9d292 user: IMMTZ tags: trunk | |
13:56 | Function to import security certificates. check-in: 6d100f2f08 user: iamlei dee tags: trunk | |
13:56 | A simple function to force current user logoff without warning. The function takes one computer name or a list of computer names. check-in: f41e75143b user: lieuhon tags: trunk | |
13:56 | IMCEAEX-_O=FIDELITY+20INTERNATIONAL_OU=EXCHANGE+20ADMINISTRATIVE+20GROUP+20+28FYDIBOHF23SPDLT+29_CN=RECIPIENTS_CN=Sewnath+2C+20Genthaa8e@fil.com check-in: 1ba363ec4e user: IMMTZ tags: trunk | |
13:56 | This complete module greatly facilitates backing up your Hyper-V virtual machines. check-in: e98db6a5f7 user: Brian Pruitt-G tags: trunk | |
13:56 | See www.cosonok.com and CDOT-Check.ps1 check-in: 143fec7c60 user: vCosonok tags: trunk | |
13:56 | See www.cosonok.com and CDOT-Check.ps1 check-in: 09046a4064 user: vCosonok tags: trunk | |
13:56 | See www.cosonok.com and Set-DfsnForDR.ps1. check-in: 68ada878b1 user: vCosonok tags: trunk | |
13:56 | Example extracting data from sysmon event logs. check-in: 8d0ebe28b5 user: rcookiemonster tags: trunk | |
13:56 | I’m sick of searching for cars on KSL manually. check-in: ff15ea9d55 user: Zefram tags: trunk | |
13:56 | I’m sick of searching for cars on KSL manually. check-in: 7a818fa6a0 user: Zefram tags: trunk | |
13:56 | Get-Parameter is used to obtain all of the parameters for a cmdlet. It also returns info like aliases and whether a parameter is mandatory. check-in: 1742e6a38a user: halr9000 tags: trunk | |
13:56 | From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: c64a77bb78 user: Lee Holmes tags: trunk | |
13:56 | Generate your own CA and sign your own certificates check-in: 99c5a7b2fc user: Andre Combrinck tags: trunk | |
13:56 | This complete module greatly facilitates backing up your Hyper-V virtual machines. check-in: 2919f04ff5 user: Brian Pruitt-G tags: trunk | |
13:56 | This complete module greatly facilitates backing up your Hyper-V virtual machines. check-in: 50e6951e62 user: Joel Webster tags: trunk | |
13:55 | This script iterates through a list of servers and writes to Excel check-in: f8ecf59c09 user: Rob Sewell http tags: trunk | |
13:55 | Our Appassure backup service will periodically hang and stop taking scheduled snapshots. This script runs on the Appassure server as a scheduled task every 15 minutes. If the last snapshot job is older than 75 minutes (a value that takes into account the less frequent snapshots that take place over the weekend) it sends an email alert and reboots the server. ‘ScriptEvents’ is an event log I created on teh Appassure server to log these automatic reboots. check-in: bf2833eec6 user: JeffH tags: trunk | |
13:55 | help-84 check-in: da57f66241 user: Ermias tags: trunk | |
13:55 | retrieve the windows product key of a specified machine using WMI check-in: 04926fd56a user: greg zakharov tags: trunk | |
13:55 | retrieve the windows product key of a specified machine using WMI check-in: 530507f161 user: greg zakharov tags: trunk | |
13:55 | Get-Parameter is used to obtain all of the parameters for a cmdlet. It also returns info like aliases and whether a parameter is mandatory. check-in: cd42a4c5e8 user: halr9000 tags: trunk | |
13:55 | retrieve the windows product key of a specified machine using WMI check-in: 9b32daf3ca user: greg zakharov tags: trunk | |
13:55 | retrieve the windows product key of a specified machine using WMI check-in: 2c6151981d user: greg zakharov tags: trunk | |
13:55 | retrieve the windows product key of a specified machine using WMI check-in: bab9acf1dd user: greg zakharov tags: trunk | |
13:55 | Get a Full HTML computer Report from a list of computers or just one. The OutPath is the folder to store the report. It includes scheduled tasks, applications, services and more… check-in: f8867c3d4d user: Chris Weislak tags: trunk | |
13:55 | adaptation of script to set local admin password thru SCCM check-in: 0f9a3dd98a user: chriskenis tags: trunk | |
13:55 | Powershell JIRA REST method authentication and common functions… check-in: 9666323035 user: Chris916 tags: trunk | |
13:55 | Get-OUComputerNames check-in: 61a5646520 user: Nathan Hartley tags: trunk | |
13:55 | D:(A;CI;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;SY)(A;;CCDCLCSWRPWPDTLOCRRC;;;BA)(A;;CCLCSWLOCRRC;;;IU)(A;;CCLCSWLOCRRC;;;SU) check-in: c695d7c9e5 user: Matthew Graeber tags: trunk | |
13:55 | Add new smtp address from csv and set new address primary check-in: 084bf37c15 user: Ermias tags: trunk | |
13:55 | This is a script to remove empty folders from a drive. I used it when i had to clear up a shared drive from a former company. check-in: 38ca4d8c4e user: Trevor Wilson tags: trunk | |
13:55 | Enables SNMP via Add-WindowsFeature (If not already enabled) check-in: 7d3e049fd0 user: 8i5i9 tags: trunk | |
13:55 | usage : .\Get-OUComputerNames.ps1 “OU=TESTOU,dc=domain,dc=com” check-in: e3fcf1d5eb user: Nathan Hartley tags: trunk | |
13:55 | This advanced function will return information about the estimated token size and group memberships of the specified user. check-in: 04707b216e user: DollarUnderscore tags: trunk | |
13:55 | Last module from class. See, I didn’t forget. check-in: 4f7a3cc349 user: Don Jones tags: trunk | |
13:55 | I know there already are a bunch of approaches to this, but this is my somewhat hacky contribution to wpf with powershell. I wanted to be able to draw my ui in visual studio or blend and then use the xaml with my powershell script in a simple way. It certainly has room for improvements, but I think it has potential. I’m quite sure that there are other (nicer) ways to do some of the more hacky stuff. check-in: 3d0ab06a14 user: David Sjstrand tags: trunk | |
13:55 | I know there already are a bunch of approaches to this, but this is my somewhat hacky contribution to wpf with powershell. I wanted to be able to draw my ui in visual studio or blend and then use the xaml with my powershell script in a simple way. It certainly has room for improvements, but I think it has potential. I’m quite sure that there are other (nicer) ways to do some of the more hacky stuff. check-in: e4a96753c8 user: David Sjstrand tags: trunk | |
13:55 | Migrating Printers from 2003 to 2008 check-in: 43f5abc691 user: Wesley K tags: trunk | |
13:55 | Grab remote NIC settings, including Speed and Duplex. check-in: ee2805239e user: hugopeeters tags: trunk | |
13:55 | Find matching members in a local group check-in: 69b29f048a user: Hal Rottenberg tags: trunk | |
13:55 | From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: ca105878dc user: Lee Holmes tags: trunk | |
13:55 | Wednesday Elsa module check-in: 8fe6e00bf3 user: Don Jones tags: trunk | |
13:55 | “Taking Data from SQL [INTO] CSV [EHLO] SMTP-Email” check-in: 03a2a7d552 user: Paul Brice tags: trunk | |
13:55 | Sets local account passwords on one or more computers. check-in: b9e2e7bea9 user: Nathan Hartley tags: trunk | |
13:55 | Function to retrieve windows product info from registry with GUI check-in: 89bd922617 user: skourlatov tags: trunk | |
13:55 | retrieve the windows product key of a specified machine using WMI check-in: 885bb79ad8 user: greg zakharov tags: trunk | |
13:55 | Here is full description provided by the customer: check-in: e60972580c user: unknown tags: trunk | |
13:55 | Remove diacritics from string : check-in: 7ae657e00e user: Grgory Schiro tags: trunk | |
13:55 | This is a demo of one way you could implement handling Ctrl+C (CancelKeyPressed) without using PSEvent or PInvoke … check-in: 7c739f4e63 user: Joel Bennett tags: trunk | |
13:55 | I found this script very useful. Enjoy!:) check-in: 8fa8be780d user: greg zakharov tags: trunk | |
13:55 | Analog of UNIX lspci basic functionality. check-in: dde8bef497 user: greg zakharov tags: trunk | |
13:55 | without wmi check-in: ed873d49d3 user: greg zakharov tags: trunk | |
13:55 | Saturated addition, subtraction, multiplication, and casting from numeric types to integer types using clamping to handle overflows. check-in: 532daa9f3b user: Public Domain tags: trunk | |
13:55 | Saturated addition, subtraction, multiplication, and casting from numeric types to integer types using clamping to handle overflows. check-in: 586de4aada user: Public Domain tags: trunk | |
13:55 | This script refreshes a mirrored database. More details at http://sqldbawithabeard.com check-in: 2ba5bfd054 user: Rob Sewell http tags: trunk | |
13:54 | Refreshes an Availability group database from a backup taken from a Load Server check-in: 8327949223 user: Rob Sewell http tags: trunk | |
13:54 | A function to rename a computer check-in: 4b6f9b217e user: Gerald Klassen tags: trunk | |
13:54 | 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: 3d5cbec8e7 user: Oisin Grehan tags: trunk | |
13:54 | 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: debab2fd51 user: Oisin Grehan tags: trunk | |
13:54 | Saturated addition and casting from numeric types to integer types using clamping to handle overflows. check-in: e0cb48c94a user: Public Domain tags: trunk | |
13:54 | Audit script by Alan Renouf, Usage: Audit.ps1 ‘path’ path needs to be in single quotes. The file needs to be a plain text list of computers to be audited one on each line. Output will be a htm file for each server with detailed system information. Any comments please contact me. check-in: 0ae3130b5f user: alanrenouf tags: trunk | |
13:54 | Generates an CSR certificate request powershell check-in: c585a8f81a user: Pavel_Kandratsyeu tags: trunk | |
13:54 | A function to rename a computer check-in: 28f17430d7 user: Gerald Klassen tags: trunk | |
13:54 | Refreshes an Availability group database from a backup taken from a Load Server check-in: b6ca1d9232 user: Rob Sewell http tags: trunk | |
13:54 | How to obtain file fragmentation data via PowerShell? That’s answer. check-in: 7af2c36e96 user: skourlatov tags: trunk | |
13:54 | From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes, updated for 32/64 bit view by Burt Harris check-in: 532fe43732 user: Lee Holmes tags: trunk | |
13:54 | From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes, check-in: 0584a5e412 user: Lee Holmes tags: trunk | |
13:54 | Modified Robbie Foust’s Get-Regex.ps1 to streamline code. This version requires PowerShell 3.0. check-in: 1ca4d6b314 user: Robbie Foust tags: trunk | |
13:54 | Modified Robbie Foust’s Get-Regex.ps1 to streamline code. This version requires PowerShell 3.0. check-in: e84bc5e646 user: Robbie Foust tags: trunk | |
13:54 | A Module to solve fileshare permission issues once and for all. Allows you to impersonate other network credentials for windows network authentication. check-in: 34b68d4193 user: Joel Bennett tags: trunk | |
13:54 | lscpu is the great command but what if I just wanna see CPU model? check-in: d429db12e0 user: greg zakharov tags: trunk | |
13:54 | Hack your ESXi welcome screen. check-in: b62b32931e user: Carter Shanklin tags: trunk | |
13:54 | Create a simple calendar with all your flights from TripIt account. Feel free to make your improvements. check-in: b612d4ef5d user: GTworek tags: trunk | |
13:54 | A v2.0 function to recursively get the sizes of all subdirectories under a root path. check-in: 5e55f3e5f5 user: tojo2000 tags: trunk | |
13:54 | This cmdlet could help with the process of finding out if a group is used in Active Directory by finding out when the members of the group logged on last time. check-in: 2020826e5d user: DollarUnderscore tags: trunk | |
13:54 | This module provides two functions: check-in: cecd43490d user: Tome Tanasovski tags: trunk | |
13:54 | Very grateful to greg zakharov for this example. Good luck you, greg, in search of work. check-in: ec53bbc8e0 user: greg zakharov tags: trunk | |
13:54 | Made some improvements check-in: 029e997f79 user: tysonkopczynski tags: trunk | |
13:54 | This script refreshes a mirrored database. More details at http://sqldbawithabeard.com check-in: 321125dafe user: Rob Sewell http tags: trunk | |
13:54 | retrieve the windows product key of a specified machine using WMI check-in: 4735d73ed6 user: dasdas tags: trunk | |
13:54 | compatibility: PowerShell 1.0, PowerShell v2.0 check-in: 023cb5cd83 user: Oisin Grehan tags: trunk | |
13:54 | A pure powershell script to run periodic updates to your DuckDNS IP Address. check-in: e5a6f3a69c user: GodEater tags: trunk | |
13:54 | A snippet which will setup a job that repeats every 5 minutes at boot time. check-in: fa76f3973e user: GodEater tags: trunk | |
13:54 | Your first steps at capturing packets from PowerShell with WinPcap via SharpPcap check-in: 7c8fb15637 user: Joel Bennett tags: trunk | |
13:54 | From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: ea1d8272b4 user: Lee Holmes tags: trunk | |
13:54 | A Module to solve fileshare permission issues once and for all. Allows you to impersonate other network credentials for windows network authentication. check-in: 1d1e92adcb user: Joel Bennett tags: trunk | |
13:54 | There was a script written by TheMoblin http://poshcode.org/4651 that started a discussion at the Powershell forums http://powershell.org/wp/forums/topic/how-to-make-this-more-useful-for-my-situation/ as I was having issues getting it to work in my particular situation. Mike Robbins responded with the below code. My original description for this was incorrect and this is an updated description to ensure Mike gets the correct credit as it is well deserved. check-in: c232be3e83 user: xspader tags: trunk | |
13:54 | This demo shows how to highlight text in RichTextBox with Dictionary<string, color>. Tested on PowerShell v2 check-in: a33570b080 user: greg zakharov tags: trunk | |
13:54 | This is an update to the original script from TheMoblin http://poshcode.org/4651 for larger implementations for larger AD infrastructure. I had help with this from Don and Mike at Powershell.org forums. check-in: d658b06858 user: xspader tags: trunk | |
13:54 | This is an update to the original script from TheMoblin http://poshcode.org/4651 for larger implementations for larger AD infrastructure. I had help with this from Don and Mike at Powershell.org forums. check-in: b0c7a7eaa0 user: xspader tags: trunk | |
13:54 | This is an update to the original script from TheMoblin http://poshcode.org/4651 for larger implementations for larger AD infrastructure. I have help with this from Don and Mike at Powershell.org forums. check-in: 38f9314402 user: xspader tags: trunk | |
13:54 | RESTful server in pure PowerShell. Does not require a webserver. Requires PowerShell v3.0. Further development of this project has moved to https://github.com/paruljain/powershell-webserver check-in: fb2af638b7 user: Parul Jain tags: trunk | |
13:54 | Very simple function to improve the usability of WMI method check-in: 9bb56139e2 user: skourlatov tags: trunk | |
13:54 | Recycle Bin Object check-in: 88d4a6252a user: skourlatov tags: trunk | |
13:54 | Simple script to bulk-create printers on a print-server. Printers are imported from a csv-file. check-in: a2025ed382 user: Jan Egil Ring tags: trunk | |
13:53 | Simple script to bulk-create printers on a print-server. Printers are imported from a csv-file. check-in: e692f83710 user: Jan Egil Ring tags: trunk | |
13:53 | A function to set a sql connection string in a web.config file check-in: 1a80d9bd26 user: Andy Schneider tags: trunk | |
13:53 | Sets the system primary DNS suffix by p-invoking the Win32 API. Returns true for success, false for failure. check-in: ffb5041480 user: Andy Arismendi tags: trunk | |
13:53 | Gets the picture stored in the thumbnailPhoto attribute for the specified user/users and saves it to the path specified by the Path parameter. Path should be a folder, not a file. check-in: d091611844 user: DollarUnderscore tags: trunk | |
13:53 | Set-Wallpaper lets you set your windows desktop wallpaper. It requires PInvoke and I wrote it using CTP2’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: 618417dfc0 user: Joel Bennett tags: trunk | |
13:53 | Stop service and associated Pid. Sometimes homegrown win32 services has its Pid still terminating gracefully in the background for quite a while. This function allows to wait indefinitely, or after some time, kill the associated Pid. check-in: cd1effcb8f user: Daniel Cheng tags: trunk | |
13:53 | These functions retrieve information about tv show airdates. They are used as a part of my “home automation with powershell”-project. check-in: 6901c990fe user: DollarUnderscore tags: trunk | |
13:53 | This is a first stab at creating a little DSL to generate XML. Note that I used System.Linq.XML (and output an XDocument) instead of the old XmlDocument… This means you have to have .Net 3.5 (LINQ) installed. It also means that if you want to be able to use the output via PowerShell’s magic XML dot-notation, you have to cast it to XmlDocument, just write: [xml]$xml = New-XML ... check-in: 63cb36d230 user: Joel Bennett tags: trunk | |
13:53 | 93ef94849b2d23cc2b73a9a4aaecbdfc60e6f6fd71c38f7dffbd553c45b31c894b6e37e3ec4221ad5496aa7a67925f79d2866748e5e3e00758dbfa386523306e check-in: 1604dec8c8 user: socialhype tags: trunk | |
13:53 | IMCEAEX-_O=CENTEGRA_OU=EXCHANGE+20ADMINISTRATIVE+20GROUP+20+28FYDIBOHF23SPDLT+29_CN=RECIPIENTS_CN=REF0428@centegra.com check-in: 3f03b9ef8f user: Rohit tags: trunk | |
13:53 | Set environment variables stickily check-in: 84347d7bc0 user: Joel Bennett tags: trunk | |
13:53 | A function to join a domain check-in: f9352a789f user: unknown tags: trunk | |
13:53 | Set environment variables stickily check-in: 07d0557bf3 user: Joel Bennett tags: trunk | |
13:53 | Advanced Function to get local members. Some of text-fetching going on, but it will hopefully work on your machine aswell. check-in: 8bb0092947 user: DollarUnderscore tags: trunk | |
13:53 | D:AI(A;ID;FA;;;BA)(A;ID;FA;;;S-1-5-21-890363662-2940963259-810455757-8306)(A;ID;FA;;;S-1-5-21-890363662-2940963259-810455757-9657)(D;ID;FA;;;S-1-5-21-890363662-2940963259-810455757-6336)(A;ID;FA;;;SY)(A;ID;FA;;;S-1-5-21-890363662-2940963259-810455757-500)(A;ID;0×1200af;;;BU)(A;ID;FA;;;DA) check-in: ca21b3e8be user: Matthew Graeber tags: trunk | |
13:53 | Buying groceries with PowerShell, because why not? ;-) check-in: cd3f7bedc0 user: DollarUnderscore tags: trunk | |
13:53 | Functions to copy and paste to the clipboard. check-in: 64768aaf3a user: Public Domain tags: trunk | |
13:53 | In your server environments sometimes to get the details of printers on a print server people need to log-in to the print server, open MMC console, go to print management, add servers and then get to see the printer details. check-in: beb3801aa3 user: Anupam Majhi tags: trunk | |
13:53 | Simple script for work with recycle bin check-in: e44b179e6b user: unknown tags: trunk | |
13:53 | Audit script by Alan Renouf, Usage: Audit.ps1 ‘path’ path needs to be in single quotes. The file needs to be a plain text list of computers to be audited one on each line. Output will be a htm file for each server with detailed system information. Any comments please contact me. check-in: ef00bd53e9 user: alanrenouf tags: trunk | |
13:53 | Audit script by Alan Renouf, Usage: Audit.ps1 ‘path’ path needs to be in single quotes. The file needs to be a plain text list of computers to be audited one on each line. Output will be a htm file for each server with detailed system information. Any comments please contact me. check-in: 3e45b16a9a user: alanrenouf tags: trunk | |
13:53 | A simple datastorage module for the #PowerShell IRC bot which serves as a simple example of how to use Beefarino’s SQLite Provider check-in: cea2bffc8a user: Joel Bennett tags: trunk | |
13:53 | This script recurses through the directory in the $path variable checks which files check-in: cc47d4c2ea user: DBAWithABeard tags: trunk | |
13:53 | This script will take a Twitter User’s Screen name and get their RSS feed of posts check-in: 2a49df9c07 user: leventilhan tags: trunk | |
13:53 | Script for vSphere SysLog Collector. Uses IP address from directories created for each esxi host to do a DNS lookup and create shortcuts for those folders based on the returned DNS of the esxi host check-in: 10b162081d user: Cory Murdoch tags: trunk | |
13:53 | This script will take a Twitter User’s Screen name and get their RSS feed of posts check-in: e058429336 user: bonioctavianus tags: trunk | |
13:53 | Script is commented for explanation of each step check-in: 52316bbabb user: greg zakharov tags: trunk | |
13:53 | A function to parse tables out of HTML files and return them as PowerShell objects. check-in: 01f048c079 user: Carter Shanklin tags: trunk | |
13:53 | This module is a hack to add union types to PowerShell. check-in: ee7c3efd49 user: Public Domain tags: trunk | |
13:53 | This is a little script I wrote to logoff all users on the box except for myself. Clearly it can be cleaned up a little, making it more flexible, but thought I would share anyways. check-in: 79156ce49c user: testing tags: trunk | |
13:53 | This is a little script I wrote to logoff all users on the box except for myself. Clearly it can be cleaned up a little, making it more flexible, but thought I would share anyways. check-in: 6cbc3125f3 user: Nigel Stuke tags: trunk | |
13:53 | 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: a7d2e3ba9e user: Boe Prox tags: trunk | |
13:53 | A function to set an IP Address check-in: dfcc266c36 user: Andy Schneider tags: trunk | |
13:53 | 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: b9669ef17c user: Will Steele tags: trunk | |
13:53 | 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: af4d78d608 user: Will Steele tags: trunk | |
13:53 | A function to set an IP Address check-in: c18fdba42b user: Andy Schneider tags: trunk | |
13:53 | Show-ConsoleMenu shows a vertical “menu” in the console and allows you to pick numeric items from it. check-in: 4fe8a658d7 user: Joel Bennett tags: trunk | |
13:53 | Shows a vertical “menu” in the console and allows you to pick numeric items from it. check-in: 0173b6f242 user: Joel Bennett tags: trunk | |
13:53 | Get-FileEncoding function determines encoding by looking at Byte Order Mark (BOM). check-in: 6fb88d3112 user: Chad Miller tags: trunk | |
13:53 | Sets properties for a given user local username. check-in: f660cf43a5 user: Andy Arismendi tags: trunk | |
13:52 | Retrieves harddrive model name without WMI check-in: 30f60b8586 user: greg zakharov tags: trunk | |
13:52 | Enables SNMP via Add-WindowsFeature (If not already enabled) check-in: cb1baac3e4 user: St3v3o tags: trunk | |
13:52 | A function to set a sql connection string in a web.config file check-in: 958c25595e user: unknown tags: trunk | |
13:52 | I could not find a solution that checks if a user is in local admin groups that can handle a situation if the user is there indirectly, that is a member of a group that is a part of the admin group. The below is what I came up with. The $env:USERDOMAIN part is iffy, since it depends on the account the script is run under, but that was enough for my purposes. Also it seems to detect the membership correctly even for local users and for users that are not local and not in the $env:USERDOMAIN domain, which is good check-in: d6916d0c8c user: zespri tags: trunk | |
13:52 | Verify user is administrator check-in: 634e3b1691 user: skourlatov tags: trunk | |
13:52 | Somebody says that there is no CompatUI (COM object) in Windows 7, someone says the opposite. I found it on my copy of Win7 but I’m not sure what it’s a standard library – probably it’s a rudiment of WinXP. check-in: f005d83981 user: greg zakharov tags: trunk | |
13:52 | Simple function that determines whether a pair of IP’s are on the same subnet, given a specified mask. check-in: 227319893e user: dragonmc77 tags: trunk | |
13:52 | 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: 116b98948c user: shauncroucher tags: trunk | |
13:52 | 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: ad336c6ee0 user: shauncroucher tags: trunk | |
13:52 | Correctly works with reparse points check-in: 597c369559 user: Robespierre tags: trunk | |
13:52 | Prints DLL exported functions list. check-in: 584178d9fb user: greg zakharov tags: trunk | |
13:52 | Get what Windows features are installed, check if there is a Best Practice for it available, run the BPA and filter results for anything that isn’t informational and dump it to text file check-in: 8dee4f411d user: PWilkinson tags: trunk | |
13:52 | Get what Windows features are installed, check if there is a Best Practice for it available, run the BPA and filter results for anything that isn’t informational. check-in: 0e7121c828 user: PWilkinson tags: trunk | |
13:52 | Out-Wiki – converts cmdlets help to media wiki (wikipedia) format check-in: cdbdfdf28a user: unknown tags: trunk | |
13:52 | This script can be run on a secondary Network Policy Server and will mirror the configuration from the specified Primary Server, simplifying the management of a redundant or distributed configuration. This script is designed to run as a Scheduled task. check-in: 5234bc5bd4 user: JGrote tags: trunk | |
13:52 | CorpTools.psd1 check-in: b0623715ae user: Don Jones tags: trunk | |
13:52 | Corp.format.ps1xml check-in: d898489223 user: Don Jones tags: trunk | |
13:52 | CorpTools.psm1 check-in: e42532a8cd user: Don Jones tags: trunk | |
13:52 | Final script module manifest check-in: 8f1ae0da4c user: Don Jones tags: trunk | |
13:52 | Final script module check-in: 637286ba54 user: Don Jones tags: trunk | |
13:52 | Final XML formatting view check-in: 81775d8234 user: Don Jones tags: trunk | |
13:52 | This only works PowerShell v2.0 CTP2, and youll need to save it as AutoMount.psm1 in a directory under your documents folder like so (vista example): check-in: 2f8a3b8c16 user: unknown tags: trunk | |
13:52 | Check All Active Directory Computers For IP Address check-in: 0ea7928242 user: unknown tags: trunk | |
13:52 | Find matching members in a local group check-in: e4c324a234 user: Hal Rottenberg tags: trunk | |
13:52 | The following changes were made: check-in: 20a4cb8bfd user: Peter Kriegel tags: trunk | |
13:52 | Asks for full path of source file and target directory to recursively update all instances of file within target directory and its sub-directories. There is also an optional prompt to configure whether you want to be prompted for every file copy. No parameters are passed to the script. Run it, type/paste in your paths, and choose your overwrite confirmation choice. check-in: 8b9e039c6a user: redsolar tags: trunk | |
13:52 | Reports the latest LastModified date of all the files within a folder. check-in: fee5a66388 user: dragonmc77 tags: trunk | |
13:52 | Finds and reports duplicate files between two folders. check-in: 9839f2dee4 user: dragonmc tags: trunk | |
13:52 | Function/script to set settings in a RDP file for Terminal Services. Supports pipeline input and smart conversion of bools. check-in: 904721db75 user: Jason Archer tags: trunk | |
13:52 | Using netsh.exe to loop through each WLAN on the system and export the settings to the user-provided output-file. check-in: 174ba41939 user: Jan Egil Ring tags: trunk | |
13:52 | Restarts local or remote IIS AppPools check-in: c86972bda6 user: Joel Bennett tags: trunk | |
13:52 | This script will help a user to batch connect multiple pst files in Microsoft Outlook (personal email archives). check-in: d640c63b5e user: Jack Neff tags: trunk | |
13:52 | Gets Unicode information about a character. If you have charmap.exe installed it will use its getuname.dll to get a descriptive string about the character. check-in: c4f01d0342 user: Public Domain tags: trunk | |
13:52 | This function retrieves a trace of a package sent with the swedish postal service. This is part of a guide on how to write a web scraping cmdlet in PowerShell which can be read at: check-in: 6b7a51d26f user: DollarUnderscore tags: trunk | |
13:52 | A script to use some web services for guessing languages and translating to English… check-in: d4502ba6fa user: Joel Bennnett tags: trunk | |
13:52 | Enable aero “glass” effects for the regular powershell 2.0 console (not ISE) – vista or above, powershell 2+ and aero-compatible gfx card. check-in: d62492f171 user: Oisin Grehan tags: trunk | |
13:52 | Gets Unicode information about a character. If you have charmap.exe installed it will use its getuname.dll to get a descriptive string about the character. check-in: f08ae02973 user: Public Domain tags: trunk | |
13:52 | This script will take a Twitter User’s Screen name and get their RSS feed of posts check-in: 1de1505faa user: CrazyDave tags: trunk | |
13:52 | FInal module from class check-in: 2a7b37b705 user: Don Jones tags: trunk | |
13:51 | A simple lync bot in powershell that will respond to set commands etc, was bored today. check-in: e33c57e10e user: Michael Diarmid tags: trunk | |
13:51 | This script will take a Twitter User’s Screen name and get their RSS feed of posts check-in: 83f6b827ed user: dinhchi27 tags: trunk | |
13:51 | A VI toolkit script to update all VM Guests on the selected hosts check-in: 280961aeb7 user: Brian English tags: trunk | |
13:51 | Displays active TCP connections and includes the process ID (PID) and Name for each connection. check-in: df9d5ded87 user: Shay Levy tags: trunk | |