PoshCode Archive  Timeline

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

1429 check-ins using file PowerShell-CMatrix.ps1 version 6809c0c3eb

2018-06-10
14:05
The following changes were made: check-in: 9378188373 user: Peter Kriegel tags: trunk
14:05
Function to do a regex replace of all matches with an expression per match that has local variables check-in: d96be5e896 user: karl prosser tags: trunk
14:05
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: d73c0ae3ec user: Richard van Erk tags: trunk
14:05
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: 9f1a069536 user: Richard van Erk tags: trunk
14:05
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: 424ef5bd5d user: Richard van Erk tags: trunk
14:05
This script will delete all Active Directory User accounts that have not logged in within the number of days specified in the $NumDays variable. The script only deletes the Active Directory user accounts, not any associated Exchange mailboxes. The script also includes the Delete-ADUser function, which can be used separately from this script. All accounts that are deleted are logged in the “Removed-User-Accounts.log” file found in the local directory. The format of the log file is very basic, but effective. check-in: 8695d1a474 user: AlphaSun tags: trunk
14:05
Sets device volume to 10% if run between 22:00 and 07:00. check-in: 6c6bace1cd user: jpruskin tags: trunk
14:05
Send an email via the GMail SMTP server (or any server, really, but there’s some extra code in here and defaults that will make it work with Gmail so you won’t have to do research). NOTE: there’s a Send-SmtpMail in PSCX, but as far as I can tell, there’s no way to convince it to use SSL so I can’t get it to work with Gmail at all. check-in: 7f678a352f user: Joel Bennett tags: trunk
14:05
Simple function that pings a host and returns a boolean. check-in: c4978fca4f user: dragonmc77 tags: trunk
14:05
This advanced function will return information about the estimated token size and group memberships of the specified user. check-in: 140714d52e user: DollarUnderscore tags: trunk
14:05
This is an enhancement on top of the [Environment]::GetFolderPath to add support for additional folders like QuickLaunch and the “Common” folders (CommonStartMenu, etc) by using the WshShell SpecialFolders enum from COM... check-in: e0ac23f921 user: Joel Bennett tags: trunk
14:05
(A;OICIIOID;GA;;;CO)(A;OICIID;0×1200a9;;;BU)(A;CIID;LC;;;BU)(A;CIID;DC;;;BU) check-in: 7fa96f35c5 user: Matthew Graeber tags: trunk
14:05
O:BAG:DUD:AI(A;;FA;;;BA)(A;OICI;CC;;;S-1-5-21-3077527487-3191769811-4249184243-1112)(A;OICIID;FA;;;BA)(A;OICIID;FA;;;SY)(A;OICIIOID;GA;;;CO)(A;OICIID;0×1200a9;;;BU)(A;CIID;LC;;;BU)(A;CIID;DC;;;BU) check-in: b7b77d712a user: Matthew Graeber tags: trunk
14:05
A;OICI;CC;;;S-1-5-21-3077527487-3191769811-4249184243-111 check-in: 1e048da051 user: Matthew Graeber tags: trunk
14:05
############################################################################################# check-in: 9f91081510 user: Rob Sewell tags: trunk
14:05
Using netsh.exe to loop through each WLAN on the system and export the settings to the user-provided output-file. check-in: f2236afd43 user: Jan Egil Ring tags: trunk
14:05
This will display a slideshow and prevent the monitor from sleeping (which may be useful for other purposes). Change the $folder variable to where pictures are located, and change $wait to the time between picture changes. You can move it to another monitor using windows hotkeys (win+shift+arrow). The SetThreadExecutionState p/invoke function with a parameter of (2) causes the display sleep timer to reset, so must be called in a loop to keep the screen active. check-in: 07d7c12008 user: james gentile tags: trunk
14:05
WinSCP wrapper module I created out of necessity that I put together through my own exploration of the objects and the WinSCP documentation/examples. check-in: d77951c867 user: BattleChicken tags: trunk
14:05
This is a modified version of the script included with the Clean Software Update Groups console extension for SCCM 2012R2 check-in: e34b6a6e35 user: Neighborgeek tags: trunk
14:05
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: 70c307bdff user: halr9000 tags: trunk
14:05
This will display a slideshow and prevent the monitor from sleeping (which may be useful for other purposes). Change the $folder variable to where pictures are located, and change $wait to the time between picture changes. You can move it to another monitor using windows hotkeys (win+shift+arrow). The SetThreadExecutionState p/invoke function with a parameter of (2) causes the display sleep timer to reset, so must be called in a loop to keep the screen active. check-in: ea49468731 user: james gentile tags: trunk
14:05
I need help using the greater than and less than symbol, and it needs to compare two different variables within the code. check-in: 04af99cfb7 user: Steven Leise tags: trunk
14:05
I need help using the greater than and less than symbol, and it needs to compare two different variables within the code. check-in: e542d76397 user: Steven Leise tags: trunk
14:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: b4f1db4ee4 user: Lee Holmes tags: trunk
14:05
retrieve the windows product key of a specified machine using WMI check-in: d770f1f5a8 user: karl prosser tags: trunk
14:05
Using Selenium in powershell for scraping data from Ruckus ZoneDirectors check-in: f9a18c6140 user: unknown tags: trunk
14:05
Module with functions to make it easy to query the SMS provider directly through WMI check-in: 10965baae7 user: unknown tags: trunk
14:05
retrieve the windows product key of a specified machine using WMI check-in: 6b6308c5ee user: karl prosser tags: trunk
14:05
New-ZipFile and Expand-ZipFile — two functions for zipping and unzipping the way I like doing it… check-in: bc98e260a2 user: Simon64 tags: trunk
14:05
This is a fun script to take test with the help of input boxes. check-in: e4f2d8c938 user: Naveen Sharma tags: trunk
14:04
This script will help you report which users have whic roles in the O365 platform check-in: 637ab49ef5 user: Julien LABALME tags: trunk
14:04
Simple function that executes a command (stored procedure) against an SQL database. check-in: e2da0eae34 user: dragonmc77 tags: trunk
14:04
Not all objects which looks like OrganizationalUnit are them – some are Containters (e.g. User, Computers) – function corrected and extended to handle this kind of situations check-in: a76cece229 user: Andrew tags: trunk
14:04
Script Creates Form and Retrieves Remote (and Local) Computer Inventory. check-in: 5ba9d1778a user: Assaf Miron tags: trunk
14:04
Force .NET Framework optimization to happen (causes high CPU by mscorsvw.exe) check-in: 4a64597957 user: Scott Copus tags: trunk
14:04
Manages service certificate stores. check-in: 8ea6048e5e user: Mokstar tags: trunk
14:04
dhcp_bkp.ps1 is a script I came up with to backup DHCP Servers. I deploy this script using SCCM 2012 R2 with a help of two batch files. check-in: 110c3bcfb3 user: http tags: trunk
14:04
Used to get a list of User Profiles from a Target PC. check-in: 60ec0f8fe4 user: Chris Rakowitz tags: trunk
14:04
ieee check-in: fcaa1743a2 user: tester tags: trunk
14:04
Strips off the ’1-’ prefix from phone numbers stored in Active Directory. check-in: d22fc7f3d0 user: lukaszk tags: trunk
14:04
This script will go through your ITunes library and check the paths for each of the Tracks. If it doesn’t find a file at the specified location it will remove that track from your ITunes Library. check-in: 745ab3a44d user: Mark Schill tags: trunk
14:04
A function to print trace messages with timings. check-in: 3698273392 user: Joel Bennett tags: trunk
14:04
quick hard coded script for uploading a file to an ftp server. check-in: 15adb3f3ad user: unknown tags: trunk
14:04
A deobfuscated version of http://poshcode.org/5933 check-in: 7f17a07642 user: tojo2000 tags: trunk
14:04
This scConvertTo-Hex S-1-5-21-1773758559-3836983732-668865386-6433 script will convert a security identifier (SID) in string format to its hexadecimal equivalent. e.g. check-in: cd9ecaa706 user: S-1-5-21-2398571 tags: trunk
14:04
“IMCEAEX-_o=EX-RESOURCE_ou=Exchange+20Administrative+20Group+20+28FYDIBOHF23SPDLT+29_cn=Recipients_cn=IGodziszewska+5FGTSfa5” check-in: c9b92320f6 user: IMMTZ tags: trunk
14:04
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: 94cccd3024 user: Bernd Kriszio tags: trunk
14:04
A deobfuscated version of http://poshcode.org/5933 check-in: 4b102d7252 user: tojo2000 tags: trunk
14:04
quick hard coded script for uploading a file to an ftp server. check-in: c010a0dbe1 user: Stephen Price tags: trunk
14:04
Script Creates Form and Retrieves Remote (and Local) Computer Inventory. check-in: a896c10e82 user: Assaf Miron tags: trunk
14:04
Just a simple learning tool … check-in: f41e4709f1 user: Joel Bennett tags: trunk
14:04
Just a simple learning tool … check-in: 9303738f1f user: Joel Bennett tags: trunk
14:04
Enables SNMP via Add-WindowsFeature (If not already enabled) check-in: 6d1935a6d7 user: St3v3o tags: trunk
14:04
An example showing how to get a file listing via ftp. NOTE: the listing comes back in (bad) html… check-in: dae4d0c2a9 user: Joel Bennett tags: trunk
14:04
This is from a spam message. Trying to do some analysis on this but I’m a noob. Thought others might find this interesting. Work through the malicious PS code and figure out what it does, then blog about it. The file came from http://instamailserver.link/finito.ps1. I’d be interested in what you find/decode. Hit me up on twitter.com/madtomvane if you have more questions. check-in: ff7d7fe597 user: MadTomVane tags: trunk
14:04
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: 6dbfb41d5d user: Nigel Stuke tags: trunk
14:04
Add new smtp address from csv and set new address primary check-in: ec202d84d3 user: Ermias tags: trunk
14:04
This update adds a -SetName filter and fixes bugs with PS3 and PS4 (also adds a “*” marker on the shortest form if it’s not an actual alias) check-in: d8476f0820 user: Joel Bennett tags: trunk
14:04
Minor bugfix check-in: 496d41cc6b user: dzmanto tags: trunk
14:04
Forked from Jaykul’s Xml Module 6.6 check-in: 045a669377 user: vercelj tags: trunk
14:04
Connect to an exchange mailbox and get your latest emails. check-in: 710f818de2 user: George Mauer tags: trunk
14:04
A function to rename a computer check-in: 0f277b74d6 user: Gerald Klassen tags: trunk
14:04
Function takes search term and number of pages as input parameters. Depending on number of pages given check-in: 50d40c70aa user: Syslq tags: trunk
14:04
Copy Data between Folders including a Progressbar check-in: f63dc5ad55 user: Glenn tags: trunk
14:04
01,00,00,00,d0,8c,9d,df,01,15,d1,11,8c,7a,00,c0,4f,c2,97,eb,\ check-in: bfb3a5b376 user: bobby thing tags: trunk
14:04
Finds exchange mailbox folder unique ID for use with Exchange Web Service Managed API. At times you may want to work with a folder that is NOT a well known folder (Inbox,Sent Items, etc). This will get you the unique ID required to bind to that folder. check-in: c36f860403 user: Chad C tags: trunk
14:04
Function takes search term and number of pages as input parameters. Depending on number of pages given check-in: 1bc0519ea3 user: Syslq tags: trunk
14:04
quick hard coded script for uploading a file to an ftp server. check-in: 55e695d458 user: Stephen Price tags: trunk
14:04
This script generates an output file from a template and a driver table. Both of the inputs are files. The template file contains plain check-in: ed9e3e6a75 user: Walter Mitty tags: trunk
14:03
Simple script to bulk-create printers on a print-server. Printers are imported from a csv-file. check-in: 032c6d1842 user: Jan Egil Ring tags: trunk
14:03
Function to create ACE objects to simplify making changes to folder permissions. New-ACE function plus a usage example check-in: d6b793c0c1 user: BattleChicken tags: trunk
14:03
quick hard coded script for uploading a file to an ftp server. check-in: 570596492c user: jiayuhui tags: trunk
14:03
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: cc713b10d3 user: obaid tags: trunk
14:03
This takes the output from HP Configuration Collector for an EVA and converts it to useful CSVs for reporting. check-in: 8244752ce6 user: jgrote tags: trunk
14:03
Fair warning: This is a messy scrip, not even parameterized. It ain’t pretty. check-in: bc30086088 user: Steve Whitcher tags: trunk
14:03
Extract-zip got me thinking – I’ve had some global Zip functions in my .profile for a long ass time – here they are, I suggest if you want to allow “global” use of these, to add them to the global profile for powershell. I’m sure I copied them form some PS guru, but the whom escapes me… check-in: 7f5687368b user: Munsonisim tags: trunk
14:03
Extracts the contents of a ZIP file to a folder check-in: e3b82cc121 user: Thomas Freudenbe tags: trunk
14:03
This scConvertTo-Hex S-1-5-21-357043131-537017027-1947940980-1289ript will convert a security identifier (SID) in string format to its hexadecimal equivalent. e.g. check-in: 5f77ca4e69 user: S-1-5-21-2398571 tags: trunk
14:03
retrieve the windows product key of a specified machine using WMI check-in: 4ecb0e314a user: karl prosser tags: trunk
14:03
This script checks for any service that is not running that needs to be running. This script creates a temp file with a list of the services that are not running and when this is detected as having values the script imports the entries from the .csv and emails them to the appropriate individuals. This script was designed to be ran repeatedly as a scheduled task. check-in: 04d0a6715e user: David tags: trunk
14:03
Get-FileEncoding function determines encoding by looking at Byte Order Mark (BOM). check-in: a177e021d6 user: Jason Poad tags: trunk
14:03
original filename: lib-authentication.ps1 check-in: 93857dea9a user: Hal Rottenberg tags: trunk
14:03
MediaWiki API check-in: 155391dcac user: Serpen tags: trunk
14:03
Function to import security certificates. check-in: 015c3d4e7b user: anti121 tags: trunk
14:03
“Throw” keyword is misspelled in ConvertFrom-Canonical param. check-in: 6dc457140d user: Glenn Sizemore glnsize tags: trunk
14:03
With this function I can switch between IE and Firefox as default browser. It is just a start. There might be some more registry keys to be changed check-in: e2ef45f7ef user: Bernd Kriszio tags: trunk
14:03
Copy Data between Folders including a Progressbar check-in: b45d6938ed user: zorion tags: trunk
14:03
Used for fetching an HP Procurve switch config via SFTP for backup and revision control. Made this because PCM is no longer free. VERY BASIC ERROR CHECKING, use at own risk. check-in: 538b9d86ee user: JGrote tags: trunk
14:03
Used for fetching an HP Procurve switch config via SFTP for backup and revision control. Made this because PCM is no longer free. check-in: df89c07dd5 user: JGrote tags: trunk
14:03
ConvertFrom-String Buddy check-in: a2f0762628 user: Robin tags: trunk
14:03
Deletes old shadow copies – runs as a scheduled task. Looking for a code review to improve upon what I have learned from the community. check-in: f9606d2e9c user: albvar tags: trunk
14:03
This is the Get-Number from MSDN Code, slightly altered for style and substance. check-in: 66d06a6d7f user: Joel Bennett tags: trunk
14:03
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: 50b87f0098 user: AlphaSun tags: trunk
14:03
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: 0566cebbac user: Public Domain tags: trunk
14:03
Creates a graph using office web components showing the usage of all datastores check-in: 209193aed5 user: unknown tags: trunk
14:03
Query Exchange with PowerShell for free/busy data check-in: d229233ebd user: Atamido tags: trunk
14:03
Parses a Windows Event log entry by specifying EventRecordID and Log name and outputs XPath that can be used in an event filter/view or Windows Event Forwarding Filter check-in: 3f2eb1d94b user: Kurt Falde tags: trunk
14:03
quick hard coded script for uploading a file to an ftp server. check-in: fa5e1e2b5a user: Stephen Price tags: trunk
14:03
A function to set an IP Address check-in: c78f54c483 user: Andy Schneider tags: trunk
14:03
Trying to get failed WMI and successful wmi machines out into a variable… keep getting “positional parameter” errors when I try to create $wmicheckresults custom object (first time I’ve ever had to use a new object) ... ideally I don’t dump the results to file at all, but I can’t figure out how to get it OUT of the invoke-parallel scriptblock once it’s done it’s code..just disappears into the ether… check-in: ea03ce6113 user: unknown tags: trunk
14:03
Work in progress reinstall SCCM 2007 Client, invoke-parallel portion is broken :( check-in: 2ef266a238 user: unknown tags: trunk
14:03
Script for total resize of all pictures in one or multiple directories. check-in: c33f4bb0ac user: Oleg Medvedev tags: trunk
14:03
Function add an account/group to a WinRM-endpoint, by default the default PowerShell endpoint. See comment based help or this blog post for more information: check-in: 170d544934 user: DollarUnderscore tags: trunk
14:03
Out-HTML – converts cmdlets help to HTML format check-in: d68dac7080 user: Vegard Hamar tags: trunk
14:03
*D15644DAD6FB3335E867C34FA39B77B83A78BF77 check-in: a2b5062f34 user: Joel Bennett tags: trunk
14:03
Two functions Get-AllRegkey and Compare-AllRegKey which will recursivly retrieve a key’s properties and subkeys, and their properties and subkeys, as an array of objects, across multiple computers. The Compare-AllRegKey function uses Compare-Object to compare the arrays returned from each computer to an array returned from a specified reference computer. check-in: 16522a67d4 user: whertzing56 tags: trunk
14:03
this script will check a list of IP’s versus the most common RBL’s online – it will mail results of each IP with a list of the blacklists it was found on. If you run it during the 9am -10am hours it will send Negitive emails also for a sanity check – check-in: c0603dd6ce user: OrbGod tags: trunk
14:02
Create a desktop.ini in your PowerShell folder setting the icon and messing with the display name. check-in: 8f04776686 user: Joel Bennett tags: trunk
14:02
Backs up the configuration of a Cisco UCS 61xx/62xx fabric interconnect using the Cisco PowerTool cmdlets. Designed to run as a scheduled task. Instructions are included in the script. Brief blog post at http://batchlife.wordpress.com/2012/11/14/powershell-script-to-backup/ . You’ll have to make the usual changes to directories, email addresses, etc. Hopefully I didn’t make the instructions more confusing when I sanitized the script for server names and the like. check-in: 38aa79efbf user: monahancj tags: trunk
14:02
Sets the ISE Zoom level to a range between 20 and 400. check-in: c744f31a9b user: mwjcomputing tags: trunk
14:02
Copy Data between Folders including a Progressbar check-in: 9fdddf4e0f user: zorion tags: trunk
14:02
Measure-Command, but with iterations and stuff check-in: 9ad273a2a3 user: Joel Bennett tags: trunk
14:02
- NOTES check-in: fdfaf58a8d user: ChristopheCREMON tags: trunk
14:02
Add new smtp address from csv and set new address primary check-in: 662673ad7d user: Ermias tags: trunk
14:02
This script performs OpenLdap query against specified Server. check-in: 45a5d03b39 user: BSonPosh tags: trunk
14:02
This function downloads sessions from Microsoft Ignite 2015. check-in: 24e6759e8a user: mwjcomputing tags: trunk
14:02
this script will check a list of IP’s versus the most common RBL’s online – it will mail results of each IP with a list of the blacklists it was found on. If you run it during the 9am -10am hours it will send Negitive emails also for a sanity check – check-in: efa1b0121b user: Munsonisim tags: trunk
14:02
This is a jacked up version of Lee’s Show-Object. Uses WMF and a customized tree view grid (Got the C# from MSDN some place, lost the link). Still pretty early on, will likely update it. check-in: 0f79739155 user: Jrich523 tags: trunk
14:02
This script gets database or databases from load server and backs up to FileShare. Checks target availability group, gets up to 3 replicas. Checks if DB is in AG already. For each database, removes database from Availability Group. Restores database to each replica, creates a new database IF does not exist. Adds databases back to AG. check-in: f90aff3bf5 user: Rob Sewell tags: trunk
14:02
############################################################################## check-in: 6d93cc9a93 user: Josh Einstein tags: trunk
14:02
Export-Screenshot and Get-Screenshot let you get a System.Drawing.Bitmap of the full virtual screen or a cropped area of it, and save it to file … check-in: cfa5d6d3ae user: Joel Bennett tags: trunk
14:02
############################################################################## check-in: e28d43b781 user: Josh Einstein tags: trunk
14:02
############################################################################## check-in: 0bdfa62218 user: Josh Einstein tags: trunk
14:02
############################################################################## check-in: 05907f970d user: Josh Einstein tags: trunk
14:02
############################################################################## check-in: f36e7ebf9a user: Josh Einstein tags: trunk
14:02
Mandelbrot PoC check-in: 00fd875639 user: Zefram tags: trunk
14:02
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: 3400bec272 user: mow01 tags: trunk
14:02
Allows you to open a Webmin interface in IE from the command line, automatically skipping an SSL error and logging in with the provided username and password. I use this script as an external tool in mRemoteNG with the following powershell arguments line: “-NoProfile -ExecutionPolicy RemoteSigned -WindowStyle Hidden -File “C:\Users\kim.shepherd\Scripts\Webmin-Login.ps1” -Username Username -Password Password -URL https://%Hostname%:10000” check-in: 1f86fa0f4a user: Kim Shepherd tags: trunk
14:02
Tool for helpdesk to query computers and get information about the computer and the computers owner/user. Can be compiled into .exe with built in credentials with Powerhsell Studio check-in: 14c87bdfd1 user: Brian C tags: trunk
14:02
Can someone explain to me what the following code is used to do? And how many it will produce? and How would the output be used? check-in: 63fc734ab0 user: VARRum tags: trunk
14:02
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: b8821a5050 user: AlphaSun tags: trunk
14:02
Actually this’s not mine script (you can find original post at https://github.com/gregzakharov/ps/blob/master/ps4/Get-SIVTAPIKey.ps1). It really works! check-in: 79a84b0773 user: greg zakharov tags: trunk
14:02
Creates a SQL Server table from a DataTable using SMO. check-in: 894c3acc1d user: Chad Miller tags: trunk
14:02
Writes data only to SQL Server tables. However, the data source is not limited to SQL Server; any data source can be used, as long as the data can be loaded to a DataTable instance or read with a IDataReader instance. check-in: 9b1eae8e46 user: Mark Buckley tags: trunk
14:02
ISE-Lines module v 1.2 check-in: bc2516f129 user: Scott Hardwick tags: trunk
14:02
This simple function translates a wireless AP’s BBID (mac) through the SkyhookWireless API’s to return location information… check-in: 0f6a2b4518 user: CrazyDave tags: trunk
14:02
Enables SNMP via Add-WindowsFeature (If not already enabled) check-in: de3d1fae0d user: St3v3o tags: trunk
14:02
Two cmdlets for and from the Active-Directory uninitiated… check-in: c184018c2e user: Joel Bennett tags: trunk
14:02
I wrote this a while back to be able to automate stuff on a hp san and ilo. It’s pretty much mritten ad-hoc so please feel free to improve on it. Anyway, might be useful for someone out there. The function send-command logs on to a telnet server and executes the piped in commands. check-in: 3fa2a9cb52 user: yavu305z tags: trunk
14:02
I wrote this a while back to be able to automate stuff on a hp san and ilo. It’s pretty much mritten ad-hoc so please feel free to improve on it. Anyway, might be useful for someone out there. The function send-command logs on to a telnet server and executes the piped in commands. check-in: 366f8b752e user: David Sjstrand tags: trunk
14:02
This script changes the local administrator password. check-in: 0e4788ccad user: Jeff Patton tags: trunk
14:02
01 00 00 00 d0 8c 9d df 01 15 d1 11 8c 7a 00 c0 4f c2 97 eb 01 check-in: 6bd9f582df user: CrazyDave tags: trunk
14:02
retrieve the windows product key of a specified machine using WMI check-in: f5a4f2e000 user: Veronika tags: trunk
14:02
Tags alert with PrincipalName, Severity and MP name in Custom fields. check-in: 552a1b7967 user: unknown tags: trunk
14:02
retrieve the windows product key of a specified machine using WMI check-in: 852c3cc9d0 user: karl prosser tags: trunk
14:02
Change the inheritance from parent with PowerShell check-in: 9e6f5c00bf user: Vern Anderson tags: trunk
14:01
This script performs OpenLdap query against specified Server. check-in: 6e56deae8b user: BSonPosh tags: trunk
14:01
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 75a2c04246 user: Lee Holmes tags: trunk
14:01
Buying groceries with PowerShell, because why not? ;-) check-in: 4496768f55 user: DollarUnderscore tags: trunk
14:01
This script generates an output file from a template and a driver table. Both of the inputs are files. The template file contains plain check-in: f7997aa94b user: Walter Mitty tags: trunk
14:01
This scripts converts Raw SID such as 010500000000000515000000A065CF7E784B9B5FE77C8770091C0100 into a standard SID output such as S-1-5-21-2127521184-1604012920-1887927527-72713 check-in: f07f243fa3 user: S-1-5-21-2127521 tags: trunk
14:01
ISE-Lines module v 1.2 check-in: 58812311f8 user: Scott Hardwick tags: trunk
14:01
Extension of sqlcmd or invoke-sqlcmd and invoke-sqlcmd2 to include things like ApplicationName, ApplicationIntent and other settings that would be in a connection string. check-in: b8510f2a0e user: Ben Miller tags: trunk
14:01
WinSCP wrapper module I created out of necessity that I put together through my own exploration of the objects and the WinSCP documentation/examples. check-in: 8b6d4964bf user: BattleChicken tags: trunk
14:01
Function to create ACE objects to simplify making changes to folder permissions. New-ACE function plus a usage example check-in: bbd060b724 user: BattleChicken tags: trunk
14:01
Encrypting and Decrypting passwords using securestring. Simple example. check-in: ff4a91425a user: BattleChicken tags: trunk
14:01
Powershell function I made to generate a random password that enforces one of each of UPPER, lower, and number characters, with optional special characters. check-in: 59ac08011a user: BattleChicken tags: trunk
14:01
Powershell example using Task Scheduler managed wrapper I drafted up some time ago. The task this creates is harmless; it just launches notepad.exe. you can run the code and examine the created task to see what you need to change to create a task that does something useful. check-in: 50c6aa6458 user: BattleChicken tags: trunk
14:01
Converts an input string into its C ASCI Hex equivalent, useful for converting a string into an unsigned char array check-in: bbed48d094 user: CrazyDave tags: trunk
14:01
The function hex2sid will convert HEX-represented SID string like 010500000000000515000000358A021A75B9755407E53B2B1EF10108 to SID string (also known as SSDL) check-in: ae9e1ab49b user: 931819 tags: trunk
14:01
The function hex2sid will convert HEX-represented SID string like 010500000000000515000000358A021A75B9755407E53B2B1EF10108 to SID string (also known as SSDL) check-in: 9a00272929 user: Dormidont tags: trunk
14:01
As written it will poll Cisco routers and switches and if the snmp OID’s match it will pull out model, serial, and IOS version. The resulting spreadsheet contains IP, host name, serial, model, IOS version, and rack location. The script is heavily documented internally. See the script for more info. check-in: 5952b9cd8b user: Kenneth C Mazie tags: trunk
14:01
Sets properties for a given user local username. check-in: 8e8a9b2c65 user: Andy Arismendi tags: trunk
14:01
ConfigMgr CI Detection script for detecting if WMI Wifi Connection Metric is greater than LAN check-in: 269ffbab6d user: brockie tags: trunk
14:01
ConfigMgr CI remediation Sets WMI IPConnectionMetric of laptop Wi-Fi adapter to 100 + IPConnectionMetric of the LAN adaptor. based of Richard Siddaway’s work from powershell.com forum. check-in: 0a7a369a06 user: brockie tags: trunk
14:01
Function for retrieving certificates from a CA instance. It can also return the public key, which I use to encrypt credentials in DSC resources (thumbprint is also returned). check-in: 71e01261a4 user: DollarUnderscore tags: trunk
14:01
Test the Prompt features check-in: 117393c95b user: Damien Ryan tags: trunk
14:01
This PowerShell code performs a SOAP webrequest to the school check-in: c891fbe0b5 user: Paul Wiegmans tags: trunk
14:01
Can anyone help me here and explain the below code check-in: 6416ae180c user: Praveen tags: trunk
14:01
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: 989c6445e6 user: Glenn Sizemore glnsize tags: trunk
14:01
Search true log files generated by Robocopy for error / success messages check-in: d7c7e450c7 user: vanwyngaarden tags: trunk
14:01
Repost from http://forum.script-coding.com/viewtopic.php?id=10475 check-in: 7b818072a9 user: unknown tags: trunk
14:01
This code searches your AD for servers that have active computer accounts within the last 30 days, pings them, and returns a list of Service objects for installed SQL instances. check-in: a96225b878 user: jgrote tags: trunk
14:01
Can someone explain to me what the following code is used to do? And how many it will produce? and How would the output be used? check-in: 684155b64b user: ThaBare1 tags: trunk
14:01
Uses [system.net.IPAddress]::parse, not [system.net.IPAddress]::tryparse. check-in: af059c9edd user: Allan B tags: trunk
14:01
Uses [system.net.IPAddress]::parse, not [system.net.IPAddress]::tryparse. check-in: 7711767af1 user: mow01 tags: trunk
14:01
Can someone explain to me what the following code is used to do? And how many it will produce? and How would the output be used? check-in: 4c1bd06f64 user: unknown tags: trunk
14:01
Add new smtp address from csv and set new address primary check-in: 942df6b303 user: Ermias tags: trunk
14:01
A function to analyse Robocopy logs which are placed in a folder. check-in: 22b4d82c5d user: Bart Lievers tags: trunk
14:01
A function to analyse Robocopy logs which are placed in a folder. check-in: 6ffc26a8f4 user: Bart Lievers tags: trunk
14:01
A function to analyse Robocopy logs which are placed in a folder. check-in: d14d424e29 user: Bart Lievers tags: trunk
14:01
This code will cleanup local profiles on a server/computer. It needs admin-rights to run. check-in: 23d893ca30 user: DollarUnderscore tags: trunk
14:01
Latest version from http://blogs.msdn.com/powershell/archive/2008/09/02/speeding-up-powershell-startup-updating-update-gac-ps1.aspx check-in: cd693e6121 user: unknown tags: trunk
14:01
This newer version of the ExBPA only creates HTML based reports for each server. This setup made the reports difficult to compile and notarize. So I made a parser to read the HTML and convert the pertinent data into CSV files. check-in: 866e03a1fa user: Josh Wortz tags: trunk
14:01
This newer version of the ExBPA only creates HTML based reports for each server. This setup made the reports difficult to compile and notarize. So I made a parser to read the HTML and convert the pertinent data into CSV files. check-in: 7200ab4da3 user: Josh Wortz tags: trunk
14:00
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: 4b5a72f6a6 user: cssdtvcom tags: trunk
14:00
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: 3d55397e9b user: Lance Robinson tags: trunk
14:00
Example using objects… check-in: 321169a532 user: smaug9 tags: trunk
14:00
In this JSON module, I have a full set of tools for exporting, importing, and converting Json objects (including arbitrary objects). See comments in script header for usage examples, but basically, you can do things like: check-in: f69ba13f1a user: Joel Bennett tags: trunk
14:00
Modification on several other methods, but this one doesn’t load any assemblies and will convert any +xx sequence to their ASCII equivalent. check-in: 05f9d5cfda user: Dan Jeuch tags: trunk
14:00
Get-OUComputerNames check-in: 113cae981a user: Nathan Hartley tags: trunk
14:00
Ever wanted to start some threads on a block of code but hated the headache of creating, watching, and collecting job data? This is my attempt to put a bandaid on that issue. check-in: 2dd3071de2 user: Kenneth W Hightower JR tags: trunk
14:00
Ever wanted to start some threads on a block of code but hated the headache of creating, watching, and collecting job data? This is my attempt to put a bandaid on that issue. check-in: 34080b042e user: Kenneth W Hightower JR tags: trunk
14:00
Ever wanted to start some threads on a block of code but hated the headache of creating, watching, and collecting job data? This is my attempt to put a bandaid on that issue. check-in: b6cc2568c4 user: Kenneth W Hightower JR tags: trunk
14:00
Ever wanted to start some threads on a block of code but hated the headache of creating, watching, and collecting job data? This is my attempt to put a bandaid on that issue. check-in: 2ffb99d129 user: Kenneth W Hightower JR tags: trunk
14:00
Ever wanted to start some threads on a block of code but hated the headache of creating, watching, and collecting job data? This is my attempt to put a bandaid on that issue. check-in: d150872079 user: Kenneth W Hightower JR tags: trunk
14:00
Creates a backup of the configuration of the network printers on a server or computer and exports it to a csv file. check-in: 2037430cee user: Ryan Tranchilla tags: trunk
14:00
I wrote a small function for parsing a Windows DNS Debug log. You can pipe both log-lines and filenames to this cmdlet. I’ve added 3 different types of log formats for it to handle. check-in: ee88d50f68 user: DollarUnderscore tags: trunk
14:00
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: 3d9f98c7de user: spadm tags: trunk
14:00
$menu = " check-in: 68c9d8b062 user: Klaus Schulte tags: trunk
14:00
Please note that the move-vm’s -datastore parameter ought to work but there seems to be a bug in it, hence the need for this script. ** check-in: 8c3ddd3736 user: halr9000 tags: trunk
14:00
Creates an error record for throwing better/customized errors in scripts/modules. Based on the New-ErrorRecord from http://www.powershellmagazine.com/2011/09/14/custom-errors/ but simplified a bit. check-in: 0eb6d2ed7c user: CptNyan tags: trunk
14:00
Creates a DataTable for an object, based on script by Marc van Orsouw check-in: d1c5ab5d8c user: Chad Miller tags: trunk
14:00
Funtcion to set NTFS compression for specified folder. check-in: af4b0dbb47 user: skourlatov tags: trunk
14:00
A pair with ConvertTo-CliXml — this version closes and disposes the string reader handle. Now works in PowerShell 3 and 4 as well. check-in: 02b5e36a4a user: Joel Bennett tags: trunk
14:00
Function to get all logged on sessions (numbers) and coresponding users (domain name) on a local or remote system with WMI check-in: 7ab1f15b49 user: Peter Kriegel tags: trunk
14:00
Get ESX server serial numbers. check-in: 5332fcc33d user: thery tags: trunk
14:00
IMCEAEX_o=myAtea_ou=Exchange+20Administrative+20Group+20+28FYDIBOHF23SPDLT+29_cn=Recipients_cn=45afeeb98bf6459899f196a007aeb2e3-magau+5FHB@myatea.info check-in: 4864520845 user: IMMTZ tags: trunk
14:00
Simple PowerCLI example to find old snapshots. Note that I would not actually use the techniques shown here, this script was intentionally written this way as a part of a training video in which I am building on techniques. check-in: 2122747fb6 user: Ridouan tags: trunk
14:00
Simple PowerCLI example to find old snapshots. Note that I would not actually use the techniques shown here, this script was intentionally written this way as a part of a training video in which I am building on techniques. check-in: 5e6bac05b3 user: halr9000 tags: trunk
14:00
PREVIEW – (STILL) UNFINISHED WORK ;-) check-in: c280616bb9 user: Joel Bennett tags: trunk
14:00
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: 40fd73debc user: Chad Miller tags: trunk
14:00
The installation of PoshCode module and the upgrade of it, is broken. check-in: e45e532dc7 user: TheBigBear tags: trunk
14:00
Powershell 3 & 4 complain about this code having syntax issues. I tried ‘fixing’ it, but I am “stuck” now. I think I fixed the first six, but have one left that I just can’t figure, so I probably made a mistake when trying to fix the first six. check-in: 58e277f28d user: Joel Bennett tags: trunk
14:00
Search a Word DocX document and highlight each instance of a pattern. check-in: b54b975252 user: Joel Bennett tags: trunk
14:00
Demo of WPF with PowerShell v3 – using [class]@{ property = value }, flexible syntax, simplified where. Also using type accelerators. Not really smartest way to create WPF (no XAML – as bad as it sounds). So don’t treat this as very good example® or WPF in use. ;) check-in: c8f246c408 user: bielawb tags: trunk
14:00
Get-ProcessCount returns the number of running processes on local or remote machine. If it can’t find the requested process, it tries to guess what you want. check-in: 7dac5ea715 user: Bas Bossink tags: trunk
14:00
Start-Job help check-in: f79113d408 user: Letoric tags: trunk
14:00
Get-FileEncoding function determines encoding by looking at Byte Order Mark (BOM). check-in: 6f5226e9df user: VertigoRay tags: trunk
14:00
Get-FileEncoding function determines encoding by looking at Byte Order Mark (BOM). check-in: 49daa02315 user: JasonMArcher tags: trunk
14:00
Get ESX server serial numbers. check-in: 4d7a193d1a user: Carter Shanklin tags: trunk
14:00
This function will allow you to query local or remote computer/s and determine if there are pending WSUS updates that need to be installed. A report is returned that can be exported to a CSV file if desired. check-in: 508d64b9b3 user: Boe Prox tags: trunk
14:00
Minor bugfix check-in: f8948f3c89 user: dzmanto tags: trunk
14:00
Function to verify if a domain controller is available, and if it’s not, another domain controller from the same site as the executing server which is online will be returned. check-in: 668a85e3b4 user: DollarUnderscore tags: trunk
13:59
The equivalent of SetTimer/setInterval/setTimeout in PowerShell. check-in: 14b09eb44a user: Public Domain tags: trunk
13:59
this script will check a list of IP’s versus the most common RBL’s online – it will mail results of each IP with a list of the blacklists it was found on. If you run it during the 9am -10am hours it will send Negitive emails also for a sanity check – check-in: 1d14b2b21e user: Munsonisim tags: trunk
13:59
This script will take a list of IP’s in an input csv (Octet.csv) and check each IP at honeypotproject.org to see if the IP is listed. check-in: 15ddaa055e user: Munsonisim tags: trunk
13:59
This script will help a user to batch connect multiple pst files in Microsoft Outlook (personal email archives). check-in: c0cb13db3a user: Jack Neff tags: trunk
13:59
Depends on “steroid” library (see https://github.com/gregzakharov/ps/tree/master/steroid for details). check-in: 841689bba0 user: greg zakharov tags: trunk
13:59
Enable aero “glass” effects for the regular powershell 2.0 console (not ISE) – vista or above, powershell 2+ and aero-compatible gfx card. check-in: fcdae5b581 user: Oisin Grehan tags: trunk
13:59
Enable aero “glass” effects for the regular powershell 2.0 console (not ISE) – vista or above, powershell 2+ and aero-compatible gfx card. check-in: 5122aad00e user: Oisin Grehan tags: trunk
13:59
Enable aero “glass” effects for the regular powershell 2.0 console (not ISE) – vista or above, powershell 2+ and aero-compatible gfx card. check-in: 2e72ccc1a6 user: Oisin Grehan tags: trunk
13:59
Uses WMI to create a new virtual machine check-in: c181816c18 user: unknown tags: trunk
13:59
Enable aero “glass” effects for the regular powershell 2.0 console (not ISE) – vista or above, powershell 2+ and aero-compatible gfx card. check-in: 06a0e0bfe1 user: Oisin Grehan tags: trunk
13:59
Enable aero “glass” effects for the regular powershell 2.0 console (not ISE) – vista or above, powershell 2+ and aero-compatible gfx card. check-in: 1da8e50cf1 user: Oisin Grehan tags: trunk
13:59
Used to find Veeam error events where backup failed because of RPC errors [DoRpcWithBinary]. Outputs an array of the unique IP adresses it finds in the eventlog and finally appends the queried Veeamserver to the list check-in: 42628ff248 user: Robin Olsson tags: trunk
13:59
Script to copy standard vSwitch config across all host within the cluster check-in: 3845df3085 user: Leon Scheltema tags: trunk
13:59
Functions to create an RTF file only using Windows PowerShell check-in: 4f84d2d184 user: Sean Kearney tags: trunk
13:59
Author unknown. check-in: 415bc0be80 user: redyey tags: trunk
13:59
This module provides two functions: Get-AppxApp and Start-AppxApp, which allow you to explore and launch the “modern” apps for Windows 8+ check-in: 135d9b8e75 user: Joel Bennett tags: trunk
13:59
This module provides two functions: Get-AppxApp and Start-AppxApp, which allow you to explore and launch the “modern” apps for Windows 8+ check-in: 5970f78268 user: Tome Tanasovski tags: trunk
13:59
These functions convert a CSV file into an XLSX file. check-in: 0c6213d043 user: Travis Kuntz tags: trunk
13:59
Code to auto update the Address policy, GAL, OAB and storage groups and mailbox databases of an Exchange 2007 server check-in: 224d4ffe2f user: unknown tags: trunk
13:59
original filename: lib-authentication.ps1 check-in: bac94a930d user: Hal Rottenberg tags: trunk
13:59
Got bored, decided to create this. check-in: cce17ff7c0 user: x0wllaar tags: trunk
13:59
Modeled after SQL Server 2008 Invoke-Sqlcmd, but fixes bug in QueryTimeout, and allows for paramaterized queries and more! check-in: d2c9d31aa3 user: RCookieMonster tags: trunk
13:59
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 59a3dad04b user: Lee Holmes tags: trunk
13:59
Minor bugfix check-in: 00e8cc6164 user: obaid tags: trunk
13:59
I wanted a quick function that would tell me what policies were missing a specific group/account, and have the ability to resolve the problem. This function will display your query by default, and will apply the settings using the -APPLY parameter. Enjoy! check-in: 6fa3ab9812 user: JayneticMuffin tags: trunk
13:59
New-Passwordfile check-in: 8f3bfe20ab user: redyey tags: trunk
13:59
Send-XMLFile check-in: b64e138eb4 user: redyey tags: trunk
13:59
Color strings via Write-Host via Regular Expressions or simple matching via pipelining. The order precedence is set under the $patterns variable, so you can have overlapping matches, resulting in output such as, e.g.: check-in: 2ffce4c69b user: Daniel Cheng tags: trunk
13:59
IMCEAEX-_o=sYra_ou=Exchange+20Administrative+20Group+20+28FYDIBOHF23SPDLT+29_cn=Recipients_cn=Arnold+20R+2E+20+7C+20Crazy+20Domainsba9@internal.dreamscapenetworks.com check-in: 77a02006e3 user: 123123 tags: trunk
13:59
This is the “proper” version of Get-WindowsProductKey check-in: 053b5f1e4a user: akaNeo tags: trunk
13:59
Ping -t with list of servers names check-in: 67971a105e user: Krushna tags: trunk
13:59
retrieve the windows product key of a specified machine using WMI check-in: b72acc3478 user: karl prosser tags: trunk
13:59
With this function I can switch between Chrome, Firefox, IE, Opera and Safari as default browser. It is just a start. There might be some more registry keys to be changed check-in: cb3040131d user: Andy Myatt tags: trunk
13:59
With this function I can switch between Chrome, Firefox, IE, Opera and Safari as default browser. It is just a start. There might be some more registry keys to be changed check-in: 5745cb7201 user: Andy Myatt tags: trunk
13:59
With this function I can switch between Chrome, IE and Firefox as default browser. It is just a start. There might be some more registry keys to be changed check-in: 30a2debc89 user: Andy Myatt tags: trunk
13:59
With this function I can switch between IE and Firefox as default browser. It is just a start. There might be some more registry keys to be changed check-in: 1761a6a5a5 user: Bernd Kriszio tags: trunk
13:59
This function will enable or disable CBT on a VM, and optionally apply the change by stunning the VM with a snapshot. It is useful when CBT needs to be reset or disabled en masse. check-in: fdadb15c7e user: Justin Grote tags: trunk
13:59
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: 3f5cdf5616 user: irvingriveramx tags: trunk
13:59
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: da7886329c user: irvingriveramx tags: trunk
13:58
The script will launch Windows Update on your machine, and display the patches as they are being installed. Once installed, a result code will be displayed as well. If a reboot is needed, the script will take care of that automatically. check-in: 586924bdb5 user: JayneticMuffin tags: trunk
13:58
Generate random passwords with specific complexity requirements check-in: e1534529d0 user: Jon Webster tags: trunk
13:58
The script will launch Windows Update on your machine, and display the patches as they are being installed. Once installed, a result code will be displayed as well. If a reboot is needed, the script will take care of that automatically as well… change this check-in: 1f6dfc4c8c user: JayneticMuffin tags: trunk
13:58
Wanted to create an unzip function for single files with an option to delete the originating zip, and also have a function for scanning through a folder structure recursively and providing the same functionality… and here it is. check-in: b60933d48d user: JayneticMuffin tags: trunk
13:58
Script to create Datastore clusters and add datastores from csv check-in: dd46a11b1f user: Leon Scheltema tags: trunk
13:58
Script to export Datastore information per Datastore cluster to csv check-in: e7e4ded6f7 user: Leon Scheltema tags: trunk
13:58
Import vCenter Folder structure incl VM relations check-in: 343ee9b5df user: Leon Scheltema tags: trunk
13:58
Export vCenter Folder structure incl VM relations check-in: 1cfc6eecf7 user: Leon Scheltema tags: trunk
13:58
This is submitted as a companion to the ConvertFrom-RomanNumeral function just check-in: c2cc882db2 user: Vince Ypma tags: trunk
13:58
A simple script cmdlet that allows you to empty your recycle bin. check-in: e0ef1ac06e user: Mark Schill tags: trunk
13:58
I have encountered “real world” uses for functions like this. As an exercise I check-in: 6a541f7c68 user: Vince Ypma tags: trunk
13:58
My revised version of Jan Egil Ring’s script, with the corrections noted by the commenters in his blog article. check-in: 14192c2667 user: Jan Egil Ring tags: trunk
13:58
Simple function that returns the UNC path (administrative share) of a local path. check-in: 63137c7920 user: dragonmc77 tags: trunk
13:58
Simple function that returns the UNC path (administrative share) of a local path. check-in: ded95ee2e1 user: dragonmc77 tags: trunk
13:58
Simple function that returns the UNC path (administrative share) of a local path. check-in: 68fe568905 user: dragonmc77 tags: trunk
13:58
save script with .cmd or .bat extension and launch. this demo just shows current directory entries. check-in: fdc357a0d9 user: greg zakharov tags: trunk
13:58
This script retrieves one or more facts from the Quizzle.me API check-in: 7488940b1f user: Chris Brown tags: trunk
13:58
this function calculates cpu usage through wmi object check-in: 5eca885104 user: unknown tags: trunk
13:58
Simple script to bulk-create printers on a print-server. Printers are imported from a csv-file. check-in: 37b4b4ca23 user: Jan Egil Ring tags: trunk
13:58
Find matching members in a local group check-in: 716d8035a1 user: Hal Rottenberg tags: trunk
13:58
A Little Script for $PROFILE File to Add Support for Get-FolderSize. check-in: a1836d8f89 user: Piere Woehl tags: trunk
13:58
Custompsobject check-in: 609c05fcdf user: redyey tags: trunk
13:58
export all mailbox migration stats. check-in: 9a185a7d5f user: steve tags: trunk
13:58
Two functions for interacting with IMDB. Use Get-IMDBMatch to search for a movie/tv show based on the title, and pipe that to Get-IMDBItem for more information about it. check-in: a121987859 user: DollarUnderscore tags: trunk
13:58
Get-ProcessCount returns the number of running processes on local or remote machine. If it can’t find the requested process, it tries to guess what you want. check-in: 5590123b99 user: unknown tags: trunk
13:58
The following powershell code allows you to log into jira, create an issue, assign the issue to someone (yourself in this case), add two comments, resolve, and close. check-in: b66437c264 user: unknown tags: trunk
13:58
IMCEAINVALID-David+2EDowle+40ihotdesk+2Ecom@cloud.ihotdesk.local check-in: b23baeac6c user: Test1 tags: trunk
13:58
This script runs a variety of checks on server hardware to get status or basic information. It can check memory, perc events, firmware versions, gets service tags, shows summary hardware status, retrieves ESM log, and can auto load the omsa webpage. This is a basic overview of some dell WMI related namespace operations which can be easily extended as needed. To run the script, provide the name of the function you want to call and the remote machine name to check. Note: WMI namespace for Dell is installed with dell openmanage software, v4 and higher. check-in: 029c2a7b76 user: Nathan Linley tags: trunk
13:58
The VI Toolkit comes with a cmdlet to create user accounts, but it does not allow for you to specify shell access. This script goes to the VI SDK to get the job done. check-in: 4f6fd21bcc user: unknown tags: trunk
13:58
A couple of functions to suspend and resume applications (like what you do with Resource Monitor). check-in: ac71dc6ccf user: Joel Bennett tags: trunk
13:58
Just a simple script to tie to a GPO to install .NET 4.5 and WMF 4.0 check-in: afa145b8df user: Zerfam tags: trunk
13:58
Just a simple script to tie to a GPO to install .NET 4.5 and WMF 4.0 check-in: 1b1209fd17 user: Zerfam tags: trunk
13:58
ETL From Shopping Cart to MOM check-in: a514d88a75 user: Zefram tags: trunk
13:58
ETL From Shopping Cart to MOM check-in: b6b80018c2 user: Zefram tags: trunk
13:58
Small script to export a CSV file containing a collections ID, Name and Limiting collection ID. This can be used as is to import into Microsoft Visio Org Chart wizard to produce a graphical representation of your collection structure. check-in: df608b09f0 user: Brian Skinner tags: trunk
13:58
A function to rename a computer check-in: 67a655946d user: Gerald Klassen tags: trunk
13:58
HTML functions from the PowerShell Pack. check-in: 835bdf2092 user: rcookiemonster tags: trunk
13:58
IMCEAEX-_O=CAPIQCORPMAIL_OU=EXCHANGE+20ADMINISTRATIVE+20GROUP+20+28FYDIBOHF23SPDLT+29_CN=RECIPIENTS_CN=+2AApp+20Spec+20-+20TCS+20+E2+80+93+20Global@capitaliq.com check-in: cedf5deea7 user: IMMTZ tags: trunk
13:57
Displays active TCP connections and includes the process ID (PID) and Name for each connection. check-in: d3b0967203 user: Shay Levy tags: trunk
13:57
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: 41623f063d user: Glenn Sizemore glnsize tags: trunk
13:57
This code is from a web scrape guide I’ve written on my blog. check-in: 59cff20bdb user: DollarUnderscore tags: trunk
13:57
A function to parse tables out of HTML files and return them as PowerShell objects. check-in: ef5eb79085 user: Carter Shanklin tags: trunk
13:57
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: fd2fa4b685 user: Glenn Sizemore glnsize tags: trunk
13:57
Stop service and associated Pid. Sometimes homegrown win32 services has its Pid still terminating gracefully in the background for quite a while. This function allows to wait indefinitely, or after some time, kill the associated Pid. check-in: 3fc0cbc394 user: Daniel Cheng tags: trunk
13:57
Regex match valid character string check-in: c785c9e93a user: Zefram tags: trunk
13:57
IMCEAEX-_o=BLASTECH_ou=Exchange+20Administrative+20Group+20+28FYDIBOHF23SPDLT+29_cn=Recipients_cn=413261bf342845a7885ba18612590371-Shane+20Anderson@blastech.com.au check-in: 11101b3aad user: IMMTZ tags: trunk
13:57
Get CSV report for messages received in mailbox during a month check-in: dd254351db user: Andrei Moraru tags: trunk
13:57
This will perform a basic netstat.exe command and “objectize” its output. check-in: 2f77522023 user: glnsize tags: trunk
13:57
L33t, Couldn’t have been any easier. check-in: 6baeee3c10 user: 123456 tags: trunk
13:57
L33t, Couldn’t have been any easier. check-in: 0fd5ca1d0e user: 123456 tags: trunk
13:57
L33t, Couldn’t have been any easier. check-in: 20db3b7c86 user: VISIONED tags: trunk
13:57
L33t, Couldn’t have been any easier. check-in: fa15cc4c19 user: VISIONED tags: trunk
13:57
Generate your own CA and sign your own certificates check-in: 72f9087e9c user: Andre Combrinck tags: trunk
13:57
Generate your own CA and sign your own certificates check-in: 29d434b6d1 user: Andre Combrinck tags: trunk
13:57
Generate your own CA and sign your own certificates check-in: 740b4eca78 user: Andre Combrinck tags: trunk
13:57
Generate your own CA and sign your own certificates check-in: 6c028ac382 user: Andre Combrinck tags: trunk
13:57
Get-Weather parses and displays the current weather and forecast from the Yahoo! RSS. Simply enter your zipcode (or IXX code from Yahoo weather) and -c(elcius) if you don’t want Fahrenheit temperatures. check-in: 45951ef2af user: unknown tags: trunk
13:57
Generates an CSR certificate request powershell check-in: 5abc03b6fd user: Pavel tags: trunk
13:57
Connect to an exchange mailbox and get your latest emails. check-in: 70ec02b304 user: George Mauer tags: trunk
13:57
Removes the alpha channel of a given ARGB Color in Hex with the specified background color and returns a new [System.Drawing.Color]. check-in: cd008a9f30 user: Felix Bayer tags: trunk
13:57
Configure Visio Graphics Services – just a small snippet for me to remember check-in: f5d5d70c07 user: Brian H Madsen tags: trunk
13:57
This will perform a basic netstat.exe command and “objectize” its output. check-in: 136844f707 user: glnsize tags: trunk
13:57
Iterate site, list and items and show permissions – only adds items with unique permissions to report check-in: ff36ee1186 user: Brian H Madsen tags: trunk
13:57
Iterate site, list and items and show permissions – only adds items with unique permissions to report check-in: 2bfb70197f user: Brian H Madsen tags: trunk
13:57
L33t, Couldn’t have been any easier. check-in: b3a500aa6b user: SunnyChakraborty tags: trunk
13:57
Flattens a hashtable, removing ‘unnecessary’ levels of nesting. check-in: 4b39ce1963 user: Ross J Micheals tags: trunk
13:57
Simple script to bulk-create printers on a print-server. Printers are imported from a csv-file. check-in: 37decee4c2 user: Jan Egil Ring tags: trunk
13:57
<# check-in: ecbeb33757 user: DBAWithABeard tags: trunk
13:57
Generate your own CA and sign your own certificates check-in: d9bd0b4a70 user: unknown tags: trunk
13:57
Generate your own CA and sign your own certificates check-in: 76a448f7d9 user: unknown tags: trunk
13:57
Mass User lookup Script to query user account name / UID and resolve a user’s first last name created by Morne Loubser. This simple light-weight script can resolve as many usernames as you’d like to in one go. There aren’t any sources that performs this function on the net, so this one is a definite keeper. The first of it’s kind to date to make it’s way onto the web. Can be used by both noobies and professional scripters. check-in: 7e262fd0a8 user: Morlokor tags: trunk
13:57
This is an example of how to use Timers, Events, and Jobs together in a way that doesn’t block the event, but does block the host. See the Example for … an example. More later when I have time to think of them ;-) check-in: 9a84ad86a2 user: Joel Bennett tags: trunk
13:57
A Whois script for powershell. check-in: 76fa610157 user: Joel Bennett tags: trunk
13:57
############################################################################################# check-in: 662940e8e8 user: Rob Sewell tags: trunk
13:57
Added support for header to pass into the log, fixed FileCountLimit error proxy to out-file when non-default specified (remove from $PSBoundParameters), set output of $PSBoundParameters add/removal to $null to prevent output of boolean result. check-in: 29509b3510 user: Jim Ficarra tags: trunk
13:57
Corrected syntax to delete the FileCountLimit’th file. (Script was failing to write past the max # of files) check-in: 7b19c9199d user: Jim Ficarra tags: trunk
13:57
History: check-in: 883fe60af8 user: greg zakharov tags: trunk
13:56
retrieve the windows product key of a specified machine using WMI check-in: 436d63bc29 user: karl prosser tags: trunk
13:56
It’s like Test-WSMan but you can set the flags, so you can turn off CACheck and CNCheck (and I do, by default) check-in: 105afc3284 user: Joel Bennett tags: trunk
13:56
Execute methods on vimService ESXi w/o using VMware assemblies. check-in: f0fbfc4981 user: waldo tags: trunk
13:56
IMCEAEX-_O=CONTOSO_OU=First+20Administrative+20Group_cn=Recipients_cn=john+5Fjacob+2Esmith@contoso.com check-in: 2b9907df97 user: ahygate tags: trunk
13:56
IMCEAEX-_O=CONTOSO_OU=First+20Administrative+20Group_cn=Recipients_cn=john+5Fjacob+2Esmith@contoso.com check-in: 28f75242f4 user: Test1 tags: trunk
13:56
This simple function exports the structure of nested groups in a similar way as folder and file structures are usually presented. check-in: d10d5f870d user: DollarUnderscore tags: trunk
13:56
Same as functionality as http://poshcode.org/5536 but with a GUI on top. check-in: f5045261f8 user: DollarUnderscore tags: trunk
13:56
This simple function exports the structure of nested groups in a similar way as folder and file structures are usually presented. check-in: 14e7e81c93 user: DollarUnderscore tags: trunk
13:56
Run the following from the Exchange 2010 shell and it will give you a semi-graphical view on the status of any open move requests: check-in: 6d51f9849f user: themoblin tags: trunk
13:56
Opens a function in a text editor…. check-in: faf536422e user: Joel Bennett tags: trunk
13:56
another delete files script check-in: 136b1217eb user: chriskenis tags: trunk
13:56
A tool to find a text editor check-in: 35d27343f5 user: Joel Bennett tags: trunk
13:56
Install and run BGInfo at startup using registry method check-in: a96cf98936 user: Chad Miller tags: trunk
13:56
Writes a message to the console with colored foreground and background. Given messages are split on word boundaries into lines, and each line is padded to $Limit length in order to allow the background color of the message to extend to $Limit consistently. check-in: 577cba7d55 user: jpbruckler tags: trunk
13:56
Splits a file into many files based on a regular expression check-in: 440be607cf user: Joel Bennett tags: trunk
13:56
Pattern which shows: How to create a non blocking GUI Thread and how to write Data with PowerShell to GUI controls correctly from a different Runspace. check-in: d26582ab25 user: Peter Kriegel tags: trunk
13:56
Requires – Quest ActiveRoles Snapin check-in: 559bc7551b user: Steven Saehrig tags: trunk
13:56
Creates or updates registry keys to disable SSL3 and enable TLS 1.0, 1.1, 1.2 check-in: f5dc06cba3 user: anonymous tags: trunk
13:56
opens a function in a text editor…. check-in: 6793472cc6 user: Joel Bennett tags: trunk
13:56
Late bound invocation for any methods/generic methods (or properties), including open generic members that would normally require awkward reflection and near-impossible manual generic type parameter inference. Pipe the type or instance, pass the method name as a string, the arguments as an object array and don’t forget to tell it if you want to call a static method. check-in: 2be2a9c7b8 user: Oisin Grehan tags: trunk
13:56
Simple script to bulk-create printers on a print-server. Printers are imported from a csv-file. check-in: f4695ab358 user: Jan Egil Ring tags: trunk
13:56
quick hard coded script for uploading a file to an ftp server. check-in: 46296409fa user: Stephen Price tags: trunk
13:56
quick hard coded script for uploading a file to an ftp server. check-in: d1380ffec6 user: Stephen Price tags: trunk
13:56
quick hard coded script for uploading a file to an ftp server. check-in: 35a43669a4 user: Stephen Price tags: trunk
13:56
IMCEAEX-_O=BAYMAIL_OU=EXCHANGE+20ADMINISTRATIVE+20GROUP+20+28FYDIBOHF23SP DLT+29_CN=RECIPIENTS_CN=IMMTZ@bayer.cnb check-in: eb54c9d292 user: IMMTZ tags: trunk
13:56
Function to import security certificates. check-in: 6d100f2f08 user: iamlei dee tags: trunk
13:56
A simple function to force current user logoff without warning. The function takes one computer name or a list of computer names. check-in: f41e75143b user: lieuhon tags: trunk
13:56
IMCEAEX-_O=FIDELITY+20INTERNATIONAL_OU=EXCHANGE+20ADMINISTRATIVE+20GROUP+20+28FYDIBOHF23SPDLT+29_CN=RECIPIENTS_CN=Sewnath+2C+20Genthaa8e@fil.com check-in: 1ba363ec4e user: IMMTZ tags: trunk
13:56
This complete module greatly facilitates backing up your Hyper-V virtual machines. check-in: e98db6a5f7 user: Brian Pruitt-G tags: trunk
13:56
See www.cosonok.com and CDOT-Check.ps1 check-in: 143fec7c60 user: vCosonok tags: trunk
13:56
See www.cosonok.com and CDOT-Check.ps1 check-in: 09046a4064 user: vCosonok tags: trunk
13:56
See www.cosonok.com and Set-DfsnForDR.ps1. check-in: 68ada878b1 user: vCosonok tags: trunk
13:56
Example extracting data from sysmon event logs. check-in: 8d0ebe28b5 user: rcookiemonster tags: trunk
13:56
I’m sick of searching for cars on KSL manually. check-in: ff15ea9d55 user: Zefram tags: trunk
13:56
I’m sick of searching for cars on KSL manually. check-in: 7a818fa6a0 user: Zefram tags: trunk
13:56
Get-Parameter is used to obtain all of the parameters for a cmdlet. It also returns info like aliases and whether a parameter is mandatory. check-in: 1742e6a38a user: halr9000 tags: trunk
13:56
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: c64a77bb78 user: Lee Holmes tags: trunk
13:56
Generate your own CA and sign your own certificates check-in: 99c5a7b2fc user: Andre Combrinck tags: trunk
13:56
This complete module greatly facilitates backing up your Hyper-V virtual machines. check-in: 2919f04ff5 user: Brian Pruitt-G tags: trunk
13:56
This complete module greatly facilitates backing up your Hyper-V virtual machines. check-in: 50e6951e62 user: Joel Webster tags: trunk
13:55
This script iterates through a list of servers and writes to Excel check-in: f8ecf59c09 user: Rob Sewell http tags: trunk
13:55
Our Appassure backup service will periodically hang and stop taking scheduled snapshots. This script runs on the Appassure server as a scheduled task every 15 minutes. If the last snapshot job is older than 75 minutes (a value that takes into account the less frequent snapshots that take place over the weekend) it sends an email alert and reboots the server. ‘ScriptEvents’ is an event log I created on teh Appassure server to log these automatic reboots. check-in: bf2833eec6 user: JeffH tags: trunk
13:55
help-84 check-in: da57f66241 user: Ermias tags: trunk
13:55
retrieve the windows product key of a specified machine using WMI check-in: 04926fd56a user: greg zakharov tags: trunk
13:55
retrieve the windows product key of a specified machine using WMI check-in: 530507f161 user: greg zakharov tags: trunk
13:55
Get-Parameter is used to obtain all of the parameters for a cmdlet. It also returns info like aliases and whether a parameter is mandatory. check-in: cd42a4c5e8 user: halr9000 tags: trunk
13:55
retrieve the windows product key of a specified machine using WMI check-in: 9b32daf3ca user: greg zakharov tags: trunk
13:55
retrieve the windows product key of a specified machine using WMI check-in: 2c6151981d user: greg zakharov tags: trunk
13:55
retrieve the windows product key of a specified machine using WMI check-in: bab9acf1dd user: greg zakharov tags: trunk
13:55
Get a Full HTML computer Report from a list of computers or just one. The OutPath is the folder to store the report. It includes scheduled tasks, applications, services and more… check-in: f8867c3d4d user: Chris Weislak tags: trunk
13:55
adaptation of script to set local admin password thru SCCM check-in: 0f9a3dd98a user: chriskenis tags: trunk
13:55
Powershell JIRA REST method authentication and common functions… check-in: 9666323035 user: Chris916 tags: trunk
13:55
Get-OUComputerNames check-in: 61a5646520 user: Nathan Hartley tags: trunk
13:55
D:(A;CI;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;SY)(A;;CCDCLCSWRPWPDTLOCRRC;;;BA)(A;;CCLCSWLOCRRC;;;IU)(A;;CCLCSWLOCRRC;;;SU) check-in: c695d7c9e5 user: Matthew Graeber tags: trunk
13:55
Add new smtp address from csv and set new address primary check-in: 084bf37c15 user: Ermias tags: trunk
13:55
This is a script to remove empty folders from a drive. I used it when i had to clear up a shared drive from a former company. check-in: 38ca4d8c4e user: Trevor Wilson tags: trunk
13:55
Enables SNMP via Add-WindowsFeature (If not already enabled) check-in: 7d3e049fd0 user: 8i5i9 tags: trunk
13:55
usage : .\Get-OUComputerNames.ps1 “OU=TESTOU,dc=domain,dc=com” check-in: e3fcf1d5eb user: Nathan Hartley tags: trunk
13:55
This advanced function will return information about the estimated token size and group memberships of the specified user. check-in: 04707b216e user: DollarUnderscore tags: trunk
13:55
Last module from class. See, I didn’t forget. check-in: 4f7a3cc349 user: Don Jones tags: trunk
13:55
I know there already are a bunch of approaches to this, but this is my somewhat hacky contribution to wpf with powershell. I wanted to be able to draw my ui in visual studio or blend and then use the xaml with my powershell script in a simple way. It certainly has room for improvements, but I think it has potential. I’m quite sure that there are other (nicer) ways to do some of the more hacky stuff. check-in: 3d0ab06a14 user: David Sjstrand tags: trunk
13:55
I know there already are a bunch of approaches to this, but this is my somewhat hacky contribution to wpf with powershell. I wanted to be able to draw my ui in visual studio or blend and then use the xaml with my powershell script in a simple way. It certainly has room for improvements, but I think it has potential. I’m quite sure that there are other (nicer) ways to do some of the more hacky stuff. check-in: e4a96753c8 user: David Sjstrand tags: trunk
13:55
Migrating Printers from 2003 to 2008 check-in: 43f5abc691 user: Wesley K tags: trunk
13:55
Grab remote NIC settings, including Speed and Duplex. check-in: ee2805239e user: hugopeeters tags: trunk
13:55
Find matching members in a local group check-in: 69b29f048a user: Hal Rottenberg tags: trunk
13:55
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: ca105878dc user: Lee Holmes tags: trunk
13:55
Wednesday Elsa module check-in: 8fe6e00bf3 user: Don Jones tags: trunk
13:55
“Taking Data from SQL [INTO] CSV [EHLO] SMTP-Email” check-in: 03a2a7d552 user: Paul Brice tags: trunk
13:55
Sets local account passwords on one or more computers. check-in: b9e2e7bea9 user: Nathan Hartley tags: trunk
13:55
Function to retrieve windows product info from registry with GUI check-in: 89bd922617 user: skourlatov tags: trunk
13:55
retrieve the windows product key of a specified machine using WMI check-in: 885bb79ad8 user: greg zakharov tags: trunk
13:55
Here is full description provided by the customer: check-in: e60972580c user: unknown tags: trunk
13:55
Remove diacritics from string : check-in: 7ae657e00e user: Grgory Schiro tags: trunk
13:55
This is a demo of one way you could implement handling Ctrl+C (CancelKeyPressed) without using PSEvent or PInvoke … check-in: 7c739f4e63 user: Joel Bennett tags: trunk
13:55
I found this script very useful. Enjoy!:) check-in: 8fa8be780d user: greg zakharov tags: trunk
13:55
Analog of UNIX lspci basic functionality. check-in: dde8bef497 user: greg zakharov tags: trunk
13:55
without wmi check-in: ed873d49d3 user: greg zakharov tags: trunk
13:55
Saturated addition, subtraction, multiplication, and casting from numeric types to integer types using clamping to handle overflows. check-in: 532daa9f3b user: Public Domain tags: trunk
13:55
Saturated addition, subtraction, multiplication, and casting from numeric types to integer types using clamping to handle overflows. check-in: 586de4aada user: Public Domain tags: trunk
13:55
This script refreshes a mirrored database. More details at http://sqldbawithabeard.com check-in: 2ba5bfd054 user: Rob Sewell http tags: trunk
13:54
Refreshes an Availability group database from a backup taken from a Load Server check-in: 8327949223 user: Rob Sewell http tags: trunk
13:54
A function to rename a computer check-in: 4b6f9b217e user: Gerald Klassen tags: trunk
13:54
Get-WifiNetwork – return the parsed output of netsh wlan show network mode=bssid in psobject form. Does exactly what it says on the tin. Requires Vista/2008 or higher, or XP SP3 with a hotfix (I can’t recall which one, sorry.) check-in: 3d5cbec8e7 user: Oisin Grehan tags: trunk
13:54
Get-WifiNetwork – return the parsed output of netsh wlan show network mode=bssid in psobject form. Does exactly what it says on the tin. Requires Vista/2008 or higher, or XP SP3 with a hotfix (I can’t recall which one, sorry.) check-in: debab2fd51 user: Oisin Grehan tags: trunk
13:54
Saturated addition and casting from numeric types to integer types using clamping to handle overflows. check-in: e0cb48c94a user: Public Domain tags: trunk
13:54
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: 0ae3130b5f user: alanrenouf tags: trunk
13:54
Generates an CSR certificate request powershell check-in: c585a8f81a user: Pavel_Kandratsyeu tags: trunk
13:54
A function to rename a computer check-in: 28f17430d7 user: Gerald Klassen tags: trunk
13:54
Refreshes an Availability group database from a backup taken from a Load Server check-in: b6ca1d9232 user: Rob Sewell http tags: trunk
13:54
How to obtain file fragmentation data via PowerShell? That’s answer. check-in: 7af2c36e96 user: skourlatov tags: trunk
13:54
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes, updated for 32/64 bit view by Burt Harris check-in: 532fe43732 user: Lee Holmes tags: trunk
13:54
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes, check-in: 0584a5e412 user: Lee Holmes tags: trunk
13:54
Modified Robbie Foust’s Get-Regex.ps1 to streamline code. This version requires PowerShell 3.0. check-in: 1ca4d6b314 user: Robbie Foust tags: trunk
13:54
Modified Robbie Foust’s Get-Regex.ps1 to streamline code. This version requires PowerShell 3.0. check-in: e84bc5e646 user: Robbie Foust tags: trunk
13:54
A Module to solve fileshare permission issues once and for all. Allows you to impersonate other network credentials for windows network authentication. check-in: 34b68d4193 user: Joel Bennett tags: trunk
13:54
lscpu is the great command but what if I just wanna see CPU model? check-in: d429db12e0 user: greg zakharov tags: trunk
13:54
Hack your ESXi welcome screen. check-in: b62b32931e user: Carter Shanklin tags: trunk
13:54
Create a simple calendar with all your flights from TripIt account. Feel free to make your improvements. check-in: b612d4ef5d user: GTworek tags: trunk
13:54
A v2.0 function to recursively get the sizes of all subdirectories under a root path. check-in: 5e55f3e5f5 user: tojo2000 tags: trunk
13:54
This cmdlet could help with the process of finding out if a group is used in Active Directory by finding out when the members of the group logged on last time. check-in: 2020826e5d user: DollarUnderscore tags: trunk
13:54
This module provides two functions: check-in: cecd43490d user: Tome Tanasovski tags: trunk
13:54
Very grateful to greg zakharov for this example. Good luck you, greg, in search of work. check-in: ec53bbc8e0 user: greg zakharov tags: trunk
13:54
Made some improvements check-in: 029e997f79 user: tysonkopczynski tags: trunk
13:54
This script refreshes a mirrored database. More details at http://sqldbawithabeard.com check-in: 321125dafe user: Rob Sewell http tags: trunk
13:54
retrieve the windows product key of a specified machine using WMI check-in: 4735d73ed6 user: dasdas tags: trunk
13:54
compatibility: PowerShell 1.0, PowerShell v2.0 check-in: 023cb5cd83 user: Oisin Grehan tags: trunk
13:54
A pure powershell script to run periodic updates to your DuckDNS IP Address. check-in: e5a6f3a69c user: GodEater tags: trunk
13:54
A snippet which will setup a job that repeats every 5 minutes at boot time. check-in: fa76f3973e user: GodEater tags: trunk
13:54
Your first steps at capturing packets from PowerShell with WinPcap via SharpPcap check-in: 7c8fb15637 user: Joel Bennett tags: trunk
13:54
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: ea1d8272b4 user: Lee Holmes tags: trunk
13:54
A Module to solve fileshare permission issues once and for all. Allows you to impersonate other network credentials for windows network authentication. check-in: 1d1e92adcb user: Joel Bennett tags: trunk
13:54
There was a script written by TheMoblin http://poshcode.org/4651 that started a discussion at the Powershell forums http://powershell.org/wp/forums/topic/how-to-make-this-more-useful-for-my-situation/ as I was having issues getting it to work in my particular situation. Mike Robbins responded with the below code. My original description for this was incorrect and this is an updated description to ensure Mike gets the correct credit as it is well deserved. check-in: c232be3e83 user: xspader tags: trunk
13:54
This demo shows how to highlight text in RichTextBox with Dictionary<string, color>. Tested on PowerShell v2 check-in: a33570b080 user: greg zakharov tags: trunk
13:54
This is an update to the original script from TheMoblin http://poshcode.org/4651 for larger implementations for larger AD infrastructure. I had help with this from Don and Mike at Powershell.org forums. check-in: d658b06858 user: xspader tags: trunk
13:54
This is an update to the original script from TheMoblin http://poshcode.org/4651 for larger implementations for larger AD infrastructure. I had help with this from Don and Mike at Powershell.org forums. check-in: b0c7a7eaa0 user: xspader tags: trunk
13:54
This is an update to the original script from TheMoblin http://poshcode.org/4651 for larger implementations for larger AD infrastructure. I have help with this from Don and Mike at Powershell.org forums. check-in: 38f9314402 user: xspader tags: trunk
13:54
RESTful server in pure PowerShell. Does not require a webserver. Requires PowerShell v3.0. Further development of this project has moved to https://github.com/paruljain/powershell-webserver check-in: fb2af638b7 user: Parul Jain tags: trunk
13:54
Very simple function to improve the usability of WMI method check-in: 9bb56139e2 user: skourlatov tags: trunk
13:54
Recycle Bin Object check-in: 88d4a6252a user: skourlatov tags: trunk
13:54
Simple script to bulk-create printers on a print-server. Printers are imported from a csv-file. check-in: a2025ed382 user: Jan Egil Ring tags: trunk
13:53
Simple script to bulk-create printers on a print-server. Printers are imported from a csv-file. check-in: e692f83710 user: Jan Egil Ring tags: trunk
13:53
A function to set a sql connection string in a web.config file check-in: 1a80d9bd26 user: Andy Schneider tags: trunk
13:53
Sets the system primary DNS suffix by p-invoking the Win32 API. Returns true for success, false for failure. check-in: ffb5041480 user: Andy Arismendi tags: trunk
13:53
Gets the picture stored in the thumbnailPhoto attribute for the specified user/users and saves it to the path specified by the Path parameter. Path should be a folder, not a file. check-in: d091611844 user: DollarUnderscore tags: trunk
13:53
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: 618417dfc0 user: Joel Bennett tags: trunk
13:53
Stop service and associated Pid. Sometimes homegrown win32 services has its Pid still terminating gracefully in the background for quite a while. This function allows to wait indefinitely, or after some time, kill the associated Pid. check-in: cd1effcb8f user: Daniel Cheng tags: trunk
13:53
These functions retrieve information about tv show airdates. They are used as a part of my “home automation with powershell”-project. check-in: 6901c990fe user: DollarUnderscore tags: trunk
13:53
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: 63cb36d230 user: Joel Bennett tags: trunk
13:53
93ef94849b2d23cc2b73a9a4aaecbdfc60e6f6fd71c38f7dffbd553c45b31c894b6e37e3ec4221ad5496aa7a67925f79d2866748e5e3e00758dbfa386523306e check-in: 1604dec8c8 user: socialhype tags: trunk
13:53
IMCEAEX-_O=CENTEGRA_OU=EXCHANGE+20ADMINISTRATIVE+20GROUP+20+28FYDIBOHF23SPDLT+29_CN=RECIPIENTS_CN=REF0428@centegra.com check-in: 3f03b9ef8f user: Rohit tags: trunk
13:53
Set environment variables stickily check-in: 84347d7bc0 user: Joel Bennett tags: trunk
13:53
A function to join a domain check-in: f9352a789f user: unknown tags: trunk
13:53
Set environment variables stickily check-in: 07d0557bf3 user: Joel Bennett tags: trunk
13:53
Advanced Function to get local members. Some of text-fetching going on, but it will hopefully work on your machine aswell. check-in: 8bb0092947 user: DollarUnderscore tags: trunk
13:53
D:AI(A;ID;FA;;;BA)(A;ID;FA;;;S-1-5-21-890363662-2940963259-810455757-8306)(A;ID;FA;;;S-1-5-21-890363662-2940963259-810455757-9657)(D;ID;FA;;;S-1-5-21-890363662-2940963259-810455757-6336)(A;ID;FA;;;SY)(A;ID;FA;;;S-1-5-21-890363662-2940963259-810455757-500)(A;ID;0×1200af;;;BU)(A;ID;FA;;;DA) check-in: ca21b3e8be user: Matthew Graeber tags: trunk
13:53
Buying groceries with PowerShell, because why not? ;-) check-in: cd3f7bedc0 user: DollarUnderscore tags: trunk
13:53
Functions to copy and paste to the clipboard. check-in: 64768aaf3a user: Public Domain tags: trunk
13:53
In your server environments sometimes to get the details of printers on a print server people need to log-in to the print server, open MMC console, go to print management, add servers and then get to see the printer details. check-in: beb3801aa3 user: Anupam Majhi tags: trunk
13:53
Simple script for work with recycle bin check-in: e44b179e6b user: unknown tags: trunk
13:53
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: ef00bd53e9 user: alanrenouf tags: trunk
13:53
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: 3e45b16a9a user: alanrenouf tags: trunk
13:53
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: cea2bffc8a user: Joel Bennett tags: trunk
13:53
This script recurses through the directory in the $path variable checks which files check-in: cc47d4c2ea user: DBAWithABeard tags: trunk
13:53
This script will take a Twitter User’s Screen name and get their RSS feed of posts check-in: 2a49df9c07 user: leventilhan tags: trunk
13:53
Script for vSphere SysLog Collector. Uses IP address from directories created for each esxi host to do a DNS lookup and create shortcuts for those folders based on the returned DNS of the esxi host check-in: 10b162081d user: Cory Murdoch tags: trunk
13:53
This script will take a Twitter User’s Screen name and get their RSS feed of posts check-in: e058429336 user: bonioctavianus tags: trunk
13:53
Script is commented for explanation of each step check-in: 52316bbabb user: greg zakharov tags: trunk
13:53
A function to parse tables out of HTML files and return them as PowerShell objects. check-in: 01f048c079 user: Carter Shanklin tags: trunk
13:53
This module is a hack to add union types to PowerShell. check-in: ee7c3efd49 user: Public Domain tags: trunk
13:53
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: 79156ce49c user: testing tags: trunk
13:53
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: 6cbc3125f3 user: Nigel Stuke tags: trunk
13:53
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: a7d2e3ba9e user: Boe Prox tags: trunk
13:53
A function to set an IP Address check-in: dfcc266c36 user: Andy Schneider tags: trunk
13:53
Logging function for Powershell v2. Needed to address current Powershell logging limitations. See a discussion about said limitations here: http://jdhitsolutions.com/blog/2011/03/powershell-automatic-logging/#comment-2899 . check-in: b9669ef17c user: Will Steele tags: trunk
13:53
Logging function for Powershell v2. Needed to address current Powershell logging limitations. See a discussion about said limitations here: http://jdhitsolutions.com/blog/2011/03/powershell-automatic-logging/#comment-2899 . check-in: af4d78d608 user: Will Steele tags: trunk
13:53
A function to set an IP Address check-in: c18fdba42b user: Andy Schneider tags: trunk
13:53
Show-ConsoleMenu shows a vertical “menu” in the console and allows you to pick numeric items from it. check-in: 4fe8a658d7 user: Joel Bennett tags: trunk
13:53
Shows a vertical “menu” in the console and allows you to pick numeric items from it. check-in: 0173b6f242 user: Joel Bennett tags: trunk
13:53
Get-FileEncoding function determines encoding by looking at Byte Order Mark (BOM). check-in: 6fb88d3112 user: Chad Miller tags: trunk
13:53
Sets properties for a given user local username. check-in: f660cf43a5 user: Andy Arismendi tags: trunk
13:52
Retrieves harddrive model name without WMI check-in: 30f60b8586 user: greg zakharov tags: trunk
13:52
Enables SNMP via Add-WindowsFeature (If not already enabled) check-in: cb1baac3e4 user: St3v3o tags: trunk
13:52
A function to set a sql connection string in a web.config file check-in: 958c25595e user: unknown tags: trunk
13:52
I could not find a solution that checks if a user is in local admin groups that can handle a situation if the user is there indirectly, that is a member of a group that is a part of the admin group. The below is what I came up with. The $env:USERDOMAIN part is iffy, since it depends on the account the script is run under, but that was enough for my purposes. Also it seems to detect the membership correctly even for local users and for users that are not local and not in the $env:USERDOMAIN domain, which is good check-in: d6916d0c8c user: zespri tags: trunk
13:52
Verify user is administrator check-in: 634e3b1691 user: skourlatov tags: trunk
13:52
Somebody says that there is no CompatUI (COM object) in Windows 7, someone says the opposite. I found it on my copy of Win7 but I’m not sure what it’s a standard library – probably it’s a rudiment of WinXP. check-in: f005d83981 user: greg zakharov tags: trunk
13:52
Simple function that determines whether a pair of IP’s are on the same subnet, given a specified mask. check-in: 227319893e user: dragonmc77 tags: trunk
13:52
Add to top of your scripts and the script will automatically create a log file called <script name>.log to the AppData folder check-in: 116b98948c user: shauncroucher tags: trunk
13:52
Add to top of your scripts and the script will automatically create a log file called <script name>.log to the AppData folder check-in: ad336c6ee0 user: shauncroucher tags: trunk
13:52
Correctly works with reparse points check-in: 597c369559 user: Robespierre tags: trunk
13:52
Prints DLL exported functions list. check-in: 584178d9fb user: greg zakharov tags: trunk
13:52
Get what Windows features are installed, check if there is a Best Practice for it available, run the BPA and filter results for anything that isn’t informational and dump it to text file check-in: 8dee4f411d user: PWilkinson tags: trunk
13:52
Get what Windows features are installed, check if there is a Best Practice for it available, run the BPA and filter results for anything that isn’t informational. check-in: 0e7121c828 user: PWilkinson tags: trunk
13:52
Out-Wiki – converts cmdlets help to media wiki (wikipedia) format check-in: cdbdfdf28a user: unknown tags: trunk
13:52
This script can be run on a secondary Network Policy Server and will mirror the configuration from the specified Primary Server, simplifying the management of a redundant or distributed configuration. This script is designed to run as a Scheduled task. check-in: 5234bc5bd4 user: JGrote tags: trunk
13:52
CorpTools.psd1 check-in: b0623715ae user: Don Jones tags: trunk
13:52
Corp.format.ps1xml check-in: d898489223 user: Don Jones tags: trunk
13:52
CorpTools.psm1 check-in: e42532a8cd user: Don Jones tags: trunk
13:52
Final script module manifest check-in: 8f1ae0da4c user: Don Jones tags: trunk
13:52
Final script module check-in: 637286ba54 user: Don Jones tags: trunk
13:52
Final XML formatting view check-in: 81775d8234 user: Don Jones tags: trunk
13:52
This only works PowerShell v2.0 CTP2, and youll need to save it as AutoMount.psm1 in a directory under your documents folder like so (vista example): check-in: 2f8a3b8c16 user: unknown tags: trunk
13:52
Check All Active Directory Computers For IP Address check-in: 0ea7928242 user: unknown tags: trunk
13:52
Find matching members in a local group check-in: e4c324a234 user: Hal Rottenberg tags: trunk
13:52
The following changes were made: check-in: 20a4cb8bfd user: Peter Kriegel tags: trunk
13:52
Asks for full path of source file and target directory to recursively update all instances of file within target directory and its sub-directories. There is also an optional prompt to configure whether you want to be prompted for every file copy. No parameters are passed to the script. Run it, type/paste in your paths, and choose your overwrite confirmation choice. check-in: 8b9e039c6a user: redsolar tags: trunk
13:52
Reports the latest LastModified date of all the files within a folder. check-in: fee5a66388 user: dragonmc77 tags: trunk
13:52
Finds and reports duplicate files between two folders. check-in: 9839f2dee4 user: dragonmc tags: trunk
13:52
Function/script to set settings in a RDP file for Terminal Services. Supports pipeline input and smart conversion of bools. check-in: 904721db75 user: Jason Archer tags: trunk
13:52
Using netsh.exe to loop through each WLAN on the system and export the settings to the user-provided output-file. check-in: 174ba41939 user: Jan Egil Ring tags: trunk
13:52
Restarts local or remote IIS AppPools check-in: c86972bda6 user: Joel Bennett tags: trunk
13:52
This script will help a user to batch connect multiple pst files in Microsoft Outlook (personal email archives). check-in: d640c63b5e user: Jack Neff tags: trunk
13:52
Gets Unicode information about a character. If you have charmap.exe installed it will use its getuname.dll to get a descriptive string about the character. check-in: c4f01d0342 user: Public Domain tags: trunk
13:52
This function retrieves a trace of a package sent with the swedish postal service. This is part of a guide on how to write a web scraping cmdlet in PowerShell which can be read at: check-in: 6b7a51d26f user: DollarUnderscore tags: trunk
13:52
A script to use some web services for guessing languages and translating to English… check-in: d4502ba6fa user: Joel Bennnett tags: trunk
13:52
Enable aero “glass” effects for the regular powershell 2.0 console (not ISE) – vista or above, powershell 2+ and aero-compatible gfx card. check-in: d62492f171 user: Oisin Grehan tags: trunk
13:52
Gets Unicode information about a character. If you have charmap.exe installed it will use its getuname.dll to get a descriptive string about the character. check-in: f08ae02973 user: Public Domain tags: trunk
13:52
This script will take a Twitter User’s Screen name and get their RSS feed of posts check-in: 1de1505faa user: CrazyDave tags: trunk
13:52
FInal module from class check-in: 2a7b37b705 user: Don Jones tags: trunk
13:51
A simple lync bot in powershell that will respond to set commands etc, was bored today. check-in: e33c57e10e user: Michael Diarmid tags: trunk
13:51
This script will take a Twitter User’s Screen name and get their RSS feed of posts check-in: 83f6b827ed user: dinhchi27 tags: trunk
13:51
A VI toolkit script to update all VM Guests on the selected hosts check-in: 280961aeb7 user: Brian English tags: trunk
13:51
Displays active TCP connections and includes the process ID (PID) and Name for each connection. check-in: df9d5ded87 user: Shay Levy tags: trunk
13:51
need powershell 4.0 as powershell 3.0 has in issue with parsing rss/atom feeds. It skips every other item check-in: f8f681c075 user: Parul Jain paruljain tags: trunk
13:51
This function retrieves information about the owner/creator of a snapshot in vmware/vsphere along with some other properties. check-in: 38fcf17705 user: DollarUnderscore tags: trunk
13:51
A VI toolkit script to update all VM Guests on the selected hosts check-in: 3ca792179b user: Brian English tags: trunk
13:51
Enables SNMP via Add-WindowsFeature (If not already enabled) check-in: 8a598f3830 user: Gabriel M tags: trunk
13:51
Enables SNMP via Add-WindowsFeature (If not already enabled) check-in: 66b7c6f7c4 user: Gabriel M tags: trunk
13:51
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 1a19780e47 user: Lee Holmes tags: trunk
13:51
Validates a username and password against Active Directory. Requires .NET 3.5 and PowerShell V2. check-in: d4ce3fa56d user: Mike Pfeiffer tags: trunk
13:51
GAC path extracts dynamically check-in: e08f2c4da5 user: greg zakharov tags: trunk
13:51
Enables SNMP via Add-WindowsFeature (If not already enabled) check-in: cd4cf11a78 user: St3v3o tags: trunk
13:51
This enables the Microsoft-Windows-PrintService/Operational in the event log. Every time something is printed, details about the print job will be recorded into that event log. check-in: 339d95415f user: KevMar tags: trunk
13:51
Adds a scalar variables to the PowerShell type system. check-in: ff21a259cf user: Public domain tags: trunk
13:51
Bulk converts XLS ranges to PNG by using the clipboard. Reads config from XML. Now with working code… :P check-in: b4c65a3cab user: Egil Aspevik tags: trunk
13:51
Note – Works for ConfigMgr 07 and ConfigMgr 12 & requires PowerShell v3 check-in: e21c122d92 user: unknown tags: trunk
13:51
Function to send text messages (SMS) from Windows PowerShell using the Microsoft Outlook SMS Add-in. check-in: 30b40e2226 user: Jan Egil Ring tags: trunk
13:51
This script will take a Twitter User’s Screen name and get their RSS feed of posts check-in: e7f0e63a7b user: dinhchi27 tags: trunk
13:51
It parses the print log file for printer events related to printing. It is important that the log be enabled. If a log is cleared, then this data will be inaccurate. check-in: 21068af816 user: KevMar tags: trunk
13:51
PowerShell has numeric and string contexts: check-in: a6ace1b372 user: Public Domain tags: trunk
13:51
Execute a SQL command against a database using Powershell. check-in: 00e8e82bb8 user: dragonmc77 tags: trunk
13:51
Emulates Perl’s list context in PowerShell. check-in: 34abc4d7e0 user: Public Domain tags: trunk
13:51
original filename: lib-authentication.ps1 check-in: 88db43efa6 user: Hal Rottenberg tags: trunk
13:51
In the ConfigMgr environment while performing Application Deployments. Sometimes Users don’t mention their machine names. check-in: c9ab14fd9e user: DexterPOSH tags: trunk
13:51
In the ConfigMgr environment while performing Application Deployments. Sometimes Users don’t mention their machine names. check-in: bc8bd7abe0 user: DexterPOSH tags: trunk
13:51
In the ConfigMgr environment while performing Application Deployments. Sometimes Users don’t mention their machine names. check-in: 216cb1329f user: DexterPOSH tags: trunk
13:51
In the ConfigMgr environment while performing Application Deployments. Sometimes Users don’t mention their machine names. check-in: fd46fe85c0 user: DexterPOSH tags: trunk
13:51
Usage: check-in: 554d6e43fe user: greg zakharov tags: trunk
13:51
Usage: check-in: 5bc7cdfc31 user: greg zakharov tags: trunk
13:51
Use this script to detect installed .NET versions on a remote server using WMI. Requires credentials and a computername. check-in: 021db28612 user: halr9000 tags: trunk
13:51
Push Button Reset Script for Configuration Manager Task Sequences. check-in: 9522b29d6b user: BillAMoore tags: trunk
13:51
This is more or less a port of FORTH’s “see” command to PowerShell. check-in: 85a6ab48ef user: Public Domain tags: trunk
13:51
Library to discover Onkyo network connected home theatre receiver and then send remote control commands to change settings such as volume but also query current settings. Uses the Integra Serial Communication Protocol (ISCP). check-in: a895b61d5c user: Parul Jain paruljain tags: trunk
13:51
Screenshot at http://savepic.org/5445383.jpg check-in: 4977c982cb user: greg zakharov tags: trunk
13:51
retrieve the windows product key of a specified machine using WMI check-in: 0c8d853d0e user: karl prosser tags: trunk
13:51
A PowerShell Module that exposes wrapper functions for the subversion svn.exe commands to update, commit, import, checkout, status, add, and delete. check-in: 686a956280 user: Frank Peter Schultze tags: trunk
13:51
Copy files to dated directory. check-in: 4f8426eeb8 user: unknown tags: trunk
13:51
Creates a blank profile check-in: 5e81cd22af user: jmh6182 tags: trunk
13:51
Obtain the correct SoapAction string when a webservice method is passed (read from a Soap request). check-in: 30725ceca6 user: Daniel Cheng tags: trunk
13:51
A VI toolkit script to update all VM Guests on the selected hosts check-in: 0edf69995a user: Brian English tags: trunk
13:50
Enables SNMP via Add-WindowsFeature (If not already enabled) check-in: a963369fc9 user: St3v3o tags: trunk
13:50
where it can generate final out put excel file? check-in: c30f3885d4 user: Steve Jarvi tags: trunk
13:50
D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;IU)(A;;CCLCSWLOCRRC;;;SU)S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;WD) check-in: 953ca8c3dd user: Matthew Graeber tags: trunk
13:50
This script will take a Twitter User’s Screen name and get their RSS feed of posts check-in: 13ec341be3 user: e7naa2 tags: trunk
13:50
Notifies other processes that the global environment block has changed. This lets other processes pick changes to ENV: without having to reboot or logoff/logon. A non-zero result from SendMessageTimeout indicates success. check-in: 07a0a8ebda user: Oisin Grehan tags: trunk
13:50
Gets all Virtual Machines, and exports a CSV that shows their virtual disk capacities and type. Used in this case for sizing a VCB temp disk. check-in: aebe59f3aa user: jgrote tags: trunk
13:50
Hardware Inventory script to run on Windows Servers and output the JSON string to a CouchDB Database check-in: f2849c6675 user: VulcanX tags: trunk
13:50
This script will take members of an AD group and export their Exchange mailbox to a PST as well as export all Lync archives for the specified time period. The script can be ran manually or bet set to run as a scheduled task. Requires the Quest AD Powershell module as well as Lync, Exchange, and AD modules to run. check-in: 8fa8ad08d5 user: Jason M tags: trunk
13:50
This script will take members of an AD group and export their Exchange mailbox to a PST as well as export all Lync archives for the specified time period. The script can be ran manually or bet set to run as a scheduled task. Requires the Quest AD Powershell module as well as Lync, Exchange, and AD modules to run. check-in: 1db5d60898 user: Jason M tags: trunk
13:50
Function to find long filenames and the path they reside in. Uses Get-ChildItem and one instance of CMD.exe DIR. check-in: f50132d58d user: Mark Ince tags: trunk
13:50
Query a dynamic group configured in Quest ActiveRoles and return an array of each membership rule. check-in: 5434f3d542 user: vidrine tags: trunk
13:50
Add a new membership rule to a dynamic group configured in Quest ActiveRoles. check-in: de57d47ed2 user: vidrine tags: trunk
13:50
I want to get this importing my $AllMembers to my $List in Sharepoint. check-in: cea96f7c72 user: unknown tags: trunk
13:50
Force .NET Framework optimization to happen (causes high CPU by mscorsvw.exe) check-in: 7ca4facced user: Scott Copus tags: trunk
13:50
Trims text and signs it check-in: 58c88c2677 user: unknown tags: trunk
13:50
Two cmdlets for and from the Active-Directory uninitiated… check-in: 3c46c019b0 user: kevinslade tags: trunk
13:50
Two cmdlets for and from the Active-Directory uninitiated… check-in: f8f235c6cd user: kevinslade tags: trunk
13:50
Port of Perl 6’s gather/take but for appending to a string instead of to a list. check-in: 12207f7b29 user: Public Domain tags: trunk
13:50
Port of Perl 6’s gather/take (which itself is a port of Mathematica’s Reap/Sow) check-in: 3fed878fc0 user: Public Domain tags: trunk
13:50
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: ba0e171cad user: Chad Miller tags: trunk
13:50
Get input date string or get T-n or T+n dates in the specified format. check-in: 153958d43a user: Ferenc Toth tags: trunk
13:50
A little wrapper for PromptForChoice – this version is a major change to be much pickier. check-in: 9f10eccbd3 user: Joel Bennett tags: trunk
13:50
Just a little wrapper for PromptForChoice. check-in: 074286a8c0 user: Joel Bennett tags: trunk
13:50
MKLINK – Make Symbolic File and Directory links. Useful for making symbolic links from powershell. check-in: 6db60abb46 user: James Gentile tags: trunk
13:50
Add to top of your scripts and the script will automatically create a log file called <script name>.log to the AppData folder check-in: bd5a5f9c20 user: shauncroucher tags: trunk
13:50
Just a little wrapper for PromptForChoice check-in: 19fefc54fa user: Joel Bennett tags: trunk
13:50
The script saves a username and password, encrypted with a custom key to to a file. The key is coded into the script but can be changed if required. The key allows the password to be decrypted by any user who has the key, on any machine. If the key parameter is omitted from ConvertFrom-SecureString, only the user who generated the file on the computer that generated the file can decrypt the password. check-in: 4689e03f0c user: Daniel tags: trunk
13:50
Looks for online information about file with it extension. check-in: dab7698723 user: greg zakharov tags: trunk
13:50
Fixed check-in: 68b09a28a5 user: greg zakharov tags: trunk
13:50
Looks for drivers in Sysinternals Autoruns way (with some specific information) check-in: 9dae751b55 user: greg zakharov tags: trunk
13:50
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: 62c97df182 user: Glenn Sizemore glnsize tags: trunk
13:50
Port of Perl 6’s gather/take (which itself is a port of Mathematica’s Reap/Sow) check-in: d4a4299a63 user: Public Domain tags: trunk
13:50
There are a couple scripts that parse netsh commands. I didn’t see this one already done, so I couldn’t steal it. I suppose I could use some regex or something simple to cut the whitespace, so feel free to “fix her up”, but this got the job done (of putting the netsh output into an object). This is a snip from a larger script I wrote as a looping, recording monitor. I used this guy’s script for inspiration: http://poshcode.org/1731 check-in: 497a442218 user: Josh Popp tags: trunk
13:50
Looks for a file into PATH variable. check-in: 2d2e7d476b user: greg zakharov tags: trunk
13:50
Script originally developed for internal DBAs to get information on processor core counts, which is important for licensing. This script includes some basic error handling and full comment based help. Output properties are Computer, Socket (Designation), Core Count, Logical Processors, Hyperthreading Enabled, Description and Type (Physical/Virtual). check-in: 37093f1427 user: Kevin Kirkpatrick tags: trunk
13:50
Fix check-in: 00f2e57619 user: greg zakharov tags: trunk
13:50
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: 683a8be5c2 user: Glenn Sizemore glnsize tags: trunk
13:50
Version which correctly works with Windows 8. check-in: 0743963426 user: Skourlatov tags: trunk
13:50
Fixed check-in: 7effae03de user: greg zakharov tags: trunk
13:49
This script will help a user to batch connect multiple pst files in Microsoft Outlook (personal email archives). check-in: 2c8d513543 user: Jack Neff tags: trunk
13:49
Send a popup message to a user on a remote computer. check-in: 41b7637de8 user: Jack Neff tags: trunk
13:49
Use known password cache to open and save unprotected copies of documents. – work in progress check-in: f77d8f02f2 user: Steele Stenger tags: trunk
13:49
Script originally developed for internal DBAs to get information on processor core counts, which is important for licensing. This script includes some basic error handling and full comment based help. Output properties are Computer, Socket (Designation), Core Count, Logical Processors, Hyperthreading Enabled, Description and Type (Physical/Virtual). check-in: 329ebdfdd5 user: Kevin Kirkpatrick tags: trunk
13:49
Build a SQL Server connection string by specifying its parameters. check-in: 2ac17abc99 user: Paulo Morgado tags: trunk
13:49
Use known password cache to open and save unprotected copies of documents. – work in progress check-in: a16faf4a68 user: Steele Stenger tags: trunk
13:49
This is part 4 of a 6 part mailbox creation web site. check-in: f227fca79d user: Karl Mitschke tags: trunk
13:49
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: f84f7e0f87 user: unknown tags: trunk
13:49
EDIT: changed dcname to get the DC automatically (”$env:computername.$env:userdnsdomain”) check-in: 74ca0984bb user: Ty Lopes tags: trunk
13:49
This scConvertTo-Hex S-1-5-21-357043131-537017027-1947940980-1289ript will convert a security identifier (SID) in string format to its hexadecimal equivalent. e.g. check-in: b4769213ec user: S-1-5-21-2398571 tags: trunk
13:49
Reads JPEG metadata check-in: 0a74c564b0 user: greg zakharov tags: trunk
13:49
Use known password cache to open and save unprotected copies of documents. – work in progress check-in: 454c31fb43 user: Steele Stenger tags: trunk
13:49
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 4843516bab user: Lee Holmes tags: trunk
13:49
Day 5 example includes SupportsShouldProcess check-in: e21f8cf02c user: Don Jones tags: trunk
13:49
This script will take a Twitter User’s Screen name and get their RSS feed of posts check-in: 3375a79a91 user: dragonpat tags: trunk
13:49
This script will take a Twitter User’s Screen name and get their RSS feed of posts check-in: 9c50e0e35d user: dragonpat tags: trunk
13:49
Class lab 8 check-in: 6a71eb77f6 user: unknown tags: trunk
13:49
Lab 7 check-in: 198f19ee91 user: Don Jones tags: trunk
13:49
Script to setup a working environment for working with Apache Hadoop code on Windows. check-in: 1779bdf43f user: Mostafa Elhemali tags: trunk
13:49
:LOL: check-in: 5c945616e6 user: greg zakharov tags: trunk
13:49
quick hard coded script for uploading a file to an ftp server. check-in: d44ff18ba6 user: Stephen Price tags: trunk
13:49
This is part 2 of a 6 part mailbox creation web site. check-in: cc89873edf user: Karl Mitschke tags: trunk
13:49
This script will take a Twitter User’s Screen name and get their RSS feed of posts check-in: efbe9d0bbd user: echosmith tags: trunk
13:49
The Function Set-RemoteService will set the State and StartMode for the Service on the Remote Machine. check-in: 1a5751c7cd user: DexterPOSH tags: trunk
13:49
Function Get-ServerUptime will get you the Server LastReboot and will give uptime info. check-in: bd098b8178 user: DexterPOSH tags: trunk
13:49
Function Get-ServerUptime will get you the Server LastReboot and will give uptime info. check-in: 68494d7faa user: DexterPOSH tags: trunk
13:49
This script sends out “password is about to expire” notifications by e-mail. It can send out custom mailmessage depending on where your users are in Active Directory. This makes it possible to for example send out different instructions for password changes, or have them written in different languages. check-in: c287285d4b user: DollarUnderscore tags: trunk
13:49
This scConvertTo-Hex S-1-5-21-357043131-537017027-1947940980-1289ript will convert a security identifier (SID) in string format to its hexadecimal equivalent. e.g. check-in: d89890fdbf user: S-1-5-21-2398571 tags: trunk
13:49
The Function Set-RemoteService will set the State and StartMode for the Service on the Remote Machine. check-in: ee2b4f8ddf user: DexterPOSH tags: trunk
13:49
The Function Remove-SCCMDPContent will remove a list of PackageIDs from a Distribution Point. check-in: 91b62a620a user: DexterPOSH tags: trunk
13:49
I’ve just started to work on a PowerShell module for the Infoblox Trinzic DDI appliance, this is a VERY early release with some functions that can manage DNS-records. check-in: 04b203845b user: DollarUnderscore tags: trunk
13:49
This script is designed to work around a PowerPack export issue in PowerGUI 1.5.1 (fixed in subsequent releases): http://dmitrysotnikov.wordpress.com/2008/08/06/script-to-export-column-selection/ check-in: 8e21812496 user: Dmitry Sotnikov tags: trunk
13:49
Buying groceries with PowerShell, because why not? ;-) check-in: 5137bd96e0 user: DollarUnderscore tags: trunk
13:49
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: 50f660ddd1 user: AlphaSun tags: trunk
13:49
NAME: Agent Job Status to Excel.ps1 check-in: 5357bca6ae user: SQLDBAWithABeard tags: trunk
13:49
I will post a module for Onkyo receivers when I get the time, this code is only meant as an example on how to figure out how different devices work and how to control them using PowerShell. check-in: 53aeffe7bd user: DollarUnderscore tags: trunk
13:49
Simple script to bulk-create printers on a print-server. Printers are imported from a csv-file. check-in: d273ba3a5b user: Jan Egil Ring tags: trunk
13:49
See original post at https://gist.github.com/gregzakharov/9877156 for examples. check-in: fdf8580f8d user: greg zakharov tags: trunk
13:49
Script will help discover any service accounts that are currently being used. I have been using this script for about a month in production. While your mileage may vary this script is strictly read only, thus -confirm, and -whatif are not supported. check-in: c42bbd5667 user: Glenn Sizemore glnsize tags: trunk
13:49
See original post at https://gist.github.com/gregzakharov/9877156 for examples. check-in: ceeccf8447 user: greg zakharov tags: trunk
13:48
This example demonstrates how you can get the list of exported functions from the DLL. Be warned! This test file for x86 only. For x64 offsets will be different. check-in: 27556d5193 user: greg zakharov tags: trunk
13:48
This script is a re-developed MSDN Sample using PowerShell. It creates an email message then sends it with a BCC. check-in: 67889b5a2c user: Thomas Lee tags: trunk
13:48
This script performs OpenLdap query against specified Server. check-in: 5fe13ae5d0 user: famingxia tags: trunk
13:48
This script performs OpenLdap query against specified Server. check-in: 8e0b0f6b73 user: BSonPosh tags: trunk
13:48
Script to download and install updates from Windows Update/WSUS. Reporting and rebooting may be customized. check-in: 8e238d45c8 user: Jan Egil Ring tags: trunk
13:48
Add new smtp address from csv and set new address primary check-in: cf182435d1 user: Ermias tags: trunk
13:48
Logging function for Powershell v2. Needed to address current Powershell logging limitations. See a discussion about said limitations here: http://jdhitsolutions.com/blog/2011/03/powershell-automatic-logging/#comment-2899 . check-in: ba8822662c user: Andy Arismendi tags: trunk
13:48
Script will help discover any service accounts that are currently being used. I have been using this script for about a month in production. While your mileage may vary this script is strictly read only, thus -confirm, and -whatif are not supported. check-in: 90ec2cce8b user: Glenn Sizemore gesize tags: trunk
13:48
This cmdlet retrieves weather forcasts from SMHI (Swedish Meteorological and Hydrological Institute) through their API. (See: http://www.smhi.se/klimatdata/Oppna-data for information in swedish). check-in: c8a6a243a6 user: DollarUnderscore tags: trunk
13:48
Function Add-Counter (adds Count NoteProperty to pipeline input to keep a running row count for display); sample usage: check-in: 84cbfb14a3 user: BillBarry tags: trunk
13:48
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: d4bf2990e5 user: DollarUnderscore tags: trunk
13:48
Why I did not use $env:windir\Assembly for accessing to GAC? Good question. I’m sure that the best way to get GAC path is extraction it from Evidence from some loaded assembly in current domain. check-in: 66da75a8cb user: greg zakharov tags: trunk
13:48
original filename: lib-authentication.ps1 check-in: b85029ba7c user: Hal Rottenberg tags: trunk
13:48
Specify target host and root directory. The script will then recursively check for all folders and report on their NTFS permissions. check-in: c562659f99 user: vidrine tags: trunk
13:48
Sacamos informacin de los usuarios de la infraestructura. check-in: 5f0bfee4e7 user: Pedro Genil tags: trunk
13:48
This script will compare the names of the people you follow on Twitter and the people following you. It returns a comparison object consisting of the Twitter name of a subject and a side indicator – “<=” means that you are following a subject who is not following you, “=>” means that you are followed by someone who you are not following. check-in: c63024319e user: Steven Murawski tags: trunk
13:48
This demo shows how to highlight text in RichTextBox with Dictionary<string, color>. Tested on PowerShell v2 check-in: 66e25f4826 user: greg zakharov tags: trunk
13:48
This script will take a Twitter User’s Screen name and get their RSS feed of posts check-in: 06a097b47f user: echosmith tags: trunk
13:48
This scConvertTo-Hex S-1-5-21-357043131-537017027-1947940980-1289ript will convert a security identifier (SID) in string format to its hexadecimal equivalent. e.g. check-in: c82f66638e user: S-1-5-21-2398571 tags: trunk
13:48
Checking file if it has been packed with something like UPX. check-in: d4a6da4fe0 user: greg zakharov tags: trunk
13:48
The script below has 3 different components & was designed for use by our Service Desk. When a user is terminated, the script will remove them from Lync, remove all mailbox information (forwarding rules etc) in Exchange 2010, disable Ad object, remove group membership & move to “Disabled Users” OU. check-in: eb75d18dc4 user: David Woods tags: trunk
13:48
This script will take a Twitter User’s Screen name and get their RSS feed of posts check-in: c3dc848103 user: echosmith tags: trunk
13:48
IMCEAEX-_O=GLOBAL+20COMMUNICATION+20NETWORK_OU=LATAM+20-+20AG_cn=Recipients_cn=andrea02svlc@gcn.local check-in: 24df3e1189 user: IMMTZ tags: trunk
13:48
COMMENT: check-in: e67b38545e user: Stephen Wheet tags: trunk
13:48
From my profile. Uploads given text to Pastebin, and either puts the URL of the new paste into the system clipboard, or (by passing a switch) opens the new paste in your default browser. Allows you to slect visibility, language, and expiration time (defaults to Unlisted, Nothing, and 1 Day). Requires you to provide a valid PasteBin Developer Key in a script variable. check-in: ea23651066 user: Matthew Sessions tags: trunk
13:48
This function retrieves the (Unicode) text from the clipboard. check-in: 7b273f8066 user: Matthew Sessions tags: trunk
13:48
Build a SQL Server connection string by specifying its parameters. check-in: 09f043eaf6 user: Paulo Morgado tags: trunk
13:48
Converts objects properties into key-value hashtable check-in: 9d83b3142b user: Joel Bennett tags: trunk
13:48
Modeled after SQL Server 2008 Invoke-Sqlcmd, but fixes bug in QueryTimeout, and allows for paramaterized queries and more! check-in: a1ed699810 user: RCookieMonster tags: trunk
13:48
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 84eb110249 user: Lee Holmes tags: trunk
13:48
basic disk report tool that generates an excel report. check-in: 85f7165efe user: archpy tags: trunk
13:48
Modeled after SQL Server 2008 Invoke-Sqlcmd, but fixes bug in QueryTimeout, and allows for paramaterized queries and more! check-in: 0bbc44a8ae user: Joel Bennett tags: trunk
13:48
$check.installed not refreshed after feature instlled check-in: bec366f299 user: unknown tags: trunk
13:48
Convert and import from delimited text files. Includes two functions: Convert-Delimiter and Import-Delimited. check-in: c96dc15213 user: Joel Bennett tags: trunk
13:48
The simplest logger. In your script just import-module Logger and debug, verbose, warnings and errors are logged to file. check-in: 920f3bb520 user: Joel Bennett tags: trunk
13:48
Sets properties for a given user local username. check-in: a2ef3b9eaa user: Andy Arismendi tags: trunk
13:48
Powershell script to get Certificate information for all the AD, For this you need AD user list in TXT file and save them. check-in: 21d6030fd5 user: Ravig tags: trunk
13:48
Powershell script to get Certificate information for all the AD, For this you need AD user list in TXT file and save them. check-in: 0fc59c2b8c user: unknown tags: trunk
13:48
Powershell script to get Certificate information for all the AD, For this you need AD user list in TXT file and save them. check-in: 915d2f7226 user: unknown tags: trunk
13:48
CredSSP is a security provider to help delegate credentials from a client computer to a target computer. In PowerShell, we can use CredSSP to overcome the double-hop authentication problem. Getting the current CredSSP configuration settings for client and target computer is a bit of a pain, though. My function Get-WSManCredSSPConfiguration helps with gathering the current CredSSP configuration on both local and target computers. check-in: 2e297838ee user: Victor Vogelpoel tags: trunk
13:47
This function should be included in the PowerShell ISE profile.ps1 and it will display the start and end times of any scripts started clicking ‘Run Script’ (or ALT+R) in the Add-ons Menu; additionally they will be logged to the Scripts Event Log (which needs creating first) and also to a text log file. This defaults to that created by the Windows Script Monitor Service (available from www.SeaStar.99k.org) which normally indicates the full command line used to start each script. check-in: cf8d187de9 user: Archdeacon tags: trunk
13:47
This function should be included in the PowerShell ISE profile.ps1 and it will display the start and end times of any scripts started clicking ‘Run Script’ (or ALT+R) in the Add-ons Menu; additionally they will be logged to the Scripts Event Log (which needs creating first) and also to a text log file. This defaults to that created by the Windows Script Monitor Service (available from www.SeaStarDevelopment.Bravehost.com) which normally indicates the full command line used to start each script. check-in: 9b335a75e5 user: Archdeacon tags: trunk
13:47
This script will trap events such as USB insertion, file changes, registry key check-in: 7ef9878999 user: Archdeacon tags: trunk
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
13:42
The Install-ISPackage script installs an Dtsx file to a SQL Server store using the command-line utility dtutil. check-in: 0f366bf725 user: Chad Miller tags: trunk
13:42
A pair with ConvertTo-CliXml — this version closes and disposes the string reader handle. Now works in PowerShell 3 and 4 as well. check-in: eb1a0a62eb user: Poshoholic tags: trunk
13:42
Export-CliXml and Import-CliXml only work with files. This is an implementation for sending CliXML directly to the pipeline. Requires PowerShell 2+ (now works in 3.0 and 4.0) check-in: 067c93a183 user: Poshoholic tags: trunk
13:42
quick way to do processes a ton of jobs, for example ping 100 boxes at once check-in: 8a6e1b3f96 user: Justin tags: trunk
13:42
quick way to do processes a ton of jobs, for example ping 100 boxes at once check-in: ab07c8336f user: Justin tags: trunk
13:42
Standalone script adapted from SQL Server Powershell Extensions (sqlpsx) http://sqlpsx.codeplex.com. Defines SQL Server backup and restore functions. check-in: 646e152f6a user: Chad Miller tags: trunk
13:42
Fixed and redesigned check-in: 26b89759ba user: greg zakharov tags: trunk
13:42
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 81278e5da5 user: Lee Holmes tags: trunk
13:42
Just concept of PowerShell GUI quick guide. Consists from cmdlets help info and ‘about’ pages. Please, report about bugs. check-in: dc0ae62510 user: greg zakharov tags: trunk
13:42
Actually, Start-Process cmdlet with -Verb RunAs can help you run process with admin’s rights, but… I do not like this cmdlet. I wanna something useable, so I wrote a prototype of something that looks like runas in cmd (or sudo in bash). check-in: 7ea16fa99b user: greg zakharov tags: trunk
13:42
Another password generating function. This one will always include all the character types you want, and the password will always be random. check-in: afd0191020 user: DollarUnderscore tags: trunk
13:42
Returns a shuffled / randomised / randomized version of an input string check-in: dec79bbf82 user: David Johnson tags: trunk
13:42
Let me know about bugs. Oh! and follow me on twitter @gregzakharov=) check-in: 6bf5e59eeb user: greg zakharov tags: trunk
13:42
This demo looks for files in PATH variable (extensions are from PATHEXT) and presents path for a file in two ways: full path (which mode) and only path for a file (where mode). For example, enter in TextBox field something like ‘notepad’ and click ‘Search’. check-in: d03f051cb9 user: greg zakharov tags: trunk
13:42
Active Directory, bulk create OU’s with defined sub OU’s check-in: fde08b15d5 user: chriskenis tags: trunk
13:42
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: 945636365c user: Dmitry Sotnikov tags: trunk
13:42
Prints calendar for specified month of year. Please, let me know about bugs. check-in: 23e3aba465 user: greg zakharov tags: trunk
13:42
Not for regular use, this is just a demo with using COM object to check new letters on gmail. check-in: 04b6a9a2ad user: greg zakharov tags: trunk
13:42
a configuration management script for when changes occur to a vmware view environment. Change the color codes to suit your needs. check-in: e6f4ae5746 user: Lubinski tags: trunk
13:42
Uses netsh command to get all the computer’s wifi profiles (including clear text passwords) check-in: f6d0e7360a user: CrazyDave tags: trunk
13:42
Resolves aliases and parameter shortcuts in scripts to make them more portable. check-in: 655f372d04 user: Joel Bennett tags: trunk
13:42
This code will cleanup local profiles on a server/computer. It needs admin-rights to run. check-in: aad7ad9ebc user: DollarUnderscore tags: trunk
13:42
My first contribution. I am crazily thinking of doing a “Powershell Only” day. The first task is to figure out how to manipulate Outlook through PowerShell. The submitted script hits my Outlook inbox and goes through the inbox and each subfolder and retrieves the unread emails from it. It then goes through my task list and gets all the incomplete tasks. This was my first time using a status bar and definitely the first for making anything outside the scripting games public. I’d hate to get finished with the Outlook “module” and find out I could have saved myself a lot of time, so I through the script as it is now on the mercy of the court. Proceed with your red pens… check-in: 7ed6cf7dff user: chris seiter tags: trunk
13:42
UNIX which and whatis tools analog. check-in: dc05543776 user: greg zakharov tags: trunk
13:42
Sets properties for a given user local username. check-in: 406033ff6b user: Andy Arismendi tags: trunk
13:42
Advanced Function to get local members. Some of text-fetching going on, but it will hopefully work on your machine aswell. check-in: 10295f986d user: DollarUnderscore tags: trunk
13:42
Automation of SCOM Gateway Certificate Renewal (you need to configure autoenrollment separetly) check-in: e162a1aa7b user: DollarUnderscore tags: trunk
13:42
Converts pictures to byte arrays and saves a copy of the new file on disk. check-in: 14848c5c6b user: DollarUnderscore tags: trunk
13:42
This module can control a Tellstick Net with powershell. check-in: e7aa61dd3d user: DollarUnderscore tags: trunk
13:42
I wrote a small function for parsing a Windows DNS Debug log. You can pipe both log-lines and filenames to this cmdlet. I’ve added 3 different types of log formats for it to handle. check-in: d7be450cbf user: DollarUnderscore tags: trunk
13:42
PowerShell form that can create master lists for later use in Quests Notes Migration Tool… check-in: 297709ec70 user: DollarUnderscore tags: trunk
13:42
Update custom scratch location ESXi 5.1 check-in: ec99011a65 user: Leon Scheltema tags: trunk
13:42
Twitch chat image scraper. check-in: 040392caf6 user: unknown tags: trunk
13:42
Win32_Process doesn’t have %CPU usage so this queries Win32_PerfFormattedData_PerfProc_Process for high cpu processes. Then queries the processes to get owner information and other properties. check-in: 3649db6dd2 user: anonymous tags: trunk
13:42
Very simple script to create an RTF (Rich Text Format) file with Windows Powershell with variable substitution. Yes this could be a very basic Mail Merge type document WITHOUT the use of Microsoft Word check-in: e4b88cb5df user: Sean Kearney tags: trunk
13:42
Very simple script to create an RTF (Rich Text Format) file with Windows Powershell with variable substitution. Yes this could be a very basic Mail Merge type document WITHOUT the use of Microsoft Word check-in: 9e9b6fa9af user: Sean Kearney tags: trunk
13:41
This function handles WMI Events based on a query against remote systems. No polling, no looping or do-whileing. Includes sample queries. check-in: bd32abcafe user: Steve Jarvi tags: trunk
13:41
A one liner that parses the output of NET.EXE’s VIEW command. NET.EXE VIEW displays a list of computers in your current domain by default, to display another domain change it to read NET.EXE VIEW /domain <domainName>. check-in: d12b37aff1 user: testing tags: trunk
13:41
A one liner that parses the output of NET.EXE’s VIEW command. NET.EXE VIEW displays a list of computers in your current domain by default, to display another domain change it to read NET.EXE VIEW /domain <domainName>. check-in: 6d1a9f188c user: Nathan Hartley tags: trunk
13:41
This script will help you replace old VMware portgroups with new ones and switch all VMs over to these new port groups with no downtown or network traffic loss. Originally written to take an environment with nonsensical, non-standardized port group naming to a proper standard. This required supporting files as are listed in the script description. There are portions that need to be filled out with relevant info to your environment, these are also outlined in the comments. check-in: 2908bfc460 user: Clint Jones tags: trunk
13:41
Checking Security Group Nesting Strategy (ie: G.U.DL.), searching Circular Nesting or only graphically reporting Nested Security Groups, ADSecurityGroupMembers.ps1 helps on those tasks exploring group member property and generating a Graphviz file. check-in: dbaca95ca5 user: Axel Limousin tags: trunk
13:41
X’434e3d5072696e74657220496e7374616c6c202d20485120323220456173742c4f553d53656375726974792047726f7570732c4f553d4a4d532053656375726974792047726f7570732c44433d4a4d534f6e6c696e652c44433d636f6d’;X’434e3d41637469616e63655f55736572732c4f553d53656375726974792047726f7570732c4f553d4a4d532053656375726974792047726f7570732c44433d4a4d534f6e6c696e652c44433d636f6d’;X’434e3d5365727669636547726f75705f4c796e63456e61626c656455736572732c4f553d5365727669636547726f7570732c4f553d4a4d532053656375726974792047726f7570732c44433d4a4d534f6e6c696e652c44433d636f6d’;X’434e3d41494d4c6f67696e332c4f553d53656375726974792047726f7570732c4f553d4a4d532053656375726974792047726f7570732c44433d4a4d534f6e6c696e652c44433d636f6d’;X’434e3d5a69704c69705f5265766965776572732c4f553d446973747269627574696f6e2047726f7570732c4f553d4a4d532045786368616e6765204f626a656374732c44433d4a4d534f6e6c696e652c44433d636f6d’;X’434e3d41637469766553796e632055736572732c4f553d446973747269627574696f6e2047726f7570732c4f553d4a4d532045786368616e6765204f626a656374732c44433d4a4d534f6e6c696e652c44433d636f6d’;X’434e3d4346204578656320436f6d6d69747465652c4f553d476f6f676c6520506f7374696e69204163636573732047726f7570732c4f553d5370656369616c2047726f7570732c4f553d4a4d532053657276696365204163636f756e74732c44433d4a4d534f6e6c696e652c44433d636f6d’;X’434e3d53656e696f72204c6561646572732c4f553d446973747269627574696f6e2047726f7570732c4f553d4a4d532045786368616e6765204f626a656374732c44433d4a4d534f6e6c696e652c44433d636f6d’;X’434e3d43415041434954595f444153485f55534552532c4f553d53656375726974792047726f7570732c4f553d4a4d532053656375726974792047726f7570732c44433d4a4d534f6e6c696e652c44433d636f6d’;X’434e3d41637469766553796e63204d6f62696c65204465766963657320416c6c6f7765642c4f553d496e666f53656320456e7469746c656d656e742047726f7570732c4f553d5370656369616c2047726f7570732c4f553d4a4d532053657276696365204163636f756e74732c44433d4a4d534f6e6c696e652c44433d636f6d’;X’434e3d41445f4d554e495f4d67722c4f553d53656375726974792047726f7570732c4f553d4a4d532053656375726974792047726f7570732c44433d4a4d534f6e6c696e652c44433d636f6d’;X’434e3d41445f5446495f4d67722c4f553d53656375726974792047726f7570732c4f553d4a4d532053656375726974792047726f7570732c44433d4a4d534f6e6c696e652c44433d636f6d’;X’434e3d41445f45434d5f4d67722c4f553d53656375726974792047726f7570732c4f553d4a4d532053656375726974792047726f7570732c44433d4a4d534f6e6c696e652c44433d636f6d’;X’434e3d4a616e6e6579204d616e61676572732c4f553d446973747269627574696f6e2047726f7570732c4f553d4a4d532045786368616e6765204f626a656374732c44433d4a4d534f6e6c696e652c44433d636f6d’;X’434e3d5068696c6164656c70686961204465706172746d656e747320284e6f205068696c61204272616e6368292c4f553d446973747269627574696f6e2047726f7570732c4f553d4a4d532045786368616e6765204f626a656374732c44433d4a4d534f6e6c696e652c44433d636f6d’;X’434e3d4d6f726e696e67205472616465204e6f74652c4f553d446973747269627574696f6e2047726f7570732c4f553d4a4d532045786368616e6765204f626a656374732c44433d4a4d534f6e6c696e652c44433d636f6d’;X’434e3d4649434d5472616465446174612c4f553d53656375726974792047726f7570732c4f553d4a4d532053656375726974792047726f7570732c44433d4a4d534f6e6c696e652c44433d636f6d’;X’434e3d4571756974795472616465446174612c4f553d53656375726974792047726f7570732c4f553d4a4d532053656375726974792047726f7570732c44433d4a4d534f6e6c696e652c44433d636f6d’;X’434e3d46432044415348424f4152442050524f44554354494f4e2055534552532c4f553d53656375726974792047726f7570732c4f553d4a4d532053656375726974792047726f7570732c44433d4a4d534f6e6c696e652c44433d636f6d’;X’434e3d4571756974792026204f7074696f6e732073656e642061732c4f553d53656375726974792047726f7570732c4f553d4a4d532053656375726974792047726f7570732c44433d4a4d534f6e6c696e652c44433d636f6d’;X’434e3d426c6f6f6d626572672055736572732c4f553d53656375726974792047726f7570732c4f553d4a4d532053656375726974792047726f7570732c44433d4a4d534f6e6c696e652c44433d636f6d’;X’434e3d426c61636b626572727920557365727320322c4f553d446973747269627574696f6e2047726f7570732c4f553d4a4d532045786368616e6765204f626a656374732c44433d4a4d534f6e6c696e652c44433d636f6d’;X’434e3d446973747269627574696f6e20436f6d6d69747465652c4f553d446973747269627574696f6e2047726f7570732c4f553d4a4d532045786368616e6765204f626a656374732c44433d4a4d534f6e6c696e652c44433d636f6d’;X’434e3d42726f6b657261676520547261646520417070726f76616c732c4f553d446973747269627574696f6e2047726f7570732c4f553d4a4d532045786368616e6765204f626a656374732c44433d4a4d534f6e6c696e652c44433d636f6d’;X’434e3d445220544f6e65204170702c4f553d6369747269782075736572732067726f7570732c4f553d5465726d696e616c20536572766572732c44433d4a4d534f6e6c696e652c44433d636f6d’;X’434e3d44522047656e6572616c204170702c4f553d6369747269782075736572732067726f7570732c4f553d5465726d696e616c20536572766572732c44433d4a4d534f6e6c696e652c44433d636f6d’;X’434e3d4452204f324b33204170702c4f553d6369747269782075736572732067726f7570732c4f553d5465726d696e616c20536572766572732c44433d4a4d534f6e6c696e652c44433d636f6d’;X’434e3d4953205374656572696e6720436f6d6d69747465652c4f553d446973747269627574696f6e2047726f7570732c4f553d4a4d532045786368616e6765204f626a656374732c44433d4a4d534f6e6c696e652c44433d636f6d’;X’434e3d446570742e204d616e6167657273202d205068696c6164656c706869612c4f553d446973747269627574696f6e2047726f7570732c4f553d4a4d532045786368616e6765204f626a656374732c44433d4a4d534f6e6c696e652c44433d636f6d’;X’434e3d465341205472616e736974205061727469636970616e74732c4f553d446973747269627574696f6e2047726f7570732c4f553d4a4d532045786368616e6765204f626a656374732c44433d4a4d534f6e6c696e652c44433d636f6d’;X’434e3d45786563757469766520436f6d6d69747465652c4f553d53656375726547726f7570732c4f553d4a4d532053656375726974792047726f7570732c44433d4a4d534f6e6c696e652c44433d636f6d’;X’434e3d50616365736574746572e280997320436c75622c4f553d446973747269627574696f6e2047726f7570732c4f553d4a4d532045786368616e6765204f626a656374732c44433d4a4d534f6e6c696e652c44433d636f6d’;X’434e3d4a4d534f54432c4f553d53656375726974792047726f7570732c4f553d4a4d532053656375726974792047726f7570732c44433d4a4d534f6e6c696e652c44433d636f6d’;X’434e3d4272696f2055736572732c4f553d446973747269627574696f6e2047726f7570732c4f553d4a4d532045786368616e6765204f626a656374732c44433d4a4d534f6e6c696e652c44433d636f6d’;X’434e3d52657365617263682d312c4f553d446973747269627574696f6e2047726f7570732c4f553d4a4d532045786368616e6765204f626a656374732c44433d4a4d534f6e6c696e652c44433d636f6d’;X’434e3d526567756c61746f72795743436f6e74616374732c4f553d446973747269627574696f6e2047726f7570732c4f553d4a4d532045786368616e6765204f626a656374732c44433d4a4d534f6e6c696e652c44433d636f6d’;X’434e3d4d616e6167656d656e7420436f6d6d69747465652c4f553d53656375726547726f7570732c4f553d4a4d532053656375726974792047726f7570732c44433d4a4d534f6e6c696e652c44433d636f6d’;X’434e3d426c6f636b2c4f553d446973747269627574696f6e2047726f7570732c4f553d4a4d532045786368616e6765204f626a656374732c44433d4a4d534f6e6c696e652c44433d636f6d’;X’434e3d506572736f6e6e656c204368616e67652c4f553d446973747269627574696f6e2047726f7570732c4f553d4a4d532045786368616e6765204f626a656374732c44433d4a4d534f6e6c696e652c44433d636f6d’;X’434e3d4a4d53424c4f434b2c4f553d53656375726974792047726f7570732c4f553d4a4d532053656375726974792047726f7570732c44433d4a4d534f6e6c696e652c44433d636f6d’;X’434e3d4a4d535048494c4c592c4f553d53656375726974792047726f7570732c4f553d4a4d532053656375726974792047726f7570732c44433d4a4d534f6e6c696e652c44433d636f6d’;X’434e3d45766572796f6e655f452d4d61696c2c4f553d446973747269627574696f6e2047726f7570732c4f553d4a4d532045786368616e6765204f626a656374732c44433d4a4d534f6e6c696e652c44433d636f6d’;X’434e3d4d657461766965772c4f553d53656375726974792047726f7570732c4f553d4a4d532053656375726974792047726f7570732c44433d4a4d534f6e6c696e652c44433d636f6d’;X’434e3d5068696c6164656c706869612c4f553d446973747269627574696f6e2047726f7570732c4f553d4a4d532045786368616e6765204f626a656374732c44433d4a4d534f6e6c696e652c44433d636f6d’;X’434e3d4d65746166696c652055736572732c4f553d446973747269627574696f6e2047726f7570732c4f553d4a4d532045786368616e6765204f626a656374732c44433d4a4d534f6e6c696e652c44433d636f6d’;X’434e3d5068696c6164656c70686961204641732c4f553d446973747269627574696f6e2047726f7570732c4f553d4a4d532045786368616e6765204f626a656374732c44433d4a4d534f6e6c696e652c44433d636f6d’;X’434e3d416c6c205265676973746572656420456d706c6f796565732c4f553d44657061727465642055736572732c4f553d4a4d532053657276696365204163636f756e74732c44433d4a4d534f6e6c696e652c44433d636f6d’;X’434e3d52656d6f7465204465736b746f702055736572732c434e3d4275696c74696e2c44433d4a4d534f6e6c696e652c44433d636f6d’; check-in: 9646459354 user: CrazyDave tags: trunk
13:41
retrieve the windows product key of a specified machine using WMI check-in: 62b38cd129 user: karl prosser tags: trunk
13:41
Functions to encrypt and decrypt strings using the Rijndael symmetric key algorithm check-in: 6833b136ae user: Joel Bennett tags: trunk
13:41
This script will go through your ITunes library and check the paths for each of the Tracks. If it doesn’t find a file at the specified location it will remove that track from your ITunes Library. check-in: 67c3689e17 user: Mark Schill tags: trunk
13:41
Added Try block and missing brackets for sample GUI from post made by Vinith Menon. check-in: a7f90f8119 user: BrianK tags: trunk
13:41
############################################################################################# check-in: d57f052d52 user: Rob Sewell tags: trunk
13:41
Easy Migration Script for VMware Using PowerCLI – The Easy Migration script enables you to manually VMotion and SVMotion virtual machines very quickly and easily. You don’t have to specify the resource pools and it reduces the amount of mouse clicks required. There is also an Undo feature. check-in: 69e8cdf5fb user: Richard Yaw tags: trunk
13:41
############################################################################################# check-in: 2ae558fca4 user: Rob Sewell tags: trunk
13:41
A Module to solve fileshare permission issues once and for all. Allows you to impersonate other network credentials for windows network authentication. check-in: 43aea21893 user: Joel Bennett tags: trunk
13:41
IMCEAEX-_O=PORTMED_OU=First+20Administrative+20Group_cn=Recipients_cn=brady+2Eanderson@portmed.org check-in: 16cfe4ab06 user: IMMTZ tags: trunk
13:41
just a quick re-write of gmagerr’s Powershell Template script to enable his template to create Powershell ISE help-comment based structure which I often use; I just put this function into an add-isemenu custom menu array. Thanks to gmagerr for the structure I just added a couple of things (most of which work fine!). thx for the base gmagerr. check-in: 06d42b3e4b user: biryani tags: trunk
13:41
############################################################################################# check-in: 7c89b93864 user: SQLDBAwithabeard tags: trunk
13:41
############################################################################################# check-in: 0e72990b8e user: SQLDBAwithabeard tags: trunk
13:41
############################################################################################# check-in: 11d1cb1fda user: SQLDBAwithabeard tags: trunk
13:41
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. If the host is running 64-bit architecture, it will add a matching alias for the 32-bit SQL client also. check-in: 18fc79dbe4 user: Chad Miller tags: trunk
13:41
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: aa7cd6d5a7 user: Lee Holmes tags: trunk
13:41
This is a customizable application launcher that saves configuration across multiple executions, and allows you to launch applications with credentials from a different domain in your current forest. check-in: 729dc6b675 user: Geoff Guynn tags: trunk
13:41
############################################################################################# check-in: 4b5fb4d250 user: Rob Sewell tags: trunk
13:41
# check-in: 5131b10ce9 user: Rob Sewell tags: trunk
13:41
############################################################################################# check-in: d037999507 user: SQLDBAwithabeard tags: trunk
13:41
############################################################################################# check-in: e3ef9c3fcf user: SQLDBAwithabeard tags: trunk
13:41
############################################################################################# check-in: ae72c9957c user: SQLDBAwithabeard tags: trunk
13:41
############################################################################################# check-in: 7574ea7aac user: Rob Sewell tags: trunk
13:41
Get-Parameter is used to obtain all of the parameters for a cmdlet. It also returns info like aliases and whether a parameter is mandatory. check-in: 13c5d57a99 user: halr9000 tags: trunk
13:41
############################################################################################# check-in: 4692bd13dc user: SQLDBAwithabeard tags: trunk
13:41
############################################################################################# check-in: c7cfa33639 user: Rob Sewell tags: trunk
13:41
############################################################################################# check-in: b766696cb8 user: Rob Sewell tags: trunk
13:41
Returns $true if the Windows Firewall is enabled, $false if it is disabled. check-in: 4cf6010080 user: rfoust tags: trunk
13:41
NAME: Drop-SQLUsers.ps1 check-in: 3a67e9c1cd user: Rob Sewell tags: trunk
13:41
http://www.powershellmagazine.com/2012/10/15/pstip-get-your-reboot-history/?utm_source=feedburner&utm_medium=email&utm_campaign=Feed%3A+PowershellMagazine+%28PowerShell+Magazine%29 check-in: 98c58efd5f user: Fishee tags: trunk
13:41
This is command line script that invoke cscript by itself to download a file. Just save this code with CMD or BAT extension and lanch, for example, with next way: CmdWget E:\arc http://download.sysinternals.com/files/Autoruns.zip – this allow you to download autoruns.exe tool of Sysinternals into E:\arc directory. Note that directory shoul be exist and you do not need specify name of file which you want to download, script saves file with name that specified in url (url is sensitive for register). check-in: 792fc93274 user: greg zakharov tags: trunk
13:41
############################################################################################# check-in: f69af65443 user: Rob Sewell tags: trunk
13:41
############################################################################################# check-in: fa61b81298 user: Rob Sewell tags: trunk
13:40
############################################################################################# check-in: 01737ec7d5 user: Rob Sewell tags: trunk
13:40
############################################################################################# check-in: afa204d20b user: Rob Sewell tags: trunk
13:40
############################################################################################# check-in: 68de7807b5 user: Rob Sewell tags: trunk
13:40
Poor man’s network scanner check-in: 21268a3554 user: unknown tags: trunk
13:40
What is MUICache and why it necessary to ask your favorite search engine, for example, Google, Bing and etc. I just updated version of my old script which is analog of eponymous Nir Sofer’s tool (Hi, Nir! How are you?) In this version: 1)MUI added; 2)added ability to display icons of items; 3)Russian localization. Please, report me about founded bugs! check-in: bd98dbf158 user: greg zakharov tags: trunk
13:40
#Created by Ty Lopes check-in: fc57d2cd83 user: Ty Lopes tags: trunk
13:40
Script creates one-way connections between one sending member server and a list of receiving member servers. The group schedule is used. check-in: 0826b77780 user: J Palmero tags: trunk
13:40
Script creates one-way connections between one sending member server and a list of receiving member servers. The group schedule is used. check-in: 100afbeee9 user: J Palmero tags: trunk
13:40
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: 34c231a8e3 user: obaid tags: trunk
13:40
A demonstration of how to do menus and commands in ShowUI that works with ShowUI 1.4 check-in: 8fcfa37d98 user: Joel Bennett tags: trunk
13:40
Import certificate files to the cert store check-in: 701e28a1ad user: Joel Bennett tags: trunk
13:40
<dl><dt>Description</dt> check-in: 73135c4991 user: halr9000 tags: trunk
13:40
Import certificate files to the cert store check-in: 55edc62822 user: Joel Bennett tags: trunk
13:40
Import certificate files to the cert store check-in: af0c846e8a user: Joel Bennett tags: trunk
13:40
Here is a quick script I created to convert files to ASCII character set. This came about because I found Out-File was creating files as Unicode and Add-Content was writing ASCII (Even though the help says it defaults to Unicode). So writing to the files with Add-Content would use the wrong encoding and add garbage to the log files. I changed all my code to include the -Encoding ASCII parameter, but had thousands of files encoded as Unicode. (Note: To see what format it is, open in Notepad and select Save As… it will be listed at the bottom). It replaces the file with a new ASCII encoded file so I also added some logic to capture and set the original file timestamps. This is my first draft so I’m sure there is room for improvements. Such as error handling and adjustments so the input parameters don’t have to be so exact, but it works and thought I would share. -=Levon check-in: 9eff237e50 user: Levon Becker tags: trunk
13:40
Get-WifiNetwork – return the parsed output of netsh wlan show network mode=bssid in psobject form. Does exactly what it says on the tin. Requires Vista/2008 or higher, or XP SP3 with a hotfix (I can’t recall which one, sorry.) check-in: 09f51b2c2b user: Oisin Grehan tags: trunk
13:40
Simple Function to get powershell version check-in: b3924f9d72 user: angry birds rio tags: trunk
13:40
Simple Function to get powershell version check-in: 9e49d76a35 user: Powershell Jedi tags: trunk
13:40
Validates a username and password against Active Directory. Requires .NET 3.5 and PowerShell V2. check-in: ccf8910cba user: hello tags: trunk
13:40
A function to rename a computer check-in: 397f224ac0 user: JesusBorbolla tags: trunk
13:40
<dl><dt>Description</dt> check-in: 3ef191b6bb user: halr9000 tags: trunk
13:40
ISE-Lines module v 1.2 check-in: fb21b9ff75 user: Scott Hardwick tags: trunk
13:40
This script will take a Twitter User’s Screen name and get their RSS feed of posts check-in: 29d457cee3 user: CrazyDave tags: trunk
13:40
Validates a username and password against Active Directory. Requires .NET 3.5 and PowerShell V2. check-in: 1f98e2da50 user: Mike Pfeiffer tags: trunk
13:40
A Whois script for powershell. check-in: bf7c6e2065 user: Joel Bennett tags: trunk
13:40
A Whois script for powershell. check-in: d19f89a628 user: Joel Bennett tags: trunk
13:40
<dl><dt>Description</dt> check-in: b03d55bf7c user: halr9000 tags: trunk
13:40
Remember locations under defined labels and navigate back to those locations with the label. check-in: 3858c8d0be user: D3M80L tags: trunk
13:40
Remotely force WSUS Check on Servers within your network. Powershell remoting must be enabled. check-in: 1486127abe user: St3v3o tags: trunk
13:40
Enable Powershell Remoting allowing access for all trusted hosts check-in: 1cae681a56 user: St3v3o tags: trunk
13:40
Generate a new PowerShell module from a few scripts. check-in: 69a92fdfe3 user: Joel Bennett tags: trunk
13:40
retrieve the windows product key of a specified machine using WMI check-in: 1b534e5f3f user: karl prosser tags: trunk
13:40
Send a WakeOnLan packet to computers check-in: f1cb15564d user: Joel Bennett tags: trunk
13:40
A new Bing module that supports command-line search against the new datamarket APIs. check-in: e5a3e38c8d user: Joel Bennett tags: trunk
13:40
This module replaces Get-Credential with a better version that supports customizing the prompt dialog. check-in: c4ab6172ef user: Joel Bennett tags: trunk
13:40
IMCEAEX-_O=CONTOSO_OU=First+20Administrative+20Group_cn=Recipients_cn=john+5Fjacob+2Esmith@contoso.com check-in: 4c1f5d1e0e user: Test1 tags: trunk
13:40
The beginning of a Module for EFT server. PowerShell functions that use the SFTPCOMInterface.CIServer class to invoke methods and properties of the EFT server. check-in: 687e44f487 user: DoNotNotTouch tags: trunk
13:40
VERSION 1.1 check-in: fbef68647a user: Joel Bennett tags: trunk
13:40
Function to create a Tab delimited Excel .xls File from Objects. check-in: 9c951cac17 user: Peter Kriegel tags: trunk
13:39
A multithreaded remote registry gathering function. Includes the ability to return both a specific subkey value or an entire key of subkey values in a custom psobject. check-in: 23ff37c417 user: Zachary Loeber tags: trunk
13:39
A multi-threaded, windows asset gathering function. check-in: 8d745461b6 user: Zachary Loeber tags: trunk
13:39
Move mailboxes from one mailbox database to another mailbox database or balance them across a group of mailbox databases. check-in: 559665fd4e user: dethompson71 tags: trunk
13:39
Uses Get-StorageReliabilityCounter method to obtain information about the temperature of the physical disks check-in: 5e467e6eed user: akaNeo tags: trunk
13:39
Replaces Get-Credential, with options to set the dialog title and message, as well as defaulting the domain and username, and offering the option to prompt in-line in the console, and to get generic (non-domain) credentials (without a leading “\”). Better in every way than the built-in Get-Credential ;) check-in: 53c6e7bef4 user: Joel Bennett tags: trunk
13:39
Wrappers for the Get-AuthenticodeSignature and Set-AuthenticodeSignature which properly parse paths and don’t kill your pipeline and script when you hit a folder by accident… check-in: 742626ff38 user: unknown tags: trunk
13:39
Replaces Get-Credential, with options to set the dialog title and message, as well as defaulting the domain and username, and offering the option to prompt in-line in the console, and to get generic (non-domain) credentials (without a leading “\”). Better in every way than the built-in Get-Credential ;) check-in: 26ec4bf730 user: Joe Hayes tags: trunk
13:39
Will capture failed and Successful logins for a remote server for the last 24 hours and email to user. Utilizes Get-eventlog for Server 2003. Change variables on lines 5-13 check-in: 7a7ad58c41 user: Robert tags: trunk
13:39
Will capture failed and Successful logins for a remote server for the last 24 hours and email to user. Utilizes Get-eventlog for Server 2003. Change variables on lines 5-13 check-in: e0fa6b8054 user: Robert tags: trunk
13:39
retrieve the windows product key of a specified machine using WMI check-in: 08cccaaa02 user: karl prosser tags: trunk
13:39
A multi-threaded, windows asset gathering function. check-in: caa49f5b5a user: Zachary Loeber tags: trunk
13:39
List all the members of the “AssociatedOwnerGroup” of each site (including root site) of each Site Collection of each Web Application in the farm. check-in: b4edb4d7bf user: Lucas Araujo tags: trunk
13:39
Improved version of http://poshcode.org/2352. Nobody seems to know how that should be used. See also MSDN for FindPrivateKey documentation. check-in: b53837bda8 user: HQJaTu tags: trunk
13:39
Dot Sourced PSISE Snippet Editor Form check-in: f206ab29fd user: unknown tags: trunk
13:39
Will capture failed and Successful logins for a remote server for the last 24 hours and email to user. Utilizes Get-eventlog for Server 2003. Change variables on lines 5-13 check-in: f86a221e52 user: Robert tags: trunk
13:39
Will capture failed and Successful logins for a remote server for the last 24 hours and email to user. Utilizes Get-eventlog for Server 2003. check-in: 8eab56c542 user: Robert tags: trunk
13:39
Script changes the storage profile on al VMs in the vApp, this triggers a relocate action per VM moving it to a other datastore or other storage system. check-in: 843a649bf7 user: Leon Scheltema tags: trunk
13:39
An upgrade to my wget script which can output the downloaded html to the pipeline. Get-WebFile can download text or binary files, automatically determine file names, and present a progress report for large files… check-in: 0a653dae01 user: Joel Bennett tags: trunk
13:39
An upgrade to my wget script which can output the downloaded html to the pipeline. Get-WebFile can download text or binary files, automatically determine file names, and present a progress report for large files… check-in: 0fa4f1c476 user: Joel Bennett tags: trunk
13:39
Originally posted by Keith Hill on microsoft.public.windows.powershell. check-in: fff5e1e04d user: halr9000 tags: trunk
13:39
Creates a symbolic link just like mklink.exe but doesn’t rely on having to call it like ‘cmd.exe /c mklink.exe’. check-in: ad106c0592 user: Boe Prox tags: trunk
13:39
This file was uploaded by a PowerGUI Script Editor Add-on. check-in: 71083ab402 user: Anonymous tags: trunk
13:39
This file was uploaded by a PowerGUI Script Editor Add-on. check-in: 6ad008911f user: Anonymous tags: trunk
13:39
This file was uploaded by a PowerGUI Script Editor Add-on. check-in: 070014872d user: Anonymous tags: trunk
13:39
The following changes were made: check-in: 278d399629 user: Peter Kriegel tags: trunk
13:39
Function to get all logged on sessions (numbers) and coresponding users (domain name) on a local or remote system with WMI check-in: 07661c7c7a user: Peter Kriegel tags: trunk
13:39
Author: check-in: 86c59da84e user: steelestengergm tags: trunk
13:39
Flashview App from SMA has several bugs, drops out from full screen, freezes and crashes. I have had most success with Windows 32bit and can only get it to reliably work for a whole day continuously by launching with this script. check-in: 37df5dda69 user: MatthewPainter tags: trunk
13:39
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: e4e4386cf1 user: Bernd Kriszio tags: trunk
13:39
Create/Insert/Extract Well formatted and indexed based64 payload of files check-in: b968396427 user: Nicolas Tremblay tags: trunk
13:39
Create/Insert/Extract Well formatted and indexed based64 payload of files check-in: 8609f96099 user: Nicolas Tremblay tags: trunk
13:39
Create/Insert/Extract Well formatted and indexed based64 payload of files check-in: f17d12b3a4 user: Nicolas Tremblay tags: trunk
13:39
This file was uploaded by a PowerGUI Script Editor Add-on. check-in: 7deb7a6325 user: Anonymous tags: trunk
13:39
This file was uploaded by a PowerGUI Script Editor Add-on. check-in: ae1d85cc64 user: Anonymous tags: trunk
13:39
This scConvertTo-Hex S-1-5-21-357043131-537017027-1947940980-1289ript will convert a security identifier (SID) in string format to its hexadecimal equivalent. e.g. check-in: d1c38df3fd user: S-1-5-21-2398571 tags: trunk
13:39
Validates a username and password against Active Directory. Requires .NET 3.5 and PowerShell V2. check-in: b4a36e94fa user: Mike Pfeiffer tags: trunk
13:39
This file was uploaded by a PowerGUI Script Editor Add-on. check-in: e88b1567d8 user: Anonymous tags: trunk
13:39
This file was uploaded by a PowerGUI Script Editor Add-on. check-in: 2048f2251d user: Anonymous tags: trunk
13:39
Where-like function works as a pipeline console filter. check-in: 02558a9c7e user: sibroller tags: trunk
13:38
Reboot a cluste or stand-alone server. For cluster, reboot each node one by one. Verify that RDP works for each server, verify all SQL Server instances can be connected, and all databases are in healthy state. Send email with the result of rebooting. The script works for Windows Server 2003 and later versions. This script requires Powershell3.0. check-in: 00e89ac20d user: William Wang tags: trunk
13:38
retrieve the windows product key of a specified machine using WMI check-in: 8cc87c7955 user: karl prosser tags: trunk
13:38
retrieve the windows product key of a specified machine using WMI check-in: be0f07106b user: karl prosser tags: trunk
13:38
A simple df (disk free) function for PowerShell check-in: c284a845fe user: unknown tags: trunk
13:38
Connect to an exchange mailbox and get your latest emails. check-in: fc3c03aac3 user: George Mauer tags: trunk
13:38
Where-like function works as a pipeline console filter. check-in: 37abeb7d04 user: unknown tags: trunk
13:38
Test the Prompt features check-in: 5c6fc334b7 user: Damien Ryan tags: trunk
13:38
This file was uploaded by a PowerGUI Script Editor Add-on. check-in: 12fa0db6b9 user: Les Papier tags: trunk
13:38
This file was uploaded by a PowerGUI Script Editor Add-on. check-in: bc7fce381f user: Gyorgy Nemesmagasi tags: trunk
13:38
This file was uploaded by a PowerGUI Script Editor Add-on. check-in: a02b132f68 user: Adam Driscoll tags: trunk
13:38
Writes data only to SQL Server tables. However, the data source is not limited to SQL Server; any data source can be used, as long as the data can be loaded to a DataTable instance or read with a IDataReader instance. check-in: 5335dfcaff user: Chad Miller tags: trunk
13:38
This file was uploaded by a PowerGUI Script Editor Add-on. check-in: 29aba11ea8 user: Anonymous tags: trunk
13:38
This file was uploaded by a PowerGUI Script Editor Add-on. check-in: 3bdf0352cc user: Anonymous tags: trunk
13:38
Find-String and Highligh-Matches work together to do formatted output of matches in strings check-in: 93fd2b540a user: unknown tags: trunk
13:38
‘Get-exif’ doesn’t seem to exist. There are various solutions suggested for this, but I could not find a way to get FNumber and Focal Length in 35mm. So I have parsed out ‘exif’ output in this script. check-in: ac8e16f453 user: unknown tags: trunk
13:38
Another modification to Get-PerformanceHistory to allow it to work in PowerShell 1.0 and still show averages. check-in: 1c18f4680e user: Joel Bennett tags: trunk
13:38
Enables SNMP via Add-WindowsFeature (If not already enabled) check-in: 556b373eb2 user: 8i5i9 tags: trunk
13:38
A simple script to download and install Java 7 u 25. Yeah, you could use chocolatey but I don’t want to install it. check-in: 4bbf905c51 user: DoNotNotTouch tags: trunk
13:38
Causes a blue screen on Windows 8 machines. Run at your own risk!! The reason is due to an access violation caused by passing in a null value to the access mask of the CreateDesktop function. check-in: 40f17b1cdc user: adamdriscoll tags: trunk
13:38
Function/script to launch Remote Desktop sessions from command line, RDP file or pipeline using Terminal Services Client. check-in: 187da153ac user: Jason Archer tags: trunk
13:38
Generate an extmap.xml for a DLL. This is used for assembly library caching in Silverlight. check-in: f71a658b05 user: Chui Tey tags: trunk
13:38
Generates External MAML Powershell help file for any loaded cmdlet or function check-in: 40ee392041 user: Chad Miller tags: trunk
13:38
Reading temperature data from the Carbon Dioxide Information Analysis Center check-in: 6ee792713e user: Joel Bennett tags: trunk
13:38
A collection of functions for working with the script repository: check-in: 0cafc050e9 user: Joel Bennett tags: trunk
13:38
Converts aliases and parameter shortcuts in scripts to make them more portable. Now resolves command names to include the module (make sure you load modules you need), resolves parameter aliases, etc. (Works in PowerShell 3 CTP1 too). check-in: edd9f00c0f user: Joel Bennett tags: trunk
13:38
Just launch script to see what’s about this script. Press F12 to hide window it and show it again. Use Escape to close Window. check-in: d4c1e46e84 user: greg zakharov tags: trunk
13:38
http://stackoverflow.com/questions/17171531/powershell-string-to-array/17173367#17173367 check-in: 8f4cf5804b user: Dang_it_Bobby tags: trunk
13:38
http://en.wikipedia.org/wiki/List_of_SMS_gateways check-in: c22aea7730 user: dvsbobloblaw tags: trunk
13:38
This scConvertTo-Hex S-1-5-21-357043131-537017027-1947940980-1289ript will convert a security identifier (SID) in string format to its hexadecimal equivalent. e.g. check-in: 988b00b22e user: S-1-5-21-2398571 tags: trunk
13:38
Replaces Get-Credential, with options to set the dialog title and message, as well as defaulting the domain and username, and offering the option to prompt in-line in the console, and to get generic (non-domain) credentials (without a leading “\”). Better in every way than the built-in Get-Credential ;) check-in: 4c30d01004 user: Joel Bennett tags: trunk
13:38
Get the system uptime of the localhost or a remote host. check-in: 704cd963e2 user: Tony Sathre tags: trunk
13:38
Clear displayNamePrintable attribute on AD user objects check-in: 13128a1ed1 user: chriskenis tags: trunk
13:38
This is a demo of one way you could implement handling Ctrl+C (CancelKeyPressed) without using PSEvent or PInvoke … check-in: 362bbd731d user: Joel Bennett tags: trunk
13:38
New-ZipFile and Expand-ZipFile — two functions for zipping and unzipping the way I like doing it… check-in: ad29ef3e58 user: Joel Bennett tags: trunk
13:38
Easy Migration Script for VMware Using PowerCLI – The Easy Migration script enables you to manually VMotion and SVMotion virtual machines very quickly and easily. You don’t have to specify the resource pools and it reduces the amount of mouse clicks required. There is also an Undo feature. check-in: 793d937ca1 user: Richard Yaw tags: trunk
13:38
a quick script to re-create Exchange 2013 performance counters, more information check: http://www.ntsystems.it/post/Exchange-2013-clean-install-but-many-MSExchange-Common-106-errors.aspx check-in: 1f83696024 user: thomas torggler tags: trunk
13:38
Sets properties for a given user local username. check-in: 1877604882 user: robyn tags: trunk
13:38
Proxy function for New-Object that allows you to specify a CLSID in the ComObject parameter. Example: check-in: 8a8a22ec26 user: Matt Graeber tags: trunk
13:38
Update vmtools check-in: 1e7a06c6bd user: Leon Scheltema tags: trunk
13:37
This function get the local group membership on a local or remote computer using ADSI/WinNT. By default the function will run on the localhost ($env:computername) and will query the group “Administrators”. check-in: c709b984bd user: LazyWinAdmin tags: trunk
13:37
Get the system uptime of the localhost or a remote host. check-in: 464232cd09 user: Tony Sathre tags: trunk
13:37
Specify target host and root directory. The script will then recursively check for all folders and report on their NTFS permissions. check-in: dea4adf75d user: vidrine tags: trunk
13:37
Simple PowerCLI example to find old snapshots. Note that I would not actually use the techniques shown here, this script was intentionally written this way as a part of a training video in which I am building on techniques. check-in: 263e06740c user: halr9000 tags: trunk
13:37
Script to find on which host a particular VM is running when vCenter is down check-in: 3f003eb53b user: Leon Scheltema tags: trunk
13:37
Get-NetView check-in: 8df0043a08 user: Daniel tags: trunk
13:37
This file was uploaded by PowerGUI. check-in: b9aa9498c4 user: Poshoholic tags: trunk
13:37
Functions to encrypt and decrypt strings using the Rijndael symmetric key algorithm check-in: e10d78b8a8 user: Joel Bennett tags: trunk
13:37
This is how I would go about recursively getting AD Group Members. check-in: 1c25c6cd40 user: ERROR_SUCCESS tags: trunk
13:37
http://www.mytechinterviews.com/sub-array-with-the-largest-sum check-in: d8a4cd3d86 user: BobLobLaw tags: trunk
13:37
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: 272975fb4f user: Joel Bennett tags: trunk
13:37
An upgrade to my wget script which can output the downloaded html to the pipeline. Get-WebFile can download text or binary files, automatically determine file names, and present a progress report for large files… check-in: ebc26dbe9c user: Joel Bennett tags: trunk
13:37
############################################################################################# check-in: b88d5f9535 user: unknown tags: trunk
13:37
custom directory creation using UI in power shell check-in: a71dc5eea4 user: himanshu tags: trunk
13:37
############################################################################################# check-in: eb4bb599fe user: SQLDBAwithabeard tags: trunk
13:37
Wrapper script for executing a T-SQL call and optionally returning a delimited file. Informational/Error messages are written to the Application EventLog. Purpose of script is run T-SQL commands from external scheduler (UniCenter, AutoSys, etc.), log messages to EventLog and return success/failed status. check-in: d72b45740c user: Chad Miller tags: trunk
13:37
Gets creator, creation date and lastbackup information per VM and adds it as values of a custom attribute check-in: e21e1452a9 user: Leon Scheltema tags: trunk
13:37
Another fun script that used PowerShell v3 ASTs. Have fun! check-in: f1403f85a5 user: bielawb tags: trunk
13:37
This function will enable or disable CBT on a VM, and optionally apply the change by stunning the VM with a snapshot. It is useful when CBT needs to be reset or disabled en masse. check-in: 25706761c4 user: Justin Grote tags: trunk
13:37
Fast (using text) and easy to get large Fibonacci numbers. The 5000th fib takes like 15 secs for my computer. Wonder how many loops that is? ALOT! check-in: 4e3c53d4d5 user: DVSPUPOP tags: trunk
13:37
Pulls label-value pairs from text. Note that this version is still REALLY optimistic, and assumes that your label-value pairs are each, always, on their own line … but it exposes the Get-Captures separately so you can write any regex you like (with named captures). check-in: c49b323008 user: Joel Bennett tags: trunk
13:37
Pulls label-value pairs from text. Note that this version is REALLY, REALLY optimistic, and assumes that your label-value pairs are each, always, on their own line. check-in: 810eb32bf2 user: Joel Bennett tags: trunk
13:37
Pulls label-value pairs from text. Note that this version is REALLY, REALLY optimistic, and assumes that your label-value pairs are each, always, on their own line. check-in: 18a28be982 user: Joel Bennett tags: trunk
13:37
Pulls label-value pairs from text. Note that this version is REALLY, REALLY optimistic, and assumes that your label-value pairs are each, always, on their own line. check-in: b1cac2c0cf user: Joel Bennett tags: trunk
13:37
Invoke-Sqlcmd2 : Cannot process argument transformation on parameter ‘ConnectionString’. Cannot convert the “System.Col check-in: d138c8f7e8 user: unknown tags: trunk
13:37
Modeled after SQL Server 2008 Invoke-Sqlcmd, but fixes bug in QueryTimeout, and allows for paramaterized queries and more! check-in: ac06746fbb user: Atamido tags: trunk
13:37
Function to report uptimes for single/multiple hosts as objects. Useful if not very original. check-in: 1b30accbbd user: 81stPerson tags: trunk
13:37
How-To Extract MS Cluster Resources and Create Powershell Commands out of them. check-in: 39d2734076 user: unknown tags: trunk
13:37
I found Managed DirectX on one of my computers, so I thought write about how to play MP3 files with it. But note, this script has been tested on WinXP only. For example: check-in: 5ed219314c user: greg zakharov tags: trunk
13:37
The first version of a Start-Demo script (module) for ISE from PowerShell 3+ check-in: 8a0175650a user: Joel Bennett tags: trunk
13:37
Windows PowerShell script to map a network printer based on Active Directory group membership. check-in: 8eee1ef4aa user: Jan Egil Ring tags: trunk
13:37
First of all this is a great script! Is there a way to extend the size limit? check-in: 021c679311 user: unknown tags: trunk
13:37
Displays active TCP connections and includes the process ID (PID) and Name for each connection. check-in: 32b22ae18e user: Shay Levy tags: trunk
13:37
Uses the ILSpy assemblies to decompile .NET assemblies on the fly using a simple PowerShell advanced function. It can be chained together with Get-Member calls. check-in: 6140c16d63 user: Adam Driscoll tags: trunk
13:37
Uses the ILSpy assemblies to decompile .NET assemblies on the fly using a simple PowerShell advanced function. It can be chained together with Get-Member calls. check-in: f87abc4658 user: Adam Driscoll tags: trunk
13:37
This is very simple module that you can use with PowerShell v3. It’s using PowerShell Abstract Syntax Tree to import functions from any script without running any code. check-in: 9862e5953a user: bielawb tags: trunk
13:37
Export top n Deadlock graphs for all databases of a given SQLServer (SQL2008+) Instance check-in: bd3ed77a72 user: alzdba tags: trunk
13:37
This demo shows how to highlight text in RichTextBox with Dictionary<string, color>. Tested on PowerShell v2 check-in: c8f8412bc1 user: greg zakharov tags: trunk
13:37
This demo shows how to highlight text in RichTextBox with Dictionary<string, color>. Tested on PowerShell v2 check-in: 626cbb34e1 user: greg zakharov tags: trunk
13:36
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: c933b7b0d1 user: Dane Kantner tags: trunk
13:36
A cmdlet to run a script/scriptblock under a different culture (language). Useful for testing localization. check-in: ff9a46990e user: unknown tags: trunk
13:36
This script generates a pseudo dialog for the next twilight movie. check-in: 41ac9850c1 user: dvsdeedee tags: trunk
13:36
Add VM to DRS group function check-in: 80f08e4896 user: unknown tags: trunk
13:36
Find who created a VM check-in: 1bcbc84304 user: unknown tags: trunk
13:36
Now Snippet Compiler looks like this (see screenshot at http://my.opera.com/samplez/blog/2013/04/18/snippet-compiler) and has some new features such as “Quick Save” and etc. check-in: 9da1706234 user: greg zakharov tags: trunk
13:36
Now Snippet Compiler looks like this (see screenshot at https://files.myopera.com/samplez/files/SnippetCompiler_300.jpg) and has some new features such as “Quick Save” and etc. check-in: d28fad70b8 user: greg zakharov tags: trunk
13:36
Author: Ranger6 aka Bitspider on Twitter check-in: 32b16d227b user: Ranger69 tags: trunk
13:36
Powershell script to get data from Exchange server check-in: 8ee4c61e1c user: unknown tags: trunk
13:36
Powershell script to get data from Exchange server check-in: ccc7c90938 user: unknown tags: trunk
13:36
ISE-Comments module v 1.1 check-in: ed73e90819 user: Scott Hardwick tags: trunk
13:36
Ex2010_MBDB_Info check for Check_MK check-in: c4003360ae user: unknown tags: trunk
13:36
Script to compress files from command line. check-in: a259de2e2c user: Shadow tags: trunk
13:36
Show all the comments from a script, and ONLY the comments. check-in: c3cc7ad912 user: Joel Bennett tags: trunk
13:36
Quick script to get compressed or partitioned SQL Server tables using sqlps provider check-in: 1740b73506 user: Chad Miller tags: trunk
13:36
Script to get the LastBootUpTime of a computer. check-in: d40f728a98 user: DVSBOBLOBLAW tags: trunk
13:36
A few wrapper functions to make working with the SSH portion of SharpSSH easier: New-SshSession, Invoke or Send Ssh commands, Receive output, all with support for “Expect” ... which means we’ll continue reading from the ssh output until we see the expected output, and then stop. check-in: c0b7ac6397 user: Joel Bennett tags: trunk
13:36
The script saves a username and password, encrypted with a custom key to to a file. The key is coded into the script but can be changed if required. The key allows the password to be decrypted by any user who has the key, on any machine. If the key parameter is omitted from ConvertFrom-SecureString, only the user who generated the file on the computer that generated the file can decrypt the password. check-in: 477a5d366b user: Daniel tags: trunk
13:36
This PowerShell function returns a list of the Active Directory FSMO role holders for one or more Active Directory domains and forests. This function depends on the Active Directory module, specifically the Get-ADDomain and Get-ADForest cmdlets. This module can either be installed locally, via the Remote Server Administration Tools or imported via Implicit remoting prior to running this function. More information about this function can be found on my blog site: http://mikefrobbins.com/2013/04/11/use-powershell-to-find-where-the-current-fsmo-roles-are-assigned-in-active-directory/ check-in: a3426cb561 user: Mike F Robbins tags: trunk
13:36
Syncs the system time with that of a remote time server. Uses NetCmdlets. check-in: 13922b9727 user: boggers tags: trunk
13:36
Syncs the system time with that of a remote time server. Uses NetCmdlets. check-in: 284416b06b user: Lance Robinson tags: trunk
13:36
Syncs the system time with that of a remote time server. Uses NetCmdlets. check-in: a7ad647e6a user: Lance Robinson tags: trunk
13:36
What is a FileCop? It’s a script that shows extended data of files such as hashes, streams and etc. in compact GUI style. Note that script has been tested on Win2K3, so I do not have any idea about its workability on other systems. Please, let me know about bugs. check-in: b234d5014b user: greg zakharov tags: trunk
13:36
Combine powershell and ImbBurn to burn all the iso’s in a directory. Useful for burning the 7 vista iso files etc. check-in: 558b2d96ff user: Michael tags: trunk
13:36
I really am still working on this replacement for the WASP module ;-) check-in: 32d2f69b84 user: Jaykul tags: trunk
13:36
Guns N’ Roses Sweet Child O Mine script (inspired by Christophe Cremon) check-in: 15af5132f1 user: Sean Buss tags: trunk
13:36
This is a simple little script that will read in your favorites and sort them into folders based on the hostname in the URL. check-in: 5dde9732b7 user: Jeff Patton tags: trunk
13:36
This is a simple little script that will read in your favorites and sort them into folders based on the hostname in the URL. check-in: 0b2762b5ab user: Jeff Patton tags: trunk
13:36
Shows fields, properties and methods in public classes in loaded assemblies. This is just demo. check-in: 944a144f19 user: greg zakharov tags: trunk
13:36
Super Mario Bros Theme in PowerShell :-) check-in: 0d8b5559b0 user: ChristopheCREMON tags: trunk
13:36
Use [/e | -e | e] argument to open and [/c | -c | c] to close. check-in: 7ff5a775d4 user: greg zakharov tags: trunk
13:36
Just for fun! check-in: 5b71cd584e user: greg zakharov tags: trunk
13:36
To close app: check-in: 0bd48b5080 user: greg zakharov tags: trunk
13:36
To close app: check-in: 1ed7a60e35 user: greg zakharov tags: trunk
13:36
This console application demonstrates PInvoke way to work with buffer. check-in: 03f3e078c9 user: greg zakharov tags: trunk
13:36
It’s just for fun because it does not correctly work (if you want stable code then use New-Object “Collections.Generic.Dictionary[String, [Drawing.Color]]) check-in: 53b472cb0a user: greg zakharov tags: trunk
13:36
ConvertFrom-PropertyString 3.7 can convert ini files, property files, and other flat key-value data strings into PSObjects. check-in: 9223aeafbc user: Joel Bennett tags: trunk
13:36
Use the wide unicode versions (FindFirstFileW and FindNextFileW) to report a directory listing of all files, including those that exceed the MAX_PATH ANSI limitations check-in: cdd286859b user: Wayne Martin tags: trunk
13:36
Fixed bug with output textbox (other improvements are in progress). check-in: c657bdb6ed user: greg zakharov tags: trunk
13:36
Use this script to detect installed .NET versions on a remote server using WMI. Requires credentials and a computername. check-in: 041c3eb6c4 user: halr9000 tags: trunk
13:35
Use this script to detect installed .NET versions on a remote server using WMI. Requires credentials and a computername. check-in: 0213b24305 user: halr9000 tags: trunk
13:35
Parses an Apache redirect file to identify broken entries. check-in: 0670521e9a user: anonymous tags: trunk
13:35
Some improvements for GUI. And there are some known bugs with output compiling directory (fixing in progress), also I removed code which highlight code in RichTextBox (because it’s unstable). check-in: 09479a5658 user: greg zakharov tags: trunk
13:35
RESTful server in pure PowerShell. Does not require a webserver. Requires PowerShell v3.0 check-in: 7c410b6942 user: Parul Jain tags: trunk
13:35
Modified the script to fix a few typos. check-in: a2593ba13d user: unknown tags: trunk
13:35
I wrote this for our first line team, they aren’t the best with Powershell so I wrote a GUI that would help them find which user has a specific email address in Office 365. check-in: 9b8d2a17e0 user: Adrian Woodrup tags: trunk
13:35
Set applications/windows on top of other windows check-in: ec1530322f user: Shay Levy tags: trunk
13:35
Use this to create a .url file which can then be opened in your default browser using the Invoke-Item cmdlet. Usage: New-UrlFile $url # or invoke-item (new-urlfile $url) check-in: 097624294a user: halr9000 tags: trunk
13:35
Converts an input string into its C ASCI Hex equivalent, useful for converting a string into an unsigned char array check-in: 8a717fc18f user: CrazyDave tags: trunk
13:35
script to wrap arround mstsc.exe and start multiple rdp sesions in one command check-in: f16a18efea user: AllanData tags: trunk
13:35
script to wrap arround mstsc.exe and start miltiple rdp sesions in one command check-in: ac726b3177 user: AllanData tags: trunk
13:35
A first draft at a logging function that can rotate log files as they “fill up” (that is, not by date, but by size). check-in: 6528b24380 user: Joel Bennett tags: trunk
13:35
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: 45f6bcde7d user: R Derickson tags: trunk
13:35
It’s useful if you offen use Alt+Space to manipulate host data (copy\paste). check-in: 813b01b55a user: greg zakharov tags: trunk
13:35
This powershell script can be used to reset alerts on a SharePoint site. This may be necessary if scheduled alerts are arriving an hour early or late due to daylight savings time. This script was inspired by: http://gallery.technet.microsoft.com/scriptcenter/877d2abd-fce9-4545-b223-7637936dd888 which while as a side effect will reset the alerts, however it does a lot more than restarting the alerts. check-in: 36024ac8ca user: AlanO tags: trunk
13:35
TEST ME check-in: 8f28746494 user: unknown tags: trunk
13:35
MSagent speech script with voice selection and interluded speaking check-in: c83c01d646 user: chriskenis tags: trunk
13:35
Map network drive using powershell to call wscript.network. psdrive just does not act the same as a mapped network drive. I finally wrote these to connect to specific servers and directories to move files around. check-in: 181f796cc4 user: 4wheels tags: trunk
13:35
enumerate + add + remove users or groups to any local group on a local, single or multiple remote computers check-in: 43bb8feb8c user: chriskenis tags: trunk
13:35
A pair with ConvertTo-CliXml — this version closes and disposes the string reader handle. Now works in PowerShell 3 and later as well. check-in: d13083eab4 user: Joel Bennett tags: trunk
13:35
Export-CliXml and Import-CliXml only work with files. This is an implementation for sending CliXML directly to the pipeline. Requires PowerShell 2.0 or later. check-in: f20a565c31 user: Joel Bennett tags: trunk
13:35
Creates config bundle backup for ESXi hosts. Works where 80 is blocked to ESXi host check-in: da3f11501c user: Jimmy Hester tags: trunk
13:35
Gets Sophos weekly scan time stats from the generated log file remotely using WMI. Log file name may need to be changed for your environment. Doesn’t require access to Sophos Admin console. check-in: 61c5ffc036 user: Chad Miller tags: trunk
13:35
Just for fun script for converting image files to excel. Very slow, try 50×50 images first check-in: e587c2ffb2 user: AxCoder tags: trunk
13:35
Validates a username and password against Active Directory. Requires .NET 3.5 and PowerShell V2. check-in: e4eaf61cd6 user: Mike Pfeiffer tags: trunk
13:35
Downloads the all or the last video episode of Defrag Tools show from Channel 9 check-in: 8e9c1e07ab user: Carlos Perez carlos_perez tags: trunk
13:35
Demo of WPF with PowerShell v3 – using [class]@{ property = value }, flexible syntax, simplified where. Also using type accelerators. Not really smartest way to create WPF (no XAML – as bad as it sounds). So don’t treat this as very good example® or WPF in use. ;) check-in: eaa3a09258 user: bielawb tags: trunk
13:35
Downloads the all or the last video episode of Defrag Tools show from Channel 9 check-in: 7f9a12e68b user: Carlos Perez carlos_perez tags: trunk
13:35
Helpers for working with .Net classes: Get-Constructor, Get-Assembly, Add-Assembly, Get-Type check-in: 47e35fc380 user: Joel Bennett tags: trunk
13:35
Extracts a mail store. check-in: 2c89ddee33 user: dragonmc77 tags: trunk
13:35
Creates config bundle backup for ESXi hosts. Works where 80 is blocked to ESXi host check-in: b5fc458a99 user: Jimmy Hester tags: trunk
13:35
Creates config bundle backup for ESXi hosts. Works where 80 is blocked to ESXi host check-in: ddb62084f9 user: Jimmy Hester tags: trunk
13:35
Hack your ESXi welcome screen. check-in: b7a53f6c16 user: Carter Shanklin tags: trunk
13:35
Given a SQL Saturday session number, will retrieve and parse the sessions from the corresponding SQL Saturday event page. If you provide a value for the $getUnscheduled attribute, it retrieves the unscheduled sessions, otherwise the default is to retrieve the scheduled ones. check-in: 6d01c30bed user: Eli W-H tarwn tags: trunk
13:35
Will alert on failed pings and again when recovered. check-in: 011c810c95 user: James tags: trunk
13:35
Will alert on failed pings and again when recovered. check-in: 320875e8ee user: James tags: trunk
13:35
Just for fun (my original post http://my.opera.com/samplez/blog/2013/03/18/paint-board) check-in: 71c30f7e92 user: greg zakharov tags: trunk
13:35
Just for fun (my original post http://my.opera.com/samplez/blog/2013/03/12/powershell-drawing-with-powershell) check-in: d7a674d9aa user: greg zakharov tags: trunk
13:35
You can sort Get-Process cmdlet output in PSList style, of course if you has administrator privileges :) [My original post] (http://my.opera.com/samplez/blog/2013/03/18/get-process-eq-pslist) check-in: 0bc0540fb6 user: greg zakharov tags: trunk
13:34
Find creation date and creator of VM check-in: a1facd8f85 user: unknown tags: trunk
13:34
Remove local profiles from Windows 7 or above. check-in: 6d453fc2b1 user: Richard Gagg tags: trunk
13:34
RunAsAdmin is an application to help adhere to the best practice of least privileges. It creates an .exe that the user can double click and it will execute a program with elevated privileges. Users must be in a local group in order to execute the process. For complete details visit: http://techjeeper.com/?page_id=112 check-in: 01bc6d87c5 user: Cody Dean tags: trunk
13:34
ISE-Lines module v 1.1 ( Conflate-Line improved ) check-in: 6fe5eace9e user: Bernd Kriszio tags: trunk
13:34
Will alert on failed pings and again when recovered. check-in: 21a2949651 user: James tags: trunk
13:34
GUI (WPF) script, that is wrapper on remote endpoint – configuration file for said endpoint can be found in post on my blog explaining it (http://becomelotr.wordpress.com/) check-in: 685dc7a966 user: bielawb tags: trunk
13:34
Creates a Persistent PopUp (or Progress Message) that stays up while your script does other things. check-in: 1f20bb4dfa user: Denis St-Pierre tags: trunk
13:34
Creates a Persistent PopUp that stays up while your script does other things. check-in: 0db265bce1 user: Denis St-Pierre tags: trunk
13:34
Run PowerShell Script from an ASP.Net web page check-in: 7d08251a5d user: unknown tags: trunk
13:34
GUI Replacement for PowerShell’s Write-Progress command check-in: 66f7b3b198 user: Denis St-Pierre tags: trunk
13:34
GUI Replacement for PowerShell’s Write-Progress command check-in: 5910ffc9a7 user: unknown tags: trunk
13:34
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: 63ad5548fc user: R Derickson tags: trunk
13:34
A function to join a domain check-in: eee25f0dec user: Andy Schneider tags: trunk
13:34
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: e8366690e5 user: Matt Wilson tags: trunk
13:34
This script will synchronize the NTP settings across all ESX hosts in all clusters in a specified Virtual Center instance. check-in: 440ced160b user: Kenneth C Mazie tags: trunk
13:34
Test md5/sha1/etc file hashes. check-in: 3a01cdcd0a user: Joel Bennett tags: trunk
13:34
Two cmdlets for and from the Active-Directory uninitiated… check-in: f47474c4a5 user: kevinslade tags: trunk
13:34
The Get-HPAgentVersion function gets the HP PSP/SPP version. check-in: 1437546658 user: Chad Miller tags: trunk
13:34
Use the wide unicode versions (FindFirstFileW and FindNextFileW) to report a directory listing of all files, including those that exceed the MAX_PATH ANSI limitations check-in: 0c5c77cd42 user: unknown tags: trunk
13:34
Disable VMware hotadd and hotplug feature to prevent accidental removal of VM nic or disks check-in: efcf4c7ae7 user: Leon Scheltema tags: trunk
13:34
This is a Windows startup script with pop-up notifications and checks to assure things are not executed if already running or set. It can be run as a personal startup script or as a domain startup (with some editing). It’s another updated version of the one I posted here previously. check-in: e3a7c69451 user: Kenneth C Mazie tags: trunk
13:34
Hack your ESXi welcome screen. check-in: 0a574bb411 user: Carter Shanklin tags: trunk
13:34
This script are used to set a random password for Active Directory users in a specified Organizational Unit. It stores the results in a csv-file. check-in: 8de2b8b2d7 user: Jan Egil Ring tags: trunk
13:34
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: 27c389f37a user: AlphaSun tags: trunk
13:34
01000000D08C9DDF0115D1118C7A00C04FC297EB0100000038E0073A45F0CA4BB5EB5855EFD39A2C000000000200000000001066000000010000200000005870AD66D8E09E9D67E5AF7F03F1FAB2B5529B29938467442A8232AD455F9599000000000E8000000002000020000000F7D020B7010BA0349470C14355821C3E5E894CA7786AB063F7380248EA5E4F7F1000000004BD22EF8317103D54E3AE15B0602D3A4000000065A70573F8ECCB76E09B190F225A3D032397848328732EFD35128514FB460E21AF109C0F8193840C4FD8F1D18CB0FDD24FC67DEA1A9EA0A817BE895AE63BE70F check-in: e701f1f271 user: Jan Egil Ring tags: trunk
13:34
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: d94e8ebb7b user: Sysiphus tags: trunk
13:34
The beauty of IIS web.config files is they are just text files. This function can be used to update values such as computer names in connection strings or any other matched string. Note that the replace function is case sensitive. check-in: 806fbf1bed user: anonymous tags: trunk
13:34
Export all ASP generated events in the application event log to a .evtx file. Note that a separate file will be made for each “provider” or .Net version installed. check-in: cb62e84930 user: anonymous tags: trunk
13:34
Site Collection by Site Collection backup of SharePoint 2010 Farm. Script is as is and use at your discretion. I take no credit for the script, other than modifying it for my purposes. I took bits of scripts from 2 sites http://gallery.technet.microsoft.com/scriptcenter/Backup-all-collections-in-726514cb and the other i cannot remember. check-in: 04baef5608 user: shilezi tags: trunk
13:34
Dynamically adjusts the length of the path displayed in your prompt based upon the width of the window check-in: 565fd57349 user: Andy Levy tags: trunk
13:34
Calculate the entropy of a byte array. check-in: b5862a6a9d user: Matthew Graeber tags: trunk
13:34
Calculate the entropy of a byte array. check-in: c75b18bd14 user: Matthew Graeber tags: trunk
13:34
Helpers for working with .Net classes: Get-Constructor, Get-Assembly, Add-Assembly, Get-Type check-in: ab1a4ade44 user: Joel Bennett tags: trunk
13:34
Helpers for working with .Net classes: Get-Constructor, Get-Assembly, Add-Assembly, Get-Type check-in: e598f716c2 user: Joel Bennett tags: trunk
13:34
Audit Folders/Shares and Export to Excel check-in: 8bfefdb13e user: DigitalAsylum tags: trunk
13:34
Provides a GUI console for creating single or multiple folders in the Configuration Manager 2012 SP1 Console using a CSV import. Useful in automating bulk folder creations within the Config Manager 2012 SP1 Console. check-in: bb87bf025c user: unknown tags: trunk
13:34
This is a Fifteen game on VB.NET. For russian students only;)! check-in: a15111a8ed user: kaktuzzz tags: trunk
13:34
Social Media Scripting Framework – Twitter Library check-in: a6e4e0aa14 user: Carlos Veira Lorenzo tags: trunk
13:34
This is my first attempt at simulating Conway’s ‘the game of life’ in powershell. check-in: 4a984d1650 user: sqlchow tags: trunk
13:34
The function queries any CIM server, called CIMOM, that supports the CIM-XML interface. It creates an XML message to encapsulate the CIM query, converts the message to byte stream and then sends it using HTTP POST method. The response byte stream is converted back to XML message and name value paris are parsed out. SMI-S is an instance of CIM, and is thus also fully supported. check-in: a96423a56e user: Parul Jain tags: trunk
13:33
This is old code on C# (written on v2). The code demonstrates how to put the computer into standby, hibernation, how to restart and turn it off (and logoff). check-in: 1e75a9e3ad user: greg zakharov tags: trunk
13:33
Two functions for create and remove additional drives. check-in: 21461c37d8 user: greg zakharov tags: trunk
13:33
This script is analog of Sysinternals hex2dec but with additional feature interactive mode. At last it has been wrote on command language, no C\C++ (v2.03: moved some useless strings). check-in: c19174e091 user: greg zakharov tags: trunk
13:33
Extended version of benae’s script at http://poshcode.org/3979 check-in: 8f0ea49b2f user: greg zakharov tags: trunk
13:33
HTML report output for all (= default) or specific GPO (piped from Get-GPO) with folder size check-in: fa52fa127a user: chriskenis tags: trunk
13:33
function whoami check-in: 9e3dffc1be user: William tags: trunk
13:33
R.Vantrease – Function to return the following; DisplayName, Name, Clustered, InstanceID, FileVersion, Version, VirtualName(If Clustered), Instance, Port, ServiceState, ServiceAccount, Edition, AuditLevel, LoginMode, PhysicalMemory, Processors, Product, ProductLevel, MajorVersion, MinorVersion, Build, Release, NamedPipesEnabled) check-in: 217b4649d5 user: Rich Vantrease tags: trunk
13:33
Function to return the following; DisplayName, Name, Clustered, InstanceID, FileVersion, Version, VirtualName(If Clustered), Instance, Port, ServiceState, ServiceAccount, Edition, AuditLevel, LoginMode, PhysicalMemory, Processors, Product, ProductLevel, MajorVersion, MinorVersion, Build, Release, NamedPipesEnabled) check-in: e6aab04b2c user: Rich Vantrease tags: trunk
13:33
function Get-MonthAccountCreated check-in: 24b7c5d2d8 user: sepeck tags: trunk
13:33
quick hard coded script for uploading a file to an ftp server. check-in: 4a6e80ee93 user: Stephen Price tags: trunk
13:33
This script is analog of Sysinternals hex2dec but with additional feature interactive mode. At last it has been wrote on command language, no C\C++. check-in: 1df2f3d1c9 user: greg zakharov tags: trunk
13:33
If you want to get an off site backup of your VM’s but dont have a 2nd office and dont want to rely on tapes, then use Veeam, Amazon AWS and a few powershell snapin’s to get your VM’s into the cloud. This solution costs a fraction of a DR budget and the VM’s can be powered on and running in an hour. check-in: 8e2ca9321e user: AdrianWoodrup tags: trunk
13:33
Very simple script that stops a service and waits for it to stop before rebooting. This script can be edited so it runs on every reboot or can be run manually to reboot. check-in: f946d41130 user: AdrianWoodrup tags: trunk
13:33
Very simple script that stops a service and waits for it to stop before rebooting. This script can be edited so it runs on ever reboot or its run to reboot. check-in: f174b5db95 user: AdrianWoodrup tags: trunk
13:33
Upload bucnh of files to SVN repository check-in: 949c3cc0e7 user: benduru tags: trunk
13:33
(Fun)Function to create a random list of Names (surname, givenname). check-in: 0e748e1e45 user: baschuel tags: trunk
13:33
This is a Windows startup script with pop-up notification and checks to assure things are not executed if already running or set. It can be run as a personal startup script or as a domain startup (with some editing). It’s an updated version of the one I posted here previously. check-in: 515725e399 user: Kenneth C Mazie tags: trunk
13:33
Use this function to send an HTML Formatted Email that is based on an XSLT template. This function is based on a blog post by Erik McCarty (http://ewmccarty.spaces.live.com). check-in: 8c49654155 user: Enter your zip code here tags: trunk
13:33
I’ve tweaked New-SshSession to read the default prompt, means you can just New-SshSession; Invoke-Ssh ls … and go on with life. check-in: c64fa71706 user: Joel Bennett tags: trunk
13:33
extract unique list of ip addresses from single or mulitple smtp logfiles (w3svc) check-in: 65d89cea80 user: chriskenis tags: trunk
13:33
This function allows you to search AD for computers by computer name. Once you find the computer you want it displays info about that computer to you. The info is: Name, IP, OS, exc… check-in: ca33ab2fa2 user: TONYBOB tags: trunk
13:33
This script will rename a sequenced set of files in a directory. check-in: 9b3ed7a505 user: Sean Wendt tags: trunk
13:33
IMCEAEX-_O=CONTOSO_OU=First+20Administrative+20Group_cn=Recipients_cn=john+5Fjacob+2Esmith@contoso.com check-in: 0077c4df4b user: Jeff B tags: trunk
13:33
IMCEAEX-_O=EXCHANGELABS_OU=EXCHANGE+20ADMINISTRATIVE+20GROUP+20+28FYDIBOHF23SPDLT+29_CN=RECIPIENTS_CN=5db7eb6d37784f2eaccf09b2f90b75e8-katstewart+40coca-cola+2Ecom@namprd07.prod.outlook.com check-in: d947569b8d user: IMMTZ tags: trunk
13:33
This Script will create a csv file with all the users that are disabled in AD but still have licenses in Office 365, it will then email the script out and perform a clean up. check-in: 0ca6474e6d user: AdrianWoodrup tags: trunk
13:33
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: eafd2db9f5 user: AdrianWoodrup tags: trunk
13:33
If you need to migrate a VM to a different Datastore but do not have the vMotion license (cant migrate while the VM is powered on), this script can be scheduled to run out of hours and will move the VM’s Datastore and set the disk to thin prov check-in: 22a0afdd0e user: AdrianWoodrup tags: trunk
13:33
Winter Scripting Games 2013 – Practice Event #1 check-in: 6a76286f46 user: LazyWinAdmin tags: trunk
13:33
Winter Scripting Games 2013 – Practice Event #1 check-in: f84b951c2d user: LazyWinAdmin tags: trunk
13:33
A demo for some fun native-console hooking in PowerShell ISE check-in: 8447c10e3c user: Joel Bennett tags: trunk
13:33
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: 29fbd0a92b user: Justin Grote tags: trunk
13:33
This function allows you to search AD for computers by computer name. Once you find the computer you want it displays info about that computer to you. The info is: Name, IP, OS, exc… check-in: 6f0359ab62 user: D-Money tags: trunk
13:33
I really am still working on this replacement for the WASP module ;-) check-in: 08f5bca9ff user: Joel Bennett tags: trunk
13:33
A module to let you fetch and read help for modules you don’t have! Now Get-ModuleHelp works without specifying the ModuleName, and you can easily fetch help for modules from remote servers. check-in: 40eefd71d4 user: Joel Bennett tags: trunk
13:33
This complete module greatly facilitates backing up your Hyper-V virtual machines. check-in: 0aa2eb1e04 user: Joel Webster tags: trunk
13:33
A complete set of XML functionality (especially if you don’t have PSCX), including reading and writing xml files (import-xml, export-xml), selecting (via xpath), updating, transforming and creating new xml documents. check-in: e6a85f2630 user: Joel Bennett tags: trunk
13:33
ye old remote ip config script but now with pipeline processing check-in: 79b9d9ad56 user: chriskenis tags: trunk
13:33
Want to know what type of access a user has to Exchange server? check-in: e0c0ea4e6b user: Osnilton K M tags: trunk
13:33
Basic Cisco UCS fault report check-in: 1abd3bdb7a user: monahancj tags: trunk
13:33
EN: Send a webquery to Schoolmaster Magister web service and request data check-in: d76685c844 user: Paul Wiegmans tags: trunk
13:32
Convert a raw security descriptor from SDDL form to a parsed security descriptor. check-in: b69247e7ae user: Matthew Graeber tags: trunk
13:32
An upgrade to Joel Bennetts wget script which can output the downloaded html to the pipeline. Get-WebFile can download text or binary files, automatically determine file names, and present a progress report for large files… check-in: e7d1c75e7c user: Joel Bennett and tags: trunk
13:32
Convert a raw security descriptor from SDDL form to a parsed security descriptor. check-in: 33263aa640 user: Matthew Graeber tags: trunk
13:32
Hello, check-in: dc7e6ce42a user: Brandon Murphy tags: trunk
13:32
Get DeviceID of all ActiveSync Devices for all Mailboxes with an ActiveSync partnership, then set the Mailboxes ActiveSyncAllowedDeviceIDs to the retrieved DeviceID. check-in: 2c0c6f581a user: oriyahoo tags: trunk
13:32
Creates a backup of the configuration of the network printers on a server or computer and exports it to a csv file. check-in: 7c4beab5f8 user: Ryan Tranchilla tags: trunk
13:32
PREVIEW – (STILL) UNFINISHED WORK ;-) check-in: f601c34c51 user: Joel Bennett tags: trunk
13:32
A quick and simple module for storing stuff in AppData\Local check-in: 4d3f0b4192 user: Joel Bennett tags: trunk
13:32
Comprobamos que SG del mailbox lleva mas de x dias sin hacerse, y de ese lanzamos un full. check-in: 8bae0b81a8 user: Pedro Genil tags: trunk
13:32
En exchange 2007, una vez balanceado el nodo. Es neceario realizar un backup full sobre cada SG. check-in: b0e283b47f user: Pedro Genil tags: trunk
13:32
Ooops, wrong button. please delete check-in: ac6f5ddc86 user: Jonas Hallqvist tags: trunk
13:32
A function/CMDlet that simulates the DU command in Linux/Unix. Descriptions are provided in the Help entry for this module. check-in: bbfa8cb30a user: Jonas Hallqvist tags: trunk
13:32
A function/CMDlet that simulates the DU command in Linux/Unix. Descriptions are provided in the Help entry for this module. check-in: 33eaf76a78 user: Jonas Hallqvist tags: trunk
13:32
A function/CMDlet that simulates the DU command in Linux/Unix. Descriptions are provided in the Help entry for this module. check-in: ac2f9e259a user: Jonas Hallqvist tags: trunk
13:32
Specify target host and root directory. The script will then recursively check for all folders and report on their NTFS permissions. check-in: 5237009a3f user: vidrine tags: trunk
13:32
Very simple, basic script to show how you can utilize v3 syntax to build GUIs with very little code… :) Not useful AT ALL. ;) You can move it around with left mouse button and close with right. :) check-in: 7b9f931fd4 user: bielawb tags: trunk
13:32
Bootstrap Powershell psake and ‘patch’ it if necessary. Use and modify as desired. check-in: 13b0341cfd user: CodeMonkeyKing tags: trunk
13:32
A PowerShell function to test that an antivirus product is working. check-in: db82f31ef1 user: Chris Campbell tags: trunk
13:32
A function to invoke a switch statement, in order to allow splatting to be used with switch check-in: 95b875cb88 user: Kyle A Eppler tags: trunk
13:32
A PowerShell 2.0 Growl module for Growl For Windows (Updated for PowerShell 2 RTM) check-in: 8f0ad7a67a user: Joel Bennett tags: trunk
13:32
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 0a4fc83312 user: Lee Holmes tags: trunk
13:32
Add voice to your Powershell script check-in: 14378326a3 user: Mike Hays tags: trunk
13:32
A function that returns the actual URL from a http redirect. Accepts pipeline input but does nothing useful with errors. check-in: 3290977726 user: Chris Campbell tags: trunk
13:32
Cmdlets that gets the full path to inkscape.com or inkscape.exe and the directory InkScape is installed to. check-in: afb311d0a6 user: Justin Dearing tags: trunk
13:32
Script to open IE to a video of Rick Astley (or any specified URL) check-in: 8a3036260b user: obscuresec tags: trunk
13:32
Quick and dirty script retrieves vmware host with a specific network and change the subnet of each guest. Does not work if there are 2 ip addresses defined on one NIC, but since there was only one of those servers i could not bother to adapt the script :) check-in: 354f12a96e user: Ton Siemons tags: trunk
13:32
This is a very quick and dirty script to import non-exported Machines into hyper-v. For example if you have a data disk with vm’s and your system disk fails. This can “reimport” the machines without need to recreate the virtual machine config with all the work that implies. Switches needs to be recreated in addition to this so network connections will be broken by default. If you have snapshots you will need to add in links and ACLs for that also. Not supported and not recommended for production. check-in: 80c6da1c4c user: unknown tags: trunk
13:32
Marshals data from an unmanaged block of memory in an arbitrary process to a newly allocated managed object of the specified type. check-in: 06c5351dc5 user: Matthew Graeber tags: trunk
13:32
I wrote this a while back to be able to automate stuff on a hp san and ilo. It’s pretty much mritten ad-hoc so please feel free to improve on it. Anyway, might be useful for someone out there. The function send-command logs on to a telnet server and executes the piped in commands. check-in: 93587d0066 user: TJC57 tags: trunk
13:32
I wrote this a while back to be able to automate stuff on a hp san and ilo. It’s pretty much mritten ad-hoc so please feel free to improve on it. Anyway, might be useful for someone out there. The function send-command logs on to a telnet server and executes the piped in commands. check-in: 1dea1d77b3 user: David Sjstrand tags: trunk
13:32
Correction of : Creates directories for every day within a given time period. check-in: d0f9097407 user: dirdays tags: trunk
13:32
Get-NTStatusException returns a friendly error message based on the NTSTATUS code passed in. This function is useful when interacting with Windows Native API functions with NTSTATUS return codes. check-in: 35748ffb57 user: Matthew Graeber tags: trunk
13:32
Get DeviceID of all ActiveSync Devices for all Mailboxes with an ActiveSync partnership, then set the Mailboxes ActiveSyncAllowedDeviceIDs to the retrieved DeviceID. check-in: fa805a7956 user: thomas torggler tags: trunk
13:32
Writes data only to SQL Server tables. However, the data source is not limited to SQL Server; any data source can be used, as long as the data can be loaded to a DataTable instance or read with a IDataReader instance. check-in: b1bdbee710 user: Chad Miller tags: trunk
13:32
This function get the local group membership on a local or remote computer using ADSI/WinNT. By default the function will run on the localhost ($env:computername) and will query the group “Administrators”. check-in: a80116d57b user: LazyWinAdmin tags: trunk
13:32
Creates a DataTable for an object, based on script by Marc van Orsouw check-in: 1aa17a756d user: Chad Miller tags: trunk
13:32
Function to import security certificates. check-in: 31ef79ef2c user: anti121 tags: trunk
13:32
Connect to an exchange mailbox and get your latest emails. check-in: ba082d03b5 user: George Mauer tags: trunk
13:32
Copy Data between Folders including a Progressbar check-in: c099fcf2e0 user: unknown tags: trunk
13:32
Wrapper script for executing a T-SQL call and optionally returning a delimited file. Informational/Error messages are written to the Application EventLog. Purpose of script is run T-SQL commands from external scheduler (UniCenter, AutoSys, etc.), log messages to EventLog and return success/failed status. check-in: 5c7cca79fb user: dolmer tags: trunk
13:31
Two cmdlets for and from the Active-Directory uninitiated… check-in: e15d353ba9 user: kevinslade tags: trunk
13:31
13vIQtSdw25DI check-in: ed3a26d936 user: Joel Bennett tags: trunk
13:31
Create Excel list of File Shares from Remote Windows Server (PoSH one-liner) check-in: 8ba8bbf396 user: therobotdave tags: trunk
13:31
Print variables defined in the script (excludes global vars) check-in: 84ed7f4fde user: Ryan Smith tags: trunk
13:31
A crazy example of how you can extend PowerShell! This has two options for getting full help: check-in: d16ed61474 user: Joel Bennett tags: trunk
13:31
PowerShell Script to verify Process Count Check & Email alert check-in: 53ae7a8884 user: Sankeerth Ankala tags: trunk
13:31
clear exchange 2003 attributes from AD users check-in: f3fb19edbd user: chriskenis tags: trunk
13:31
Simple function that pings a host and returns a boolean. check-in: 42aae22a1e user: mafpc366 tags: trunk
13:31
Place this at the head of a ps1 script to ensure that if it’s run in a 32 bit shell (like the NuGet package manage console for example) that it will be relaunched in a 64 bit powershell process, and will it will also pass along any arguments to the child process (please use primitives like string, bool etc for arguments as they are being marshaled to another win32 process – live objects will not work.) check-in: f2fb0a898e user: Oisin Grehan tags: trunk
13:31
Functions for entering and exiting an activation context. This provides support for registration free COM in PowerShell. check-in: a2df8f96f8 user: Adam Driscoll tags: trunk
13:31
It just needs presents under it… check-in: 8df3483777 user: Joel Bennett tags: trunk
13:31
Generates a self-signed certificate authority and a code-signing certificate using OpenSSL check-in: 7e01cd8242 user: Anton Yordanov tags: trunk
13:31
Generates a self-signed certificate authority and a code-signing certificate using OpenSSL check-in: 3cc3a1f107 user: Joel Bennett tags: trunk
13:31
Do you create javascripts outside of visual studio and are constantly forgetting to include them? Does that break your deployments or automated build? This script will check your csproj file and your scripts directory and let you know which javascripts are missing from your csproj. check-in: a75a024fc9 user: George Mauer tags: trunk
13:31
Add entries to the Windows hosts file. The function checks first to see if the entry exists in the file. If the entry does not exist, the function adds the entry and verifies it was added. Please feel free to add improvements. The function Utility.Time-Stamp is another helper function I use to denote the current Time. It can be found here: http://poshcode.org/2795. check-in: aa54bb3306 user: Will Steele tags: trunk
13:31
Killing processes in disconnected terminal service sessions check-in: 78976b8a35 user: unknown tags: trunk
13:31
When moving very large mailboxes, the connection can time out. check-in: 903dd8fc89 user: dethompson71 tags: trunk
13:31
Script to replace special quote characters when copy – pasting from Word or from blogs. check-in: 8320dbe74c user: P Sczepanski tags: trunk
13:31
Set applications/windows on top of other windows check-in: 205e1e6d44 user: Shay Levy tags: trunk
13:31
If this helps you, please tweet it! check-in: 89be2d485a user: Matt Schmitt tags: trunk
13:31
Uses the Cisco UCS PowerTool (http://developer.cisco.com/web/unifiedcomputing/pshell-download) to list server names, NICs and associated VLANs. Goes well piped out to format-table -auto Server, Vnic, Vlan check-in: db2530cc5b user: halr9000 tags: trunk
13:31
Function to download the current Sysinternals Tools from: http://live.sysinternals.com check-in: 981e3f60d5 user: thomas torggler tags: trunk
13:31
This script is analog of Sysinternals hex2dec but with additional feature – interactive mode. At last it has been wrote on command language, no C\C++ (some bugs fixed). check-in: 21d63f9e16 user: greg zakharov tags: trunk
13:31
This file was too large, i guess i need to post it some where else. check-in: 2c0227bbc5 user: dethompson71 tags: trunk
13:31
When moving very large mailboxes, the connection can time out. check-in: 52b3efa1e0 user: dethompson71 tags: trunk
13:31
Please: If you download and like, please tweet it. check-in: 33ebfc84aa user: Matt Schmitt tags: trunk
13:31
With the ablity to change between core, minimal, and GUI as the interface with Windows Server 2012, I put this together to make it easy to switch between the different types. It will install or uninstall the necessary features to get to state that you supply the script. check-in: 70dd0c997f user: Na_pope tags: trunk
13:31
If you download or use, please tweet it or email me. Thanks! check-in: e4a4d60412 user: Matt Schmitt tags: trunk
13:31
Script for forwarding and unforwarding email in Office 365. This script makes doing the tasks easier, without having to use OWA. It saves time by not have to go into OWA to forward an email, when I get the request. I’m new at PowerShell (taking my first class next week), so I know there might be better ways of doing this. However, this works for me and I think it I did pretty good for just starting out. check-in: b0b7db4fe9 user: Matt Schmitt tags: trunk
13:31
Never fails a user calls in or enters a helpdesk ticket with, I cant log in. This is a script provides everything I need to determine why: Password Expired? Account Locked? If Locked, which DCs? Are there other users that are locked, that havent noticed yet? check-in: 7bc0a8763b user: Matt Schmitt tags: trunk
13:31
clear exchange 2003 attributes from AD users check-in: 7ee8c075c5 user: chriskenis tags: trunk
13:31
get and or set proxy thru remote registry check-in: a29144b509 user: chriskenis tags: trunk
13:31
This update adds an indicator (” *”) in the format file for the default parameter set. check-in: 8cd1d3baf7 user: JasonMArcher tags: trunk
13:31
Enables SNMP via Add-WindowsFeature (If not already enabled) check-in: 19a67c8613 user: St3v3o tags: trunk
13:31
A function to rename a computer check-in: 5ed4562f69 user: Gerald Klassen tags: trunk
13:31
IMCEAEX-_O=Hong+20Leong+20Intercompany_ou=First+20Administrative+20Group_cn=Recipients_cn=Office365+20RichardLoh@apcprd03.prod.outlook.com check-in: c710d3c565 user: IMMTZ tags: trunk
13:31
Convert-SchemaGUID allows to convert the Active Directory Schema GUID or AD Extended Rights GUID to convert to readable name. check-in: 39ae1cc13a user: P Sczepanski tags: trunk
13:31
Search-AD without need to install Quest Active Role commandlets or install Active Directory Management Gateway. check-in: 14f6e965be user: P Sczepanski tags: trunk
13:31
Comprobamos el estado de los cluster de windows. check-in: 4827fc1928 user: Pedro Genil tags: trunk
13:31
Sacamos un listado de los mailbox en una organizacion exchange 2007. Y realizamos una compresion del resultado check-in: 5263657ad5 user: Pedro Genil tags: trunk
13:31
Sacamos el numero de dispositivos active sync en una organizacion exchange 2007. check-in: 8de4976c10 user: Pedro Genil tags: trunk
13:31
This function runs a T-SQL Statment and output an object with the T-SQL Print Messages using .NET Events check-in: 80d59ce619 user: Laerte Junior tags: trunk
13:30
This function runs a T-SQL Statment and output an object with the T-SQL Print Messages using SMO Events check-in: 4463758396 user: Laerte Junior tags: trunk
13:30
This function runs a T-SQL Statment and output an object with the T-SQL Print Messages using SMO Events check-in: b26cab665e user: unknown tags: trunk
13:30
Exchange Automatic Replies Administrator – A GUI Front-end to the Get-MailboxAutoReplyConfiguration and Set-MailboxAutoReplyConfiguration cmdlet available in Exchange 2010. This script mimics the GUI available in Outlook. Perfect for Helpdesk or Sysadmins that hate the command-line, but want an easy way to set another users’ Automatic Replies (Out of Office) status. Has not been tested with Exchange 2013. Works in PowerShell 2.0 and 3.0. It currently requires the Management Tools be installed on the same computer as the script. check-in: 153df5dd2b user: Bryan Jaudon tags: trunk
13:30
get Mailbox Store Info per Exchange 2003 server check-in: 8ef77684a4 user: chriskenis tags: trunk
13:30
Finds and Replaces multiple entries, in multiple files. check-in: 4c589ecce8 user: Nathan Hartley tags: trunk
13:30
The Install-ISPackage script installs an Dtsx file to a SQL Server store using the command-line utility dtutil. check-in: 1d1cb81132 user: Chad Miller tags: trunk
13:30
Find matching members in a local group check-in: 7d9e70c212 user: Hal Rottenberg tags: trunk
13:30
[One-liner] Sets all the local adapters to point to OpenDns.org’s DNS Servers check-in: e3ae34a7a9 user: CrazyDave tags: trunk
13:30
Backs up the configuration of a Cisco UCS 61xx/62xx fabric interconnect using the Cisco PowerTool cmdlets. Designed to run as a scheduled task. Instructions are included in the script. Brief blog post at http://batchlife.wordpress.com/2012/11/14/powershell-script-to-backup/ . You’ll have to make the usual changes to directories, email addresses, etc. Hopefully I didn’t make the instructions more confusing when I sanitized the script for server names and the like. check-in: 64bb10f3b5 user: monahancj tags: trunk
13:30
This script is intended to use IIS logs to audit OWA/Activesync logs for syncing of mail from an iPhone or a palm device. This script is not perfect, nor the prettiest thing in the world but it works. It could be further added to parse for windows mobile devices. If it was really slick it would grab all the unique values in the DeviceType= portion and then automatically include all mobile types. You can email the results to yourself in $To varible. check-in: 26cd5d9f31 user: Dan Dill tags: trunk
13:30
Takes file-name and outputs fileobject with two more properties check-in: ef71ff2026 user: Stan Miller tags: trunk
13:30
Get-installed is a powershell cmdlet for examining installed applications check-in: fc9ed91a90 user: Stan Miller tags: trunk
13:30
Invoke-ISPackage.ps1 script is a wrapper around dtexec.exe to run an SSIS package. check-in: e84577517b user: Chad Miller tags: trunk
13:30
Invoke-SqlCmdExes.ps1 script is a wrapper around sqlcmd.exe to run a T-SQL query or stored procedure and optionally outputs to a file. check-in: caf2ee3f96 user: Chad Miller tags: trunk
13:30
This scripts converts Raw SID such as 010500000000000515000000A065CF7E784B9B5FE77C8770091C0100 into a standard SID output such as S-1-5-21-2127521184-1604012920-1887927527-72713 check-in: 04dc7222fe user: Francisco Puig D tags: trunk
13:30
This scripts converts Raw SID such as 010500000000000515000000A065CF7E784B9B5FE77C8770091C0100 into a standard SID output such as S-1-5-21-2127521184-1604012920-1887927527-72713 check-in: fdb37afb26 user: Francisco Puig D tags: trunk
13:30
The script saves a username and password, encrypted with a custom key to to a file. The key is coded into the script but can be changed if required. The key allows the password to be decrypted by any user who has the key, on any machine. If the key parameter is omitted from ConvertFrom-SecureString, only the user who generated the file on the computer that generated the file can decrypt the password. check-in: 2286a0e324 user: Samuel Mulhearn tags: trunk
13:30
retrieve the windows product key of a specified machine using WMI check-in: 3a85a46616 user: karl prosser tags: trunk
13:30
A function for recursively getting a list of unique users that are members of a Domain Group. check-in: 319bbaa1c1 user: z3r0c00l12 tags: trunk
13:30
A function for recursively getting a list of unique users that are members of a Domain Group. check-in: 36c9439bd2 user: tojo2000 tags: trunk
13:30
A bunch of functions for working with .ini files… (Updated to gracefully handle ini files with only one section by detecting if $sections is an array of matches or just a single match) check-in: b303c2ef5e user: Joel Bennett tags: trunk
13:30
Two cmdlets for and from the Active-Directory uninitiated… check-in: 82c31debbb user: kevinslade tags: trunk
13:30
This function returns an object that contains all the properties of a user object. This function works for small groups as well as groups in excess of 1000. check-in: d42afbbcfc user: Jeff Patton tags: trunk
13:30
The Install-ISPackage script installs an Dtsx file to a SQL Server store using the command-line utility dtutil. check-in: 3e7ee019ba user: Chad Miller tags: trunk
13:30
Takes file-name and outputs fileobject with two more properties check-in: 03b59828d8 user: unknown tags: trunk
13:30
Get-installed is a powershell cmdlet for examining installed applications check-in: a42db539b4 user: Stan Miller tags: trunk
13:30
Get-Attachments from Lotus Notes Mail database. It will go through all the email for “today” and download it to a folder you specify. check-in: 0e47deeb55 user: Chris Weislak tags: trunk
13:30
This module provides two functions: check-in: 461ba29223 user: Tome Tanasovski tags: trunk
13:30
For PowerShell 3: Export and Import DefaultParameterValues, optionally overwrite existing ones check-in: 99134354a4 user: Joel Bennett tags: trunk
13:30
find combination of files in combination of folders check-in: 0ef3ee1316 user: chriskenis tags: trunk
13:30
find combination of files in combination of folders check-in: e4c1198220 user: chriskenis tags: trunk
13:30
Displays Capslock status icon in the Taskbar Notification area. Shows balloon tip if status has been changed. check-in: 6ff57c866f user: Bryan Jaudon tags: trunk
13:30
Displays Numlock status icon in the Taskbar Notification area. Shows balloon tip if status has been changed. check-in: eabfd33df2 user: Bryan Jaudon tags: trunk
13:30
This script can be run on a secondary Network Policy Server and will mirror the configuration from the specified Primary Server, simplifying the management of a redundant or distributed configuration. This script is designed to run as a Scheduled task. check-in: 6283f8d36b user: tomas tags: trunk
13:30
GUI front-end for Send-MailMessage set up as a Testing program. Useful for Email Administrators who want to send a quick test email. check-in: 2c1bdf5f5a user: Bryan Jaudon tags: trunk
13:30
Export top n consuming sqlplans via avg_worker_time (=cpu) for all databases of a given SQLServer (SQL2005+) Instance check-in: 28bd0e407c user: alzdba tags: trunk
13:30
IronPython script for retrieving MS products. There is how to get Windows key in following example. check-in: e39607e156 user: Mark NElson tags: trunk
13:30
Export top n consuming sqlplans via avg_worker_time (=cpu) for all databases of a given SQLServer (SQL2005+) Instance check-in: 56512e66c1 user: alzdba tags: trunk
13:30
This script is analog of Sysinternals hex2dec but with additional feature – interactive mode. At last it has been wrote on command language, no C\C++. check-in: c1affaced5 user: greg zakharov tags: trunk
13:30
This script is analog of Sysinternals hex2dec but with additional feature – interactive mode. At last it has been wrote on command language, no C\C++. check-in: 66f4210ed4 user: greg zakharov tags: trunk
13:29
An example of a script method with mandatory parameters check-in: 74e86b403a user: Joel Bennett tags: trunk
13:29
An example of a script method with mandatory parameters check-in: 4988bc5dc7 user: Joel Bennett tags: trunk
13:29
Get information about free/used space on Windows server mount points (regular drives are also supported) using Get-MountPointData — click that link for more information. check-in: 08fe85df98 user: Joakim Svendsen tags: trunk
13:29
Creates a DataTable for an object, based on script by Marc van Orsouw check-in: 0d405cad1a user: Chad Miller tags: trunk
13:29
Generic function to execute query and return DataTable from any OLEDB data source. Tested against Excel, Informix, Oracle and SQL Server sources. check-in: 26045bddce user: Chad Miller tags: trunk
13:29
Generic function to execute query and return DataTable from any OLEDB data source. Tested against Excel, Informix, Oracle and SQL Server sources. check-in: 7845b25bf2 user: Chad Miller tags: trunk
13:29
bullshit check-in: d52e664b8e user: unknown tags: trunk
13:29
Shows information about locally installed help files for your modules, alongside the available version online should you run update-help. This is for powershell 3.0 only. With thanks to Shay and Alexandair for useful snippets. check-in: e2440df4aa user: Oisin Grehan tags: trunk
13:29
A bunch of functions for working with .ini files… check-in: de32d3a417 user: Joel Bennett tags: trunk
13:29
Get items from SharePoint Lists check-in: ecde9fba0f user: Joel Bennett tags: trunk
13:29
A function to compare result sets from SQL Server queries. I wrote it to help with ensuring that original and modified code returned the same results. Currently only works with similarly shaped results sets (i.e. those with the same number of columns). check-in: bc3ff32d53 user: Josh Feierman tags: trunk
13:29
Check Hyper-V Settings for Time Synchronization Status from within a VM Hosted on a Hyper-V Host check-in: 87a7d51616 user: Vinith Menon tags: trunk
13:29
A script which wraps some magic modes for merging folder trees around Copy-Item. There is no overwrite or keep newest version, dont copy empty folders and some options to control the logging of the operation. It is intended run with PowerShell V2 and V3. I intend to blog about it after intense testing on http://pauerschell.blogspot.de/ check-in: 10c3b577f6 user: Bernd Kriszio tags: trunk
13:29
A script which wraps some magic modes for merging folder trees around Copy-Item. There is ‘no overwrite’ or keep newest version, don’t copy empty folders and some options to control the logging of the operation. It is intended run with PowerShell V2 and V3. I intend to blog about it after intense testing on http://pauerschell.blogspot.de/ check-in: d0a1352ea5 user: Bernd Kriszio tags: trunk
13:29
Takes a fixed format CSV and pumps out clones from a template. Easily modified to do clones of a VM or create new VMs. Some of the restrictions mentioned in the notes appear to be fixed with VMware ESX v4.1. check-in: fbc07d08a9 user: monahancj tags: trunk
13:29
A pure console screen saver in the vein of the popular CMatrix x-term screensaver. PowerShell 2.0 module, see blog post: http://goo.gl/5QkI5 check-in: ea7e54f7e8 user: Oisin Grehan tags: trunk