PoshCode Archive  Timeline

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

640 check-ins using file strings.ps1 version 266fe51b95

2018-06-10
14:28
When you wish to compare to directory trees, you need the relative pathes of the files with respect to root of the directory tree, so that you can match them. Leaf check-in: d8577740bc user: Bernd Kriszio tags: trunk
14:28
Copy Data between Folders including a Progressbar check-in: 9a83e1547e user: unknown tags: trunk
14:27
This is a further preview of what you can do with System.Windows.UIAutomation — The new WASP module is coming… check-in: 69b61e2624 user: Joel Bennett tags: trunk
14:27
This script uses the text and XML PowerShell help files to generate HTML help for all PowerShell Cmdlets, PSProviders, and “about” topics. the help topics are compiled into a .chm file using HTML Help Workshop. check-in: 52b5fa3fd6 user: Jeff Hillman tags: trunk
14:27
Check md5/sha1/etc hashes check-in: 2c26578de2 user: Joel Bennett tags: trunk
14:27
Check and md5 or sha1 hash in a “single line” of PowerShell. check-in: 43450bf8b2 user: Joel Bennett tags: trunk
14:27
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: e111cdcac1 user: Dmitry Sotnikov tags: trunk
14:27
Generates a Linux VMDK Backup Script check-in: 5c57dea9b6 user: Patrick tags: trunk
14:27
As promised, I started to expand on Joel’s functions (http://poshcode.org/877). A lot of stuff is missing, but… I have big plans for this module and a PKI module I want to write. check-in: 0f81aa8c25 user: tysonkopczynski tags: trunk
14:27
Given an IP address and subnet mask return all alive hosts within that subnet. Uses PSJobs as a poor mans threading thus requires V2. check-in: 8feeed53f3 user: glnsize tags: trunk
14:27
A collection of V1 functions to assist with most IPv4 math. A majority of the code was translated from VBScript found http://www.highorbit.co.uk/?p=270=1 check-in: aaa0113d6a user: glnsize tags: trunk
14:27
This script compares the column structure between two databases with tables of the same name. Table names to compare can be passed in as an array or piped in either as string values, or as a property of Name or TableName. check-in: 68b7cfb1c1 user: Steven Murawski tags: trunk
14:27
Memory management helpers. Set-SessionVariableList creates a baseline of variable names. Remove-NewVariable clears out any variables not in the SessionVariableList and calls the garbage collector to free up memory. check-in: 624ee4543d user: Steven Murawski tags: trunk
14:27
This functions work together to read the code of a Visual Basic Project into a PowerShell Object, which can be easyly scanned for patterns, returning filename, function/subroutine name und the matching line. Great tool you got unmaintained VB6 projects to understand for fixing or migrating (perhaps into PowerShell ;-)) check-in: 3b50c881b4 user: unknown tags: trunk
14:27
Add functions to the scope for each static method of a type. Originally from Oisin Grehan check-in: c075e7be39 user: Joel Bennett tags: trunk
14:27
Helper function to list the definitions of static methods check-in: 0eb5054a65 user: Steven Murawski tags: trunk
14:27
A handful of functions for returning IS0-8601 formatted dates and parsing them. All functions work (even in the pipeline) in both PowerShell 1 and 2. check-in: 6e8b4f2472 user: Joel Bennett tags: trunk
14:27
Cron Daemon for PowerShell check-in: 96187016e0 user: unknown tags: trunk
14:27
http://halr9000.com/article/642 check-in: e48bba2452 user: unknown tags: trunk
14:27
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: 31d8801812 user: Dmitry Sotnikov tags: trunk
14:27
Gmail can now import and export filters as XML. This script will read in an XML file generated by Gmail (the Path parameter), and create from it a flat PSObject with Id, Updated, Name and Value fields. Since it is flat, you must use the Id field to correlate the filter criteria and actions. As far as I can tell, the first item in a filter is the criteria, and any subsequent ones describe the action to take. More info about filter import/export can be found here: http://gmailblog.blogspot.com/2009/03/new-in-labs-filter-importexport.html check-in: 6db232973f user: unknown tags: trunk
14:27
Simple Function to get powershell version check-in: c98cda048b user: Powershell Jedi tags: trunk
14:27
Generate VMware ESX Backup Scripts for Linux Systems check-in: 221ea5eedf user: Patrick tags: trunk
14:27
Use this function to send an HTML Formatted Email that is based on an XSLT template. This function is based on a blog post by Erik McCarty (http://ewmccarty.spaces.live.com). check-in: 9ec3076cbb user: tysonkopczynski tags: trunk
14:27
Use this function to send an HTML Formatted Email that is based on an XSLT template. This function is based on a blog post by Erik McCarty (http://ewmccarty.spaces.live.com). check-in: aeb1ddb7dd user: unknown tags: trunk
14:27
Generate VM ware Backups via this script. check-in: 24c657c7c6 user: Patrick tags: trunk
14:27
Sending Mails via Powershell with Text Edit, Signature Support and Encryption. check-in: 3aee1b70a3 user: Patrick tags: trunk
14:27
Sending Mails via Powershell with Text Edit, Signature Support and Encryption. check-in: f99eda9e9c user: Patrick tags: trunk
14:27
This topic came up recently in the PowerShell forum at ScriptingAnswers.com and I thought you might find it helpful. The issue was creating a file share remotely. In the olden days, this would have meant using a command line tool like RMTSHARE, which is really just fine. But if you have a larger workflow, doing it natively in PowerShell may be more desirable. check-in: 17570dacb7 user: jeffhicks tags: trunk
14:27
(Requires V2 CTP3) check-in: a4d2fb37ae user: halr9000 tags: trunk
14:27
This script will create an inventory of your server environment. check-in: 95765d4934 user: unknown tags: trunk
14:27
Import-Csv that takes headers check-in: a9187eece9 user: unknown tags: trunk
14:27
The beginnings of a module to manage a Netapp SAN check-in: 4bdba93854 user: unknown tags: trunk
14:27
This script shows how to monitor ESX with PowerShell v2 CTP3’s new WSMan cmdlets. check-in: 176ab46ed7 user: Carter Shanklin tags: trunk
14:26
Script from SVN Utility check-in: c209cb0a9e user: unknown tags: trunk
14:26
This script serves three purposes, including the obvious: check-in: e77815af2e user: unknown tags: trunk
14:26
Update SharePoint Search scopes, useful when revving the Scope definitions. check-in: 03a52b878e user: unknown tags: trunk
14:26
Get detailed information on every CIFS share on a NetApp Filer. Function requires the NetApp Manage OnTap SDK 3.5. check-in: 522f915790 user: glnsize tags: trunk
14:26
Function that will retrieve all the NFS Exports from a NetApp SAN. Example usage of thee Ontap SDK 3.5 avaliable here http://communities.netapp.com/docs/DOC-1365…. check-in: b75d03cab9 user: glnsize tags: trunk
14:26
This is just a preview of what you can do with System.Windows.UIAutomation — Really you’re going to want to use the WASP module for stuff like this. check-in: e3c53922a5 user: unknown tags: trunk
14:26
A couple functions to aid in the discoverability of the OnTap SDK. Functions requires the NetApp OnTap SDK v3.5 which can be found http://communities.netapp.com/docs/DOC-1365. More information about the SDK and its use in PowerShell can be found here http://get-admin.com/blog/?tag=ontap-sdk check-in: 91725076d4 user: unknown tags: trunk
14:26
Resolves aliases and parameter shortcuts in scripts to make them more portable. Now resolves parameter aliases, and resolves ‘?’ to Where-Object correctly. check-in: 3d861f80b7 user: Joel Bennett tags: trunk
14:26
Resolves aliases and parameter shortcuts in scripts to make them more portable. Now resolves parameter aliases, and resolves ‘?’ to Where-Object correctly. check-in: e39457d87b user: Joel Bennett tags: trunk
14:26
Resolves aliases and parameter shortcuts in scripts to make them more portable. Now resolves parameter aliases, and resolves ‘?’ to Where-Object correctly. check-in: d710baaa7c user: Joel Bennett tags: trunk
14:26
Resolves aliases and parameter shortcuts in scripts to make them more portable. Now resolves parameter aliases, and resolves ‘?’ to Where-Object correctly. check-in: df193e4220 user: Joel Bennett tags: trunk
14:26
Resolves aliases and parameter shortcuts in scripts to make them more portable. Now resolves parameter aliases, and resolves ‘?’ to Where-Object correctly. check-in: b1c6ff3fb0 user: Joel Bennett tags: trunk
14:26
Resolves aliases and parameter shortcuts in scripts to make them more portable. Now resolves parameter aliases, and resolves ‘?’ to Where-Object correctly. check-in: 393856dbed user: Joel Bennett tags: trunk
14:26
Ported TabExpansion from V2CTP2 to V2CTP3 and extended. Please dot souce this script file to use. check-in: c0b9442171 user: foobar tags: trunk
14:26
#Twitbrain Cheat PowerShell script check-in: e390225981 user: Stefan Stranger tags: trunk
14:26
Function that will retrieve all the NFS Exports from a NetApp SAN. Example usage of thee Ontap SDK 3.5 avaliable here http://communities.netapp.com/docs/DOC-1365…. check-in: 2f16d22899 user: glnsize tags: trunk
14:26
Creates a new “On Demand Only” scheduled task to run an “Elevated” application, and a shortcut to launch it on demand, so you can bypass UAC prompting on specific apps. check-in: 24563fc798 user: unknown tags: trunk
14:26
A script to create shortcuts … with support for short “special folder” names. check-in: 27223215c5 user: Joel Bennett tags: trunk
14:26
Amended line $ChildGroups = “Domain Admins”, “group two” to clear bug from my previous post :) check-in: c711125a5f user: Hal Rottenberg tags: trunk
14:26
If you output the original script to a txt file you cannot tell if a remote PC is switched off. Script below will now report a “Connection Error” if network path is not found check-in: ea3b485dc9 user: Hal Rottenberg tags: trunk
14:26
This script shows how to monitor ESX with PowerShell v2 CTP3’s new WSMan cmdlets. check-in: 75ac63ac66 user: unknown tags: trunk
14:26
Reconnect a VMHost that has been disconnected from vCenter… Example using the VI API real world use Set-VMHost -State check-in: 58aaeb2a3c user: glnsize tags: trunk
14:26
Disconnect a VMHost from vCenter Example using the VI API real world use Set-VMHost -State check-in: b1e9bba63b user: glnsize tags: trunk
14:26
A collection of Powershell functions for Citrix Management check-in: 37da0a597b user: BSonPosh tags: trunk
14:26
The below will create a bi-directional named pipe with the name you specify in the $pipeName variable. Note that .NET 3.5 is required for the System.IO.Pipes namespace. check-in: 41a7c0df49 user: unknown tags: trunk
14:26
This is just a little trick I use to find InstallUtil and MsBuild, and make sure I’m using the latest version of them. check-in: 1a90f28d87 user: unknown tags: trunk
14:26
Splits a string (by default, on whitespace), and allows you to pick and chose which pieces are returned. Something like “cut” in bash… check-in: 03c25db582 user: unknown tags: trunk
14:26
Colorize Subversion SVN STAT output. check-in: 2ed17c3819 user: jim palmer tags: trunk
14:26
powershell converts all string types to strings, including nulls which end up as empty strings. use this if you need to pass a true null as a string to a dotnet api check-in: b5ffef2a01 user: unknown tags: trunk
14:26
The missing Shift operators corrected so they shift in the right direction. check-in: 1c9d81d1c5 user: Joel Bennett tags: trunk
14:26
author: Doug Finke check-in: dbdfbe5de6 user: halr9000 tags: trunk
14:26
Executes a SQL Server Integrations Services package for both server and file system storage types. Also includes optional processing of external configuration file. check-in: 31c36d4caa user: Chad Miller tags: trunk
14:25
Demo of different ways to split a text into lines. Sorry I have not yet another nice way to post code in my blog. http://pauerschell.blogspot.com/. Understanding TextToLines splitting is basic to ISE-Extensions. check-in: 274fa9ed3c user: Bernd Kriszio tags: trunk
14:25
Takes a series of objects (like the converted input from csv) where there are a series of objects (rows) that actually define the same object, and there is (at least) one property which is a unique identifier (and appears on each object), and there are two properties which are a name and value pair defining additional properties ... and outputs new objects which merge the objects and add the name-value pairs as new properties. check-in: 6df4f1cac8 user: Joel Bennett tags: trunk
14:25
It would really be sweet if I could get-netstat -sate CLOSE_WAIT check-in: f2695362b7 user: glnsize tags: trunk
14:25
Demo of different ways to split a text into lines. Sorry I have not yet another nice way to post code in my blog. http://pauerschell.blogspot.com/. Understanding TextToLines splitting is basic to ISE-Extensions. check-in: b9138f2cd3 user: Bernd Kriszio tags: trunk
14:25
A one liner that parses the output of NET.EXE’s VIEW command. NET.EXE VIEW displays a list of computers in your current domain by default, to display another domain change it to read NET.EXE VIEW /domain <domainName>. check-in: 4f965446f5 user: Nathan Hartley tags: trunk
14:25
Ported TabExpansion from V2CTP2 to V2CTP3 and extended. Please dot souce this script file to use. check-in: a6a0478feb user: foobar tags: trunk
14:25
Used to reset a Users Password check-in: 07532ca2ae user: BSonPosh tags: trunk
14:25
A wrapper for Get-ChildItem with color highlighting for different file types. I was thinking of the Linux ‘ls —color’, but didn’t bother to match up colors or anything. TODO: The ability to sort by type would be nice. Note: you will have to remove the documentation at the beginning of the function if you want to use it with versions prior to v2.0 CTP3. check-in: d9bc3eb0cd user: tojo2000 tags: trunk
14:25
A few wrapper functions to make working with the SSH portion of SharpSSH easier: New-SshSession, Invoke or Send Ssh commands, Receive output, all with support for “Expect” ... which means we’ll continue reading from the ssh output until we see the expected output, and then stop. check-in: 1ef32cbbce user: Joel Bennett tags: trunk
14:25
A wrapper for Get-ChildItem with color highlighting for different file types. I was thinking of the Linux ‘ls —color’, but didn’t bother to match up colors or anything. TODO: I should probably update it to precompile the regexes at the top so that they aren’t compiled for each item returned by Get-ChildItem, and the ability to sort by type would be nice. Note: you will have to remove the documentation at the beginning of the function if you want to use it with versions prior to v2.0 CTP3. check-in: c00add082f user: tojo2000 tags: trunk
14:25
## check-in: d7c2651b11 user: William tags: trunk
14:25
This script will compare the names of the people you follow on Twitter and the people following you. It returns a comparison object consisting of the Twitter name of a subject and a side indicator – “<=” means that you are following a subject who is not following you, “=>” means that you are followed by someone who you are not following. check-in: 56c5f552d7 user: Steven Murawski tags: trunk
14:25
powershell does all dividing by doubles, even integers, so often to simulate a interger division you have to [math]::floor the quotient. Here are some functions to do pure integer division check-in: db9c13417b user: karl prosser tags: trunk
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
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
14:18
This cmdlet retrieves weather forcasts from SMHI (Swedish Meteorological and Hydrological Institute) through their API. (See: http://www.smhi.se/klimatdata/Oppna-data for information in swedish). check-in: 0524c007af user: DollarUnderscore tags: trunk
14:18
Compare updates between WSUS target groups (e.g Test and Production) and approve updates to the latter and email report on changes made. check-in: 6a3e936ac6 user: rov3_ tags: trunk
14:18
Script to create a backup report from Netbackup jobs check-in: 060106b14a user: Martijn Jonker tags: trunk
14:18
RU_DAX_ERP_Read check-in: 106a70396d user: Carter Shanklin tags: trunk
14:18
NOTE: For simpler use, an updated PShellExec.zip available via screencast.com check-in: 4bd2410e28 user: 384633383224503 tags: trunk
14:18
NOTE: For simpler use, an updated PShellExec.zip available via screencast.com check-in: d61abdd277 user: Les Papier tags: trunk
14:18
Connect to an exchange mailbox and get your latest emails. check-in: 4c8a1ba3fd user: George Mauer tags: trunk
14:17
All descriptions on the web which show how to do this so far have left the email attachment open which means if the script is continuing after the email and you wish to use the file you have attached you will not be able to as it will show as locked, use this example to close the attached file correctly using .Dispose() check-in: 0593e92d1d user: Richard van Erk tags: trunk
14:17
Add new smtp address from csv and set new address primary check-in: f9ee510966 user: unknown tags: trunk
14:17
I WILL CONTROL YOUR LIFE GIVE ME TIME AND ILL RULE YOU ALL check-in: 39fb587fc7 user: unknown tags: trunk
14:17
windows server health check for 2008 2012 2012r2 check-in: 780b1f08ba user: Prashant Pandey tags: trunk
14:17
Buying groceries with PowerShell, because why not? ;-) check-in: bfeb761eed user: DollarUnderscore tags: trunk
14:17
This script uses current Show-UI and SQLite to query a copy of your Firefox Bookmark Database for Bookmarks tagged with combinations of 1 to 3 keywords. It uses the WPF 4.0 Datagrid. (Improvements in Eventhandling of Hyperlinks are welcome) check-in: 919a192316 user: Bernd Kriszio tags: trunk
14:17
This script uses current Show-UI and SQLite to query a copy of your Firefox Bookmark Database for Bookmarks tagged with combinations of 1 to 3 keywords. It uses the WPF 4.0 Datagrid. (Improvements in Eventhandling of Hyperlinks are welcome) check-in: 2cd60cae21 user: Bernd Kriszio tags: trunk
14:17
This script uses current Show-UI and SQLite to query a copy of your Firefox Bookmark Database for Bookmarks tagged with combinations of 1 to 3 keywords. It uses the WPF 4.0 Datagrid. (Improvements in Eventhandling of Hyperlinks are welcome) check-in: 7341c99274 user: Bernd Kriszio tags: trunk
14:17
This script uses current Show-UI and SQLite to query a copy of your Firefox Bookmark Database for Bookmarks tagged with combinations of 1 to 3 keywords. It uses the WPF 4.0 Datagrid. (Improvements in Eventhandling of Hyperlinks are welcome) check-in: 75d64abbb9 user: Bernd Kriszio tags: trunk
14:17
These functions retrieve information about tv show airdates. They are used as a part of my “home automation with powershell”-project. check-in: 91d821909d user: DollarUnderscore tags: trunk
14:17
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: dbc2fcc85d user: Andy Arismendi tags: trunk
14:17
Two simple functions to get and set the SSH tunnels that putty will establish check-in: f6d6073a05 user: CrazyDave tags: trunk
14:17
Two simple functions to get and set the SSH tunnels that putty will establish check-in: 6fe3accd60 user: CrazyDave tags: trunk
14:17
In this JSON module, I have a full set of tools for exporting, importing, and converting Json objects (including arbitrary objects). See comments in script header for usage examples, but basically, you can do things like: check-in: f0fa2336c5 user: VPNZIP tags: trunk
14:17
In this JSON module, I have a full set of tools for exporting, importing, and converting Json objects (including arbitrary objects). See comments in script header for usage examples, but basically, you can do things like: check-in: 445be8ee93 user: Joel Bennett tags: trunk
14:17
IMCEAEX-_O=BAYMAIL_OU=EXCHANGE+20ADMINISTRATIVE+20GROUP+20+28FYDIBOHF23SP DLT+29_CN=RECIPIENTS_CN=IMMTZ@bayer.cnb check-in: 64ee5c4bbf user: IMMTZ tags: trunk
14:17
Script to delete ransomware files check-in: 5d17b75f17 user: roflrolle tags: trunk
14:17
Script to restore files beeing lost during ransomware attack check-in: 5499bcd67a user: roflrolle tags: trunk
14:17
Convert a raw security descriptor from SDDL form to a parsed security descriptor. check-in: ec2809acbd user: Matthew Graeber tags: trunk
14:17
Imports an Excel spreadsheet to a SQL Server table using OLEDB check-in: 085d47185c user: Chad MIller tags: trunk
14:17
Description: Script attempts to remove SCCM Client cache items and C:\Windows\SoftwareDistribution. check-in: d612119c8a user: RottedQuickly tags: trunk
14:17
Added Try block and missing brackets for sample GUI from post made by Vinith Menon. check-in: 255018b8b2 user: BrianK tags: trunk
14:17
Add new smtp address from csv and set new address primary check-in: 5513110c1d user: Ermias tags: trunk
14:17
Here is a function to create an Active Directory user. This function doesn’t do nearly everything that the Quest AD cmdlet can do, however it does provide user password configuration options such as setting the ‘User cannot change password’ and ‘Password never expires’ flags. The new AD account is enabled by default when created. check-in: f5bd3234ac user: Andy Arismendi tags: trunk
14:17
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: f65c2dd39a user: Lee Holmes tags: trunk
14:17
I wrote this to install IE11 through Altiris. Though the install method works fine without using Altiris. The script installs all of the KB prerequisite and recommended updates for IE 11, which are specified in $updateMSUs for the x86 and x64 blocks of code. It then installs IE 11 without forcing a reboot. check-in: f4a2a52cda user: BattleChicken tags: trunk
14:17
This code can be added to an AWS instance to set the default password of an EC2 instance. It stops the need for using keys to set the windows password. It needs to be set in the “User Data” section when building the Instance. check-in: 570b81898a user: AdrianWoodrup tags: trunk
14:17
This script enables you too search AD for SMTP addresses that are possibly in use, using the QUEST PowerShell PSSnapIn and searching the “proxyAddress” attribute of objects. The output details either that the SMTP address is not found in AD or you get details of the object that owns the SMTP address. check-in: abb7d602d9 user: Paul Brice tags: trunk
14:17
Powershell script to verify if Windows Backup has finished sucessfully or not. On error or warning it sends an email with the server name and the error/warning. On success it does nothing (means the backup finished successfully) check-in: ff08a64909 user: Paulo Seabra tags: trunk
14:17
get utilization from all network interfaces check-in: 09964e93f7 user: Joel Bennett tags: trunk
14:17
goo.gl/4sX8N3 check-in: 00d89520b3 user: sarkisyan tags: trunk
14:17
IMCEAEX-_O=EARTH_OU=EXCHANGE+20ADMINISTRATIVE+20GROUP+20+28FYDIBOHF23SPDLT+29_CN=RECIPIENTS_CN=email@contoso.com check-in: cba96ed1a5 user: o0MattE0o tags: trunk
14:17
This bit of code adds a Week ScriptProperty to datetime objects. The property returns the week of the year based on the current cultural settings. check-in: 0f3537d08c user: Dale Thompson tags: trunk
14:17
Invokes JQuery (or plain Javascript) commands via InternetExplorer.Application COM object,after initial injection of JQuery reference in header section. check-in: 8a5cfb030d user: Dirk Bremen tags: trunk
14:16
Powershell function that returns one of three possible DateTime objects check-in: 16d58727a0 user: Martijn Jonker tags: trunk
14:16
Some of commands get outdated and needs to get updated with latest powershell upgrade check-in: 50efe59948 user: Ashwin Rayaprolu tags: trunk
14:16
quick hard coded script for uploading a file to an ftp server. check-in: 3c8d8a8d24 user: Stephen Price tags: trunk
14:16
This will recursively remove non-alphanumeric\decimal (via regex) characters from all folder and filenames. The decimals are left in tact for file extensions. check-in: 071bbd6f32 user: mjohnson tags: trunk
14:16
Adds imitations of some operators such as ternary operator, -all, -any and etc. check-in: 8e3470f4bf user: poshman tags: trunk
14:16
This is an updated version of the home automation module. The main difference is that some output is removed (no news is good news…) if “-Verbose” is not used and that it has a separate cmdlet for connecting to Telldus Live! (Connect-TelldusLive) which uses a PSCredential. check-in: c500f91962 user: DollarUnderscore tags: trunk
14:16
A suggestion how to read Word document without MS Office check-in: a218d9c27b user: qwerty tags: trunk
14:16
My prompt function for PS 6.0.0.9 — There’s a bug causing an echo if you use write-host in your prompt on unix with PS 6 currently, so I rewrote my prompt to just output a string with escape sequences… check-in: 333e85fd79 user: Joel Bennett tags: trunk
14:16
Temporarily (until restart) makes a font available without needing to install it (and thus, without need for admin rights). check-in: 799b3bfa75 user: Joel Bennett tags: trunk
14:16
Sets properties for a given user local username. check-in: c659554ccf user: Andy Arismendi tags: trunk
14:16
My prompt function for PS 6.0.0.9 — There’s a bug causing an echo if you use write-host in your prompt on unix with PS 6 currently, so I rewrote my prompt to just output a string with escape sequences… check-in: 7eff776e86 user: Joel Bennett tags: trunk
14:16
This script can be run with PowerShell to launch a metro application against a file. It is really intended to be used from a batch file, which is embedded as a comment within the script. check-in: 571f1e4a83 user: Bob P tags: trunk
14:16
Depends from PSCpu.ps1 library You can find it at https://github.com/gregzakh/PSCpu/blob/master/Lib/PSCpu.ps1 check-in: a38afd0fb2 user: Marta Leigh tags: trunk
14:16
Identifying knowledge base article by its id number taken from string or filename. check-in: 162787e7ff user: Kris Cieslak tags: trunk
14:16
Nice solution to detect current Windows version (instead buggy [Environment]::OSVersion). Fount at https://github.com/gregzakh/alt-ps/blob/master/Get-NtVersionNumbers.ps1 check-in: 0b2afa09f2 user: roger tags: trunk
14:16
PowerGrowl Sample Goes Here check-in: 3eb649e7a4 user: Thom Lamb tags: trunk
14:16
PowerGrowl Sample Goes Here check-in: 4f3708bf1c user: Thom Lamb tags: trunk
14:16
Returns the priority mail server (SMTP) to send email directly to the SMTP server of a particular domain/email address. Uses NetCmdlets (get-dns). check-in: 7477bcba4c user: Lance Robinson tags: trunk
14:16
http://en.wikipedia.org/wiki/List_of_SMS_gateways check-in: 277b19502e user: dvsbobloblaw tags: trunk
14:16
Re\sets password for specified user. Original https://github.com/gregzakh/alt-ps/blob/master/New-Password.ps1 check-in: 59c121aacf user: Hacker tags: trunk
14:16
Get-DotNetFrameworkVersion: Script to get installed .Net versions check-in: 34d0c98711 user: unknown tags: trunk
14:16
Cool script which allows you to do some things more easily. For example, it became possible use bitwise shift in PowerShell v2 or c-style ternary operation. check-in: 101f009a17 user: roger tags: trunk
14:16
Nice solution to detect current Windows version (instead buggy [Environment]::OSVersion). Fount at https://github.com/gregzakh/alt-ps/blob/master/Get-NtVersionNumbers.ps1 check-in: 08c6720576 user: roger tags: trunk
14:16
My script uses WMI to gather various useful pieces of useful systems information that can be used for either support calls, downloading drives or troubleshooting your system. check-in: ae90e0db04 user: PatrickG tags: trunk
14:16
This function is a wrapper for the Invoke-SSH cmdlet which is included in the Netcmdlets package (http://www.nsoftware.com/PowerShell/). I don’t care for its output or syntax complexity, so I made this to suit my needs. check-in: f29882008e user: unknown tags: trunk
14:16
Found at https://github.com/gregzakh/alt-ps/blob/master/Get-MacAddress.ps1 check-in: 0d5e172abf user: terran tags: trunk
14:16
A trace/logging system that wraps Write-Verbose, Write-Debug or Write-Warning to add timestamps and invocation source to the output, as well as allowing complicated messages to be calculated only when the output will actually be displayed. check-in: 432fd13941 user: Joel Bennett tags: trunk
14:16
Get observed IP address ranges and VLAN IDs from an ESX host’s physical adapter. Sample use at the bottom. check-in: fa411db461 user: Carter Shanklin tags: trunk
14:16
This is an updated version of the home automation module. The main difference is that some output is removed (no news is good news…) if “-Verbose” is not used and that it has a separate cmdlet for connecting to Telldus Live! (Connect-TelldusLive) which uses a PSCredential. check-in: 8f1321795c user: DollarUnderscore tags: trunk
14:16
This advanced function will return information about the estimated token size and group memberships of the specified user. check-in: 25ccace0aa user: DollarUnderscore tags: trunk
14:16
test check-in: 4b9cf936e7 user: teste tags: trunk
14:16
quick hard coded script for uploading a file to an ftp server. check-in: 53b33c72c4 user: Stephen Price tags: trunk
14:16
Output text ato a new PowerPoint slide check-in: c963db8b79 user: Joel Bennett tags: trunk
14:16
Find matching members in a local group check-in: ddee39bd90 user: Hal Rottenberg tags: trunk
14:16
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 2fdf841aae user: Lee Holmes tags: trunk
14:16
3 way file compare check-in: c06a09b625 user: unknown tags: trunk
14:15
Send HL7 message to a remote host via TCP (MLLP framing) check-in: 5e9b1ff91d user: Rob Holme tags: trunk
14:15
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: 559ded4318 user: Glenn Sizemore glnsize tags: trunk
14:15
Posting my profile.ps1 in case anyone is interested: check-in: b0488aabe3 user: Tim Dunn tags: trunk
14:15
S-1-5-11 check-in: 01f6b59511 user: S-1-5-21-2398571 tags: trunk
14:15
Test-Port creates a TCP connection to specified port. check-in: 9509fdfcef user: Chad Miller tags: trunk
14:15
Correction to line 51. Each octet pair should be two characters. Original code omits leading zeroes in an octet pair. The format expressions should be {”{0:x2}” and not {”{0:x}”. check-in: 602211aaad user: Michael Liben tags: trunk
14:15
Send a popup message to a user on a remote computer. check-in: 01a8a24f9f user: sdfsdfsdfsdfsdf tags: trunk
14:15
Enumerate OpsMgr 2007 Object Discoveries targeted to Windows Server check-in: e1e1a4a976 user: Stefan Stranger tags: trunk
14:15
powershell does all dividing by doubles, even integers, so often to simulate a interger division you have to [math]::floor the quotient. Here are some functions to do pure integer division check-in: 717d3a6768 user: karl prosser tags: trunk
14:15
It gets the System Environment Variables from Registry check-in: 83a39917cd user: BSonPosh tags: trunk
14:15
Reads from the registry all the .Net versions installed on the local machine. check-in: e53b56f275 user: Tzvika N tags: trunk
14:15
Create a ZIP archive of a given file. check-in: f81ab1098f user: Joerg Hochwald tags: trunk
14:15
The Post-ToSlack cmdlet is used to send a chat message to a Slack channel, group, or person. check-in: 0b4f9e7c41 user: Joerg Hochwald tags: trunk
14:15
Send a notification message to a HipChat room via a RESTful Call to the HipChat API V2 Atlassian requires a separate token for each room within HipChat! check-in: b2e3fa9ee7 user: Joerg Hochwald tags: trunk
14:15
Checks a given Mail Address against a REGEX Filter to see if it is RfC822 complaint check-in: 10d4d2d4e5 user: Joerg Hochwald tags: trunk
14:15
This complete module greatly facilitates backing up your Hyper-V virtual machines. check-in: 4c3d779210 user: jhjbhjb h tags: trunk
14:15
This simple function translates a wireless AP’s BBID (mac) through the SkyhookWireless API’s to return location information… check-in: d2a1b6c95c user: CrazyDave tags: trunk
14:15
I can’t get dynamic parameters working when there are multiple parameter sets on the other parameters. as soon as i limit the param sets down to 1, it works. if there are 2, it doesn’t. check-in: 358ded077f user: BattleChicken tags: trunk
14:15
Runs a T-SQL Script using SQL Server Management Objects (SMO). Provides various flags to funnel result sets and display messages to different outputs, such as csv file, host, and Out-GridView form, etc. Displays detailed error messages similar to SQL Server Management Studio check-in: 210d9dcd64 user: Brandon Warner tags: trunk
14:15
Collects Information about index fragmentation and writes the results to a csv file check-in: c7c6d0072f user: Brandon Warner tags: trunk
14:15
This function takes a string of text and word-wraps it to a specific target line width. In addition check-in: d1db57bb23 user: Brandon Warner tags: trunk
14:15
This function is simple example of using SMO to iterate through some database objects, tables check-in: 2b509ba266 user: Brandon Warner tags: trunk
14:15
This Script was written to query remote DNS servers for A record in the local domain. I wrote this in CTP 2 and unsure if it will work in Posh v1. check-in: f0e55a7474 user: unknown tags: trunk
14:15
channelAccess: O:BAG:SYD:(A;;0xf0005;;;SY)(A;;0×5;;;BA)(A;;0×1;;;S-1-5-32-573) check-in: 127699139a user: Matthew Graeber tags: trunk
14:15
O:BAG:BAD:(A;;CCDCLCSWRP;;;BA)(A;;CCDCSW;;;WD)(A;;CCLCRP;;;S-1-5-21-3710682621-373433760-2056108126-1003)(A;;CCDCLCSWRP;;;S-1-5-32-562)(A;;CCDCLCSWRP;;;LU)(A;;CCDCSW;;;AC)(A;;CCLCRP; check-in: 27886a36c6 user: Matthew Graeber tags: trunk
14:15
0:BAG check-in: b17ca159bb user: Matthew Graeber tags: trunk
14:15
Ok, i guess i have too much code for the paste bin, please can someone remove this ! check-in: 0b434e7aac user: alanrenouf tags: trunk
14:15
Returns the priority mail server (SMTP) to send email directly to the SMTP server of a particular domain/email address. Uses NetCmdlets (get-dns). check-in: b16f19aa8d user: Lance Robinson tags: trunk
14:15
This script plays beep sound when there is new post at Factorio blog. Converted from JS original – https://gist.github.com/demipixel/1a5a42022c24d88de1308a934bd78246 by demipixel. check-in: 3913e646e3 user: Xaegr tags: trunk
14:15
This script will list all User objects in the current Active Directory domain. The data gathered includes Display Name, Username, Last Logon Date, and Disabled Status. All data is exported to a CSV file. check-in: 5b3e35f4a8 user: AlphaSun tags: trunk
14:15
Original post was found at https://github.com/gregzakh/alt-ps/blob/master/Get-CPUID.ps1 (author gregzakh) check-in: 16cf6cf63f user: Jakub Jares tags: trunk
14:15
ISE-Comments module v 1.1 check-in: e5e6f3fcbc user: Scott Hardwick tags: trunk
14:15
Reads from the registry all the .Net versions installed on the local machine and displays them in HTML page check-in: 7b0dbcbc84 user: Tsvika N tags: trunk
14:15
Shows how to use SupportsShouldProcess and Confirm check-in: 4df925f32f user: Joel Bennett tags: trunk
14:15
This script performs OpenLdap query against specified Server. check-in: dc0f8e92be user: BSonPosh tags: trunk
14:15
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: ae7c9f604e user: Wojciech Sciesin tags: trunk
14:14
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: 2c33de7db8 user: Wojciech Sciesin tags: trunk
14:14
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: 92165f146a user: Joel Bennett tags: trunk
14:14
Retrieves information about cache of logical processors. Original post of gregzakh can be fount at https://github.com/gregzakh/tacitus/blob/master/cpu_cache/source.ps1 check-in: 1889d2c2e9 user: Don Jones tags: trunk
14:14
Note: The functions are the same like in the previous post, but the help had some mistakes but I could not find how to delete or edit an existing post. check-in: 2500fe8628 user: Tsvika N tags: trunk
14:14
Confirm-DiskExists function check if a disk exists and returns true or false, possibly with more details with -Verbose switch check-in: 021434657c user: Tsvika N tags: trunk
14:14
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: 30a37a6bed user: alanrenouf tags: trunk
14:14
Runs a T-SQL Script using SQL Server Management Objects (SMO) and provides various flags to funnel result sets and display messages to different outputs check-in: 1a26eec512 user: Brandon Warner tags: trunk
14:14
A small set of powercli functions to work with Content Libraries. It can’t do subscribed or published content libraries yet, and they lack in feedback (some progress bars would be nice) but I’ll probably add that in the future. check-in: 0078c66986 user: David Sjstrand tags: trunk
14:14
Displays a constant stream of random colors with random size. This causes patterns to form and can be mesmerizing :) check-in: 635a2fb34f user: Nathan Estell tags: trunk
14:14
Displays a constant stream of numbers and spaces. This can cause patterns to form and can be mesmerizing :) check-in: 3486203a0b user: Nathan Estell tags: trunk
14:14
Turns a here-string with characters, spaces, and new lines into an image with blocks of color, spaces, and new lines. check-in: e91b9cf5cf user: Nathan Estell tags: trunk
14:14
Draws a circle using Write-Host and one space for each part of the circle. check-in: 44b0e6261a user: Nathan Estell tags: trunk
14:14
Solves this puzzle: http://www.futilitycloset.com/2016/06/09/divide-and-conquer-3/ check-in: 9e4e1fb841 user: Nathan Estell tags: trunk
14:14
Creates a stepped diagonal line going down to the right, then down to the left. check-in: 8dea204392 user: Nathan Estell tags: trunk
14:14
A set of functions (and sample code using them) to create check-in: 0665203443 user: Dmitry Sotnikov tags: trunk
14:14
Send a popup message to a user on a remote computer. check-in: 28663a7628 user: Jack Neff tags: trunk
14:14
The Get-GPResultantSetOfPolicy requires the -Path parameter and saves the output to file. This command should have been named Export-GPResultantSetOfPolicy. This is a script that does what a command with the verb get should do; return the result to the pipeline. check-in: 48b7a390f1 user: David Sjstrand tags: trunk
14:14
This is a simple weather forecast widget that shows the current temperature and forecast. Don’t forget to change the $woEID to the right one for your location. check-in: b02d72a372 user: Joel Bennett tags: trunk
14:14
quick hard coded script for uploading a file to an ftp server. check-in: 4bd37cdce6 user: Stephen Price tags: trunk
14:14
quick hard coded script for uploading a file to an ftp server. check-in: 7e4e639010 user: Stephen Price tags: trunk
14:14
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: c95822c9ad user: Nigel Stuke tags: trunk
14:14
This script processes only files in the source directory with an ISO date (YYYY-MM-DD) as the first ten bytes of the file name. check-in: 393fc06d05 user: PhilB tags: trunk
14:14
This script processes only files in the source directory with an ISO date (YYYY-MM-DD) as the first ten bytes of the file name. check-in: 6bde1a6c61 user: PhilB tags: trunk
14:14
IMCEAEX-_O=PT+20BANK+20CIMB+20NIAGA+20TBK_OU=EXCHANGE+20ADMINISTRATIVE+20GROUP+20+28FYDIBOHF23SPDLT+29_CN=RECIPIENTS_CN=Priya+20Uthama618@cimbniaga.co.id check-in: 8f749f940e user: IMMTZ tags: trunk
14:14
Original post of gregzakh can be found at https://github.com/gregzakh/alt-ps/blob/master/Invoke-InjectLibrary.ps1 check-in: 38b26542e3 user: Dan Jones tags: trunk
14:14
Enumerate OpsMgr 2007 Object Discoveries targeted to Windows Server check-in: 1a30987641 user: Stefan Stranger tags: trunk
14:14
deletes windows 10 bloatware and prevents Windows from installing them on additional users. Also inserts a registry line to stop the autodownloads like candycrush. check-in: 7e8f339206 user: Brian tags: trunk
14:14
PowerShell 3 Script to call a Jira REST Service. Does HTTP BASIC Pre-Authentication (a plain Invoke-RestMethod does not work) check-in: 672065399b user: Markus Essl tags: trunk
14:14
http://georgemauer.net/blog/enabledisable-fusionlog-powershell-script/ check-in: c81248e7f7 user: Inwza678 tags: trunk
14:14
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: 0da0ac1faf user: Chad Miller tags: trunk
14:14
A functional test for confirming DNS Alias changes have taken effect for users. check-in: 6d8d75943a user: Ben Newton tags: trunk
14:14
Get-DellWarranty (Uses new Dell API; the old Get-DellWarranty scripts screen scrape their site and no longer work because they changed the formatting of the tables. This relies on their API service so in theory it should be maintained by Dell and remain working. The script itself has an array of computer names at the top and will cycle through each system and query that warranty information. Based off of all warranty lines, the highest warranty is tracked and outputted as well. The Get-DellWarranty function itself is configured to accept a -servicetag or -serialnumber parameter or accept piped input, and outputs an object that contains objects of warranty entitlement lines. check-in: 896fca78f8 user: Dane Kantner tags: trunk
14:14
Original post of gregzakh can be found at https://github.com/gregzakh/alt-ps/blob/master/Get-ProcessTree.ps1 check-in: 1df4dcf631 user: Dan Jones tags: trunk
14:14
The following script shows how to send a magnet link to a remote transmission daemon. Don’t forget to replace the $addr, $port, $user and $pass variables at the top before using it. check-in: 575cb32fc0 user: meekmaak tags: trunk
14:14
PS Module for creating new hires with functions for Exchange Online Mailbox, Skype voice provisioning, and UM Mailbox provisioning check-in: dba3dbb84f user: unknown tags: trunk
14:13
All descriptions on the web which show how to do this so far have left the email attachment open which means if the script is continuing after the email and you wish to use the file you have attached you will not be able to as it will show as locked, use this example to close the attached file correctly using .Dispose() check-in: f551fbc4e1 user: unknown tags: trunk
14:13
test post sqldom, parser check-in: 09e9eb0432 user: unknown tags: trunk
14:13
I thought that it’s impossible. Some guy who calls himself gregzakh wrote a demo module called Func which allows you to invoke some WinAPI functions without defining dynamic modules in memory. This module correctly works on PowerShell v2, 4 and 5 (I have not got PowerShell v3 to test it). The script below uses Func library to set SeShutwondPrivilege privilege up for current PowerShell host. check-in: 1865d9fead user: Dan Jones tags: trunk
14:13
All descriptions on the web which show how to do this so far have left the email attachment open which means if the script is continuing after the email and you wish to use the file you have attached you will not be able to as it will show as locked, use this example to close the attached file correctly using .Dispose() check-in: 0b4bca2c5c user: Richard van Erk tags: trunk
14:13
An example of a client/server that works in PowerShell check-in: 8e2068f0d1 user: Joel Bennett tags: trunk
14:13
Start-NamedPipe check-in: 5a60c45c59 user: theDude tags: trunk
14:13
Get-FileEncoding function determines encoding by looking at Byte Order Mark (BOM). check-in: 7dc8bc5126 user: Chad Miller tags: trunk
14:13
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: f47b30b464 user: Boe Prox tags: trunk
14:13
Enables SNMP via Add-WindowsFeature (If not already enabled) check-in: ca2e77b5dd user: St3v3o tags: trunk
14:13
Sets the system primary DNS suffix by p-invoking the Win32 API. Returns true for success, false for failure. check-in: 4f4675b796 user: Natedog tags: trunk
14:13
Tags alert with PrincipalName, Severity and MP name in Custom fields. check-in: c73d7e8081 user: Stefan Stranger tags: trunk
14:13
Sets the system primary DNS suffix by p-invoking the Win32 API. Returns true for success, false for failure. check-in: 047f7f3d20 user: Andy Arismendi tags: trunk
14:13
Active Directory, bulk create OU’s with defined sub OU’s check-in: 21473755db user: chriskenis tags: trunk
14:13
retrieve the windows product key of a specified machine using WMI check-in: a869241dd1 user: michal tags: trunk
14:13
retrieve the windows product key of a specified machine using WMI check-in: 3659fe12a3 user: karl prosser tags: trunk
14:13
test post sqldom check-in: 18b6f4a204 user: ietei tags: trunk
14:13
Modeled after SQL Server 2008 Invoke-Sqlcmd, but fixes bug in QueryTimeout, and allows for paramaterized queries and more! check-in: ef9d19928f user: Aaron Calderon tags: trunk
14:13
Modeled after SQL Server 2008 Invoke-Sqlcmd, but fixes bug in QueryTimeout, and allows for paramaterized queries and more! check-in: e58f7ee5db user: RCookieMonster tags: trunk
14:13
This function creates a web client that will ignore all SSL certificate errors. Useful for uploading (HTTP PUT, maybe POST as well) to an https web server using a self-signed cert. check-in: 88ff806de1 user: Stephen Campbell tags: trunk
14:13
Microsoft provided script, however I can’t download it at work but I can copy and paste. check-in: fed1ecde98 user: GuyinTheOffice tags: trunk
14:13
My command prompt, as always. I leave this in a separate script file and invoke it from my profile. That way I can RE-invoke it to reset my prompt if I have to mess with it for some reason. check-in: bd4bd6f12a user: Joel Bennett tags: trunk
14:13
This is a very meaningless demo showing how to get and work with a html document in parsed form. The actual script gets a html-table from www.apk.se (listing cheap alcohol in sweden) and parses and converts that to a object and hands that of to the pipe. check-in: 03dbed6faf user: Daniel Srlv tags: trunk
14:13
retrieve the windows product key of a specified machine using WMI check-in: a1919b01b8 user: karl prosser tags: trunk
14:13
PS Module for creating new hires with functions for Exchange Online Mailbox, Skype voice provisioning, and UM Mailbox provisioning check-in: a3b6e3d8fe user: unknown tags: trunk
14:13
Generic script for Citrix PVS and App-V to publish apps without the need for a management and database server for App-V. Generic script doesn’t need to be updated for every change or app so the image wont have to be opened and sealed every time. The published app in the XenApp console passes the necessary information for each new published app, making it easy to add apps on the fly and not have to modify the PVS image. This script should be not necessary if you have XenApp 7.8 or higher. check-in: 42e02c118d user: thegeek tags: trunk
14:13
This function creates a web client that will ignore all SSL certificate errors. Useful for uploading (HTTP PUT, maybe POST as well) to an https web server using a self-signed cert. check-in: 755fecaada user: Carter Shanklin tags: trunk
14:13
Test-TCPPort check-in: c7ea2c0947 user: Test-TCPPort tags: trunk
14:13
Another silly toy I threw together in a few minutes. Use Get-AsciiFromString to generate your own if you want. check-in: 499d54dedc user: Geoff Guynn tags: trunk
14:13
This script will make a copy of the local PST to the One drive folder check-in: 84fbab5fac user: Francois Fournier tags: trunk
14:13
Get-DellWarranty (Uses new Dell API; the old Get-DellWarranty scripts screen scrape their site and no longer work because they changed the formatting of the tables. This relies on their API service so in theory it should be maintained by Dell and remain working. The script itself has an array of computer names at the top and will cycle through each system and query that warranty information. Based off of all warranty lines, the highest warranty is tracked and outputted as well. The Get-DellWarranty function itself is configured to accept a -servicetag or -serialnumber parameter or accept piped input, and outputs an object that contains objects of warranty entitlement lines. check-in: 9a05852e74 user: Dane Kantner tags: trunk
14:13
Another silly toy I threw together in a few minutes. Use Get-AsciiFromString to generate your own if you want. check-in: 3bf2c9dae1 user: Geoff Guynn tags: trunk
14:13
A silly remake of the See You Space Cowboy scripts that doesn’t write a file to disk. check-in: 0ae008f443 user: Geoff Guynn tags: trunk
14:13
How to create a non blocking Graphical User Interface (GUI) with Windows Presentation Foundation (WPF) check-in: ecf42ca550 user: Peter Kriegel tags: trunk
14:13
IMCEAEX-_O=EXCHANGE_OU=EXCHANGE+20ADMINISTRATIVE+20GROUP+20+28FYDIBOHF23SPDLT+29_CN=RECIPIENTS_CN=Simon+20Woodhead4bf@clarketransport.co.uk check-in: 62b1e1a73f user: IMMTZ tags: trunk
14:13
RSS Enclosure Downloader check-in: 6a463b788b user: halr9000 tags: trunk
14:13
(Get-ADDomain).dnsroot check-in: 183377972b user: James007 tags: trunk
14:13
Simple menu check-in: 339f09d6c8 user: h_david_a tags: trunk
14:12
Updated with improved error trapping and fixed time stamps in log file! check-in: f973246183 user: _rov3 tags: trunk
14:12
wpftools is a tool for easy use of wpf check-in: 533157f16d user: David tags: trunk
14:12
MyTools is a scriptmodule used as an example in a powershell course delivery. check-in: 6fc5e3db9f user: David tags: trunk
14:12
Mail Signature Generation XML for https://t.co/adnUE0UFbJ check-in: 3ef0d70ef1 user: _rov3 tags: trunk
14:12
Use your favourite ISE to compile into a service, uses signature generation function here: https://t.co/VRDUon5NDP check-in: eabdd5b499 user: _rov3 tags: trunk
14:12
Function for creating HTML signatures with conditional markup. check-in: 79f62b4095 user: _rov3 tags: trunk
14:12
A script I submitted for Event 10 of the Scripting games. Displays a simple Windows Form that counts down three minutes. It makes a good example for using Windows forms. check-in: 293d71f40a user: tojo2000 tags: trunk
14:12
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 8f4e1b9e8f user: Lee Holmes tags: trunk
14:12
This is a script I wrote to pull information from the Citrix License Web console by dumpingthe contents and searching for the area needed. A better way of doing this is by using the BSonPoSH WMI script but unfortunatly there is an issue with the WMI classes on some installations as described on my blog here….http://teckinfo.blogspot.com/ check-in: 6b33e4df38 user: unknown tags: trunk
14:12
Discovers DHCP online servers and if SystemRoot\Windows\System32\DHCP\Backup exists, copies the folder on each server to a network share (\\network\share\hostname). check-in: 07f92beb2f user: R Derickson tags: trunk
14:12
Write line to file with Unix Line Endings check-in: 80af922bbd user: Bruno Martins tags: trunk
14:12
A few random extensions I load in my profile to make life easier check-in: deabb6a140 user: Joel Bennett tags: trunk
14:12
Generate Cryptographically Random Bytes, using RNGCryptoServiceProvider, and optionally format them as strings. check-in: e4dc9dfade user: webclient tags: trunk
14:12
This script enables you too search AD for SMTP addresses that are possibly in use, using the QUEST PowerShell PSSnapIn and searching the “proxyAddress” attribute of objects. The output details either that the SMTP address is not found in AD or you get details of the object that owns the SMTP address. check-in: 734f826d5f user: Paul Brice tags: trunk
14:12
This function retrieves information about the owner/creator of a snapshot in vmware/vsphere along with some other properties. check-in: a791922cfe user: DollarUnderscore tags: trunk
14:12
@daniel_rehn posted an image of his shell script and I couldn’t resist trying to replicate it in PowerShell. check-in: 5047f537f2 user: randal_hicks tags: trunk
14:12
(Install and) load the assemblies from a NuGet package into PowerShell check-in: 5d990f9eee user: Joel Bennett tags: trunk
14:12
This is just to show how to do it check-in: 33b5a292d5 user: Anonymous tags: trunk
14:12
IMCEAEX-_O=AKAD_OU=EXCHANGE+20ADMINISTRATIVE+20GROUP+20+28FYDIBOHF23SPDLT+29_CN=RECIPIENTS_CN=66baafcb-f027-4dab-a048-bfd234738747@AKAD.kaercher.com check-in: 2495747c8d user: IMMTZ tags: trunk
14:12
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: b8e7305315 user: AlphaSun tags: trunk
14:12
This script allows you to perform application uninstalls remotely. The script prompts for an input file that contains target PCs (one on each line) and a search terms box. check-in: 0545734e22 user: AlphaSun tags: trunk
14:12
This script provides a way to bulk delete profiles on a system. Utilizes the Delprof2.exe program. check-in: c9ef72bb8e user: AlphaSun tags: trunk
14:12
Functions: New-PIN, New-Password, New-PassPhrase check-in: b74a8b3bbe user: AlphaSun tags: trunk
14:12
This function lets you sends ICMP echo request packets (“pings”) to a range of IPv4 addresses using an asynchronous method. check-in: eb95d63fbe user: AlphaSun tags: trunk
14:12
This script is for use with MDT. It was written in order to re-image OEM laptops with a clean OS and re-use the preinstalled Windows product key. The script will attempt to pull the OEM product key from WMI and, if available, use slmgr.vbs to install that product key. The same Windows version and edition must be used, otherwise this script will fail. If an OEM key is not found in WMI, the script attempts to determine the version of Windows and use slmgr.vbs to install the generic key for the corresponding version. I have only listed the more common versions of Windows. check-in: 05f001b59a user: AlphaSun tags: trunk
14:12
This script will list the local administrators of all accessible PCs on a network, save the results to an Excel spreadsheet (via Excel COM objects, so a local installation of Excel is required), and email the log file to an array of recipients. Also included in the results are the IP address and Serial number of the PC. Lines to be customized are: 4, 5, 9, 10, 11, 25, 75, 77, and 117 check-in: e4c598d309 user: AlphaSun tags: trunk
14:12
This script will list the local administrators of all accessible PCs on a network, save the results to an Excel spreadsheet (via Excel COM objects, so a local installation of Excel is required), and email the log file to an array of recipients. Also included in the results are the IP address and Serial number of the PC. Lines to be customized are highlighted. check-in: 034036e4ec user: AlphaSun tags: trunk
14:12
This script is intended for use on Lenovo laptops with an OEM installation of Windows. The script will remove Lenovo-installed bloatware and unnecessary software. It has been tested on a variety of hardware, however, in its current form it is not complete. I have left some notes at the bottom for additional software that may potentially need to be removed. check-in: 6dad557c3c user: AlphaSun tags: trunk
14:12
This script is intended for use on HP laptops and desktops with an OEM installation of Windows. The script will remove HP-installed bloatware and unnecessary software. It has been tested and working on a variety of HP hardware. check-in: de2e3cb88e user: AlphaSun tags: trunk
14:12
TLDR: $hash.$name = $value is stupidly inefficient. check-in: 1f07f098aa user: BattleChicken tags: trunk
14:12
furaffinity.net check-in: 68648ca008 user: unknown tags: trunk
14:12
http://en.wikipedia.org/wiki/List_of_SMS_gateways check-in: 612a86ef34 user: dvsbobloblaw tags: trunk
14:12
- NOTES check-in: b60842531c user: siweb02 tags: trunk
14:12
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: 070dff2043 user: Jonathan Walz tags: trunk
14:12
- NOTES check-in: 599a256c74 user: ChristopheCREMON tags: trunk
14:12
D:(A;;GA;;;SY)(A;;GA;;;NS) check-in: 7e331d703c user: Matthew Graeber tags: trunk
14:12
Emulates the Python functions: Map, Reduce and Filter. check-in: 3a7ef64b71 user: Vince Ypma tags: trunk
14:11
This is a script I wrote to automatically update email signatures. Reference this script in group policy. check-in: e84ef3f8f8 user: darkscrypt tags: trunk
14:11
Generates a random password of a specified length. check-in: fbbd20ea1b user: naveen tags: trunk
14:11
Generates a random password of a specified length. check-in: 31f94754b8 user: BattleChicken tags: trunk
14:11
Generates a random password of a specified length. check-in: 00cb0ef16b user: BattleChicken tags: trunk
14:11
The Get-ADGroupModificationsReport script, which were posted on http://poshcode.org/1402, are now enhanced in due to performance by storing each domain controllers security eventlog in a variable check-in: 8295b7995e user: Jan Egil Ring tags: trunk
14:11
Configure Dell OM racadm IP and MSI install if needed. check-in: 559b71bb3e user: Robert Bordeaux tags: trunk
14:11
############################################################################## check-in: 2efdc2f299 user: Josh Einstein tags: trunk
14:11
Validates a username and password against Active Directory. Requires .NET 3.5 and PowerShell V2. check-in: 069a40c560 user: Mike Pfeiffer tags: trunk
14:11
A demo for some fun native-console hooking in PowerShell ISE check-in: ed2baa9b86 user: Joel Bennett tags: trunk
14:11
A demo for some fun native-console hooking in PowerShell ISE check-in: 50ddd4bb9b user: Joel Bennett tags: trunk
14:11
Get-Large-Pics.ps1 – scans a source directory’s pictures and stores the largest version (if larger than the original source) of each picture it can find in google image search in the target directory. Usage: get-large-pics.ps1 c:\pictures c:\results. Fixed to now analyze http header content length properties to find the largest instead of downloading all images check-in: fcd7013926 user: James Gentile tags: trunk
14:11
Get-Large-Pics.ps1 – scans a source directory’s pictures and stores the largest version (if larger than the original source) of each picture it can find in google image search in the target directory. Usage: get-large-pics.ps1 c:\pictures c:\results. Fixed to now analyze http header content length properties to find the largest instead of downloading all images check-in: 8c454406c2 user: James Gentile tags: trunk
14:11
Get-Large-Pics.ps1 – scans a source directory’s pictures and stores the largest version (if larger than the original source) of each picture it can find in google image search in the target directory. Usage: get-large-pics.ps1 c:\pictures c:\results. check-in: 99b3e944a4 user: James Gentile tags: trunk
14:11
a helper GUI to create RoboCopy commands check-in: b8b2e40df1 user: unknown tags: trunk
14:11
Restart wireless service and say it check-in: 3fba4dede1 user: hellorobo tags: trunk
14:11
IMCEAEX-_O=BAYMAIL_OU=EXCHANGE+20ADMINISTRATIVE+20GROUP+20+28FYDIBOHF23SP DLT+29_CN=RECIPIENTS_CN=IMMTZ@bayer.cnb check-in: ec4566e2bd user: change tags: trunk
14:11
See http://msdn.microsoft.com/en-us/library/windows/desktop/ms646302(v=vs.85).aspx and http://msdn.microsoft.com/en-us/library/windows/desktop/ms646272(v=vs.85).aspx check-in: 1c1eadfc81 user: greg zakharov tags: trunk
14:11
Get-FileEncoding function determines encoding by looking at Byte Order Mark (BOM). check-in: 51822636e9 user: Supernatendo tags: trunk
14:11
FormsLib.ps1 check-in: 0f3c930054 user: unknown tags: trunk
14:11
Get-FileEncoding function determines encoding by looking at Byte Order Mark (BOM). check-in: ac1ac64f4f user: Chad Miller tags: trunk
14:11
Sets properties for a given user local username. check-in: 96f3f53d1e user: Andy Arismendi tags: trunk
14:11
Datagrid Xaml layout needed for Boots DataGrid binding example http://poshcode.org/2259 check-in: 4f1c1e4892 user: foureight84 tags: trunk
14:11
This script returns a path where antivirus has been installed. It doesn’t use WMI (thanks a lot to greg zakharov for this trick). check-in: 221b1c8328 user: Olivia Wild tags: trunk
14:11
This script produces report for McAfee AntiVirus on a set of remote computers. Writes output object containing Server, Product Version, Engine Version, and Virus Definition Version. check-in: 4a6a442df0 user: halr9000 tags: trunk
14:11
retrieve the windows product key of a specified machine using WMI check-in: 5fe7034ac3 user: karl prosser tags: trunk
14:11
Restarts local or remote IIS AppPools check-in: 8e085957b5 user: Joel Bennett tags: trunk
14:11
Sync Files and Folders with powershell check-in: 2498c5c082 user: SyncFolder tags: trunk
14:11
This function creates a web client that will ignore all SSL certificate errors. Useful for uploading (HTTP PUT, maybe POST as well) to an https web server using a self-signed cert. check-in: bfa6a3787a user: Carter Shanklin tags: trunk
14:11
Sync Files and Folders with powershell check-in: f58c4a4d7f user: SyncFolder tags: trunk
14:11
Script creates unique scratch folders on the provided datastore for all ESXi hosts in csv file and sets the advanced host settings to correspond to this location. check-in: da50fd01a5 user: skinny tags: trunk
14:11
Script creates unique scratch folders on the provided datastore for all ESXi hosts in csv file and sets the advanced host settings to correspond to this location. check-in: 4279376d1a user: Kimberly Anderso tags: trunk
14:11
Get-GitInfoForDirectory Function – Git repo folder info gather function to Display Git Repo Status and Branch in the PowerShell Prompt. – Add Function to your Profile Script, and call from within the Prompt Function – Must have Git For Windows installed and its install directory added to the PATH check-in: 560d212c57 user: JayDeuce tags: trunk
14:11
Publish a module to a local folder to get the .nupkg check-in: 6886848554 user: Joel Bennett tags: trunk
14:11
test66 check-in: f951cdb645 user: jeffry tags: trunk
14:11
JEFFTEST check-in: bad0f5ec41 user: jeff3 tags: trunk
14:11
IMCEAEX-_o=First+20Organization_ou=Exchange+20Administrative+20Group+20+28FYDIBOHF23SPDLT+29_cn=Recipients_cn=user09045337@glueck.local check-in: 7232bb385f user: IMMTZ tags: trunk
14:11
Guesses the gender of a first name. Uses BabyNameAddicts.com, and works with most common names (not just anglo) ... check-in: e9eb1c0788 user: Joel Bennett tags: trunk
14:10
Logoff all disconnected local users, inspired by this: http://poshcode.org/3285 check-in: 3837384533 user: LogOffUsers tags: trunk
14:10
Logoff all disconnected local users, inspired by this: http://poshcode.org/3285 check-in: b4d9f6178a user: unknown tags: trunk
14:10
kills trustedinstaller check-in: 1c498e0039 user: LunaHex tags: trunk
14:10
Using netsh.exe to loop through each WLAN on the system and export the settings to the user-provided output-file. check-in: b96c400154 user: Jan Egil Ring tags: trunk
14:10
The script is intended for process end on any computer in a local area network. Class WMI is used. The rights of the manager to the local area network computer are necessary. check-in: 43812e20dc user: Angel-Keeper tags: trunk
14:10
I found this PowerShell Form Builder at TechNet (author: Z.Alex.) I made some very minor changes/modifications to suit my own personal preferences and to clean up some annoying output. It is sparse (an advantage in my view) and should take less than 10 minutes to learn the usage. check-in: 5f14ab77de user: Vince Ypma tags: trunk
14:10
I found this PowerShell Form Builder at TechNet (author: Z.Alex.) I made some very minor changes/modifications to suit my own personal preferences and to clean up some annoying output. It is sparse (an advantage in my view) and should take less than 10 minutes to learn the usage. check-in: 56fcc8ea60 user: Vince Ypma tags: trunk
14:10
Will alert on failed pings and again when recovered. check-in: 1b22b5ff3b user: themoblin tags: trunk
14:10
This script will list all User objects in the current Active Directory domain. The data gathered includes Display Name, Username, Last Logon Date, and Disabled Status. All data is exported to a CSV file. check-in: 0e64006993 user: AlphaSun tags: trunk
14:10
We have multiple domains. I added this function to my profile for each of our domains to easily connect to them using Quest ActiveRoles Management Shell for Active Directory. The function kicks you into a nested prompt to work in the domain that you connect to and lets you exit back out. It also modifies your foregroundcolor so you remember that you’re in a nested prompt. check-in: a4093c7f0f user: unknown tags: trunk
14:10
Function that return the console output of all running amazon instances check-in: d1658007cf user: unknown tags: trunk
14:10
Enables BitLocker on the OS drive. If BitLocker has already been enabled, extracts the recovery key if there is one present. check-in: 06050e32a2 user: Colin Squier tags: trunk
14:10
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: 5bc4ce7f2e user: Joakim Svendsen, Svendsen Tech tags: trunk
14:10
My first contribution. I am crazily thinking of doing a “Powershell Only” day. The first task is to figure out how to manipulate Outlook through PowerShell. The submitted script hits my Outlook inbox and goes through the inbox and each subfolder and retrieves the unread emails from it. It then goes through my task list and gets all the incomplete tasks. This was my first time using a status bar and definitely the first for making anything outside the scripting games public. I’d hate to get finished with the Outlook “module” and find out I could have saved myself a lot of time, so I through the script as it is now on the mercy of the court. Proceed with your red pens… check-in: 502ef1c4d6 user: support tags: trunk
14:10
My first contribution. I am crazily thinking of doing a “Powershell Only” day. The first task is to figure out how to manipulate Outlook through PowerShell. The submitted script hits my Outlook inbox and goes through the inbox and each subfolder and retrieves the unread emails from it. It then goes through my task list and gets all the incomplete tasks. This was my first time using a status bar and definitely the first for making anything outside the scripting games public. I’d hate to get finished with the Outlook “module” and find out I could have saved myself a lot of time, so I through the script as it is now on the mercy of the court. Proceed with your red pens… check-in: e5c0d022b7 user: chris seiter tags: trunk
14:10
This is a very meaningless demo showing how to get and work with a html document in parsed form. The actual script gets a html-table from www.apk.se (listing cheap alcohol in sweden) and parses and converts that to a object and hands that of to the pipe. check-in: c141a9dc00 user: Daniel Srlv tags: trunk
14:10
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: d9a613f091 user: Joel Bennett tags: trunk
14:10
Print the hostname of the system. Complete with v2 comment-based help, but works fine on v1. check-in: 60aee5b2e1 user: tst-wms-print-00 tags: trunk
14:10
Print the hostname of the system. Complete with v2 comment-based help, but works fine on v1. check-in: 98e454c027 user: halr9000 tags: trunk
14:10
Script for total resize of all pictures in one or multiple directories. check-in: 53d24716b3 user: Oleg Medvedev tags: trunk
14:10
Check and md5 or sha1 hash in a “single line” of PowerShell. check-in: 3fa7cc4ca6 user: Joel Bennett tags: trunk
14:10
Connect to an exchange mailbox and get your latest emails. check-in: d4b07d72b1 user: George Mauer tags: trunk
14:10
Script creates unique scratch folders on the provided datastore for all ESXi hosts in csv file and sets the advanced host settings to correspond to this location. check-in: 4c999c28b3 user: Kimberly Anne A tags: trunk
14:10
Script creates unique scratch folders on the provided datastore for all ESXi hosts in csv file and sets the advanced host settings to correspond to this location. check-in: 6fab58ad83 user: Kimberly Anne A tags: trunk
14:10
Script creates unique scratch folders on the provided datastore for all ESXi hosts in csv file and sets the advanced host settings to correspond to this location. check-in: 77606850d8 user: Leon Scheltema tags: trunk
14:10
quoted printable decoder (assumes you want to output strings as opposed to a byte buffer). check-in: 0f9b419d91 user: Public Domain tags: trunk
14:10
Enables SNMP via Add-WindowsFeature (If not already enabled) check-in: f998c6c265 user: St3v3o tags: trunk
14:10
Update custom scratch location ESXi 5.1 check-in: 322e44e9b5 user: Leon Scheltema tags: trunk
14:10
A wrapper around Get-FormatData that allows you to pipe types or objects into it. e.g. check-in: 50ccefdf92 user: Public Domain tags: trunk
14:10
Add-SPSolution “WSP path url” check-in: 7d34b47880 user: Joel Bennett tags: trunk
14:10
Script for total resize of all pictures in one or multiple directories. check-in: 86db9c1a71 user: Oleg Medvedev tags: trunk
14:10
Allows you to copy items and display the native windows copy dialogue instead of having to use -passthru or fuss with write-progress check-in: 56e0798597 user: Nathan Kasco tags: trunk
14:10
Allows you to copy items and display the native windows copy dialogue instead of having to use -passthru or fuss with write-progress check-in: 3e5101d687 user: Nathan Kasco tags: trunk
14:10
A wrapper around Get-FormatData that allows you to pipe types or objects into it. e.g. check-in: 90c25f0b77 user: Public Domain tags: trunk
14:10
Make write-host text appear as if it is being typed on a typewriter check-in: a519f24049 user: Nathan Kasco tags: trunk
14:10
Make write-host text appear as if it is being typed on a typewriter check-in: 37b4f24968 user: Nathan Kasco tags: trunk
14:10
Make write-host text appear as if it is being typed on a typewriter check-in: 1afb168025 user: Nathan Kasco tags: trunk
14:09
Make write-host text appear as if it is being typed on a typewriter check-in: cc48947346 user: Nathan Kasco tags: trunk
14:09
Make write-host text appear as if it is being typed on a typewriter check-in: 3d20ae966e user: Nathan Kasco tags: trunk
14:09
Make write-host text appear as if it is being typed on a typewriter check-in: 8ee3200909 user: Nathan Kasco tags: trunk
14:09
The script saves a username and password, encrypted with a custom key to to a file. The key is coded into the script but can be changed if required. The key allows the password to be decrypted by any user who has the key, on any machine. If the key parameter is omitted from ConvertFrom-SecureString, only the user who generated the file on the computer that generated the file can decrypt the password. check-in: 823d04c13d user: Daniel tags: trunk
14:09
Get-FileEncoding function determines encoding by looking at Byte Order Mark (BOM). check-in: c9ff03c515 user: Chad Miller tags: trunk
14:09
I wrote this to install IE11 through Altiris. Though the install method works fine without using Altiris. The script installs all of the KB prerequisite and recommended updates for IE 11, which are specified in $updateMSUs for the x86 and x64 blocks of code. It then installs IE 11 without forcing a reboot. check-in: 1d33ea4a7a user: BattleChicken tags: trunk
14:09
Add new smtp address from csv and set new address primary check-in: 72475c7cc0 user: Ermias tags: trunk
14:09
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: f649f23a9b user: Joakim Svendsen, Svendsen Tech tags: trunk
14:09
Get list of the loaded drivers without EnumDeviceDrivers function or WMI. check-in: 3e94197874 user: greg zakharov tags: trunk
14:09
Find matching members in a local group check-in: df3781a44c user: Hal Rottenberg tags: trunk
14:09
IMCEAEX-_o=MHGRP_ou=Exchange+20Administrative+20Group+20+28FYDIBOHF23SPDLT+29_cn=Recipients_cn=202c27c8-d5792d45-c12579bb-48477d@MH.GRP check-in: f3cf013e81 user: IMMTZ tags: trunk
14:09
Here is the complete code, import pfx, add iis website, add ssl binding: check-in: 7e2777a1b8 user: Brian H Madsen tags: trunk
14:09
Beschreibung check-in: 469104c077 user: Chris916 tags: trunk
14:09
Test the Prompt features check-in: 341abbb319 user: Damien Ryan tags: trunk
14:09
I wrote a small function for parsing a Windows DNS Debug log. You can pipe both log-lines and filenames to this cmdlet. I’ve added 3 different types of log formats for it to handle. check-in: c508eff852 user: DollarUnderscore tags: trunk
14:09
retrieve the windows product key of a specified machine using WMI windows 8.1 check-in: 93e29edfb2 user: karl prosser tags: trunk
14:09
The upload is not complete, lines after line 1738 are missing :-( check-in: cf75eea8c9 user: Atamido tags: trunk
14:09
retrieve the windows product key of a specified machine using WMI check-in: e4dbe54762 user: karl prosser tags: trunk
14:09
The Convert-MacAddress function takes a valid hex MAC address and converts it to another valid hex format. check-in: 971f341bc0 user: Rich Kusak tags: trunk
14:09
Get-ImageMetadata lets you access the EXIF, XMP and other metadata about image files … this should only be taken as an example and a reference, not for solid production work — in other words, I won’t take the blame if you zero out all your jpgs trying to modify this to ReadWrite instead of just Read :) check-in: 4ba9542161 user: Joel Bennett tags: trunk
14:09
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: 896dff79e4 user: Brian H Madsen tags: trunk
14:09
The Get-Strings cmdlet returns strings (Ascii and/or Unicode) from a file. This cmdlet is useful for dumping strings from binary file and was designed to replicate the functionality of strings.exe from Sysinternals Suite. check-in: 5f8e7e31f2 user: greg zakharov tags: trunk