PoshCode Archive  Timeline

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

94 check-ins using file Test-Port.ps1 version af426ed8e5

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