PoshCode Archive  Timeline

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

67 check-ins using file IADsDNWithBinary-Cmdlet.ps1 version efdcb1af44

2018-06-10
12:56
This script is intended to use IIS logs to audit OWA logs for syncing of mail from an iPhone. In our environment this is an unauthorized device and needs to be audited. This script is not perfect, nor the prettiest thing in the world but it works. IIS logging must be on for this to work. email the results to yourself in $To varible. Have Fun! check-in: abc42b9919 user: unknown tags: trunk
12:56
A set of functions I’ve been working on to allow easy use of Access DBs with PowerShell. A work in progress, but thought they were at a point where others might find them useful. check-in: a20419d2bc user: Matt Wilson tags: trunk
12:56
This is the PowerShell 2.0 -only continuation of my Growl module — redesigned as a proper “module” that can be used by (many) other scripts. check-in: 2166f2012a user: Joel Bennett tags: trunk
12:56
This is the PowerShell 2.0 -only continuation of my Growl module check-in: 5bf41438ac user: Joel Bennett tags: trunk
12:56
A fix to make this work on PowerShell 1.0 check-in: 61f408f22e user: Joel Bennett tags: trunk
12:56
This script generate a HTML report show all ACLs asociated with a Folder tree structure starting in root specified by the user check-in: 71419634b7 user: Santi Fernandez tags: trunk
12:56
This function finds storage within VMware that can be shared between ESX hosts. check-in: 3d0d907148 user: unknown tags: trunk
12:56
I import this as a module because it depends on the other two functions. You could easily dot-source it as well. Requires v2 CTP3 or higher to get the help documentation to work. check-in: a16eafc77e user: tojo2000 tags: trunk
12:56
I import this as a module because it depends on the other two functions. You could easily dot-source it as well. Requires v2 CTP3 or higher to get the help documentation to work. check-in: bb8a4e4499 user: tojo2000 tags: trunk
12:56
This extends the functionality of the SharePoint Search Administration page, producing dashboard-like analysis of your farm’s search crawls. I do not intend to use this script in production, but instead will use it as a starting point to help me build out search crawl health monitoring functionality. check-in: 9d33c12dd5 user: Peter tags: trunk
12:56
This is the first raw release, supports OAuth via Installed Application Authentication (a modified form of OAuth where the consumer fetches access tokens using a username and password instead of a request token). check-in: dbac3410f7 user: Joel Bennett tags: trunk
12:56
Some enhancements to HttpRest to support posting content, and a couple other things I needed for OAuth support… check-in: 15e3096992 user: Joel Bennett tags: trunk
12:56
Select-String has the funny behavior that it -Encoding parameter could be default, but Select-String uses unicode as default value. That means we do not find strings containing some western european letters like ‘’ in ansi coded files. Finally I want the choice default_or_oem, to search even my OEM850 coded files. Here I fix only the default to ‘default’ check-in: eac410c318 user: unknown tags: trunk
12:56
Help Differ 10000 check-in: d3577fe15e user: Carter Shanklin tags: trunk
12:56
This extends the functionality of the SharePoint Search Administration page, producing dashboard-like analysis of your farm’s search crawls. I do not intend to use this script in production, but instead will use it as a starting point to help me build out search crawl health monitoring functionality. check-in: f24c9cd930 user: Peter tags: trunk
12:56
This is a simple little function to search all available cmdlets for a given keyword. Similar to man -k. check-in: ab168e2463 user: Carter Shanklin tags: trunk
12:56
Automatically create an Excel frontend to a cmdlet or advanced function. Not really general purpose yet. There are a couple of examples within the script. check-in: b8509e1e3b user: unknown tags: trunk
12:56
Provides details for every large list in the farm. As it is utilitarian, this script does not provide periodic status updates or provide any kind of error handling. check-in: 9d3785581e user: Peter tags: trunk
12:56
Provides details for every large list in the farm. As it is utilitarian, this script does not provide periodic status updates, though it could be programmed to do so. check-in: eca74f25c4 user: Peter tags: trunk
12:56
Performs the functional equivalent of a Hyper-V Quick Migration by suspending a VM, moving it to a new host, and resuming it. This does not require vMotion licensing. It works by providing required VM objects via the pipeline or the second argument, and specifying the Destination host in the first argument, so you can use whatever query you want to build a list of VM’s to send to the command. check-in: d914f60127 user: Justin Grote tags: trunk
12:56
This is a simple little function to search all available cmdlets for a given keyword. Similar to man -k. check-in: b949b34257 user: unknown tags: trunk
12:56
An update to my mini-DSL for generating XML documents. check-in: b6763cd667 user: Joel Bennett tags: trunk
12:56
Allows you to easily create machine-level environment variables that will persist after reboots. Note that the variables created this way may not be visible in the variable: or even env: providers until you restart your Powershell session. Allowable values to Target param are “process”, “user”, and “machine”. check-in: 0ef0c12c6c user: halr9000 tags: trunk
12:56
PowerShell script for gathering remote PC information check-in: 4f438578f5 user: unknown tags: trunk
12:56
List active directory attributes from schema check-in: 1d4a83a386 user: unknown tags: trunk
12:56
A little Send-FTP script to support uploading files. This version is simple: it can’t create folders nor allow you to specify whether to overwrite files … check-in: 6117704ba2 user: Joel Bennett tags: trunk
12:56
Updated for PowerBoots 0.2: http://screencast.com/t/drKhZbMv0S A stay-on-top (borderless window) countdown timer, with a percentage-based color progress bar as well as sizable font … as well as audio file and voice alarms. check-in: 785f22614b user: Joel Bennett tags: trunk
12:56
Beginnings of a PowerShell v2 module that serves as a convenience wrapper for the Net-SNMP executables. check-in: 99b480dcf0 user: halr9000 tags: trunk
12:56
Script courtesy of Jaykul, I’m just reposting. This script will decode the passwords for all accounts in the Psi profile labeled “default”. check-in: 3f0ed53910 user: aaajabbercz tags: trunk
12:56
This is a first stab at creating a little DSL to generate XML. Note that I used System.Linq.XML (and output an XDocument) instead of the old XmlDocument… This means you have to have .Net 3.5 (LINQ) installed. It also means that if you want to be able to use the output via PowerShell’s magic XML dot-notation, you have to cast it to XmlDocument, just write: [xml]$xml = New-XML ... check-in: 55af359a39 user: Joel Bennett tags: trunk
12:56
More fun with S.W.A. @kryten68 – Added Transforms and examples check-in: 3f3597e96b user: Joel Bennett tags: trunk
12:56
Use to check a service on a remote server and if it is not running, start it and send an email to warn. Added a ping request to make sure the server is up before checking the service. check-in: c1a49e172f user: John Kroes tags: trunk
12:56
A cleanup for @kryten68 without all that code-generation cruft. check-in: 4c41c862e3 user: Joel Bennett tags: trunk
12:56
Returns the top processes by CPU usage check-in: 6fc50e262e user: BSonPosh tags: trunk
12:56
Requires Quest AD cmdlets. This oneliner sets Active Directory user attributes for Microsoft Office Communications Server 2007. check-in: 3387b159b6 user: Jan Egil Ring tags: trunk
12:56
Requires Quest AD cmdlets. This oneliner sets Active Directory user attributes for Microsoft Office Communications Server 2007. check-in: 94742e9a00 user: Jan Egil Ring tags: trunk
12:56
Get a sample nmap XML file to play with and see some examples of using the script at https://blogs.sans.org/windows-security/2009/06/11/powershell-script-to-parse-nmap-xml-output/ (this is where the latest version will be maintained, it’s been edited a few times already since being posted here). check-in: fb7a9dc667 user: Jason Fossen tags: trunk
12:56
Updated for PowerBoots 0.2: A stay-on-top (borderless window) countdown timer, with a percentage-based color progress bar as well as sizable font … as well as audio file and voice alarms. check-in: 8af6075d71 user: Joel Bennett tags: trunk
12:56
More info can be found at www.ict-freak.nl check-in: 0281f58b9c user: afokkema tags: trunk
12:56
Works like the integer range operator “..”, but for characters. check-in: f5a5a4f8f9 user: halr9000 tags: trunk
12:56
More info about this script can be found here: http://ict-freak.nl/2009/06/27/powercli-upgrading-vhardware-to-vsphere-part-1-templates/ check-in: bfd438b0f6 user: afokkema tags: trunk
12:56
For more information and sample out put please visit http://www.virtu-al.net/2009/07/14/powercli-daily-report/ check-in: a21c61ede8 user: alanrenouf tags: trunk
12:56
For more information and sample out put please visit http://www.virtu-al.net/2009/07/14/powercli-daily-report/ check-in: 40f74f5dc6 user: unknown tags: trunk
12:56
Problem: Type in a command to show the output, then wish you had saved it to a variable check-in: 892d1c6f98 user: unknown tags: trunk
12:56
The simplest form of WGet … no options, no passwords, no nothing. But it works. check-in: df948840bc user: Joel Bennett tags: trunk
12:56
Robert, the problem is that this script requires version 2.0 … that “GetSteppablePipeline” is a new feature. I forgot to mark it. check-in: 134b51cbf1 user: Robert Riegler tags: trunk
12:56
Test-Port creates a TCP connection to specified port. By default it connects to port 135 with a timeout of 3secs. check-in: 512e697590 user: BSonPosh tags: trunk
12:56
Helllo check-in: 0198d77b29 user: foobar tags: trunk
12:56
Defines functions for wokring with Microsoft Chart Control for .NET 3.5 Framework.Pipe output to Out-Chart function and specify chart type. Chart will display in form or save to image file. Real-time charts are supported by passing in a script block. Updated to fix line chart. Line Chart XAxis needs tweaking. check-in: ad088f0980 user: Chad Miller tags: trunk
12:56
Defines functions for wokring with Microsoft Chart Control for .NET 3.5 Framework.Pipe output to Out-Chart function and specify chart type. Chart will display in form or save to image file. Real-time charts are supported by passing in a script block check-in: 2fe68f6ccb user: Chad Miller tags: trunk
12:56
The trap statement for this script does not appear to function as suggested. When I try to run it and force an incorrect file location, it ignores the inner exception that would show the correct error. check-in: 9366a70dbc user: Chad Miller tags: trunk
12:56
The simplest form of WGet … will become Get-FromWeb or something … check-in: e25d90a499 user: Joel Bennett tags: trunk
12:56
This version of the script supports using “*” to capture dictation. The result is that you can now write macros to look up words online, or pass parameters to a function (within the constraints of your voice recognition accuracy). check-in: 27f6d1c730 user: Joel Bennett tags: trunk
12:56
Enable Server Side Junk E-mail filtering for Exchange 2007 mailboxes check-in: 24921e3b4c user: Jon Webster tags: trunk
12:56
A script to generate advanced functions that wrap cmdlets so you can tweak them, add features, etc. From the PowerShell Team Blog check-in: 3187aa0256 user: unknown tags: trunk
12:56
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: 9121cae591 user: tojo2000 tags: trunk
12:56
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: 2dbbc93ed6 user: tojo2000 tags: trunk
12:56
The source to PoshBot – who bridges IRC and Jabber check-in: 2f3fc82aa9 user: Joel Bennnett tags: trunk
12:56
Standalone script adapted from SQL Server Powershell Extensions (sqlpsx) http://sqlpsx.codeplex.com. Defines SQL Server backup and restore functions. check-in: 5faa21b1e5 user: Chad Miller tags: trunk
12:56
A v2.0 function to recursively get the sizes of all subdirectories under a root path. check-in: 08dda2fd03 user: tojo2000 tags: trunk
12:56
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, but offers the option to collect the pipeline into RAM to trade speed for memory use (replaces 81 and 83). check-in: 9a51cb952b user: Joel Bennett tags: trunk
12:56
A PowerShell script into which one or more nmap XML output file objects can be piped, then the script emits synthetic objects representing port-scanned hosts from the XML file(s). Get Windows and Linux versions of the nmap scanner for free from http://nmap.org. Get a sample nmap XML file to play with and see some examples of using the script at https://blogs.sans.org/windows-security/2009/06/11/powershell-script-to-parse-nmap-xml-output/ check-in: f00f82240f user: Jason Fossen tags: trunk
12:56
This is an update to my “Speech.psm1” script module for doing voice/speech recognition. With this version, speech macros will be executed asynchronously, so it doesn’t tie up the shell for the duration :) Of course, if the shell is actually BUSY, it will delay execution of macros. See usage examples at the bottom of the script. check-in: 2f2591c070 user: Joel Bennett tags: trunk
12:56
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: 6444ec7be2 user: Joel Bennett tags: trunk
12:56
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: 4db576c824 user: ucthakur tags: trunk
12:56
reconfigure-ha.ps1 – take a VMhost object from the pipeline and apply the ‘Reconfigure HA host’ task check-in: 9e6628af3e user: Cody Bunch tags: trunk
12:56
I cooked this up to configure OCS user policy, but it should work for other attributes of this type as well. check-in: c66e244c23 user: unknown tags: trunk