PoshCode Archive  Timeline

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

200 most recent check-ins using file Set-Watcher.ps1 version 74cdeadaab

2018-06-10
13:47
This script will take a Twitter User’s Screen name and get their RSS feed of posts check-in: 5a4f9cceb2 user: binauralz tags: trunk
13:47
This script performs OpenLdap query against specified Server. check-in: a77d94174a user: BSonPosh tags: trunk
13:47
another way to retrieve mime type check-in: 79170cebab user: greg zakharov tags: trunk
13:47
This script will take a Twitter User’s Screen name and get their RSS feed of posts check-in: 16e63c5b9e user: unknown tags: trunk
13:47
PowerShell script to installs Firefox add-ons (extensions) check-in: 46fb716614 user: Scott Copus tags: trunk
13:47
This function sets the access rights on properties of AD-groups. Used to delegate access on one group to another. In my case used to delegate the accessgroup of a shared mailbox in Office 365 to another group which contains the owners. This enables them to control the members of the access group through a powershell form. check-in: 529b62738e user: DollarUnderscore tags: trunk
13:47
Set-Wallpaper lets you set your windows desktop wallpaper. It requires PInvoke and I wrote it using CTP2’s Add-Type, although it could be done in v1 using the JIT code generation tricks Lee Holmes has mentioned in the past … check-in: 99e7ce6f1d user: Joel Bennett tags: trunk
13:47
Basic script that gets mac addresses (NetBIOS table) from a list of remote hosts. check-in: cbd8a8d482 user: Qodosh tags: trunk
13:47
Basic script that gets mac addresses (NetBIOS table) from a list of remote hosts. check-in: bec0449e8f user: Qodosh tags: trunk
13:47
Quickly create a JPG barchart of VMware stats which can be adjusted in the variables, Office components will be needed. For more examples and comments please check http://teckinfo.blogspot.com check-in: 1854817900 user: alanrenouf tags: trunk
13:47
This code can be added to an AWS instance to set the default password of an EC2 instance. It stops the need for using keys to set the windows password. It needs to be set in the “User Data” section when building the Instance. check-in: c4035a952a user: AdrianWoodrup tags: trunk
13:47
This script will take a Twitter User’s Screen name and get their RSS feed of posts check-in: 6c9aa94814 user: unknown tags: trunk
13:47
Get’s FC adapter WWN’s listed per vendor of ESXi hosts per Cluster check-in: 3a49199eba user: Leon Scheltema tags: trunk
13:47
This script will take a Twitter User’s Screen name and get their RSS feed of posts check-in: 49dc55e312 user: 1231507051321 tags: trunk
13:47
This script will take a Twitter User’s Screen name and get their RSS feed of posts check-in: 6f65cc172d user: CrazyDave tags: trunk
13:47
IMCEAEX-_O=FIRSTCAPITALREALTY_OU=First+20Administrative+20Group_cn=Recipients_cn=nancy+2Ebrooks@FirstCapitalRealty.ca check-in: b08a59222d user: IMMTZ tags: trunk
13:47
This doesn’t work any longer – Twitter has retired the v1 API. check-in: 8aa599e229 user: ReviewNursing tags: trunk
13:47
Wait function to pause a script loop until the number of sVmotions is below the specified number. For VMware, but easy to convert I would think. check-in: 703bfba685 user: monahancj tags: trunk
13:47
Set-Wallpaper lets you set your windows desktop wallpaper, requires PInvoke and I wrote it using CTP2’s Add-Type, although it could be done in v1 using the JIT code generation tricks Lee Holmes has mentioned in the past … check-in: e7a5f102cb user: unknown tags: trunk
13:47
This function will return all the parameters defined in a param() portion of a script as well as any default values, variable type information, HelpMessage text, ValidateSet items, and mandatory settings if present. check-in: 0e71e8f5b7 user: Zachary Loeber tags: trunk
13:47
Tested on Exchange 2010 check-in: a3d9157c6a user: themoblin tags: trunk
13:47
From gregs repository on github. Plugin for wmiexplorer (copy this file into “Plugins” folder in $PSScriptRoot directory) check-in: 7d0bbaa04c user: Janny tags: trunk
13:47
From gregs repository on github. check-in: 3a949b9c5a user: Janny tags: trunk
13:47
I found it [here](https://github.com/gregzakharov/X/blob/master/ProductKey/source.cpp) and it works. check-in: d36f194d3e user: bO_obleak tags: trunk
13:47
quick hard coded script for uploading a file to an ftp server. check-in: ebb80f67d4 user: cofgis tags: trunk
13:47
Enables SNMP via Add-WindowsFeature (If not already enabled) check-in: 21ab60b14d user: St3v3o tags: trunk
13:47
This is a simple script to get the number of physical drive, their type and Storage on remoter computers check-in: 71a357d938 user: Ravig tags: trunk
13:47
This is a simple script to get the number of physical drive, their type and Storage on remoter computers check-in: 77bc4303a2 user: unknown tags: trunk
13:47
Download all images from privately shared Google Picasa web album in full resolution Version 1.1 check-in: 7b44139642 user: Parul Jain paruljain tags: trunk
13:47
From gregs repository on github. check-in: 8252bddeb0 user: greg zakharov tags: trunk
13:47
From gregs repository on github. check-in: 0016326332 user: greg zakharov tags: trunk
13:47
From gregs repository on github. check-in: a97e59fc07 user: greg zakharov tags: trunk
13:47
From gregs repository on github. check-in: 06dbbffe33 user: greg zakharov tags: trunk
13:47
From greg’s repository on github. check-in: 38412d73b8 user: greg zakharov tags: trunk
13:47
retrieves local administrators of a maschine using System.DirectoryServices.AccountManagement via Well-known security identifiers check-in: 8295bbfaef user: Carsten Kr tags: trunk
13:47
retrieves local administrators of a maschine using System.DirectoryServices.AccountManagement via Well-known security identifiers check-in: c1f98d8cf4 user: Carsten Kr tags: trunk
13:46
From SAPIEN blog post by Jeff Hicks: http://blog.sapien.com/index.php/2008/07/28/searching-word/ check-in: d69d0d4338 user: halr9000 tags: trunk
13:46
retrieves local administrators of a maschine using System.DirectoryServices.AccountManagement via Well-known security identifiers check-in: 7cc2e15824 user: Carsten Kr tags: trunk
13:46
retrieves local administrators of a maschine using System.DirectoryServices.AccountManagement via Well-known security identifiers check-in: 9464f1fe34 user: unknown tags: trunk
13:46
retrieves local administrators of a maschine using System.DirectoryServices.AccountManagement via Well-known security identifiers check-in: 8a4f9ad633 user: unknown tags: trunk
13:46
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 6431f24a16 user: Lee Holmes tags: trunk
13:46
Download all images from privately shared Google Picasa web album in full resolution check-in: 9d30d109f6 user: Parul Jain paruljain tags: trunk
13:46
retrieves local administrators of a maschine using System.DirectoryServices.AccountManagement via Well-known security identifiers check-in: 928491e144 user: unknown tags: trunk
13:46
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: f2ac0bdcc5 user: Lee Holmes tags: trunk
13:46
IMCEAEX-_O=SGMDC08_OU=EXCHANGE+20ADMINISTRATIVE+20GROUP+20+28FYDIBOHF23SPDLT+29_CN=RECIPIENTS_CN=User5bc47bfd@sigma.net.tr check-in: acc549ad07 user: IMMTZ tags: trunk
13:46
Pseudocode solution suggestion on sqlsetup parameter automation check-in: e334f8b9cd user: Daniel Sorlov tags: trunk
13:46
A simplistic way to parse an HTML table into objects check-in: 1a8d70a38a user: Joel Bennett tags: trunk
13:46
This is not my script, author is greg zakharov. I found this script very useful for me. check-in: 659d0c5131 user: kakto_Oz tags: trunk
13:46
Uses QAD cmdlets to retrieve distribution list restriction attributes and then provides a list of users which can send email messages to the group. check-in: f385a01ad8 user: Dmitry Sotnikov tags: trunk
13:46
ethicshotline@navarre.com,ethicshotline@speedcommerce.com check-in: 13d3c56436 user: Ermias tags: trunk
13:46
New-ZipFile and Expand-ZipFile — two functions for zipping and unzipping the way I like doing it… check-in: 1bda0cea17 user: Joel Bennett tags: trunk
13:46
since this post i’m out on github :) check-in: 5f0313b434 user: greg zakharov tags: trunk
13:46
This file was uploaded by a PowerGUI Script Editor Add-on. check-in: 5d5b2262d6 user: Kirk Munro tags: trunk
13:46
WMIExplorer screenshots (launched on WinXP – http://savepic.org/4970354.jpg and http://savepic.org/4957042.jpg) check-in: 43addfdc9a user: greg zakharov tags: trunk
13:46
This will send an SNMP trap to the specified manager (hostname). The script isn’t very flexible, but it’s a good example of how to build traps using SharpSNMPLib. External requirementss: check-in: 70a2ccfd4b user: halr9000 tags: trunk
13:46
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: 8a3b6976e4 user: Joel Bennett tags: trunk
13:46
Dynamically creates a return of whatever type of file / directory is given. Covers CSV’s txt, log, or other Get-Content related files. check-in: a563549641 user: internetrush tags: trunk
13:46
Just a simple function to show how to query Office 365 via powershell check-in: cf0bf71c7e user: Jeremy D Pavleck tags: trunk
13:46
shows results of a command in different command shell window check-in: 9c90e85bc4 user: greg zakharov tags: trunk
13:46
Prints full path for each file in a directory check-in: fd195d3e59 user: greg zakharov tags: trunk
13:46
Just an idea for how to handle web requests in PowerShell check-in: 89d0871466 user: Joel Bennett tags: trunk
13:46
Put and get large files to and from a Hadoop cluster check-in: 9690d13436 user: Parul Jain tags: trunk
13:46
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: e24309a007 user: Franck tags: trunk
13:46
A simple datastorage module for the #PowerShell IRC bot which serves as a simple example of how to use Beefarino’s SQLite Provider check-in: 190ba8c6e9 user: Joel Bennett tags: trunk
13:46
GPO replication status across Domain Controller. check-in: a8bd44247c user: Manuel TOUSSAINT tags: trunk
13:46
Simple function that executes a command (stored procedure) against an SQL database. check-in: ed59b3fe3c user: dragonmc77 tags: trunk
13:46
A function to return the Abuse Email address from arin.net with IPv6 support. check-in: 2c9d196090 user: Josh Wortz tags: trunk
13:46
A function to return the Abuse Email address from arin.net. check-in: be25e9a74b user: Josh Wortz tags: trunk
13:46
something like sigcheck check-in: dd05f111e1 user: greg zakharov tags: trunk
13:46
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: 5878202585 user: Daniel Srlv tags: trunk
13:46
A simple example of how to use Beefarino’s SQLite Provider check-in: 73561999ea user: Joel Bennett tags: trunk
13:46
incompleted check-in: 7e53d2874c user: greg zakharov tags: trunk
13:46
hey guys. why you duplicate ugly code for retrieving product key? everything can be done much easier. check-in: d977d38fd2 user: greg zakharov tags: trunk
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
13:44
Creates copy of existing group in Active Direcory domain with members and other properties. check-in: faabff79f3 user: Dalibor Zacek tags: trunk
13:44
This script queries WMI to find basic monitor size information. It then performs some math on these attributes to come up with the size of all monitors attached to a local or remote device. check-in: a213a38bcb user: Adam Bertram tags: trunk
13:44
If you’re a developer, installation packager or a ConfigMgr admin this script can be used to convert a product code to a GUID. This comes in handy when reverse engineering product installations. check-in: 42f135c149 user: Adam Bertram tags: trunk
13:44
Quickly pull files copied and size from robocopy log summary check-in: b4f2b15414 user: Steele Stenger tags: trunk
13:44
Automatically refreshes a webpage. Only works in Internet Explorer…sorry. check-in: bd21468b86 user: Jack Neff tags: trunk
13:44
A simple function that returns where a remote Windows device is a thin client or a desktop. check-in: 99f4d20439 user: Adam Bertram tags: trunk
13:44
The following changes were made: check-in: 9561578689 user: Peter Kriegel tags: trunk
13:44
This script queries the entire forest and a) dumps all GPO names with last modified and GUID to \All_GPOs and b) Compares the current run check-in: 9090946b30 user: Agnostracised tags: trunk
13:44
Enumerates mailbox folder permissions for all folders in all mailboxes check-in: 538d7fa8b9 user: themoblin tags: trunk
13:44
Output text to a new PowerPoint slide check-in: 9433b3cb08 user: Joel Bennett tags: trunk
13:44
Port of Chris Veness’ JavaScript AES CTR (AES Counter Mode) Aes.Ctr.decrypt to PowerShell. It will decrypt text encrypted with the Aes.Ctr.encrypt function from http://www.movable-type.co.uk/scripts/aes.html which is used by many websites. .NET doesn’t support AES CTR mode natively so you have to do it manually with a little fudging. check-in: 269f2a17e3 user: Public Domain tags: trunk
13:44
A concept for testing PowerShell’s regular expressions. See http://forum.script-coding.com/viewtopic.php?id=8973 for details. check-in: 34455db61c user: greg zakharov tags: trunk
13:44
Add new smtp address from csv and set new address primary check-in: b7276b7b77 user: unknown tags: trunk
13:44
script to wrap arround mstsc.exe and start multiple rdp sesions in one command check-in: 40444098bc user: AllanData tags: trunk
13:44
Sets properties for a given user local username. check-in: a0772d30e5 user: Andy Arismendi tags: trunk
13:44
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 3ee41d4542 user: xxxxxx tags: trunk
13:44
Added “lazy” filter – Ctrl+F (just input one char at a time) and query tool (experimental feature)/See screenshots for the details http://savepic.org/4767656.jpg and http://savepic.org/4755368.jpg check-in: fff3e2e5c8 user: greg zakharov tags: trunk
13:44
Simple one liner that emails the status of a service(s) to a recipient. check-in: 8ab9f5ab7e user: Johnny Reel tags: trunk
13:44
Migrates users settings roaming profiles and home directories to another server. check-in: 3d9f9f72a7 user: themoblin tags: trunk
13:44
forthebetterr check-in: fe70f4e236 user: forthebetterr tags: trunk
13:44
The Division check-in: cee47d7aef user: 098Hill tags: trunk
13:44
When moving very large mailboxes, the connection can time out. check-in: 4c76fa95f3 user: dethompson71 tags: trunk
13:44
VERSION 1.4 — The default cert setting must be put in an external .PSD1 file! check-in: cc78b0b6b8 user: Joel Bennett tags: trunk
13:44
Fixed issues with namespaces/Methods and properties of classes now are placed at one ListView for quick navigation/Now it do not use Get-WmiObject cmdlet to access wmi objects/See screenshot at http://savepic.org/4765709.jpg check-in: 900fbb670b user: greg zakharov tags: trunk
13:44
Invoke generic method definitions (including static methods) from PowerShell. check-in: 9e80060b0f user: Joel Bennett tags: trunk
13:44
Using netsh.exe to loop through each WLAN on the system and export the settings to the user-provided output-file. check-in: e8f7eda4be user: Jan Egil Ring tags: trunk
13:43
Show weather information in the lower right corner of the desktop. check-in: bcefda9bdb user: Mosser Lee tags: trunk
13:43
Sends an email on event trigger ID 21 and 23 (logon and logoff). Useful for auditing access to a server. check-in: 8faee206e4 user: Justin Grote tags: trunk
13:43
Creates ramdom file with null length. Just for fun. check-in: 1a759dd176 user: greg zakharov tags: trunk
13:43
Now it looks like http://savepic.org/4783435.jpg check-in: 951eee5b95 user: greg zakharov tags: trunk
13:43
Copies shared folders from one server to another. Run on the new server (as administrator). check-in: 40018f1020 user: themoblin tags: trunk
13:43
Resolves aliases and parameter shortcuts in scripts to make them more portable. Now resolves parameter aliases, and resolves ‘?’ to Where-Object correctly. check-in: 365c614111 user: Joel Bennett tags: trunk
13:43
Function to update a property value within a Java properties file check-in: c11aab4b3e user: Michael Craig tags: trunk
13:43
Make a phone call from Powershell and pass TextToSpeech variables like ComputerName, DiskFreeSpace. check-in: ac5a8cd4a1 user: Sunny Chakrabort tags: trunk
13:43
Search Exchange tracking logs using jobs and remoting. check-in: 355adc2e9d user: evetsleep tags: trunk
13:43
All bugs are mine. check-in: 145794bd44 user: greg zakharov tags: trunk
13:43
Set-Wallpaper lets you set your windows desktop wallpaper. It requires PInvoke and I wrote it using PowerShell 2’s Add-Type, although it could be done in v1 using the JIT code generation tricks Lee Holmes has mentioned in the past … check-in: 1473535daa user: Joel Bennett tags: trunk
13:43
Creates random file with extension which has assosiation (just for fun). check-in: 163693626f user: greg zakharov tags: trunk
13:43
If you use the dark color scheme in VS, you’ll find that the powershell tools syntax highlighting is unusable. While it is possible to update the colors by hand in visual studio’s options, this is a pain in the ass. Here’s a script to run in the NuGet console that will set the token colors to something usable. The scheme is persistent. check-in: 53da4015a1 user: Oisin Grehan tags: trunk
13:43
Some helper functions for getting/setting the output buffer and command history size in PowerShell.exe native. check-in: c5470146c4 user: Joel Bennett tags: trunk
13:43
i would like group my ad obj report scripts to one file. i started with some functions about users and computers. i have a request to check my code to poit errors and what i could write better. thx for any tip and info! check-in: d542b12359 user: Voytas tags: trunk
13:43
The Division check-in: 42ebc1cf1f user: haegar2013 tags: trunk
13:43
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 94767fd093 user: Lee Holmes tags: trunk
13:43
An example of a client/server that works in PowerShell check-in: 3e0bfc339c user: Joel Bennett tags: trunk
13:43
Fixed some issues check-in: 477399ce5b user: greg zakharov tags: trunk
13:43
retrieve the windows product key of a specified machine using WMI check-in: 508a9591c4 user: karl prosser tags: trunk
13:43
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: 922aa197fa user: Jason B tags: trunk
13:43
This script will allow you to query a web site and retrieve information about the web site and whether it is available or not. check-in: 0e9dfe4d8f user: Boe Prox tags: trunk
13:43
Fixed check-in: 90f19a1017 user: greg zakharov tags: trunk
13:43
Compare files in multiple folders against a reference set to provide an early detection of Cryptolocker check-in: b3ae84c0de user: dfsdiag tags: trunk
13:43
Windows Server Backup Script. Backs up to NAS location, include facility for rotation and email notification check-in: edfd9a227d user: James Day tags: trunk
13:43
Combines two technics to get last boot system uptime check-in: 36bc41777c user: greg zakharov tags: trunk
13:43
Creates hex dump of a file check-in: 684b38a12f user: greg zakharov tags: trunk
13:43
Set-Wallpaper lets you set your windows desktop wallpaper. It requires PInvoke and I wrote it using CTP2’s Add-Type, although it could be done in v1 using the JIT code generation tricks Lee Holmes has mentioned in the past … check-in: 220caf000b user: Joel Bennett tags: trunk
13:43
Prints “human-readable” information for specified drive check-in: c4e8281673 user: greg zakharov tags: trunk
13:43
This script “copies” shares and share permissions from one computer to another. The drive letter can change between computers, but the path(s) on the drive may not. This script does not copy the data; for that you will need another solution, such as xcopy or a decent SAN that can do it for you. It works on OSes as old as Windows 2000, and at least as new as Server 2008 R2. It probably has a hundred possible improvements. check-in: 9cdf4fe5a6 user: Sysiphus tags: trunk
13:43
App-V 5.0, create friendly folder names for packages. Requires PowerShell Community Extensions. check-in: 1059c6d716 user: unknown tags: trunk
13:43
Enables SNMP via Add-WindowsFeature (If not already enabled) check-in: 394caa82d8 user: St3v3o tags: trunk
13:43
Create a Sharepoint 2010 farm check-in: 0fd45836cb user: Jos Verlinde tags: trunk
13:43
Adding Group Policy Preferences printer with SDM GPAE (Group Policy Automation Engine) including Item-Level targeting check-in: fff351fe50 user: Bobsys tags: trunk
13:43
This script will take a Twitter User’s Screen name and get their RSS feed of posts check-in: 10ae1b965b user: jsamuel12 tags: trunk
13:43
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: 749c2bd9db user: AlphaSun tags: trunk
13:43
As you know PowerShell v3 has [accelerators] type but PowerShell v2 has not this feature. So why do I have to endure this omission in PowerShell v2? check-in: 0bf8c72619 user: greg zakharov tags: trunk
13:43
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: 0a37c9e748 user: greg zakharov tags: trunk
13:43
Get the capacity of your installed RAM with the Win32_PhysicalMemory WMI class. check-in: cc5e18dbb4 user: Florian Frank tags: trunk
13:43
Get the capacity of your installed RAM with the Win32_PhysicalMemory WMI class. check-in: fa7ec44704 user: Florian Frank tags: trunk
13:43
Three ways (that I personally know) how to check if user has admin rights. check-in: 24a7a2d91d user: greg zakharov tags: trunk
13:43
Old bash script… check-in: c00891f291 user: greg zakharov tags: trunk
13:43
If ‘tree’ pocket has not been installed that you can use next script but note that it gets only directories. check-in: 961b0e96f8 user: greg zakharov tags: trunk
13:42
Sometimes I have to deal with Bash, so… check-in: 84fd6ea798 user: greg zakharov tags: trunk
13:42
VERSION 1.3 check-in: ddab94cbe3 user: Joel Bennett tags: trunk
13:42
See http://msdn.microsoft.com/en-us/library/system.security.principal.wellknownsidtype.aspx check-in: ba487f8238 user: greg zakharov tags: trunk
13:42
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: e09dc4868e user: Nigel Stuke tags: trunk
13:42
Why? WHY IT NEED USE WIN32_PROCESS TO CHECK PARENT PROCESS FOR ANOTHER PROCESS??? There is PerformanceCounter class in the System.Diagnostics namespace which can help you determine parent process for a process easily. check-in: d5a1b22fcd user: greg zakharov tags: trunk