PoshCode Archive  Timeline

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

200 most recent check-ins using file Trace-Message.ps1 version df1c4c28a7

2018-06-10
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