PoshCode Archive  Timeline

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

53 check-ins using file get-windows-product-key.ps1 version aa2291aa99

2018-06-10
13:46
imitates sysinternals sdelete tool check-in: a79390c17a user: greg zakharov tags: trunk
13:46
Simple function that executes a command (stored procedure) against an SQL database. check-in: 2da2a60210 user: dragonmc77 tags: trunk
13:45
A function to return the Abuse Email address from arin.net. check-in: d1df1b98c0 user: unknown tags: trunk
13:45
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: e1eec057e8 user: Joakim Svendsen, Svendsen Tech tags: trunk
13:45
This script takes the output from the “ls vdisk full xml > vdisks.xml” HP EVA/P6000 and parses it into a form that can be imported into XML for reporting purposes. check-in: 1747c8d7ad user: jgrote tags: trunk
13:45
Simple function that executes a command (stored procedure) against an SQL database. check-in: 84bea84b6c user: dragonmc77 tags: trunk
13:45
Measure-ScriptCode calculates some code metrics like the number of lines-of-code, comments, functions from script or module files it is fed. The script is PowerShell 3 or later only because of use of AST (Abstract Syntax Tree). check-in: f69f9e2c20 user: Victor Vogelpoel tags: trunk
13:45
A simple function for connecting a UNC path to a specified Windows drive letter. Some other things I’d like to see added: check-in: 51ade8f40e user: mtown_nerd tags: trunk
13:45
A couple of helper functions to make comparing things easier… check-in: 2f63b3d0f5 user: Joel Bennett tags: trunk
13:45
Made some improvements check-in: 2bf9f18b5d user: tysonkopczynski tags: trunk
13:45
Get-PEManifest and Get-PEHeader some fixes check-in: b1690196bf user: greg zakharov tags: trunk
13:45
This PowerShell Script will compare all of the files in the same directory on two or more different computers. It will compute the MD5 hash of a file and use that to compare check-in: 375b250ede user: Brian tags: trunk
13:45
Simple function that returns the UNC path (administrative share) of a local path. check-in: 9eef76be4b user: dragonmc77 tags: trunk
13:45
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. check-in: 4de0ca1967 user: Boe Prox tags: trunk
13:45
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. check-in: ec2d00a07c user: Boe Prox tags: trunk
13:45
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. check-in: a719ef66a6 user: Boe Prox tags: trunk
13:45
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 0a23b15d50 user: Lee Holmes tags: trunk
13:45
The infamous ellipsis function lets you pick out a single property, rather like using Select -Expand … except it runs in about 2/3 the time. check-in: 022e2706c2 user: Joel Bennett tags: trunk
13:45
Returns the corresponding device path for each drive letter check-in: 3dff6bd2a6 user: Matthew Graeber tags: trunk
13:45
first fix for Expand-PEInfo (http://poshcode.org/4764) check-in: 6fe1874394 user: greg zakharov tags: trunk
13:45
this is just a preliminary version check-in: 142817f06e user: greg zakharov tags: trunk
13:45
Inspired from http://www.vtesseract.com/post/16203019395/more-powershell-fun-star-wars check-in: f82436d310 user: James Vahanian tags: trunk
13:45
this is simplest (and correct) way to dump mainifest of PE check-in: 79103eabd4 user: greg zakharov tags: trunk
13:45
i’m continuing to experiment with powershell :) check-in: 71f0009e5e user: greg zakharov tags: trunk
13:45
New-TypeAlias, Get-TypeAlias functions for adding and querying type accelerators. Compatible with powershell 3.0, 4.0 check-in: dea9c45290 user: Oisin Grehan tags: trunk
13:45
Set applications/windows on hide of TeamViewer windows check-in: 68b76c4cc8 user: quay776 tags: trunk
13:45
This script will take a Twitter User’s Screen name and get their RSS feed of posts check-in: 09243643ea user: CrazyDave tags: trunk
13:45
- NOTES check-in: f98a699723 user: ChristopheCREMON tags: trunk
13:45
I use this script to delete shadow copies older than 30 days from our file and print servers. I have it installed on Server 2012 Core Servers. check-in: a09f029b70 user: Wayne Johnson tags: trunk
13:45
Actually, this is only an idea and I’m not sure that it’ll be useful because I usually use Sysinternals ProcDump tool (hello, Mark!) check-in: 20e676ff03 user: greg zakharov tags: trunk
13:45
original filename: lib-authentication.ps1 check-in: e2023ec2ed user: Hal Rottenberg tags: trunk
13:45
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: e1bb6f2efe user: Bernd Kriszio tags: trunk
13:45
Set applications/windows on hide of TeamViewer windows check-in: d0b8dd1621 user: Shay Levy tags: trunk
13:45
This script will create an inventory of all guests in the target Virtual Center and then create a csv check-in: 5b98ab38ae user: Omarr tags: trunk
13:45
This script will create an inventory of all guests in the target Virtual Center and then create a csv check-in: ae42e0d0ab user: Omarr tags: trunk
13:45
previous version of this script just builds a graph of processor utilization into powershell host, but how about something more dynamic and customizable, mmm? so i rewrote my Get-ProcessorGraph function. check-in: d6d609b625 user: greg zakharov tags: trunk
13:45
original filename: lib-authentication.ps1 check-in: c89bc58cea user: Hal Rottenberg tags: trunk
13:45
Updates group policy on remote domain computer,(Can be modified easily to include all computers or a list.). I wrote this for our field techs, simple but useful. check-in: 792893327c user: Johnny Reel tags: trunk
13:45
This script uses the Cisco IPSEC VPN client to connect to a VPN gateway and immediately RDP to a device. check-in: 303d53c441 user: Adam Bertram tags: trunk
13:45
Get and Set-WriteFilter to manage embedded write filters remotely check-in: 744eca7b5c user: Adam Bertram tags: trunk
13:44
original filename: lib-authentication.ps1 check-in: e821cc786e user: Hal Rottenberg tags: trunk
13:44
how can we zip and upload a file to a FTP cloud through powershell? check-in: 720525cacb user: Stephen Price tags: trunk
13:44
original filename: lib-authentication.ps1 check-in: 46afe2a334 user: Hal Rottenberg tags: trunk
13:44
Example of elementary keylogger. check-in: c36d8b80b9 user: greg zakharov tags: trunk
13:44
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: 416de07688 user: Joel Bennett tags: trunk
13:44
The Division check-in: eb540d6a78 user: 098Hill tags: trunk
13:44
Basic streaming binary hex dump viewer in powershell. check-in: e8f287e367 user: Public Domain tags: trunk
13:44
Screenshot at http://savepic.org/4840591.jpg check-in: 0293dbd688 user: greg zakharov tags: trunk
13:44
Script to put several machines into maintenance mode on your OpsMgr2012 instance. check-in: 6330b2c6f7 user: NinjaTechie tags: trunk
13:44
Powershell really needs lexical variables and automatic lexical closures. ScriptBlock.GetNewClosure is a heavyweight hack (it captures the entire scope chain every time you call it) around lexical variable capture so here is a lighter weight hack. check-in: c44c0c23f6 user: Public Domain tags: trunk
13:44
Shows CPU utilization till $host height size check-in: bd961cb63f user: greg zakharov tags: trunk
13:44
Retrives USB devices from HKLM:\SYSTEM\CurrentControlSet\Enum\USBSTOR check-in: 8ef0b0553a user: greg zakharov tags: trunk
13:44
retrieve the windows product key of a specified machine using WMI check-in: b32e99f0e1 user: karl prosser tags: trunk