PoshCode Archive  Timeline

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

57 check-ins using file SyntaxHighlighter-Brush.ps1 version 0d6afb8632

2018-06-10
12:56
Yet another find text in text files, this time with context, too. check-in: fd29f8446b user: unknown tags: trunk
12:56
Formats and highlights matches in a MatchInfo object which check-in: d27c03882c user: unknown tags: trunk
12:56
The PowerShell Talk – Demo 2, VM Easy Bake, XenServer check-in: 53dcd44e85 user: Cody Bunch tags: trunk
12:56
Speaks text using the SAPI text-to-speech api check-in: e8b5b6c87f user: Joel Bennett tags: trunk
12:56
The PowerShell Talk, Demo 1 – XenServer check-in: 5b6578cf52 user: Cody Bunch tags: trunk
12:56
I created this script because of the need to monitor a MSDE 2000 database which have reached the 2 GB database limit until the application administrator deleted old data from the database. SQL Server 2008 Management Studio Express must be installed on the computer running the script as a scheduled task. check-in: 1586decddb user: Jan Egil Ring tags: trunk
12:56
Script to find any VM’s that we’re added to vCenter in the last x days. check-in: a4d931cbec user: glnsize tags: trunk
12:56
This script gets all pc’s or servers from a OU and runs GPUpdate /force on these machines. check-in: b4f4c2e183 user: afokkema tags: trunk
12:56
In order to enumerate all the WMI namespaces, you must first connect to the “root” namespace, query for all the “__NAMESPACE” instances, and for each instance recursively repeat this process. You can use the computerName parameter of Get-WmiNamespace to list the WMI namespaces on the remote computer. check-in: 4d6dcfab3b user: Aleksandar tags: trunk
12:56
The Get-HotFix function gets the quick-fix engineering (QFE) updates that have been applied to the local computer or to remote computers and filter those hotfixes named “file 1”. check-in: 727f2a2372 user: Aleksandar tags: trunk
12:56
A function for recursively getting a list of unique users that are members of a Domain Group. check-in: 9fbce74e7a user: tojo2000 tags: trunk
12:56
A function for recursively getting a list of unique users that are members of a Domain Group. check-in: c987d20c32 user: tojo2000 tags: trunk
12:56
############################################################################## check-in: b7c3d3d90d user: Josh Einstein tags: trunk
12:56
############################################################################## check-in: 802c9aa9a6 user: Josh Einstein tags: trunk
12:56
Converts a string containing the SDDL SID format (e.g. ‘S-1-5-21-39260824-743453154-142223018-195717’) to a Win32_SID WMI object. Also adds a property with the base64 encoded binary SID to match the format used by some AD backup utilities. check-in: e0f5416020 user: tojo2000 tags: trunk
12:56
Demo for unexpected output of Compare-Object check-in: 3085368cc1 user: unknown tags: trunk
12:56
This script will create a new subnet in AD Sites and Services given the subnet, site name and location. check-in: f8b1f8f402 user: Andy Stumph tags: trunk
12:56
This script will retrieve all user accounts whose passwords are set to not expire for a given LDAP path. Defaults to root of the domain. check-in: d8368ed808 user: unknown tags: trunk
12:56
This script reads a list of usernames from a text file and outputs (to the screen) a comma-delimited list of usernames with a status value (OK, DISABLED or NOTFOUND). This uses ADSI. check-in: 13c68e94cb user: unknown tags: trunk
12:56
moved source from Poshcomm http://powershellcommunity.org/Forums/tabid/54/aff/1/aft/3804/afv/topic/afpgj/2/Default.aspx#4926 to accelerate development, and because I was sick of fighting the WYSIWYG editor… check-in: 7e946225dc user: glnsize tags: trunk
12:56
Exports a SharePoint list to a SQL Server table using OLEDB check-in: 75537b5925 user: Chad Miller tags: trunk
12:56
Imports an Excel spreadsheet to a SQL Server table using OLEDB check-in: 69d976610a user: Chad MIller tags: trunk
12:56
Powershell wrapper to an Oracle stored procedure returning one Ref cursor. Here it determines the version of the Oracle Server. You can substitute similar procedures. check-in: a425ac95dc user: unknown tags: trunk
12:56
A PowerShell 2.0 function to do the equivalent of the ‘nix tail, including the continuous feature (tail -f). Notice this does not try to emulate the ‘nix command parameters, which never made sense to me. I’ll leave that to someone else. check-in: e2ac3bae70 user: Joel Bennett tags: trunk
12:56
Creates a bridge between (any) MUC chatroom and a Jabber user — by default it joins the #PowerShell channel at IRC.FreeNode.net and echos everything said there to you, and everything you say to it … to the chat room. Really quite useless, except as a demonstration. check-in: 2bc299e2f6 user: halr9000 tags: trunk
12:56
moved source from Poshcomm http://powershellcommunity.org/Forums/tabid/54/aff/1/aft/3804/afv/topic/afpgj/2/Default.aspx#4926 to accelerate development, and because I was sick of fighting the WYSIWYG editor… check-in: 270e47bb8b user: glnsize tags: trunk
12:56
Original author: James Brundage @ Microsoft check-in: ca7f27e66f user: halr9000 tags: trunk
12:56
early code check-in: 8b33f499fb user: unknown tags: trunk
12:56
Remove diacritics from string : check-in: a77acd02d3 user: Grgory Schiro tags: trunk
12:56
Get a dictionary of parameters for a function or cmdlet, optionally including the common parameters (verbose, debug etc) for functions using cmdletbinding, or ordinary cmdlets. check-in: 6507aafdbb user: Oisin Grehan tags: trunk
12:56
With just a few arguments, it is easy to make some text appear in a little balloon. check-in: 00ae7cd9ba user: Rob Lancaster tags: trunk
12:56
With just a few arguments, it is easy to make some text appear in a little balloon. check-in: 75c55edcf0 user: cz9qvh tags: trunk
12:56
Work-in-progress. This script is meant to be run from a “scripts/” subdirectory as part of a larger build structure. It won’t run by itself, but maybe you’ll find the SharePoint deployment bits useful. check-in: a045211f25 user: unknown tags: trunk
12:56
Display a “working” animation without knowing how much work you’ll be doing … check-in: efd7363636 user: unknown tags: trunk
12:56
Generates a self-signed certificate authority and a code-signing certificate using OpenSSL check-in: bbc6203baa user: Joel Bennett tags: trunk
12:56
Generates a Linux VMDK Backup Script 0.7.1 check-in: dbd262edb6 user: Patrick tags: trunk
12:56
Generates a Linux VMDK Backup Script check-in: 4a79070c65 user: Patrick tags: trunk
12:56
A stay-on-top (borderless window) countdown timer, with a percentage-based color progress bar as well as sizeable font … as well as audio file and voice alarms. check-in: e23b37f3ea user: Joel Bennett tags: trunk
12:56
Down to a two-statement sciptblock. check-in: bafb915d78 user: unknown tags: trunk
12:56
Requires V2 check-in: b0d3781985 user: cz9qvh tags: trunk
12:56
Requires V2 check-in: 3071e99444 user: unknown tags: trunk
12:56
@Karl check-in: 09f96797e2 user: Robert Robelo tags: trunk
12:56
@Karl check-in: c5f1feeaba user: unknown tags: trunk
12:56
Read a string from the host using SecureString input, but output it as a plain string for use in functions that don’t accept SecureStrings check-in: a495d787b7 user: Joel Bennett tags: trunk
12:56
Made some improvements check-in: 29bc33223a user: tysonkopczynski tags: trunk
12:56
I fixed some stuff. check-in: 885cbca97d user: tysonkopczynski tags: trunk
12:56
Script Creates Form and Retrieves Remote (and Local) Computer Inventory. check-in: 84e9ce2b54 user: Assaf Miron tags: trunk
12:56
@CAMurphy A slightly more elegant PowerShell version for his challenge check-in: f860ef9b74 user: Joel Bennett tags: trunk
12:56
A general-purpose function for generating a “totals” row for data with numeric properties. check-in: ef8de7028a user: Joel Bennett tags: trunk
12:56
Sends an XMPP (Jabber) instant message. These parameters are mandatory: From, To, Body. Password can be supplied on the command line, or if omitted, you will be prompted for it. check-in: 0241e535a5 user: halr9000 tags: trunk
12:56
@CAMurphy A slightly more elegant PowerShell version for his challenge check-in: 78ea938e2b user: Joel Bennett tags: trunk
12:56
A code sample to gather all assigned proxy addresses of an Active Directory User Object. check-in: e639511d1a user: unknown tags: trunk
12:56
AS function. simple wrapper for generating the hashtables that select-object uses check-in: de7046db33 user: karl prosser tags: trunk
12:56
Uses PowerBoots to draw a pipe-chart of each computer’s memory use, and display them each in turn, with nice navigation between them. check-in: 8be23e1c46 user: Joel Bennett tags: trunk
12:56
A piece that’s missing from PoshCode 0.01 check-in: d9ba5470bc user: unknown tags: trunk
12:56
Sends output to Excel, PDF, or Image files check-in: e079091bf4 user: Chad MIller tags: trunk
12:56
A PowerShell 2.0 Brush for the javascript SyntaxHighlighter check-in: 64614980bb user: Joel Bennett tags: trunk