Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
200 most recent check-ins using file Send-mail-to-BCC.ps1 version 0b0014a980
2018-06-10
| ||
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 | |
14:19 | quick hard coded script for uploading a file to an ftp server. check-in: 443d9d9008 user: Stephen Price tags: trunk | |
14:19 | IMCEAEX-_O=CONTOSO_OU=First+20Administrative+20Group_cn=Recipients_cn=john+5Fjacob+2Esmith@contoso.com check-in: d6eb06a539 user: Test1 tags: trunk | |
14:19 | Oracle Database Query From Powershell check-in: 0d6df7dabd user: Ranadip Dutta tags: trunk | |
14:19 | retrieve the windows product key of a specified machine using WMI check-in: 5664ede98a user: Dominik tags: trunk | |
14:19 | I initially wrote this ASCII art character script to be used with a modified version of PowerBot 2.0 (ID 2510 on poshcode). It outputs ASCII art letters from what you supply as a parameter (if the characters are supported). Either to STDOUT with Write-Host (colors are supported) or to the pipeline. It’s useless without the XML that’s found at powershelladmin.com. The full article is in my wiki: http://www.powershelladmin.com/wiki/Ascii_art_characters_powershell_script check-in: 0348724fe0 user: Joakim Svendsen, Svendsen Tech tags: trunk | |
14:19 | Add voice to your Powershell script check-in: b7119f7750 user: Mike Hays tags: trunk | |
14:19 | Retrieve data from an Oracle database into a dataset. check-in: 8a93aec76c user: dfafadfds tags: trunk | |
14:19 | Retrieve data from an Oracle database into a dataset. check-in: 3f31109ca6 user: foureight84 tags: trunk | |
14:19 | 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: 199f72e649 user: Boe Prox tags: trunk | |
14:19 | Rebuilds Windows Indexing on a remote PC check-in: d5d036c1af user: Aphexenator tags: trunk | |
14:19 | In an interesting design choice, Get-Process lets you work with processes on remote machines, but Stop-Process does not. This cmdlet uses WMI to stop a process on a remote machine. check-in: 087857a65a user: Brian Wahoff tags: trunk | |
14:19 | Very simple script that stops a service and waits for it to stop before rebooting. This script can be edited so it runs on every reboot or can be run manually to reboot. check-in: 3da99d740c user: AdrianWoodrup tags: trunk | |
14:19 | retrieve the windows product key of a specified machine using WMI check-in: 8966bbd165 user: karl prosser tags: trunk | |
14:19 | Generate Cryptographically Random Bytes, using RNGCryptoServiceProvider, and optionally format them as strings. check-in: 6e2b1d09ea user: webclient tags: trunk | |
14:19 | Arise you ever a wish to call CPython code via Add-Type cmdlets? Now you have this ability! Note that you need “morphine” library (https://github.com/gregzakh/morphine/blob/master/lib/morphine.ps1) and Python stored into $env:path check-in: 4f273c1f81 user: Ernst Schlee tags: trunk | |
14:18 | 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: 3dd08f2784 user: Will Steele tags: trunk | |
14:18 | ...... Hello all everyone …... check-in: 64b0d90e15 user: Matthew Sessions tags: trunk | |
14:18 | A long time ago, I wrote a ResolvePaths attribute which I never really published. check-in: 3225ce2551 user: Joel Bennett tags: trunk | |
14:18 | Just an idea for how to handle web requests in PowerShell check-in: 5e5bbdbf69 user: Joel Bennett tags: trunk | |
14:18 | 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: 06fdc4627e user: Joel Bennett tags: trunk | |
14:18 | 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: 7bcb88c0db user: Joel Bennett tags: trunk | |
14:18 | Sets the system primary DNS suffix by p-invoking the Win32 API. Returns true for success, false for failure. check-in: c475675b14 user: Andy Arismendi tags: trunk | |
14:18 | Adds ‘Execute in PowerShell’ options to .ps1 files’ context menu so that you can easily run scripts from Windows Explorer check-in: 47ebcb3573 user: Nigel Boulton tags: trunk | |
14:18 | e5e614ac06a708ca88fdc67bc88a4f0eed07d7f0 check-in: 6c5f795e69 user: Joel Bennett tags: trunk | |
14:18 | Simple script that uses netsh to show wireless networks. check-in: e7fd960cc1 user: Kris Cieslak tags: trunk | |
14:18 | How to add a SSL Certificate to IIS with Powershell as well as set the SSL Binding for the site that’s using the certificate. check-in: 41e711ef82 user: Brian H Madsen tags: trunk | |
14:18 | In this JSON module, I have a full set of tools for exporting, importing, and converting Json objects (including arbitrary objects). See comments in script header for usage examples, but basically, you can do things like: check-in: 94b7aaa910 user: Joel Bennett tags: trunk | |
14:18 | A script to do a query on a remote registry key or value (Fixed a bug in 2.0) check-in: d2b985bd98 user: Joel Bennett tags: trunk | |
14: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: 5684c6bf59 user: Boe Prox tags: trunk | |
14:18 | Enumerates mailbox folder permissions for all folders in all mailboxes check-in: b33dacc5d8 user: themoblin tags: trunk | |
14:18 | This will send an SNMP trap to the specified manager (hostname). The script isn’t very flexible, but it’s a good example of how to build traps using SharpSNMPLib. External requirementss: check-in: f2639ddf2a user: amber tags: trunk | |
14:18 | 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: 2cc042b0a9 user: KSimon tags: trunk | |
14:18 | 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: 5dddac02bf user: KSimon tags: trunk | |
14:18 | 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: 0072427f21 user: KSimon tags: trunk | |
14:18 | 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: cf9479cd6c user: KSimon tags: trunk | |
14:18 | 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: 4a00577c3a user: KSimon tags: trunk | |
14:18 | #STORED CREDENTIAL CODE check-in: d6fcce8f4b user: ccorin tags: trunk | |
14:18 | This code allows for the secure storing of an active directory password and then using it for connecting to exchange or active directory. This snippet will prompt the administrator for a username only, collect the password from the securely stored file, and then assemble a powershell credential object for use. check-in: 46bd0142a8 user: Lubinski tags: trunk | |
14:18 | Get-FileEncoding function determines encoding by looking at Byte Order Mark (BOM). check-in: dab06a7bce user: Enter your zip code here tags: trunk | |
14:18 | 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: a9cadc5d5d user: Oisin Grehan tags: trunk | |
14:18 | Performs a join of all properties from two objects. Supports scriptblock evaluation, pipeline joining, etc. check-in: 1b2782ece6 user: aaron sun tags: trunk | |
14:18 | Performs a join of all properties from two objects. Supports scriptblock evaluation, pipeline joining, etc. check-in: b41be2489d user: Jaykul tags: trunk | |
14:18 | REALLY validates given IP address and returns True/False. The original script didn’t allow ZEROS in the Ip address (eg: 127.0.0.1 returned $false) check-in: 749380c024 user: mow01 tags: trunk | |