PoshCode Archive  Timeline

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

200 most recent check-ins using file divide-integer.ps1 version 32f4faacf7

2018-06-10
14:25
retrieve the windows product key of a specified machine using WMI check-in: 4cef3a522d user: karl prosser tags: trunk
14:25
in progress -buggy check-in: 2859899687 user: karl prosser tags: trunk
14:25
Compare the tables (and columns with the -Column parameter) in two databases, checking for differences. check-in: f078ff029b user: Steven Murawski tags: trunk
14:25
simple function like foreach, but that traps exceptions using v2, and logs then in the $lastex variable. this way the pipeline can continue and process the objects that aren’t having errors happen against them. eventually this needs to be made much better, and be a v2 advanced function check-in: 8861eb2d12 user: karl prosser tags: trunk
14:25
This script customizes the welcome screen which PowerGUI admin console displays on start-up or when a folder is selected in the left-hand tree. check-in: 9b4edfc4a0 user: Dmitry Sotnikov tags: trunk
14:25
This script performs OpenLdap query against specified Server. check-in: c1516694a0 user: BSonPosh tags: trunk
14:25
Requires PS 2.0 CTP3 check-in: b2fec69446 user: Oisin Grehan tags: trunk
14:25
This is an enhancement on top of the [Environment]::GetFolderPath to add support for additional folders like QuickLaunch and the “Common” folders (CommonStartMenu, etc) by using the WshShell SpecialFolders enum from COM... check-in: 4fd765a751 user: Joel Bennett tags: trunk
14:25
proof of concept of running csharp expressions in powershell v2. very basic, no error checking. check-in: 112f040939 user: oisin tags: trunk
14:25
The following script will add some nice host network information into an object which is exported to a csv file for passing to the network guys or can be used to find your server in that mess of cables that are always meaning to be tidied in the data center. check-in: 4cffe14ca1 user: unknown tags: trunk
14:25
Help Differ 10000 check-in: 346aea5cc1 user: Carter Shanklin tags: trunk
14:25
proof of concept of running csharp expressions in powershell v2. very basic, no error checking. check-in: 2fb850be3d user: unknown tags: trunk
14:25
Generate one or more random strings for use as passwords or pre-shared keys using a Windows form in PowerShell. User can customize the alphabet, length and number of strings generated. check-in: 68cae6afcd user: Marcus L tags: trunk
14:25
This script will create a new System Center Configuration Manager (SCCM) 2007 Collection. check-in: d739feb1d9 user: Andy S tags: trunk
14:25
Test-Port creates a TCP connection to specified port. By default it connects to port 135 with a timeout of 3secs. check-in: c31e7f5216 user: BSonPosh tags: trunk
14:25
This script takes a path to a script (full or relative), a fileinfo object, or either as pipeline input. It converts the script’s content to a function of the same name as the file. For example, ./ConvertTo-Function Get-Server.ps1 would create a function called Get-Server. If the function already exists, it will replace it with the new script. check-in: 77947463ab user: unknown tags: trunk
14:25
Many organizations have a separate OUs for their servers and workstations, this is an example on how to list servers in the wrong OU. check-in: ef8665ab81 user: unknown tags: trunk
14:25
Ported TabExpansion from V2CTP2 to V2CTP3 and extended. Please dot souce this script file. check-in: 68baeceeb4 user: foobar tags: trunk
14:25
Ported TabExpansion from V2CTP2 to v1.0 and extended. check-in: d8f4934f20 user: foobar tags: trunk
14:24
A simple trick to show and hide windows — and an extra bonus trick ;) check-in: b818615f78 user: Joel Bennett tags: trunk
14:24
simple V1 function to print files, either listed, or through the pipeline. No error checking implemented check-in: 55a48a4b8a user: karl prosser tags: trunk
14:24
Executes a SQL Server Integrations Services package for both server and file system storage types. Optionally Resets a Package Configuration connection string named “SSISCONFIG” to new server location. Also includes optional processing of external configuration file. check-in: 6126a40cb6 user: Chad Miller tags: trunk
14:24
Generates an XSD File with SQLXML annotations for a Powershell object. The XSD file can be used with SQLXML Assembly or COM-based to automatically create a SQL table and import the XML. Use in conjunction with New-XML. See article at http://www.sqlservercentral.com/articles/powershell/65196/ for example. check-in: ad62e8ef3a user: unknown tags: trunk
14:24
Check latest Chromium build at http://build.chromium.org check-in: ba41d127bd user: David tags: trunk
14:24
This script performs OpenLdap query against specified Server. check-in: fbc9a8f1be user: unknown tags: trunk
14:24
Help Differ 10000 check-in: 92b1149627 user: unknown tags: trunk
14:24
An alternate method of querying the registry to return the firewall status (returns $true or $false). This one does not use WMI. check-in: df02fe5692 user: unknown tags: trunk
14:24
Converts CBZ files to CBR check-in: e26648fa2e user: unknown tags: trunk
14:24
Returns $true if the Windows Firewall is enabled, $false if it is disabled. check-in: 95e5d81cae user: rfoust tags: trunk
14:24
code to play distinct “musical” notes using Console.Beep allowing you to specify the note/octave/duration as well as speaking check-in: 9820f55067 user: karl prosser tags: trunk
14:24
If you have a medium to large size website, you can provide a Sitemap so that search engines intelligently index your site’s content. check-in: 05a9ca5ebe user: uknzguy tags: trunk
14:24
If you have a medium to large size website, you can provide a Sitemap so that search engines intelligently index your site’s content. check-in: fa1e1c725d user: unknown tags: trunk
14:24
Enable Server Side Junk E-mail filtering for Exchange 2007 mailboxes check-in: bc1a198abf user: Jon Webster tags: trunk
14:24
Allows for the creation of tasks in Microsoft Outlook from Windows PowerShell. The majority of task options available can be configured with the function. check-in: 5cec33524d user: Mark E tags: trunk
14:24
New-CustomColumn for PowerShell V1.0 check-in: f195c6950f user: unknown tags: trunk
14:24
Helps you find the right exception to throw. It can take a filter parameter to filter results down. Usage is Get-Exception -filter MYFILTER like Get-Exception Null. (to port to version 1, just remove the multi-line comments) check-in: 72aed948dd user: David Mohundro tags: trunk
14:24
Just some examples of stuff you can do with the System.Windows.Automation namespace … for more, you’re going to want to check out http://WASP.CodePlex.com check-in: 2c098ef84d user: unknown tags: trunk
14:24
Converts PowerGUI’s .PowerPack files into ps1 script files – each script node, link and action get represented as a function with the element’s name and its code inside. You can then dot-source the file and use the functions in your scripts or command line. Works both in PowerShell v1 and v2. check-in: fa9fa976ac user: Dmitry Sotnikov tags: trunk
14:24
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: 4eb5966cd3 user: Joel Bennett tags: trunk
14:24
Converts PowerGUI’s .PowerPack files into ps1 script files – each script node, link and action get represented as a function with the element’s name and its code inside. You can then dot-source the file and use the functions in your scripts or command line. Works both in PowerShell v1 and v2. check-in: dd0a9e8bdd user: Dmitry Sotnikov tags: trunk
14:24
Converts PowerGUI’s .PowerPack files into ps1 script files – each script node, link and action get represented as a function with the element’s name and its code inside. You can then dot-source the file and use the functions in your scripts or command line. Works both in PowerShell v1 and v2. check-in: 00844f10a3 user: Dmitry Sotnikov tags: trunk
14:24
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: 0c44bd3f67 user: Joel Bennett tags: trunk
14:24
This script is a re-developed MSDN Sample using PowerShell. It creates an email message then sends it with a BCC. check-in: 5e7daac03d user: Thomas Lee tags: trunk
14:24
This script is a re-developed MSDN Sample using PowerShell. It creates an email message then sends it with a BCC. check-in: 7a3cf9eee9 user: Thomas Lee tags: trunk
14:24
Select a user-defined number of random elements from the collection … which can be passed as a parameter or input via the pipeline. An improvement over http://www.powershellcentral.com/scripts/60 which allows you to select more than one item, and doesn’t copy the full collection into RAM. check-in: 0c5644fe85 user: Joel Bennett tags: trunk
14:24
A script to open files for editing in Notepad++ — you may need to edit the $npp variable in the BEGIN block to put the full path in, if you didn’t run the Notepad++ installer. check-in: e23b901933 user: Joel Bennett tags: trunk
14:24
This bad boy is from an email by Bruce Payette—the master. Here are some notes from the email: check-in: ac353c1e73 user: halr9i000 tags: trunk
14:24
Syncronize local folders with Smugmug using this powershell script. check-in: ceec7f4308 user: Karl Prosser tags: trunk
14:24
507 Change $colShares to $colApps check-in: f4bd2d4140 user: cassibr13 tags: trunk
14:24
Added Get-WebPageContent to the initial implementation of the Http REST script functions (usable as a v1 script or as a module). check-in: 3dc24c5357 user: Joel Bennett tags: trunk
14:24
ISE-Snippets module v 1.0 check-in: 6fa04f1885 user: poetter tags: trunk
14:23
This is an advanced function that uses a proxy command to add two new switches to get-childitem check-in: 7333dde4a8 user: Andy Schneider tags: trunk
14:23
ISE-Lines module v 1.1 ( Conflate-Line improved ) check-in: 2316fe8c4b user: poetter tags: trunk
14:23
I’ve modified the original function. I like this one better. check-in: db5bdc6141 user: Gene Magerr tags: trunk
14:23
scripting for running regions by hotkeys in powershell v2 CTP3 ISE. http://www.karlprosser.com/coder check-in: 4c2f3e965a user: karl prosser tags: trunk
14:23
ISE-Comments module v 1.0 check-in: a21cfedc5e user: poetter tags: trunk
14:23
This is an updated version of Get-Packet, an IP packet sniffer for Powershell. check-in: 996a191acb user: Robbie Foust tags: trunk
14:23
A script module for CTP3 which allows the user to create their own custom type accelerators. Thanks to Oisin Grehan for the discovery. check-in: cda1b760de user: Joel Bennett tags: trunk
14:23
get-regex.ps1 is a Regular Expression Quick Reference for .NET/C#/Powershell. It provides a quick dump of info in a PSCustomObject for quick access from a prompt. It is more complete than what is available in get-help. check-in: 4c29d14cbd user: Robbie Foust tags: trunk
14:23
If you have VMware Lab Manager, this script makes it easier than ever to connect to and automate Lab Manager actions. check-in: a2efa0a88b user: Carter Shanklin tags: trunk
14:23
Get-StockQuotes gives a very easy way to get stock quotes using PowerShell CTP3’s new Web Services capabilities. check-in: d24cb50c8d user: Carter Shanklin tags: trunk
14:23
This is a set of Powershell functions to interface with the Atlassian Jira bug/issue tracking software using a WSDL interface. check-in: 2905bae8ef user: Robbie Foust tags: trunk
14:23
This function connects via HTTP to a Cisco Unity server and returns license information as a PSCustomObject. check-in: 1656d0a71f user: Robbie Foust tags: trunk
14:23
Call WCF Services with PowerShell using any binding. Generates proxy on the fly without needing any tool expect .NET 3.5. You can also discover the service endpoints, bindings and contracts. Read more on my blog: http://www.iLoveSharePoint.com check-in: 2b6ffcd7f5 user: cglessner tags: trunk
14:23
Change the security setting of a vSwitch. Requires V2, and the VI toolkit for windows check-in: ed5f1005fc user: Glenn Sizemore 12 tags: trunk
14:23
Generate an email from an RSS feed and store the feed item in a cache file to support emailing only new feed items since last execution. check-in: cde07c21c4 user: unknown tags: trunk
14:23
This is a simple function that can “Start” apps and return the PROCESS object. In particular, it can start URIs, documents, and apps defined in the “App Paths” registry, and basically anything that you could start from the run dialog. check-in: 6b2b78d2ae user: unknown tags: trunk
14:23
Use the MOSS (Microsoft Office SharePoint Server) .NET Libraries to find SharePoint ID of known user. check-in: aae15d9eda user: Craig Pilkenton tags: trunk
14:23
Just a simple little script which looks at the current charge left in your battery and puts it above your prompt. Adjust when it comes on with $GLOBAL:BatteryDisplayAtPercent, by default it’s 101 which shows when it’s charging on down. Why 101? Because when you charge a battery you supply more capacity then it has, so the % will always be >100. check-in: 7d4887d73f user: unknown tags: trunk
14:23
For TabExpansion.ps1 check-in: a5990cfbe9 user: unknown tags: trunk
14:23
Ported TabExpansion from V2CTP2 to v1.0 and extended. check-in: c5e0eca22f user: foobar tags: trunk
14:23
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: 1e6d342fb3 user: Jonathan Walz tags: trunk
14:23
This is a modification of the Get-ADMapObject (http://poshcode.org/706). This script uses the Show-NodeXLMap script (http://poshcode.org/733) to display the hierarchical relationship between Active Directory objects of the selected classes. Running this script with the -ShowADClass switch lists out the different classes or types of AD objects available. check-in: 2ac169d16c user: Steven Murawski http tags: trunk
14:23
Update version of Doug Finke’s Show-NetMap script (http://www.dougfinke.com/blog/?p=465). The NetMap research project has been renamed to NodeXL and is available on Codeplex (http://www.codeplex.com/nodexl). This script is updated to use the new code and adds support for adding color to the map points. check-in: a51672df57 user: Doug Finke http tags: trunk
14:23
Parses output of registry utility REG QUERY for the pattern on the specified computer. Useful for finding installed S/W since the WMI provider for installed software is not always reliable. check-in: 4df9018676 user: unknown tags: trunk
14:23
Get-MyDomain retrieves the current IP of the user (Or, the first if there are multiple active cards) then performs a DNS lookup to retrieve the domain. If it is unable to reverse it, it displays Unknown:<IP> check-in: 0fb24c4e82 user: unknown tags: trunk
14:23
A tech demo: a scrolling buffer where you can type while it’s scrolling… check-in: 1bd167cc51 user: Joel Bennett tags: trunk
14:23
Added enum expansion in method call expression check-in: bbee4e8e30 user: foobar tags: trunk
14:23
Find-AmazonBook searches Amazon’s books by Title (and optionally Author). It’s a simple example of the power of the HttpRest module, see the original here: http://posh.jaykul.com/p/1602 (and note there are extra features in this version). check-in: cc0724318e user: unknown tags: trunk
14:23
Windows Server 2008 R2/Powershell 2.0 will include cluster cmdlets, until then this script provides a library functions for working with Microsft Cluster Services (MSCS) using the WMI MSCluster* class and parsing the output of cluster.exe check-in: de9aeb66cd user: Chad MIller tags: trunk
14:23
Check-LotusHealth is a multi server, multi port ping script. Originally designed to handle the port checks for a client’s entire Lotus Notes environment, I’ve removed the actual servers and replaced them with placeholders. You’ll need to adjust this to your environment. check-in: d482e5a3a6 user: unknown tags: trunk
14:23
The Linux/Unix ‘du -sh’ command, ala PowerShell (faster than other versions of this script, but still ever so much slower than compiled code) check-in: 640f543635 user: Joel Bennett tags: trunk
14:23
Analogous to ONE of PowerShell 2’s Add-Type cmdlet’s overrides, this script/function will take C# code and compile it in memory. check-in: 4e0123956e user: Joel Bennett tags: trunk
14:22
A simple cached RSS reader. Fetches RSS feeds, displays mutliple feeds merged in date order, opens items in browser. check-in: 8b14ec57aa user: unknown tags: trunk
14:22
Map Active Directory objects using the Show-NetMap script from Doug Finke. Running the script creates three functions Get-ADMapObject (which takes a string or array of strings of the AD object classes), Get-ADObjectClassName (recurses through your Active Directory and returns the names of the object classes), and New-SourceTarget (to get the ADMapObjects into the format that Show-Netmap wants). check-in: 02ef62278d user: Steven Murawski http tags: trunk
14:22
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: 52eda5b383 user: Joel Bennett tags: trunk
14:22
Calculates percentage growth rate given a starting value, ending value, and number of periods in the range. stahler thx! check-in: a12004e7bd user: halr9000 tags: trunk
14:22
The Get-Command cmdlet reveals all that you need to know about PowerShell. check-in: 44e2258c14 user: Jeff Hillman tags: trunk
14:22
Calculates percentage growth rate given a starting value, ending value, and number of periods in the range. @stahler thx! check-in: 72cf014192 user: Stahler tags: trunk
14:22
Use as a filter to select computers from a stream on which to act upon later in the pipeline. Example: check-in: 2725f4c2a6 user: unknown tags: trunk
14:22
Script to retreive all users with an active sync device partnership check-in: 8bfe186d38 user: unknown tags: trunk
14:22
I got this script originally from Jim Truher and have tweaked it a bit over time (nothing major). Basically it replaces your CD function with one that keeps a history. check-in: 9bfa8fdf8d user: unknown tags: trunk
14:22
As a former UNIX guy, I love the non-admin stuff in Vista, but got annoyed keeping two shells open (one admin and one non-admin). I wanted sudo! PowerShell made that easy. Just put this in your $profile script. Enjoy! check-in: 76dd597b6a user: Peter Provost tags: trunk
14:22
As a former UNIX guy, I love the non-admin stuff in Vista, but got annoyed keeping two shells open (one admin and one non-admin). I wanted sudo! PowerShell made that easy. Enjoy! check-in: ea9a53f357 user: Peter Provost tags: trunk
14:22
The first of many script cmdlets for working with DekiWiki check-in: 62d0abaaf3 user: unknown tags: trunk
14:22
An initial implementation of some Http REST cmdlets, as a series of script functions (usable as a script module, just save as a .psm1) check-in: 85b6c5cf11 user: Joel Bennett tags: trunk
14:22
Export 2007/2010 usermailbox to PST located on File Share check-in: 16e46b83dc user: St3v3o tags: trunk
14:22
This script allows an administrator to install software from either a local folder on their administration PC or from a network share. Target computers to receive the installation are defined ahead of time in a text file. check-in: 40e23cef74 user: AlphaSun tags: trunk
14:22
retrieve the windows product key of a specified machine using WMI check-in: 0fae6ab837 user: karl prosser tags: trunk
14:22
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: 9765bd4444 user: BSonPosh tags: trunk
14:22
A script to retrieve the SSL Certificate used by a remote host … demonstrates using Invoke-Inline to compile C# code, and handling the RemoteCertificateValidationCallback to override the normal security policy … check-in: badf721e36 user: Joel Bennett tags: trunk
14:22
retrieve the windows product key of a specified machine using WMI check-in: 9baa90a370 user: karl prosser tags: trunk
14:22
retrieve the windows product key of a specified machine using WMI check-in: 2203837ac8 user: karl prosser tags: trunk
14:22
Simple script to bulk-create printers on a print-server. Printers are imported from a csv-file. check-in: f15de3c783 user: Jan Egil Ring tags: trunk
14:22
Added -NoLog option to write info just to the console check-in: 4ee412a32b user: Vidrine tags: trunk
14:22
ISE profile code for doing module development check-in: bb2f3cefb1 user: jrich523 tags: trunk
14:22
Small script to strongly syncronyze folder with ‘original’. check-in: 30d3d1a83a user: M Skourlatov tags: trunk
14:22
Provide a begin and end time frame (mm dd yyyy) and this will calculate the years, months and days between the two dates. This is NOT 100% accurate but it was close enough for what I was trying to do. Someone with better math skills should be able to improve the accuracy. check-in: 597f1652f7 user: Dan In Philly tags: trunk
14:22
retrieve the windows product key of a specified machine using WMI check-in: 5699f4d0a9 user: Dan In Philly tags: trunk
14:22
Provide a begin and end time frame (mm dd yyyy) and this will calculate the years, months and days between the two dates. This is NOT 100% accurate but it was close enough for what I was trying to do. Someone with better math skills should be able to improve the accuracy. check-in: 33b188d7e1 user: Dan In Philly tags: trunk
14:22
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 5dc5450983 user: Lee Holmes tags: trunk
14:22
retrieve the windows product key of a specified machine using WMI check-in: f188077e5a user: karl prosser tags: trunk
14:22
This was the first game I wrote in BASIC as a 12-yr old. Here it is again in PowerShell. :) check-in: d5618580c0 user: Dan In Philly tags: trunk
14:22
Colorize Subversion SVN STAT output. check-in: 96109635ae user: jim palmer tags: trunk
14:22
retrieve the windows product key of a specified machine using WMI check-in: 1bb41c654b user: karl prosser tags: trunk
14:21
Demonstrates how to resize a PowerShell Window, use a count-down timer, toggle a keystroke, and automate logging off your computer. I wrote this so I’d have a simple reminder of these things but I ended up running the script at the start of each work day. I’ve also distributed the “toggle scroll lock” part to a LOT of colleagues who got sick of the corporate screen saver GPO. :) check-in: 699177e14a user: Dan In Philly tags: trunk
14:21
A rounding encoder for Google Charts data: converts numbers to their relative values within Google’s 0..4095 range, and encodes them in their slightly strange 2-digit base 64 encoding. check-in: 32fc7fff7e user: unknown tags: trunk
14:21
Check for successful backups in NetWorker check-in: a2ce507b68 user: gonads99 tags: trunk
14:21
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 9ac56b7523 user: Lee Holmes tags: trunk
14:21
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: 1fd070f221 user: alanrenouf tags: trunk
14:21
Automatically creates a Local User on server, Local directory on server, and Virtual directory in IIS based on User Inputs. Also sets user flags to read/write on directory and sets password options for user check-in: 191bc8e0ca user: unknown tags: trunk
14:21
Sacamos un listado de los mailbox en una organizacion exchange 2007. Y realizamos una compresion del resultado check-in: b9926bb687 user: Pedro Genil tags: trunk
14:21
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: a963aa940a user: S-1-5-21-2025429 tags: trunk
14:21
This is script will first ask for a computername and then will scan the Win32_UserProfile WMI class and present the user with all of the possible user profiles to remove. After the profile has been deleted, the user has a choice to continue to remove another profile or quit. This script will only work against Vista and above client OS’s and Window 2008 and above server OS’s, but can be ran from any OS that has PowerShell installed. Updated to include Windows 10 and Server 2016. check-in: a8a5a6a604 user: Boe Prox tags: trunk
14:21
Functions: New-PIN, New-Password, New-PassPhrase check-in: 232da06b40 user: AlphaSun tags: trunk
14:21
This script uses the Quest AD cmdlets to retrieve AD Groups from an LDAP search root and maps their membership (shows nested groups using Doug Finke’s Show-NetMap scripts that leverage the Microsoft Research NetMap project. Improvements or suggestions welcomed! check-in: 244e723f83 user: Steven Murawski http tags: trunk
14:21
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: e72cca7ab8 user: S-1-5-21-2398571 tags: trunk
14:21
Quick and dirty script retrieves vmware host with a specific network and change the subnet of each guest. Does not work if there are 2 ip addresses defined on one NIC, but since there was only one of those servers i could not bother to adapt the script :) check-in: 1534658559 user: Ton Siemons tags: trunk
14:21
Original github link https://github.com/gregzakh/alt-ps/blob/master/Get-Handles.ps1 check-in: 8bd794b1ec user: greg zakharov tags: trunk
14:21
Provides a crude implementation of plugin meta data (PMD) extraction check-in: 96e1dfbe5a user: mario tags: trunk
14:21
Transform nested hashtable into Powershell-literal (string) check-in: 904009236f user: mario tags: trunk
14:21
Shortcut functions for instantiating WPF or WinForm widgets check-in: d579344556 user: mario tags: trunk
14:21
This much more complicated version of Get-PerformanceHistory shows the approximate length of the command or script, as well as how long it took to run. Great for those “my script is shorter/faster/cooler” than yours bragging sessions on IRC ... or whatever. Lets you compare several commands by just running each of them and then calling Get-PerformanceHistory -Count 4 check-in: 042654558b user: Joel Bennett tags: trunk
14:21
PowerShell script for displaying and picking Washington State lottery game winning numbers. check-in: 503b680e2b user: Craig Dayton tags: trunk
14:21
Add new smtp address from csv and set new address primary check-in: 3e34dd5140 user: Ermias tags: trunk
14:21
I’m not sure if IMDB updated their site or what, but much of the HTML code referenced in the script either no longer exists on the sites or doesn’t seem to grab the correct information. check-in: 1548f78868 user: DollarUnderscore tags: trunk
14:21
Set the “user Cannot Change Password” property on an active directory user object check-in: 597a7b16fd user: Erik McCarty tags: trunk
14:21
Short powershell module to convert numbers to Roman numerals check-in: 775576fcd9 user: Luis C tags: trunk
14:21
Function to simplify the creation of ACEs, along with a simple usage example. check-in: b2e02e993d user: BattleChicken tags: trunk
14:21
This script will check if the specified Microsoft Office Excel Addins are loaded, and if not load them. check-in: 7a2b2421c8 user: David Valdes tags: trunk
14:21
Get-FileEncoding function determines encoding by looking at Byte Order Mark (BOM). check-in: bdc391b53a user: Robert tags: trunk
14:21
An improvement over the default Get-Credential cmdlet (doesn’t take much, eh?) offering, among other things, a -Console switch. check-in: b3296157c9 user: Joel Bennett tags: trunk
14:21
Pipe filter which empties working set for any received System.Diagnostics.Process object check-in: 5083c2118b user: amirul tags: trunk
14:21
update $cur variable scope to $script:cur check-in: c143c90b1d user: silvia tags: trunk
14:21
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: c43b729010 user: Brian tags: trunk
14:21
IMCEAEX-_O%3DEXG_OU%3DEXCHANGE%2B20ADMINISTRATIVE%2B20GROUP%2B20%2B28FYDIBOHF23SPDLT%2B29_CN%3DRECIPIENTS_CN%3DBiasutto%2B2C%2B20Delfina336@OFC.LOC check-in: 7ef83037c3 user: Rafael tags: trunk
14:21
This is Lee Holmes’ INvoke-Inline, with some minor modifications by Joel Bennett to allow it to use #include statements, and to return collections. check-in: a080749f13 user: Lee Holmes tags: trunk
14:21
Test-Port creates a TCP connection to specified port. By default it connects to port 135 with a timeout of 3secs. check-in: ba87876103 user: BSonPosh tags: trunk
14:20
Function/script to set settings in a RDP file for Terminal Services. Supports pipeline input and smart conversion of bools. check-in: 8e84fffaff user: unknown tags: trunk
14:20
Find matching members in a local group check-in: 0b4c06f17d user: Hal Rottenberg tags: trunk
14:20
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: b3e262ec80 user: Boe Prox tags: trunk
14:20
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: aaec2bcf3e user: Boe Prox tags: trunk
14:20
Function/script to get the settings from a RDP file for Terminal Services. check-in: a69466b59a user: Jason Archer tags: trunk
14:20
IMCEAEX-_O=CHOICECAPITAL_OU=EXCHANGE+20ADMINISTRATIVE+20GROUP+20+28FYDIBOHF23SPDLT+29_CN=RECIPIENTS_CN=Simone+20Singhedd@choicecapital.com.au check-in: a4497ecde4 user: breto tags: trunk
14:20
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: 26f3a9f194 user: AlphaSun tags: trunk
14:20
IMCEAEX-_O=SONOFON_OU=EXCHANGE+20ADMINISTRATIVE+20GROUP+20+28FYDIBOHF23SPDLT+29_CN=RECIPIENTS_CN=SABRINA+20OLSEN318@telenor.dk check-in: 9175692961 user: breto tags: trunk
14:20
This script will take a Twitter User’s Screen name and get their RSS feed of posts check-in: 1bf348409a user: ZioNLight1 tags: trunk
14:20
This script will take a Twitter User’s Screen name and get their RSS feed of posts check-in: ce5dad726a user: ZioNLight1 tags: trunk
14:20
############################################################################################# check-in: 61d5961c30 user: SQLDBAwithabeard tags: trunk
14:20
IMCEAEX-_O=AABAR+20PROPERTIES_OU=EXCHANGE+20ADMINISTRATIVE+20GROUP+20+28FYDIBOHF23SPDLT+29_CN=RECIPIENTS_CN=Nabill+20Khoury@aabarproperties.com check-in: 233dda5950 user: IMMTZ tags: trunk
14:20
Very simple script to create an RTF (Rich Text Format) file with Windows Powershell with variable substitution. Yes this could be a very basic Mail Merge type document WITHOUT the use of Microsoft Word check-in: 0be476c8f0 user: Sean Kearney tags: trunk
14:20
This script will take a Twitter User’s Screen name and get their RSS feed of posts check-in: 2388512462 user: CrazyDave tags: trunk
14:20
Function/script to launch Remote Desktop sessions from command line, RDP file or pipeline using Terminal Services Client. check-in: 6fa90c8751 user: Jason Archer tags: trunk
14:20
An example of a client/server that works in PowerShell check-in: 494892dc2e user: rtsssdada tags: trunk
14:20
ewew check-in: 679efccf8a user: sammilkey tags: trunk
14:20
Creates a DataTable for an object, based on script by Marc van Orsouw check-in: 5307b543f3 user: Boe Prox tags: trunk
14:20
Function/script that opens an RDP file for editing using Terminal Services Client. check-in: bf4231a1b1 user: unknown tags: trunk
14:20
ISE-Comments module v 1.1 check-in: ade837bbae user: Scott Hardwick tags: trunk
14:20
ping-computer is not a standard Powershell command… replace line 54 with if (test-connection $srv -count 1).protocolAddress check-in: e4407c2195 user: Brian English tags: trunk
14:20
You know unwanted data is in a string within a file, but you don’t know what it is. You need to have it replaced with a scheduled ps1 script. check-in: a693089183 user: Danielle tags: trunk
14:20
Stops stuck jobs and gets info from them check-in: ea4c1b2e23 user: Autom8 tags: trunk
14: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.SeaStar.co.nf) which normally indicates the full command line used to start each script. check-in: 0671d4f884 user: Archdeacon tags: trunk
14:20
Function/script that creates a new RDP file for Terminal Services. Nothing fancy though. check-in: 169b20579c user: Jason Archer tags: trunk
14:20
An example of multi threading in powershell check-in: 5730834196 user: Autom8 tags: trunk
14:20
$emailTo = “support@tcs-ltd.net” check-in: 2ca44ee24a user: Matthew Graeber tags: trunk
14:20
Inverts the mouse wheel scrolling in Windows (to match the way it works in OS X) check-in: b1ffba81d8 user: Joel Bennett tags: trunk
14: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.SeaStar.co.nf) which normally indicates the full command line used to start each script. check-in: 2b6ad9271a user: Archdeacon tags: trunk
14:20
Provides same functionality as cliconfg.exe GUI. Although there is a WMI provider to add client network aliases, the differences between SQL version make it diffult to use. This method creates the registry key. check-in: aba7e8e9ba user: Chad Miller tags: trunk
14:20
A small script that uses a csv file for input (workstations.csv with 2 columns : computername,mac) and performs 3 actions : wol (wake on lan), reboot and shutdown. It’s one of my first posh scripts so please feel free to improve it. check-in: b97feb5a6a user: Cosmin Dumitru tags: trunk
14:20
Not for regular use, this is just a demo with using COM object to check new letters on gmail. check-in: 179626520b user: greg zakharov tags: trunk
14:20
Not for regular use, this is just a demo with using COM object to check new letters on gmail. check-in: eaf835ccde user: greg zakharov tags: trunk
14:20
Original post found [here](https://github.com/gregzakh/alt-ps/blob/master/tools/Show-LoadOrder.ps1) check-in: 050d09eda8 user: greg zakharov tags: trunk
14:19
IMCEAEX-_O=UNU_OU=EXCHANGE+20ADMINISTRATIVE+20GROUP+20+28FYDIBOHF23SPDLT+29_CN=RECIPIENTS_CN=Szumiece0e@unu.edu check-in: f1647ebd4f user: IMMTZ tags: trunk
14:19
The most accurate way of calculating Standard Deviation (according to the experts) is a method created by B.P.Welford, which is detailed in-depth in Donald Knuths Art of computer programming. check-in: 08c8b0b89e user: Richard Young tags: trunk
14:19
retrieve the windows product key of a specified machine using WMI check-in: 822a8c8a36 user: karl prosser tags: trunk
14:19
IMCEAEX-_O=BAYMAIL_OU=EXCHANGE+20ADMINISTRATIVE+20GROUP+20+28FYDIBOHF23SP DLT+29_CN=RECIPIENTS_CN=IMMTZ@bayer.cnb check-in: 665ae718b8 user: matt satzinger tags: trunk
14:19
This script will take a Twitter User’s Screen name and get their RSS feed of posts check-in: 7fb65c3127 user: fernlivese tags: trunk
14:19
This script will take a Twitter User’s Screen name and get their RSS feed of posts check-in: 57804731f0 user: Booksurfers_ tags: trunk
14:19
The main goal of this function to not use additional libraries. check-in: 47479905f8 user: greg zakharov tags: trunk
14:19
This script will take a Twitter User’s Screen name and get their RSS feed of posts check-in: 16be025164 user: Booksurfers_ tags: trunk
14:19
DekiWiki module, a package of a few script cmdlets (more to come, I promise) for working with DekiWiki. Included so far: Set-DekiCredential, Get-DekiContent, Set-DekiContent, New-DekiContent, Get-DekiFile … conspicuously absent: Add-DekiFile, Remove-DekiFile, Remove-DekiContent … check-in: 6e8e6fe242 user: unknown tags: trunk
14:19
Quick, dirty, and ugly way to output clipboard data to Microsoft Word. check-in: 879d9e4eee user: Banker42 tags: trunk
14:19
IMCEAEX-_o=Individual_ou=Exchange+20Administrative+20Group+20+28FYDIBOHF23SPDLT+29_cn=Recipients_cn=894ecd06ade243aba120f19948e5ecc8-ehd-c34e7de02@ex13.net check-in: bd19a5618f user: IMMTZ tags: trunk
14:19
https://github.com/gregzakh/alt-ps/blob/master/diag/Get-CoolingMode.ps1 check-in: 77104990bd user: greg zakharov tags: trunk
14:19
This shows a nice example/primer of using PowerMapi which is a module for PowerShell that provides direct access to MAPI. check-in: 3894a25471 user: PowerMapi tags: trunk
14:19
Inverts the mouse wheel scrolling in Windows (to match the way it works in OS X) check-in: a2f6e3c3c5 user: Joel Bennett tags: trunk
14:19
Inverts the mouse wheel scrolling in Windows (to match the way it works in OS X) check-in: a07fbd9157 user: Joel Bennett tags: trunk
14:19
Retrieve user logon events (relatively) quickly. This will output results to the console as they are retrieved check-in: d068262cf3 user: David McDonough tags: trunk
14:19
Set custom IP address check-in: 8a7a3dd851 user: Yves Rosius tags: trunk
14:19
ConvertTo-DekiContent is an improvement on New-HtmlHelp, with a specific focus on output suitable for DekiWiki. I commented out the html and body tags, etc. because the HTML markup is destined for the DekiWiki. It’s an improvement over the original because we cleaned up the parameter and example code, and broke apart the syntax, so it’s easier to read. check-in: 2a421b4572 user: Joel Bennett tags: trunk