PoshCode Archive  Timeline

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

1061 check-ins using file Start-Encryption.ps1 version acfe734856

2018-06-10
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
13:29
Gathers data from Exchange mailbox servers. check-in: 23ba8313db user: Karl Mitschke tags: trunk
13:29
Simple script to bulk-create printers on a print-server. Printers are imported from a csv-file. check-in: 59610dd12a user: Jan Egil Ring tags: trunk
13:29
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: 06130444a6 user: Boe Prox tags: trunk
13:29
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: b361446c1f user: Trevor Wilson tags: trunk
13:29
#Ty Lopes – Calgary – Oct 2012 check-in: be72d2dda1 user: Ty Lopes tags: trunk
13:29
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: 7ff0fcca73 user: Nigel Stuke tags: trunk
13:29
Writes log files in a System Center format, readable by Trace32. I haven’t yet tested functionality with CMTrace, but based on what I can find, it should work. check-in: 7f2003e53c user: John Bruckler tags: trunk
13:29
Its about time I added something to this site instead of leaching all of the great scripts. check-in: 1acc262ee5 user: Ty Lopes tags: trunk
13:29
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: fa3c1abee5 user: roger tags: trunk
13:29
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: 5407dd4c39 user: Nigel Stuke tags: trunk
13:29
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: fc6d1fd882 user: S-1-5-21-2398571 tags: trunk
13:29
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: 6c1403f7da user: S-1-5-21-2398571 tags: trunk
13:29
Inverts the mouse wheel scrolling in Windows (to match the way it works in OS X) check-in: 1e20d778f6 user: Joel Bennett tags: trunk
13:29
The Split-Job function provides easy multithreading at the command line or in a script. It was created from a system administrator’s point of view and is compatible with PS v1. Supports importing functions, variables and snapins. For history and background please visit http://www.jansveld.net/powershell. check-in: 9befcf55f0 user: Stephen Mills tags: trunk
13:29
Enumerate users of a given local group. Uses WMI. Outputs strings, sorry about that. check-in: 555bc2d1b6 user: Carter Shanklin tags: trunk
13:29
Gathers and sorts all of the service profile associations for a list of UCS clusters. Very handy for scanning growing UCS environments for all of your associations. check-in: 043ca8ab1a user: Josh Atwell tags: trunk
13:29
Function will combine common .CSV files into one large file. CSV files expect to have same header. check-in: d508e57cb4 user: Josh Atwell tags: trunk
13:29
validate cmdlet and function check-in: a306414d20 user: Walid Toumi tags: trunk
13:29
Functions to view/enable/disable LDAP query logging on a DC and parse eventlog message from logged queries. check-in: 9eab1ff081 user: Patrick Sczepanski tags: trunk
13:29
Functions to view/enable/disable LDAP query logging on a DC and parse eventlog message from logged queries. check-in: 9e30e7fb17 user: Patrick Sczepanski tags: trunk
13:29
I wrote this scrip to find and zip database trace files. There are switch parameters to search subdirectories recursively as well as removing the original trace file. check-in: a2f13573dc user: Kevin Bullen tags: trunk
13:29
Use of export-csv -Append check-in: 1893f17544 user: unknown tags: trunk
13:29
quick hard coded script for uploading a file to an ftp server. check-in: 9dfdb300d0 user: Stephen Price tags: trunk
13:29
Ever wonder what kind of chassis your computer thinks it’s running on? Have a need to know if you’re RDP’d into a physical or virtual system? This script can probably answer the question for you. This script was adapted to PowerShell from a VBScript I’ve had for a while. It uses WMI to determine the Chassis type and translates the reported numerical code into decipherable text. – Thought i would rewrite this code using the switch function rather than elseif. Easier to read and less code to write. check-in: c8b468eb6d user: Owen08 tags: trunk
13:29
I needed to deploy some DLLs to patch a program. This will copy files to a computer and log it in excel. The logging is the only weak link in this script because it uses the credentials of what ever user is running the script. I even included a backout function in the event you need to revert your changes. check-in: d35d31f137 user: HughS tags: trunk
13:28
Test-Port creates a TCP connection to specified port. By default it connects to port 135 with a timeout of 3secs. check-in: 3eaa64d1e9 user: BSonPosh tags: trunk
13:28
Test-Port creates a TCP connection to specified port. By default it connects to port 135 with a timeout of 3secs. check-in: 3ee247e3b5 user: BSonPosh tags: trunk
13:28
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: 40bb918380 user: Daniel Srlv tags: trunk
13:28
Hello, check-in: 84664cf181 user: Brandon Murphy tags: trunk
13:28
Provides same functionality as cliconfg.exe GUI. Although there is a WMI provider to add client network aliases, the differences between SQL version make it diffult to use. This method creates the registry key. check-in: 8365332841 user: Chad Miller tags: trunk
13:28
Quickly convert a .NET type’s static methods into functions. (bugfix update: $type.Name -> $type.FullName) check-in: 15cfef6a99 user: Oisin Grehan tags: trunk
13:28
copy, clean and dedup DNS zones, working code, check-in: 2687b81a39 user: chriskenis tags: trunk
13:28
copy, clean and dedup DNS zones, working code, check-in: 9a58bd630b user: chriskenis tags: trunk
13:28
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: 24cc8a3de2 user: halr9000 tags: trunk
13:28
Quickly convert a .NET type’s static methods into functions. check-in: ac4d3996c9 user: Oisin Grehan tags: trunk
13:28
Trim working set for a PID. check-in: 597db2ff55 user: SunnyChakraborty tags: trunk
13:28
Report-RecipientCounts.ps1 check-in: 97d21c7260 user: dethompson71 tags: trunk
13:28
Queries the Dell Website for a list of service tags and returns the warranty information as a custom object. check-in: a1fea14f3e user: jasser tags: trunk
13:28
Queries the Dell Website for a list of service tags and returns the warranty information as a custom object. check-in: 8843904c8e user: jgrote tags: trunk
13:28
Find matching members in a local group check-in: 99402f52da user: Hal Rottenberg tags: trunk
13:28
This script removes all existing permissions and assigns the appropriate domain permissions. Also the Owner is set to BUILTIN\Administrators check-in: 8111debbb4 user: Littlegun tags: trunk
13:28
Completely redoes Home Directory Perms check-in: 9687c8b381 user: Littlegun tags: trunk
13:28
Checks all Exchange Queues in an Organization check-in: e782ebaf66 user: Littlegun tags: trunk
13:28
This script checks services on Exchange Servers and restarts them if needed. check-in: 2e557b8b9e user: Littlegun tags: trunk
13:28
A few helper functions for generating some random data (in some specific formats/types) check-in: 5d08cddd6e user: CrazyDave tags: trunk
13:28
Improved version of http://poshcode.org/2352. Nobody seems to know how that should be used. See also MSDN for FindPrivateKey documentation. check-in: 4cd367d5a9 user: HQJaTu tags: trunk
13:28
The kitchen timer with a kitchen sink -full of features check-in: 0931e661d0 user: Joel Bennett tags: trunk
13:28
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: 9f1b4e7c01 user: Boe Prox tags: trunk
13:28
A script for creating clones of one or more svn repositories. It can only clone multiple repositories if they only differ by one substring (e.g. they all are svn repos on google code, sourceforge, codeplex, or some other forge.) check-in: abaf38da37 user: Justin Dearing tags: trunk
13:28
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: 10421cf32d user: Joel Bennett tags: trunk
13:28
viewAllTemplate.ps1 check-in: 31dde5f63e user: brodobrey tags: trunk
13:28
createSiteFromTemplate.ps1 check-in: 046f32d9a7 user: brodobrey tags: trunk
13:28
tst.ps1 check-in: 3b705f42b6 user: brodobrey tags: trunk
13:28
CreateSite_tmp.ps1 check-in: 67f268956f user: brodobrey tags: trunk
13:28
Disable-SSLValidation is built as a workaround for Invoke-WebRequest errors when attempting to get content from a site using a self-signed SSL certificate. check-in: 5cb40bb314 user: Matthew Graeber tags: trunk
13:28
This is a script which I have used to prepare my lab environment with Hyper-V 3.0. I have updated the script after upgrading my test machines to Windows Server 2012 RTM last night. (9/5/2012) check-in: eb28ea6752 user: Huajun Gu tags: trunk
13:28
This is a script which I have used to prepare my lab environment with Hyper-V 3.0. I have updated the script after upgrading my test machines to Windows Server 2012 RTM. The example shows how to create a virtual machine on a remote Hyper-V server. check-in: 8b7cf1a8d8 user: Huajun Gu tags: trunk
13:28
This is a script which I have used to prepare my lab environment with Hyper-V 3.0. I have updated the script after upgrading my test machines to Windows Server 2012 RTM. The example shows how to create a virtual machine on a remote Hyper-V server. check-in: ae1afec0b2 user: Huajun Gu tags: trunk
13:28
This function performs an ROBOCOPY command with the well known parameters `Source`, `Target`, `Files` and `Optinos`. The ROBOCOPY result is converted to a easy to read PSObject. check-in: 955339d76f user: Claudio Spizzi tags: trunk
13:28
Disable-SSLValidation is built as a workaround for Invoke-WebRequest errors when attempting to get content from a site using a self-signed SSL certificate. check-in: bbf1a0f8a6 user: Matthew Graeber tags: trunk
13:28
Retrieves from a list of SamAccountName (txtfile) the accounts that are disabled in a forest. check-in: 85a9016cf7 user: Cisco tags: trunk
13:28
A function to set an IP Address check-in: 06130613db user: Robert tags: trunk
13:28
A function to set an IP Address check-in: cc4661a6f6 user: Robert tags: trunk
13:28
Script courtesy of Jaykul, I’m just reposting. This script will decode the passwords for all accounts in the Psi profile labeled “default”. check-in: fdc189f288 user: jvarga tags: trunk
13:28
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: 55eb9b9502 user: Boe Prox tags: trunk
13:28
Uses cdb.exe from the Debugging Tools for Windows to create a sample-based check-in: e653c203fa user: Lee Holmes tags: trunk
13:28
The script takes about 100 counter paths, and pushes the raw value to a mongo database. check-in: a04c0d0ad0 user: SunnyChakraborty tags: trunk
13:27
Insert event logs to mongodb. check-in: 574d149d86 user: SunnyChakraborty tags: trunk
13:27
This function creates or updates a combined Startmenu folder, which you can attach to you toolbar (cf. http://www.howtogeek.com/107711/how-to-get-the-classic-start-menu-back-in-windows-8/) or my blog http://pauerschell.blogspot.de/ check-in: 1c1f43e054 user: Bernd Kriszio tags: trunk
13:27
Finds the datastore within a cluster with the most free space. check-in: 4f595f5059 user: monahancj tags: trunk
13:27
This script takes a list of Active Directory security group membership from XML, checks a baseline, and emails results. Code can be taken from this to create the baseline XML as well. Thanks to A.Metzger for fixing empty group membership bug. check-in: 95f5ba38d2 user: Steve Jarvi tags: trunk
13:27
Report on all email addresses per mailbox. Optionally remove regex matched addresses. Add any custom address thru parsing any prefix in the loop of SMTP domains. check-in: 80f40ccd4d user: chriskenis tags: trunk
13:27
Add new smtp address from csv and set new address primary check-in: bcdee50046 user: Ermias tags: trunk
13:27
This script is called from a scheduled task running under an account with the recipient role. Gets identities from a distribution group in AD, here named xc2010move but it can be anything you like. This way anyone with permissions to add users to this group can initialize a migration and with the right permissions users can even add themselves to this group (add\remove Self as member). check-in: 42e7189f23 user: chriskenis tags: trunk
13:27
This function/script monitors the size of a file and all of its sub-directories. It can also monitor one specific file but the user must specifiy the exact path in that case. Usefull for making sure that disk space on a server doesn’t fill up unexpectedly. check-in: 8248ea8d09 user: Paul Kiri tags: trunk
13:27
Find matching members in a local group check-in: 54aab29100 user: Hal Rottenberg tags: trunk
13:27
Find matching members in a local group check-in: c2e19ff594 user: Hal Rottenberg tags: trunk
13:27
Rewrite of http://poshcode.org/3460. check-in: b04b1e0acf user: Jules_74 tags: trunk
13:27
a function to batch import Exchange 2010 GAL photos… find the related post on ntsystems.it: http://www.ntsystems.it/post.aspx?id=e28854e0-e628-4fc7-850b-83d0458d9ab7 check-in: 1db9955228 user: thomas torggler tags: trunk
13:27
Rewrite of http://poshcode.org/3460. check-in: 7a7e02277c user: Jules_74 tags: trunk
13:27
DHCP Failover/Watchdog script. check-in: 10bace1eaa user: vocatus tags: trunk
13:27
Creates a DataTable for an object, based on script by Marc van Orsouw check-in: 3c0f6b194a user: Chad Miller tags: trunk
13:27
this script is called from a scheduled task running under an account with the recipient role check-in: 936c28d3d8 user: chriskenis tags: trunk
13:27
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: 60d18e914d user: Joel Bennett tags: trunk
13:27
This is a VERY simple Powershell Function to test if the SCCM 2007 Agent is installed on a machine or not. check-in: a59be25842 user: Sean Kearney tags: trunk
13:27
A function to facilitate use of background runspaces in Powershell. check-in: 95db35bd32 user: Josh Feierman tags: trunk
13:27
This clock is digital. No fancy sweeping movements and animations here, but you do get to see the date and day of the week, and you can easily play with fonts and colors to suit your desktop … check-in: a4719dea5a user: Joel Bennett tags: trunk
13:27
This is a sample profile to explain profiles on my blog. Please check out: http://www.ntsystems.it/post/My-PowerShell-Profile.aspx if you have any idea/hint/question check-in: d5e08d4017 user: thomas torggler tags: trunk
13:27
A ShowUI function for generating Mailboxes with a quick form check-in: e4a89f4b73 user: Joel Bennett tags: trunk
13:27
a WMI driven script to set IP Configuration from remote check-in: 6525a51b0d user: chriskenis tags: trunk
13:27
user home drive migration script (in progress but nearly complete) check-in: 414158ae99 user: chriskenis tags: trunk
13:27
user home drive migration script (in progress but nearly complete) check-in: cbb0bd56d9 user: chriskenis tags: trunk
13:27
Invoke the specified command (with parameters) in cmd.exe, and import any environment variable changes back to PowerShell check-in: fb117a5b7b user: Joel Bennett tags: trunk
13:27
ConvertFrom-PropertyString 3.0 can convert ini files, property files, and other flat key-value data strings into PSObjects. check-in: e39fed5cfe user: Joel Bennett tags: trunk
13:27
IronPython script for retrieving MS products. There is how to get Windows key in following example. check-in: f9cb97bacb user: greg zakharov tags: trunk
13:27
a WMI driven script to set IP Configuration from remote check-in: 94edb2936f user: chriskenis tags: trunk
13:27
Content of the Get-PingStatus-Help.xml file uploaded for Kirk for troubleshooting reasons check-in: f69afba9b0 user: Andreas tags: trunk
13:27
Add directory to Environment PATH variable permanently. Apply changes immediately without requiring reboot. check-in: a5c69e2866 user: mnaoumov tags: trunk
13:27
Creates a SQL Server table from a DataTable using SMO. check-in: 9a2be276e7 user: Chad Miller tags: trunk
13:27
Creates a DataTable for an object, based on script by Marc van Orsouw check-in: 671bc3e861 user: Chad Miller tags: trunk
13:27
Hello check-in: fac0114a95 user: Brandon Murphy tags: trunk
13:27
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: 84cc739e6d user: Joel Bennett tags: trunk
13:27
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: a23c0d575a user: Joel Bennett tags: trunk
13:27
This code allows for the secure storing of an active directory password and then using it for connecting to exchange or active directory. This snippet will prompt the administrator for a username only, collect the password from the securely stored file, and then assemble a powershell credential object for use. check-in: bc818c1049 user: Lubinski tags: trunk
13:27
This code allows for the secure storing of an active directory password and then using it for connecting to exchange or active directory. This snippet will prompt the administrator for a username only, collect the password from the securely stored file, and then assemble a powershell credential object for use. check-in: 6dd5ad9bd6 user: Lubinski tags: trunk
13:27
Calculates the Gregorian Easter date for a given year. check-in: edcaaf78f8 user: michaelvdnest tags: trunk
13:27
Calculates the Julian Easter date in the Julian calendar for a given year. check-in: 5471048556 user: michaelvdnest tags: trunk
13:27
Requires mGet-DatastoreList.ps1 check-in: 57dbd74b9a user: monahancj tags: trunk
13:27
A version of the VMware Get-Datastore cmdlet that filters out datastore we don’t want to put VMs on. It filters by type of datastore and our naming conventions for the datastore naming indicating what kind of data is on the datastore. Line 9 will have to be updated for your own environment. check-in: efee04ebc2 user: monahancj tags: trunk
13:26
Function to import security certificates. check-in: 9f4f5a5f66 user: anti121 tags: trunk
13:26
Function to import security certificates. check-in: c36d638731 user: anti121 tags: trunk
13:26
Compare the ACLs for two users for a folder tree check-in: dd0d96baa9 user: Joel Bennett tags: trunk
13:26
IMCEAEX-_O=CONTOSO_OU=First+20Administrative+20Group_cn=Recipients_cn=john+5Fjacob+2Esmith@contoso.com check-in: e189cb9f10 user: Test1 tags: trunk
13:26
Print the hostname of the system. Complete with v2 comment-based help, but works fine on v1. check-in: 4c784d478c user: halr9000 tags: trunk
13:26
Performs a binary rotate right operation on an unsigned 32 or 64-bit value. check-in: 1bfed5b501 user: Matthew Graeber tags: trunk
13:26
Simple script to bulk-create printers on a print-server. Printers are imported from a csv-file. check-in: 8ab8c5bdf3 user: navadavuluri tags: trunk
13:26
The script requires an input file, supplied as an argument to the script. The first line of this file contains an email address, subsequent lines contain VM names, one per line. The script connects to vCenter, queries for given performance stats (get-stat) and then generates a HTML report, which is then emailed to the recipient. The script can be scheduled via scheduled tasks (when supplied with a credential file for vCenter created with http://poshcode.org/3487) or run interactively. check-in: f11dee136d user: Samuel Mulhearn tags: trunk
13:26
Get DeviceID of all ActiveSync Devices for all Mailboxes with an ActiveSync partnership, then set the Mailboxes ActiveSyncAllowedDeviceIDs to the retrieved DeviceID. check-in: 59784c7271 user: thomas torggler tags: trunk
13:26
Get DeviceID of all ActiveSync Devices for all Mailboxes with an ActiveSync partnership, then set the Mailboxes ActiveSyncAllowedDeviceIDs to the retrieved DeviceID. check-in: 0023bf94e6 user: thomas torggler tags: trunk
13:26
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: 388cd2cdc9 user: Bernd Kriszio tags: trunk
13:26
Script for total resize of all pictures in one or multiple directories. check-in: ac82becfa1 user: Oleg Medvedev tags: trunk
13:26
**Modified line 49 to output the log information in tab delimited format for export to a CSV file. check-in: e61ad5494b user: Pat Richard tags: trunk
13:26
Quest – Dynamic Group 005 – Convert Normal Group to a Dynamic Group check-in: 7bdfca1c37 user: Vidrine tags: trunk
13:26
Quest – Dynamic Group 004 – Display a Dynamic Group’s Queries (membership rules) check-in: 7438fc5391 user: Vidrine tags: trunk
13:26
Quest – Dynamic Group 003 – Modify a Query (membership rule) in a Dynamic Group check-in: f3181b36da user: Vidrine tags: trunk
13:26
Quest – Dynamic Group 002 – Add a Query (membership rule) to a Dynamic Group check-in: 870b15f4f5 user: Vidrine tags: trunk
13:26
Quest – Dynamic Group 001 – Convert Normal Group to a Dynamic Group check-in: 2904e00e3d user: Vidrine tags: trunk
13:26
This script takes a list of Active Directory security group membership from XML, checks a baseline, and emails results. Code can be taken from this to create the baseline XML as well. Thanks to Koldkutspecial for fixing empty group membership bug. check-in: 186c23d9ce user: Steve Jarvi tags: trunk
13:26
The function hex2sid will convert HEX-represented SID string like 010500000000000515000000358A021A75B9755407E53B2B1EF10108 to SID string (also known as SSDL) check-in: f9dc73f554 user: Dormidont tags: trunk
13:26
The script requires an input file, supplied as an argument to the script. The first line of this file contains an email address, subsequent lines contain VM names, one per line. The script connects to vCenter, queries for given performance stats (get-stat) and then generates a HTML report, which is then emailed to the recipient. The script can be scheduled via scheduled tasks (when supplied with a credential file for vCenter created with http://poshcode.org/3487) or run interactively. check-in: e969913d92 user: Samuel Mulhearn tags: trunk
13:26
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: 4d24959588 user: Samuel Mulhearn tags: trunk
13:26
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: 4079a44a52 user: Samuel Mulhearn tags: trunk
13:26
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: 527f097916 user: Samuel Mulhearn tags: trunk
13:26
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: c627d3e4c1 user: Samuel Mulhearn tags: trunk
13:26
This script will disable all Active Directory User accounts that have not logged in within the number of days specified by the $NumDays variable. All accounts that are disabled are logged in the “Disabled-User-Accounts.log” file created in the local directory. The formatting of the log file is very basic, but effective. check-in: 3fc6b8ff78 user: AlphaSun tags: trunk
13:26
A function to set an IP Address check-in: d5ae11d894 user: Andy Schneider tags: trunk
13:26
This function is prepared for Hyper-V 3.0 since we don’t have a native cmdlet in the module. check-in: ad7e23bc4b user: Huajun Gu tags: trunk
13:26
Gets stuff from SharePoint lists and turns it into objects. check-in: 774196cef6 user: Joel Bennett tags: trunk
13:26
A quick little script to get members of a Distribution Group to sync with MailChimp instead of using Active Directory. check-in: 8932cff6db user: Tozzi June 2012 tags: trunk
13:26
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 0523156306 user: Lee Holmes tags: trunk
13:26
My replacement of Copy-Item addresses 3 problems. 1) if $dest doesn’t exist, it creates a directory 2) $exclude works on all levels 3) It handles wildcards in $src (in the filepart, this extends the solution to 2) in http://stackoverflow.com/questions/731752/exclude-list-in-powershell-copy-item-does-not-appear-to-be-working. Wildcards in the directory part of $dest are supported, but I do not recommend this use. This is a workaround for my personal needs, it does not try to use include. Note this solves the defect of Get-Childitem which doesn’t return the relative path and the object simultaneously in case of wildcards in $path. check-in: d6d2ebe7d5 user: Bernd Kriszio tags: trunk
13:26
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: 25427a51c1 user: malay tags: trunk
13:26
Check if PowerShell version 3 or higher is installed check-in: e8ffec08a6 user: Adam Mendoza tags: trunk
13:26
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: 0ea7298389 user: Joel Bennett tags: trunk
13:26
A script to help you figure out what scope you are in “right now” (you have to always call it like: . Get-Scope $MyInvocation) check-in: 50f1d3fd5c user: Joel Bennett tags: trunk
13:26
The Get-NistNtpServer function retrieves the list of NIST NTP server names, IP addresses, locations, and status. check-in: 156d150312 user: Rich Kusak tags: trunk
13:26
This module provides 3 Cmdlets : Get-Route, Add-Route and Remove-Route. check-in: 3af921fec3 user: fdibot tags: trunk
13:26
Just a short function I wrote based on FTP Upload and download examples. Requires and absolute path to the file on the FTP server that you wish to remove i.e. ftp://ftp.someserver.com/filetodelete.txt check-in: 7dc1ce171a user: xandertrystin tags: trunk
13:26
PowerShell 3 Script to call a Jira REST Service. Does HTTP BASIC Pre-Authentication (a plain Invoke-RestMethod does not work) check-in: 4bfd364cf7 user: Markus Essl tags: trunk
13:26
PowerShell 3 Script to call a Jira REST Service. Does HTTP BASIC Pre-Authentication (a plain Invoke-RestMethod does not work) check-in: ec6b68d90e user: unknown tags: trunk
13:26
Returns AD group membership, including nested groupmembership (excluding circular nested groups). check-in: 4cd8841824 user: Jules_74 tags: trunk
13:25
A function to be called by ISE AddOnMenu to move files to other tabs (runspaces) check-in: 8819e7ad33 user: Bernd Kriszio tags: trunk
13:25
Simple script to backup DHCP settings and config to a DFS Share. This is coded for an AD Environment that has 1 DHCP on a Domain Controller per Site. It is very easily customized and has very basic error handling. In the case of a DC failure and no System State was backed up, you can get a site up and running atleast. check-in: 5f283a3035 user: VulcanX tags: trunk
13:25
Sorry, new to poshcode, I found Joels’ blog and wanted to point out that shifting by 0 bits is not supported by the function, its the pipelin logic handlign at fault really. check-in: 46b05e6335 user: Joel Bennett tags: trunk
13:25
This will allow you to create a log to a file share of AD logins. This creates two files one based on logins to the computer, and the other is based on the username. check-in: 4b663721ae user: Alan Oakland tags: trunk
13:25
Remove duplicate Notes from Outlook. I had many duplicate notes after a bad sync with my smartphone. This removed them. check-in: 4570bc05ea user: MichaelJ tags: trunk
13:25
Use this to view VM that have been decommissioned and turned off for more than 2 weeks so that they can be deleted. check-in: c6a0342d38 user: Clint Jones tags: trunk
13:25
A function to test a user’s credentials. Return true/false. Works for local or domain user accounts. check-in: 39baccd671 user: Andy Arismendi tags: trunk
13:25
Modeled after SQL Server 2008 Invoke-Sqlcmd, but fixes bug in QueryTimeout, and allows for paramaterized queries. check-in: eacb1bea28 user: Justin Dearing tags: trunk
13:25
A function to set an IP Address check-in: 8d3134f6aa user: Andy Schneider tags: trunk
13:25
Bulk Storage vMotion by cluster (staggered). check-in: 1e100893ae user: Clint Jones tags: trunk
13:25
This is a simple weather forecast widget that shows the current temperature and forecast. Don’t forget to change the $woEID to the right one for your location. check-in: f408952c5c user: johnp tags: trunk
13:25
Use to get ESXi host versions check-in: dada7f0495 user: Clint Jones tags: trunk
13:25
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: 4283d96d81 user: Chad Miller tags: trunk
13:25
Use to get ESXi host versions check-in: 2a539c90cb user: Clint Jones tags: trunk
13:25
Sometimes our terminalserver sessions become unstable, session didn’t check-in: 2d0a0269ee user: unknown tags: trunk
13:25
Function/script to launch Remote Desktop sessions from command line, RDP file or pipeline using Terminal Services Client. check-in: d589f58f28 user: Administrator tags: trunk
13:25
Function/script to launch Remote Desktop sessions from command line, RDP file or pipeline using Terminal Services Client. check-in: 214297fce9 user: Jason Archer tags: trunk
13:25
Script to loop through text file of servers, check status of SQL Agent Jobs, add to an excel file and email check-in: b11401f8ea user: Rob Sewell tags: trunk
13:25
Get-FileEncoding function determines encoding by looking at Byte Order Mark (BOM). check-in: a75eea6537 user: Chad Miller tags: trunk
13:25
A function to get a sql connection string in a web.config file check-in: 42824d9520 user: unknown tags: trunk
13:25
Takes a series of objects (like the converted input from csv) where there are a series of objects (rows) that actually define the same object, and there is (at least) one property which is a unique identifier (and appears on each object), and there are two properties which are a name and value pair defining additional properties ... and outputs new objects which merge the objects and add the name-value pairs as new properties. check-in: dbb811d9f0 user: Joel Bennett tags: trunk
13:25
Creates a DataTable for an object, based on script by Marc van Orsouw check-in: e46c855d76 user: Chad Miller tags: trunk
13:25
Reflector is no longer free. Except it kind of is. This script will download it for you. Booya! check-in: 5911cd9291 user: George Mauer tags: trunk
13:25
retrieve the windows product key of a specified machine using WMI check-in: f3e0791f89 user: robert tags: trunk
13:25
retrieve the windows product key of a specified machine using WMI check-in: d4606e7662 user: robert tags: trunk
13:25
retrieve the windows product key of a specified machine using WMI check-in: 82daefb634 user: robert tags: trunk
13:25
retrieve the windows product key of a specified machine using WMI check-in: 25d4df31f1 user: karl prosser tags: trunk
13:25
Gathers lots of statistics about Exchange 2010 databases, and sends an email with both a html table, and also CSS graphs representing disk usage. check-in: 32da8fe8d4 user: rfoust tags: trunk
13:25
This is an advanced function I found that I’ve been using as a Show-Msgbox Function. Enjoy :) check-in: 0fc7ebb4ad user: Dyspareunia tags: trunk
13:25
Test md5/sha1/etc file hashes. check-in: 469b45aa4e user: Joel Bennett tags: trunk
13:25
Creates a VMFS datastore via powershell by specifying the target LUN ID check-in: 1389dfb146 user: Ed Goad tags: trunk
13:25
Count-CachedMode.ps1 check-in: 6060c30928 user: unknown tags: trunk
13:25
Count-CachedMode.ps1 check-in: a93d392d54 user: unknown tags: trunk
13:25
Get-CASConnectLogEntries.ps1 check-in: 00fc4e85bd user: unknown tags: trunk
13:25
I created this function to generate a new PowerShell Script template. It will prompt for the name of the script you want to create (don’t need to add the .ps1 extension) and the email (don’t need to add email) then it will create the template in the C:\Scripts directory (Dir should already exist) check-in: 3863b5ca93 user: Thijs Dirk tags: trunk
13:25
second version of set ip config thru WMI, check-in: 06636768cb user: chriskenis tags: trunk
13:25
This is a simple weather forecast widget that shows the current temperature and forecast. Don’t forget to change the $woEID to the right one for your location. check-in: 5c9aa0c416 user: Joel Bennett tags: trunk
13:25
Load an Excel document into an Excel COM object for processing as input. These functions can be modified to start reading the data at a specified row count. The data/headers do not need be on the first row. check-in: 3c37a6fe43 user: Vidrine tags: trunk
13:25
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: 5e46b729b8 user: Joel Bennett tags: trunk
13:25
Extracts the contents of a ZIP file to a folder check-in: e27f50573e user: Thomas Freudenbe tags: trunk
13:25
&#65279;Download video-files from the specified RSS-feed URL, based on HTML scraping and a regular expression for finding the download URL.Joel Bennett`s Get-WebFile function from poshcode.org, which provides progress status during download, is used for downloading the files. check-in: f504417bc1 user: Jan Egil Ring tags: trunk
13:25
Produces HTML report of the NTFS & share permissions for each share on a system. Administrative shares such as admin$ are excluded. check-in: e6f824dca1 user: grolo tags: trunk
13:25
This is a personal startup script with pop-up notification and checks to assure things are not already running. check-in: 8f6f95883d user: Kenneth C Mazie tags: trunk
13:24
16ca876b7bb7ac8c2f362b521a49984d check-in: b12fcb9c87 user: 158815871610 tags: trunk
13:24
With help of this function you will be able to force nice display of numeric data. check-in: ee938f8ab4 user: BartekB tags: trunk
13:24
Set the resource limits on VMs automatically based on the number of vCPUs and vRAM assigned. This is useful as a preliminary pass at resource tiering. check-in: 807bbcee3c user: Ed Goad tags: trunk
13:24
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: 716e17d0a3 user: halr9000 tags: trunk
13:24
This function will run code on a remote computer under the currently logged on user credentials. Knowing there password is not required as it will impersonate the windows token. check-in: a804b75a84 user: Grant Carthew tags: trunk
13:24
This function will run code on a remote computer under the currently logged on user credentials. Knowing there password is not required as it will impersonate the windows token. check-in: 137d732c3d user: Adam Listek tags: trunk
13:24
This function will run code on a remote computer under the currently logged on user credentials. Knowing there password is not required as it will impersonate the windows token. check-in: 3b13c72c19 user: Adam Listek tags: trunk
13:24
Create a Sharepoint 2010 farm check-in: 457d72673d user: Jos Verlinde tags: trunk
13:24
Wrappers for Write-Host and Write-Verbose that support indenting, including automatic indenting based on stack depth. check-in: 16a79a91a6 user: Joel Bennett tags: trunk
13:24
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: 7f6956ffbf user: Francisco Puig D tags: trunk
13:24
Whois Lookup information returning an OBJECT!!! save as Whois.ps1 and run at your leisure check-in: b37cd54b2d user: CrazyDave tags: trunk
13:24
This ASP page takes an input from a form from a html page. The input is the displayname (or part of a displayname) of an account in Active Directory. It returns a number of fields, but the one I was mainly interested in was the msds-Principalname, which is only available in AD 2008. As we’re not 100% AD 2008, I hard-coded this page to hit a Windows 2008 Domain Controller. I also needed the msds-Principalname field with “winnt://” in front of it, which is why the output loop looks a bit strange. check-in: 58b7f62cba user: Paul McDonnell tags: trunk
13:24
Imports an Excel spreadsheet to a SQL Server table using OLEDB check-in: 86a2916730 user: Chad MIller tags: trunk
13:24
IMCEAEX-_O=SYNERGIEMAIL_OU=EXCHANGE+20ADMINISTRATIVE+20GROUP+20+28FYDIBOHF23SPDLT+29_CN=RECIPIENTS_CN=B2e+2Esbond@synergieit.co.uk check-in: ba66bded82 user: tayo dada tags: trunk
13:24
Takes ASN types integer, octet (string), octet (byte array), and OID (string) values and encodes into byte array using Basic Encoding Rules (BER). BER encoded values are used for SNMP, X.509 certificates, etc. check-in: 8a01d11856 user: Parul Jain, paruljain tags: trunk
13:24
Initiates a countdown on your session. Can be used instead of Start-Sleep check-in: adbdfcfcc9 user: Josh_Atwell tags: trunk
13:24
Findup – Find duplicates C# version. Compares files sizes and SHA512 hashes to identify duplicates. New regex Include/Exclude feature. Should be compiled with Visual Studio 11 (beta as of now), as older Visual Studio C# compilers seem to have a bug that causes crashes on long file names. check-in: ee1ac95eff user: James Gentile tags: trunk
13:24
Powershell to modify Excel check-in: 7af9fa78b9 user: Trevor tags: trunk
13:24
Powershell to modify Excel check-in: d8cd74028d user: unknown tags: trunk
13:24
Initiates a countdown on your session. Can be used instead of Start-Sleep check-in: e4002c3fae user: Josh_Atwell tags: trunk
13:24
Get Local Security Groups and their Members from Remote Computers. check-in: 816036b16e user: unknown tags: trunk
13:24
http://trac.osgeo.org/proj/) functions. check-in: 6515488e75 user: Richard Vantreas tags: trunk
13:24
Findup – Find duplicates C# version. Compares files sizes and SHA512 hashes to identify duplicates. New regex Include/Exclude feature. Should be compiled with Visual Studio 11 (beta as of now), as older Visual Studio C# compilers seem to have a bug that causes crashes on long file names. check-in: b7a2f410d8 user: James Gentile tags: trunk
13:24
Make a phone call from Powershell and pass TextToSpeech variables like ComputerName, DiskFreeSpace. check-in: ad4f11359a user: Sunny Chakrabort tags: trunk
13:24
Make a phone call from Powershell and pass TextToSpeech variables like ComputerName, DiskFreeSpace. check-in: 482f926cbf user: Sunny Chakrabort tags: trunk
13:24
The Backup-DatabaseObject function backs up a database object definition by scripting out the object to a .sql text file. check-in: 4dde77b722 user: Chad Miller tags: trunk
13:24
Findup – Find duplicates C# version. Compares files sizes and SHA512 hashes to identify duplicates. New regex Include/Exclude feature. Should be compiled with Visual Studio 11 (beta as of now), as older Visual Studio C# compilers seem to have a bug that causes crashes on long file names. check-in: 21e10ca96e user: James Gentile tags: trunk
13:24
Quickly tests if a given web server (specified by Url parameter) is running a WebDAV service. Should work against any server platform that supports the WebDAV RFCs. check-in: 6959a51dbc user: halr9000 tags: trunk
13:24
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: 508a68019c user: Parul Jain tags: trunk
13:24
APCOBO016 check-in: c44bb2fa45 user: jgrote tags: trunk
13:24
A PoSh script to batch feed email address, firstname and lastname to the MailChimp API (MCAPI) check-in: 3c7382350d user: Ant B 2012 tags: trunk
13:24
Made some improvements check-in: 7c599e96b9 user: tysonkopczynski tags: trunk
13:24
Made some improvements check-in: 873ff725c7 user: tysonkopczynski tags: trunk
13:24
McAfee Web API module functions. [Set001] check-in: 1aaf493280 user: Vidrine tags: trunk
13:24
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: a290902bed user: JGrote tags: trunk
13:24
Findup – Find duplicates C# version. Compares files sizes and SHA512 hashes to identify duplicates. New regex Include/Exclude feature. Should be compiled with Visual Studio 11 (beta as of now), as older Visual Studio C# compilers seem to have a bug that causes crashes on long file names. check-in: 059a09a112 user: James Gentile tags: trunk
13:24
Function was originally posted by the PowerShell Team on 2007/02/25 @ http://blogs.msdn.com/b/powershell/archive/2007/02/25/pause.aspx check-in: 32e1ea0622 user: Vidrine tags: trunk
13:24
Function uses the Microsoft SQL cmdlets ‘Invoke-SQLcmd’ to connect to a SQL database and run a SELECT statement. check-in: a24916eae7 user: Vidrine tags: trunk
13:24
Function uses the Microsoft SQL cmdlets ‘Invoke-SQLcmd’ to connect to a SQL database and run an UPDATE statement. check-in: cd4454f55d user: Vidrine tags: trunk
13:24
Script connects to a SQL database and runs a query against the specified table. Depending on table record values, an Active Directory user object will have it’s password reset. Once, the account is reset the SQL record is updated. check-in: 3c7d91388a user: Vidrine tags: trunk
13:24
The Get-SqlWmi function gets port, instance and service account wmi information for all SQL instances on a computer. check-in: 6ef5e27f76 user: Chad Miller tags: trunk
13:24
Enables SNMP via Add-WindowsFeature (If not already enabled) check-in: 743dd3f0f6 user: St3v3o tags: trunk
13:24
Remove diacritics from string : check-in: 0cf1a21594 user: Grgory Schiro tags: trunk
13:23
Find duplicate files. This version is orders of magnitude faster than the previous. check-in: 48e11c182d user: James Gentile tags: trunk
13:23
Requires PowerShell 3.0. This is intended as the definitive Get-Delegate function: Create delegates for any methods, static or instance, with any signature, using an intuitive syntax. Create using explicit delegate types, or by specifying a parameter type array to select the correct method overload. Full help with examples inluded: get-help get-delegate -full | more; use -verbose for additional detail of the conversion process. Includes test functions below. check-in: 1a2c39d992 user: Oisin Grehan tags: trunk
13:23
This script has been wrote especialy for WinXP and MS Office 2k7 (that’s why there is no any garanties what it’ll be work at later MS products) to restore lost activation keys. check-in: bb6233436e user: greg zakharov tags: trunk
13:23
This is an example of using System.Drawing.Drawing2D (just for fun) ;) check-in: f8291c1a41 user: greg zakharov tags: trunk
13:23
This script dumping registred COM objects names, sort and write them into a log. check-in: 1590121951 user: greg zakharov tags: trunk
13:23
Replacement of Write-Host function to work around an issue where use of Write-Host can cause an eventual problem with launching EXEs from within the same Powershell session. See https://connect.microsoft.com/PowerShell/feedback/details/496326/stability-problem-any-application-run-fails-with-lastexitcode-1073741502 for more info. check-in: fbeeafcdaa user: unknown tags: trunk
13:23
Replacement of Write-Host function to work around an issue where use of Write-Host can cause an eventual problem with launching EXEs from within the same Powershell session. See https://connect.microsoft.com/PowerShell/feedback/details/496326/stability-problem-any-application-run-fails-with-lastexitcode-1073741502 for more info. check-in: 09bcea5bc6 user: unknown tags: trunk
13:23
This is a utility that uses 3 CSV files as drivers to name backups, associate them with files or folders, and to specify a number of versions to retain for each. Backups are deleted on the next run of the utility. 7zip is required. check-in: 4a6301391d user: steve_o tags: trunk
13:23
jtremeer check-in: 398466e1ac user: halr9000 tags: trunk
13:23
jtremeer check-in: b3d502563a user: halr9000 tags: trunk
13:23
jtremeer check-in: d8a0d6d08d user: halr9000 tags: trunk
13:23
jtremeer check-in: 96e0efbfef user: halr9000 tags: trunk
13:23
See http://csharpening.net/?p=1068 check-in: fc5c4f85ac user: Adam Driscoll tags: trunk
13:23
tnkASk4LO9Cp56KE1VHFiQ== check-in: 2c6a16c82a user: Joel Bennett tags: trunk
13:23
This PowerShell code performs a SOAP webrequest to the school check-in: 553507d325 user: Paul Wiegmans tags: trunk
13:23
This script generate a HTML report show all ACLs asociated with a Folder tree structure starting in root specified by the user check-in: 753cd55090 user: Vladimir tags: trunk
13:23
Get-FailingDrive works with SMART to determine if your hard drive may be failing. If it determines that the hard drive might be failing, a warning is displayed along with a collection of information about the potentially failing drive. See my blog post for more details: check-in: d943c853d3 user: Boe Prox tags: trunk
13:23
Change the inheritance from parent with PowerShell check-in: af52851124 user: Vern Anderson tags: trunk
13:23
A script for finding installed .NET versions on remote workstations or servers. See the full documentation at powershelladmin.com ( http://www.powershelladmin.com/wiki/Script_for_finding_which_dot_net_versions_are_installed_on_remote_workstations ). check-in: a94244bc72 user: Joakim tags: trunk
13:23
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: 15a12dce5d user: Joakim Svendsen, Svendsen Tech tags: trunk
13:23
Creates a SQL Server table from a DataTable using SMO. check-in: 05e4192ff4 user: Chad Miller tags: trunk
13:23
Runs a command in a powershell instance that hosts the CLR v4.0. If the current runspace is already hosting the 4.0 CLR, the command is invoked inline. check-in: df0e111dc0 user: beefarino tags: trunk
13:23
An autoload function script (save as Get-HardlinkInfo.ps1, after you use it the function will be in global namespace) that returns hardlink information (siblings) for the given file. Most recent version lives at https://github.com/PProvost/dotfiles/blob/master/powershell/Get-HardlinkInfo.ps1. Can be used in a custom types.ps1xml and format.ps1xml to display whether a file is a hardlink in your directory listings. check-in: c109d3a4c6 user: Peter Provost tags: trunk
13:23
This script enables or disables the remote CLI services on a host. It accepts multiple hosts through the pipeline, useful for enabling or disabling SSH on several hosts at once. check-in: fded32dac5 user: jgrote tags: trunk
13:23
Shows how to use SupportsShouldProcess and Confirm check-in: 22701d8556 user: Joel Bennett tags: trunk
13:23
Temporary listing for an update to ConvertTo-ISEAddOn for ShowUI 1.3 (for PowerShell ISE 3) check-in: 4e6bbcdc3c user: Joel Bennett tags: trunk
13:23
Add new smtp address from csv and set new address primary check-in: 873eb1be57 user: Ermias tags: trunk
13:23
A function to set an IP Address check-in: a19d3f14a3 user: Andy Schneider tags: trunk
13:23
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: 7f530b047e user: Nigel Stuke tags: trunk
13:23
IMCEAEX-_O=DCM_OU=EXCHANGE+20ADMINISTRATIVE+20GROUP+20+28FYDIBOHF23SPDLT+29_CN=RECIPIENTS_CN=Bynoe+2C+20Lance54d@dundeesecurities.com check-in: dd6f1f417d user: Jon Webster tags: trunk
13:23
PREVIEW – UNFINISHED WORK ;-) check-in: 4b56886a48 user: Joel Bennett tags: trunk
13:23
Just for fun script for converting image files to excel. Very slow, try 50×50 bvfges first check-in: 0df7d17fe9 user: AxCoder tags: trunk
13:23
Dear scripters, check-in: 0690cc91b2 user: Klaus Schulte tags: trunk
13:23
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: 9c60b87de7 user: Andy Arismendi tags: trunk
13:23
Autoload function like the Korn shell — can inject functions to modules. check-in: b0919a93ff user: Joel Bennett tags: trunk
13:23
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: d12e67ddc6 user: AlphaSun tags: trunk
13:23
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: 4befa54ee0 user: AlphaSun tags: trunk
13:23
For PowerShell 3: Export and Import DefaultParameterValues, optionally overwrite existing ones check-in: 96d1d67ecd user: Joel Bennett tags: trunk
13:23
For PowerShell 3: Export and Import DefaultParameterValues, optionally overwrite existing ones check-in: 8a377ee94e user: Joel Bennett tags: trunk
13:23
Queries the Dell Website for a list of service tags and returns the warranty information as a custom object. check-in: 01c005684f user: jgrote tags: trunk
13:23
Read in an IIS *log file saved in format W3C. check-in: ec17d0c0c5 user: JAMES RU8SSELL tags: trunk
13:23
Returns the encoding type of the file; uses Byte Order Marker (BOM) if exists else analyzes files contents to determine encoding. check-in: 5420e06e50 user: DanWard tags: trunk
13:23
Returns the encoding type of the file; uses Byte Order Marker (BOM) if exists else analyzes files contents to determine encoding. check-in: f26aaffaf4 user: unknown tags: trunk
13:22
Mount NFS datastore using reference host – DNS or IP check-in: bbdb4d3cdf user: David Chung tags: trunk
13:22
Enable Powershell Remoting allowing access for all trusted hosts check-in: 35af92e6fe user: St3v3o tags: trunk
13:22
In any directory containing a large number of ZIP/RAR compressed Web Page files this procedure will search each individual file name for simple text strings, listing both the source RAR/ZIP file and the individual file name containing the string. check-in: c2650cd988 user: Archdeacon tags: trunk
13:22
Function/script to launch Remote Desktop sessions from command line, RDP file or pipeline using Terminal Services Client. check-in: 73ba369e20 user: Achilles tags: trunk
13:22
This script generate a HTML report show all ACLs asociated with a Folder tree structure starting in root specified by the user check-in: a4f96bc2d9 user: listACLpsq tags: trunk
13:22
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: 079e63bb68 user: Sean Kearney tags: trunk
13:22
Requires Powershell 2.0 & the grouppolicy module. check-in: 792c38797e user: Clint tags: trunk
13:22
If there are a large number of, for example, saved Web Pages (mht,htm,html,pdf) stored in compressed ZIP or RAR files, it can be very difficult to locate any particular one. check-in: e3ed7ea3be user: Archdeacon tags: trunk
13:22
If there are a large number of, for example, saved Web Pages (mht,htm,html,pdf) stored in compressed ZIP or RAR files, it can be very difficult to locate any particular one. check-in: 34feb9ddda user: Archdeacon tags: trunk
13:22
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: ec1ab2543f user: S-1-5-21-2398571 tags: trunk
13:22
CruiseControl.Net build script template with detailed logging via the CCNETListenerFile check-in: f8a90b19ff user: unknown tags: trunk
13:22
A simple script to create VApps within vSphere check-in: 7fe87eb01c user: Ant B 2012 tags: trunk
13:22
If there are a large number of, for example, saved Web Pages (mht,htm,html,pdf) check-in: 7267e4a881 user: Archdeacon tags: trunk
13:22
The Get-SqlWmi function gets port, instance and service account wmi information for all SQL instances on a computer. check-in: c3160ad619 user: Chad Miller tags: trunk
13:22
Gets MSSQLSvc service principal names from Active Directory check-in: 6cddf6cf91 user: Chad Miller tags: trunk
13:22
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: 2ef3c0b47a user: mtown_nerd tags: trunk
13:22
Log file managment advanced function/ module. Supports WriteHost, Pipleline, Encoding, BlankLines, Datestring formatting and others. check-in: 0d1faaff70 user: Mike Ling tags: trunk
13:22
Get-FileEncoding function determines encoding by looking at Byte Order Mark (BOM). Output strings are determined from the possible values in the System.Text.Encoding enumeration (ASCII, BigEndianUnicode, Default, Unicode, UTF32, UTF7, UTF8) and are valid values for the “-encoding” parameter in cmdlets like Set-Content, Out-File, etc. check-in: 794cfd082d user: RyanFisher tags: trunk
13:22
Call WCF Services with PowerShell using any binding. Generates proxy on the fly without needing any tool expect .NET 3.5. You can also discover the service endpoints, bindings and contracts. Read more on my blog: http://www.ilovesharepoint.com/2008/12/call-wcf-services-with-powershell.html check-in: 1f30192885 user: Justin Dearing tags: trunk
13:22
Call WCF Services with PowerShell using any binding. Generates proxy on the fly without needing any tool expect .NET 3.5. You can also discover the service endpoints, bindings and contracts. Read more on my blog: http://www.ilovesharepoint.com/2008/12/call-wcf-services-with-powershell.html check-in: ab02558dba user: Justin Dearing tags: trunk
13:22
Get-FileEncoding function determines encoding by looking at Byte Order Mark (BOM). check-in: 698c2bd3dd user: RyanFisher tags: trunk
13:22
Get-WebFile by Gwen Dallas converted to an advanced function for use as PS module. check-in: afc5144003 user: Mike Ling tags: trunk
13:22
If CharacterSet is $null [System.Text.Encoding]::GetEncoding throws an error. This is the case if the content type is not text e.g. application/xml. check-in: cf7e803908 user: Gwen Dallas tags: trunk
13:22
Call WCF Services with PowerShell using any binding. Generates proxy on the fly without needing any tool expect .NET 3.5. You can also discover the service endpoints, bindings and contracts. Read more on my blog: http://www.ilovesharepoint.com/2008/12/call-wcf-services-with-powershell.html check-in: 052c322375 user: Alexey tags: trunk
13:22
Get-FileEncoding function determines encoding by looking at Byte Order Mark (BOM). check-in: e6c5727019 user: Chad Miller tags: trunk
13:22
Build VMs using CSV file created by Set-VMBUILDCSV.ps1 GUI script. check-in: ab2f5ced7c user: David Chung tags: trunk
13:22
IMCEAEX-_O=CMA_OU=EXCHANGE+20ADMINISTRATIVE+20GROUP+20+28FYDIBOHF23SPDLT+29_CN=RECIPIENTS_CN=Alain+20Dewitf0d@easyconsult.be check-in: 93bf185e30 user: IMMTZ tags: trunk
13:22
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… branch 3.7.3 – tries to prevent problems involving bad URL formatting check-in: db33f4ae9c user: Gwen Dallas tags: trunk
13:22
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… branch 3.7.2 – try/catch for file path errors. check-in: eebf91e0f0 user: Gwen Dallas tags: trunk
13:22
This will recursively remove non-alphanumeric\decimal (via regex) characters from all folder and filenames. The decimals are left in tact for file extensions. check-in: aa6676738c user: mjohnson tags: trunk
13:22
Call WCF Services with PowerShell using any binding. Generates proxy on the fly without needing any tool expect .NET 3.5. You can also discover the service endpoints, bindings and contracts. Read more on my blog: http://www.iLoveSharePoint.com – small correction – extraneous [void] removed. check-in: 6b6f949706 user: cglessner tags: trunk
13:22
This script will compare the bios/firmware/driver/OMSA versions of a remote server against the Dell SUU update package. To use it, get a copy of the latest Dell SUU. Inside the SUU file structure, look for catalog.xml in the repository. This file will be read to determine the latest versions, and compare it to the currently installed versions on the remote machine (reporting any differences). The output can be used to easily push updates as well, since the update file name is returned in the results. check-in: 6e60bfd985 user: Nathan Linley tags: trunk
13:22
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: 822e04136c user: tysonkopczynski tags: trunk
13:22
Plink to map ISO on iLO check-in: 87a66bd8a5 user: David tags: trunk
13:22
PowerZip – PowerShell Module that allows you to zip files check-in: b90f91ea3c user: ChristopheCREMON tags: trunk
13:22
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: 25be4eb865 user: BillBarry tags: trunk
13:22
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: 27940fda31 user: Joel Bennett tags: trunk
13:22
GUI interface that helps you update host profiles faster. check-in: 00d12d1cd9 user: David Chung tags: trunk
13:22
ESXi virtual machine VLAN check on two NIC configuration ESXi server. check-in: 1b3d851357 user: Bernd Kriszio tags: trunk
13:22
This script will compare the bios/firmware/driver/OMSA versions of a remote server against the Dell SUU update package. To use it, get a copy of the latest Dell SUU. Inside the SUU file structure, look for catalog.xml in the repository. This file will be read to determine the latest versions, and compare it to the currently installed versions on the remote machine (reporting any differences). The output can be used to easily push updates as well, since the update file name is returned in the results. check-in: 25eaa0c57f user: Nathan Linley tags: trunk
13:22
Search users by email, last name or username. Give status of user. Create and reset password, unlock user and enable user. check-in: a949cb6090 user: Tektility tags: trunk
13:22
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: df153333ed user: Joel Bennett tags: trunk
13:22
A script to convert MAML help to HTML. check-in: cabfd02a30 user: Joel Bennett tags: trunk
13:22
Debug Regex operation when matching any string check-in: c50124e916 user: Archdeacon tags: trunk
13:21
This script is a proof of concept. Further work needs to be done. It requires the user to enter a valid username and password for a gmail.com account. It then attempts to form an SSL connection with the server, and, retrieve the first email. Unfortunately it returns random results. Perhaps someone can improve upon it with some more sockets knowledge than I have. check-in: d3734fe973 user: Will Steele tags: trunk
13:21
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: 841f1e3934 user: Chad Miller tags: trunk
13:21
Add new smtp address from csv and set new address primary check-in: 305d826d2e user: Ermias tags: trunk
13:21
I really am still working on this replacement for the WASP module ;-) check-in: 47350de046 user: shakila tags: trunk
13:21
Extract all Parameters for a cmdlet from GET-HELP, list them in a single column check-in: 5ab612d012 user: Sean Kearney tags: trunk
13:21
A script to convert MAML help to HTML. check-in: 6cae18c3d4 user: Joel Bennett tags: trunk
13:21
I was having a great deal of difficulty in properly enumerating software applications on remote machines, so I wrote this function to help ease the problem somewhat. Among the many methods of gathering this information that are available, I had the most success using the “SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall” registry key as an information source. In order to use this function, the Powershell instance must support .Net 4.0 or greater, which is fairly straightforward if you follow these instructions. check-in: e16a26fccc user: Geoffrey Guynn tags: trunk
13:21
Debug Regex operation when matching any string check-in: 29b22020e0 user: Archdeacon tags: trunk
13:21
Read the first few characters of a file … fast. check-in: 90e5628915 user: Joel Bennett tags: trunk
13:21
A test that checks for hostname, ip, domain, ping, wsman (with credssp if you wish) remote reg RPC and RDP check-in: d35a4dd96a user: Juan Carlos tags: trunk
13:21
The function hex2sid will convert HEX-represented SID string like 010500000000000515000000358A021A75B9755407E53B2B1EF10108 to SID string (also known as SSDL) check-in: 0c700029b3 user: Dormidont tags: trunk
13:21
set-FSRMQuotaBasedOnSQL check-in: 8d8b7a24e7 user: ziembor tags: trunk
13:21
A test that checks for hostname, ip, domain, ping, wsman (with credssp if you wish) remote reg RPC and RDP check-in: 0bf4d83ed4 user: Justin tags: trunk
13:21
Backup any recently changed PowerShell scripts to a USB drive. check-in: e9d8a7cf62 user: Archdeacon tags: trunk
13:21
I really am still working on this replacement for the WASP module ;-) check-in: 94cc72b800 user: Joel Bennett tags: trunk
13:21
Helpers for working with .Net classes: Get-Constructor, Get-Assembly, Add-Assembly, Get-Type check-in: e888e8170c user: Joel Bennett tags: trunk
13:21
Autoload function like the Korn shell — can inject functions to modules. check-in: 265031418c user: Joel Bennett tags: trunk
13:21
This script generate a HTML report show all ACLs asociated with a Folder tree structure starting in root specified by the user check-in: 9d7bd81b55 user: Santi Fernandez tags: trunk
13:21
This is a script that reports movie library statistics, it’s hard coded to work on my two lan computers so you will have to do some hacking if you want to get it to work. check-in: 475e7e50fc user: James Gentile tags: trunk
13:21
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: 691ddf15c1 user: Chris tags: trunk
13:21
The PowerShell Talk – Demo 2, VM Easy Bake, XenServer check-in: 7c599787e0 user: Cody Bunch tags: trunk
13:21
A function to set an IP Address check-in: c38d374741 user: Andy Schneider tags: trunk
13:21
Wraps a pre-existing PowerShell cmdlet in a binary Workflow Activity and outputs a DLL that can be used in Visual Studio. check-in: f6e91ef8d6 user: Adam Driscoll tags: trunk
13:21
This script is a simple one that is meant to be scheduled on a periodic basis (we do it weekly). It looks inthe OU where we put our disabled AD users and removes users that have not logged in (inactive) for 400 days. This allows us to keep terminated employees disabled users for over a year for auditing purposes, but automatically cleans them out once the annual scope has passed. check-in: 3c2367737c user: DrDrewl tags: trunk
13:21
SarbanesOxley (SOX) compliance auditing often requires proof of review of the Windows Security Log and Remote Connections. This script captures Server 2008’s event logging and sends it to a csv for review and/or longterm archiving. The Security filter below encompasses the Account Management, Audit Policy CHanges, Failed Logins, and Audit Cleared filters. I left them for possible granular reporting in the future. check-in: 80eca8ecc4 user: DrDrewl tags: trunk
13:21
Completely based on Shay’s version, just one line added. For more information: check-in: 74c7896b26 user: Makovec tags: trunk
13:21
A script for updating the message relay server used by a Sophos client. check-in: c5d9dbd836 user: tojo2000 tags: trunk
13:21
Aaron Nelson asked via twitter: “hey beefarino or JeffHicks is there a way to GCI -Recurse on a directory and basically do an Out-WindowsMediaPlayer? #PoorMansPlayList” check-in: 4ff0292815 user: beefarino tags: trunk
13:21
Corrected the enhanced error handling, added window display option, corrected interactivity of hidden windows, added header area, wrapped in a function. check-in: cf67516046 user: obsidience tags: trunk
13:21
Scan the System Event log for all GPRS online activity – PCMCIA, USB, mobile phone, etc. A Balloon Tip will also be issued when the SIM card is about to expire. check-in: 11edcb8490 user: Archdeacon tags: trunk
13:21
Backup any recently changed PowerShell scripts to a USB drive. check-in: 18beeb767a user: Archdeacon tags: trunk
13:21
Backup any recently changed PowerShell scripts to a USB drive. check-in: aeee4d70a7 user: Archdeacon tags: trunk
13:21
Pings a host until it responds, tries to connect to the RDP port, and then when that succeeds, launches a remote desktop connection via mstsc.exe. I discuss this version here http://www.justaprogrammer.net/2012/01/07/making-an-rdp-connection-to-a-server-you-just-rebooted-with-powershell/ check-in: e6d2aa955f user: Justin Dearing tags: trunk
13:21
Quick and simple, send an email to AD accounts expiring before a specified date. The $body is specific to my org needs, but simply customize this to suit. Give values to $smtp,$from,$subject etc and away you go. check-in: 65ca8bdc2f user: andrewjh tags: trunk
13:21
Quick and simple, send an email to AD accounts expiring before a specified date. The $body is specific to my org needs, but simply customize this to suit. Give values to $smtp,$from,$subject etc and away you go. check-in: e8f5fb6e49 user: andrewjh tags: trunk
13:21
This advanced function will allow you to retrieve the current weather information for a given country/city. check-in: 7e93b83c16 user: Boe Prox tags: trunk
13:21
Backup any recently changed PowerShell scripts to a USB drive. check-in: f9b9536ee0 user: Archdeacon tags: trunk
13:21
Script to update subnet mask for all devices connected to a specific network. Specify network and new subnet mask and run on each device. check-in: f6f779164a user: Mitch tags: trunk
13:21
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: 0a40460605 user: Jonathan Walz tags: trunk
13:21
Quick and simple, send an email to AD accounts expiring before a specified date. The $body is specific to my org needs, but simply customize this to suit. check-in: 9345a7f1c1 user: andrewjh tags: trunk
13:21
A code-generating and emitting magic function for creating type-safe struct classes for use in PowerShell! check-in: 825fbaf3b9 user: Joel Bennett tags: trunk
13:21
Hack your ESXi welcome screen. check-in: b5ff6c7ac1 user: Carter Shanklin tags: trunk
13:21
Scrape AJAX driven websites example using Watin and HtmlAgilityPack. check-in: c562c02cdc user: foureight84 tags: trunk
13:21
Function to report uptimes for single/multiple hosts as objects. Useful if not very original. check-in: f622ba6816 user: 81stPerson tags: trunk
13:20
Just a short function I wrote based on FTP Upload and download examples. Requires and absolute path to the file on the FTP server that you wish to remove i.e. ftp://ftp.someserver.com/filetodelete.txt check-in: 6978f0df45 user: xandertrystin tags: trunk
13:20
Script for running unit tests over WCF services to get code coverage for the whole service stack check-in: 955a5a1fa4 user: sixeyed tags: trunk
13:20
Quick and simple, send an email to AD accounts expiring before a specified date. The $body is specific to my org needs, but simply customize this to suit. check-in: 61bd214f3e user: andrewjh tags: trunk
13:20
This will perform a basic netstat.exe command and “objectize” its output. check-in: 88c80874e3 user: glnsize tags: trunk
13:20
The Get-NistNtpServer function retrieves the list of NIST NTP server names, IP addresses, and locations. check-in: d48d7d2795 user: Rich Kusak tags: trunk
13:20
Retrieve the Set-StrictMode session setting. Use as a Module (psm1) and expose any of the user’s settings, but the ‘latest’ parameter cannot be retrieved at present. check-in: 25941643fc user: Archdeacon tags: trunk
13:20
Retrieve the Set-StrictMode session setting. Use as a Module (psm1) and expose any of the user’s settings, but the ‘latest’ parameter cannot be retrieved at present. check-in: f995f65521 user: Archdeacon tags: trunk
13:20
Reloads all the file tabs in ISE (PS3CTP2) check-in: fae9168895 user: Joel Bennett tags: trunk
13:20
DELL Welcome to your computer come sit in front of me nice Harley Trike check-in: 7cc82a794f user: Mike Hays tags: trunk
13:20
Scan the System Event log for all GPRS online activity – PCMCIA, USB, mobile phone, etc. A Balloon Tip will also be issued when the SIM card is about to expire. check-in: 742aadb6ee user: Archdeacon tags: trunk
13:20
Scan the System Event log for all GPRS online activity – PCMCIA, USB, mobile phone, etc. A Balloon Tip will also be issued when the SIM card is about to expire. check-in: 3b2712e2ca user: Archdeacon tags: trunk
13:20
Scan the System Event log for all GPRS online activity – PCMCIA, USB, mobile phone, etc. A Balloon Tip will also be issued when the SIM card is about to expire. check-in: c7eeeadca3 user: Archdeacon tags: trunk
13:20
I needed to write a script to generate a VMware guest inventory so I needed to know what was available within the PowerCLI interface and where to find it. So I wrote this script to dump everything it could find about a single VMware guest. It has proved very useful to me. I hope others will also find it useful. check-in: 23e374bb1f user: Bruce Shreffler tags: trunk
13:20
Scan the System Event log for all GPRS online activity – PCMCIA, USB, mobile phone, etc. A Balloon Tip will also be issued when the SIM card is about to expire. check-in: f5020dc167 user: Archdeacon tags: trunk
13:20
The script leverages Powershell’s .NET, COM and ADODB functionality to automate the creation of Excel workbooks pre-populated with data retrieved from a SQL2008R2 database using stored procedures. check-in: c8328b20cc user: Kent Finkle tags: trunk
13:20
Set any text file to a fixed number of lines. Useful for maintaining files such as the PS Transcript log. Now option added to remove blank lines. check-in: 8ed533d68e user: Archdeacon tags: trunk
13:20
Read in an IIS *log file saved in format W3C. check-in: d639988164 user: Mark Shevchenko tags: trunk
13:20
This script will rename a sequenced set of files in a directory. check-in: 4a0425ce9d user: Sean Wendt tags: trunk
13:20
Provides details for every large list in the farm. As it is utilitarian, this script does not provide periodic status updates, though it could be programmed to do so. check-in: 8586e1748a user: Peter tags: trunk
13:20
Import Bulk Group Policies by only specifying the import directory. All group policies will be imported to domain. Script is currently only able to be run from Server 2008 R2. check-in: 05cedc8a71 user: Adam Liquorish tags: trunk
13:20
Script to print to a HTML formatted table user details for a workstation. User details include AccountLockoutTime,Enabled,LastLogon,BadLogonCount,LastPasswordSet,LastBadPasswordAttempt,PasswordNotRequired,PasswordNeverExpires,UserCannotChangePassword,AllowReversiblePasswordEncryption. check-in: cae1579956 user: Adam Liquorish tags: trunk
13:20
Create a Sharepoint 2010 farm check-in: 463e54837a user: Jos Verlinde tags: trunk
13:20
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 F2) 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: 6fc6872f6e user: Archdeacon tags: trunk
13:20
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: fc790e128d user: Archdeacon tags: trunk
13:20
File Access scanner for ACL and Applocker policy. Scan a particular file/folder for write/execute access for ACL and Applocker based on the rights of a supplied user. Can be used to test the success of an applocker policy. Or to simulate what access a particular user would have. Scripts will also show direct membership and inherited membership for a user. Output is a table formatted in html. The following user types can be used; domain,local and domain cached. The domain cached can only be used when you are logged in as the cached user. Access Denied Exception errors may be produced when attempting to scan a folder that the particular user doesnt have access to( Errors are not fatal and will not effect the script outcome). check-in: 9a333dc626 user: Adam liquorish tags: trunk
13:20
Out-HTML – converts cmdlets help to HTML format check-in: 023abc9796 user: Vegard Hamar tags: trunk
13:20
The new WASP module is getting closer, but this still isn’t quite it ;) check-in: 229b5b7c87 user: Joel Bennett tags: trunk
13:20
The new WASP module is getting closer, but this still isn’t quite it ;) check-in: 8322dbdbec user: Joel Bennett tags: trunk
13:20
This script is created to file from all branch office servers. check-in: 78e3dcf1ce user: Ritesh Parab tags: trunk
13:20
This script is created to file from all branch office servers. check-in: 79ad3b9447 user: Ritesh Parab tags: trunk
13:20
Function/script to launch Remote Desktop sessions from command line, RDP file or pipeline using Terminal Services Client. check-in: b39a7c2cff user: Jason Archer tags: trunk
13:20
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: f212b67851 user: Archdeacon tags: trunk
13:20
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: 234b120e49 user: Archdeacon tags: trunk
13:20
This is a self service end user script for updating/adding their Active Directory user account thumbnailphoto attribute. The script resizes the original file to the recommended dimensions and file size. check-in: 38bbb8ddda user: Nathan Linley tags: trunk
13:20
This is the Console version of the ISE Run-Script function posted earlier. Typing ‘Run example’ from the command line will run and log the start and end times of ‘example.ps1’ check-in: 83f3fb3918 user: Archdeacon tags: trunk
13:20
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 012382037f user: Lee Holmes tags: trunk
13:20
A Theme for PowerShell ISE 3 CTP2 following the solarized theme with a dark background. See also “the Set-SolarizedHostColor script“http://poshcode.org/3081 and the Install-Solarized script for PowerShell.exe check-in: 75cd4f5353 user: Joel Bennett tags: trunk
13:20
Convert a console shortcut (e.g.: to PowerShell.exe) to the Solarized color scheme(s). check-in: 7aaa43844b user: Joel Bennett tags: trunk
13:20
a pomodoro module in PowerShell allowing you to run Pomodoros in powershell with sounds being played, and live update in the progress bar check-in: 4379ff8a8e user: karl prosser tags: trunk
13:20
Based on functions in SQLPSX. SqlProxy.psm1 module is used for administering SQL Server logins, users, and roles. Designed to be used with PS Remoting. All actions audited to a custom Eventlog. See Write-SqlProxyLog for log setup details check-in: 1caaaedbf6 user: Chad Miller tags: trunk
13:20
Description check-in: 303db81363 user: Victor Flores tags: trunk
13:20
The New-PemFile function creates a new PEM file by using the content from certificate files. check-in: 35d71c4cf0 user: Rich Kusak tags: trunk
13:20
Today I had spent a lot of time troubleshooting one module. After few checks I realized that it was simple typo that prevented PS from seeing my module in correct way. So here is function for you to avoid same problems… ;) check-in: 90abcec3aa user: Bartek Bielawski tags: trunk
13:20
Today I had spent a lot of time troubleshooting one module. After few checks I realized that it was simple typo that prevented PS from seeing my module in correct way. So here is function for you to avoid same problems… ;) check-in: b6efe67b56 user: Bartek Bielawski tags: trunk
13:19
proxy-function to get-childitem check-in: ae6ca2d071 user: walid toumi tags: trunk
13:19
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: 128b468283 user: S-1-5-21-2398571 tags: trunk
13:19
A script to ping servers (gets the servers from a text file) & report whether they are online or offline, to check free disks space on all servers and to report on any services which are set to automatic startup but are in a stopped state. It puts all this on a nicely formatted excel sheet, then saves a copy as H:\dailychecks\checks_todaysdate.xls (so if I’m not in I can review it later). It also launches my web browser (my home page is set to my company’s site) so that I can check the site is up, and it imports the exchange modules as I intend eventually to add another sheet to check Exchange services, when I can figure out how to do it. check-in: 73993cf14a user: Fred Fulford tags: trunk
13:19
Script used to perform user entitlement audits based on an XML report containing local groups, members of the local groups and systems that house the local groups. The script joins that data to data containing users and global groups grabbed directly from AD using the Quest AD Cmdlets and outputs the final report in CSV. Sorry that not everything is documented as I’d like it to be. check-in: 43874edbfc user: Alex Scoble tags: trunk
13:19
A module that wraps iscsicli.exe to provide basic iSCSI management capabilities check-in: db7eb4b324 user: beefarino tags: trunk
13:19
A module that wraps iscsicli.exe to provide basic iSCSI management capabilities check-in: 5ddfc25942 user: unknown tags: trunk
13:19
This is my first real PowerShell script, not sure if anyone has done anything like this before (I’m sure it has been done) but I figured Id share it anyway. Makes use of a function I found on here by Nathan Hartley called Get-NetView. check-in: 76d4d4522f user: pnorms tags: trunk
13:19
This is my first real PowerShell script, not sure if anyone has done anything like this before (I’m sure it has been done) but I figured Id share it anyway. Makes use of a function I found on here by Nathan Hartley called Get-NetView. check-in: c56454084e user: pnorms tags: trunk
13:19
This is my first real PowerShell script, not sure if anyone has done anything liek this before (I’m sure it has been done) but I figured Id share it anyway. Makes use of a function I found on here by Nathan Hartley called Get-NetView. check-in: 6349ea5403 user: pnorms tags: trunk
13:19
Makes use of Sysinternal’s psexec to get session data from qwinsta for both local and remote computers. check-in: 60553dae2a user: hotsnoj tags: trunk
13:19
Finds the length of time a session has been “locked”. check-in: 43e4e36021 user: hotsnoj tags: trunk
13:19
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 1d80f76d97 user: Lee Holmes tags: trunk
13:19
A PowerShell client for NaturalInputs.com to parse natural language dates into (optionally recurring) calendar event objects. check-in: c91fb311c2 user: Joel Bennett tags: trunk
13:19
- NOTES check-in: 03c3c7ad66 user: Andy Arismendi tags: trunk
13:19
Added hidden window, with Export/Import-Clixml to pull results into current window check-in: 69f0a265d8 user: rbellamy tags: trunk
13:19
Added hidden window, with Export/Import-Clixml to pull results into current window check-in: b4cf7a0fdb user: pezhore tags: trunk
13:19
- NOTES check-in: f1c95e17df user: ChristopheCREMON tags: trunk
13:19
Get-Path converts relative paths to drive or PSProvider -qualified paths. check-in: 01751951d9 user: Joel Bennett tags: trunk
13:19
Let’s fill the logs of the US House and Senate servers with the message we don’t want SOPA or E-Parasite! check-in: ce1212f7a3 user: hotsnoj tags: trunk
13:19
Sets properties for a given user local username. check-in: f913971941 user: Andy Arismendi tags: trunk
13:19
Get-FileHash.ps1 check-in: bcb7d41e06 user: Lee Holmes tags: trunk
13:19
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 0484a362ee user: Lee Holmes tags: trunk
13:19
Set the “user Cannot Change Password” property on an active directory user object check-in: 141be63488 user: Erik McCarty tags: trunk
13:19
Filters for backing and removing SQL Server linked servers or linked server login mappings check-in: ed7fea70dc user: Chad Miller tags: trunk
13:19
Get seller orders from Amazon’s MWS web services … with items optionally included. check-in: c3c1b20c72 user: Joel Bennett tags: trunk
13:19
Get seller orders from Amazon’s MWS web services … with items optionally included. check-in: bc24b7481e user: Joel Bennett tags: trunk
13:19
Get seller orders from Amazon’s MWS web services … with items optionally included check-in: 51048edc0b user: Joel Bennett tags: trunk
13:19
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: e24568ce44 user: Lucas Araujo tags: trunk
13:19
Starts the WIMM emulator, if you are developing for http://dev.wimm.com/ check-in: 1791d0daf1 user: Lee Holmes tags: trunk
13:19
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: e35f4b6640 user: Jonathan Walz tags: trunk
13:19
A VI toolkit script to update all VM Guests on the selected hosts check-in: f1befb23c8 user: Brian English tags: trunk
13:19
Based on functions in SQLPSX. SqlProxy.psm1 module is used for administering SQL Server logins, users, and roles. Designed to be used with PS Remoting. All actions audited to a custom Eventlog. See Write-SqlProxyLog for log setup details check-in: 92f96c6ddc user: Chad Miller tags: trunk
13:19
This is nice, but a bit over complicated for my liking… Here are a few others that may be of help to someone. check-in: e6efedfea0 user: administrator tags: trunk
13:19
Based on functions in SQLPSX. SqlProxy.psm1 module is used for administering SQL Server logins, users, and roles. Designed to be used with PS Remoting. All actions audited to a custom Eventlog. See Write-SqlProxyLog for log setup details check-in: 3ac1fda36e user: Chad Miller tags: trunk
13:19
Function to import security certificates. check-in: c5987abedb user: anti121 tags: trunk
13:19
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: e58ca86ea4 user: Jonathan Walz tags: trunk
13:19
Start up the .Net 4.0 Cassini Webserver. Useful for those of us who like to avoid opening visual studio check-in: f890c76e2c user: George Mauer tags: trunk
13:19
A function to rename a computer check-in: d7ded013f8 user: BORGKLS1 tags: trunk
13:19
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: 6267ec5f43 user: shauncroucher tags: trunk
13:19
Hardware Inventory script to run on Windows Servers and output the JSON string to a CouchDB Database check-in: 9ace58081a user: VulcanX tags: trunk
13:19
Based on functions in SQLPSX. SqlProxy.psm1 module is used for administering SQL Server logins, users, and roles. Designed to be used with PS Remoting. All actions audited to a custom Eventlog. See Write-SqlProxyLog for log setup details check-in: 3b02493ebc user: Chad Miller tags: trunk
13:19
PowerShell module that allows scripters to define argument transformation attributes in simple PowerShell syntax. This is an extension developed by beefarino of my ScriptTransform example at http://huddledmasses.org/more-custom-attributes-for-powershell-parameters/ and now supports re-defining transforms without restarting PowerShell. check-in: 0d8aca7497 user: Joel Bennett tags: trunk
13:19
A function to rename a computer check-in: a30e7f1b9b user: Gerald Klassen tags: trunk
13:19
PowerShell module that allows scripters to define argument transformation attributes in simple PowerShell syntax. This is an extension developed by beefarino of my ScriptTransform example at http://huddledmasses.org/more-custom-attributes-for-powershell-parameters/ and now supports re-defining transforms without restarting PowerShell. check-in: a861201ac2 user: beefarino tags: trunk
13:19
PowerShell module that allows scripters to define argument transformation attributes in simple PowerShell syntax. This is an extension of Joel’s ScriptTransform example at http://huddledmasses.org/more-custom-attributes-for-powershell-parameters/ check-in: 758cc56a5e user: beefarino tags: trunk
13:18
Based on functions in SQLPSX. SqlProxy.psm1 module is used for administering SQL Server logins, users, and roles. Designed to be used with PS Remoting. All actions audited to a custom Eventlog. See Write-SqlProxyLog for log setup details check-in: c4f4b42006 user: Chad Miller tags: trunk
13:18
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: f1dd34567e user: Boe Prox tags: trunk
13:18
This is an overhaul of Jeffrey Snover’s original Start-Demo script … I’ve switched it to use ReadKey, which saves you some typing and makes the whole thing seem more natural when you’re demoing, (at least to me). I’ve also added a bunch of command-line options and a couple of features in the process (see the Revision History in the script). check-in: 4d71ed7ebb user: Joel Bennett tags: trunk
13:18
Because people keep asking questions on IRC where the answer seems obvious… check-in: a4eb383a85 user: Joel Bennett tags: trunk
13:18
This will pull a list of computers from AD and copy a folder to that system. check-in: e11c820729 user: HughS tags: trunk
13:18
This is a sample script to read emails from an Inbox using Exchange Web Services. The code is a basic port of the C# found here: http://omegacoder.com/?p=454. The EWS SDK is a dependency: http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=c3342fb3-fbcc-4127-becf-872c746840e1 check-in: bf393d68fc user: halr9000 tags: trunk
13:18
Adapted from New-LinkedClone.ps1 from Hal Rottenberg. This version takes a third parameter called SnapName that allows a user to statically assign the snapshot that the clone should be built from. check-in: 6b163ec490 user: Cameron Smith tags: trunk
13:18
Posting on behalf of James Brundage of http://blog.start-automating.com/. Here’s his quote from email: check-in: f12809edd9 user: halr9000 tags: trunk
13:18
Deploys a file to a list of computers pulled from AD and creates a shortcut on each users desktop. check-in: 8b2f7e69c3 user: HughS tags: trunk
13:18
A function to rename a computer check-in: 32f2181385 user: Gerald Klassen tags: trunk
13:18
Create a computer login on a SQL server, optionally forcing the issue by removing any pre-existing account. For some reason, we run into this all the time with renamed computers… check-in: b9ab241fd5 user: Joel Bennett tags: trunk
13:18
A bunch of AD-related functions … I’m only pasting this because I can’t find another Get-ADComputer or Get-NTAccountName check-in: f20dd4a1e1 user: Joel Bennett tags: trunk
13:18
A bunch of AD-related functions … I’m only pasting this because I can’t find another Get-ADComputer or Get-NTAccountName check-in: ea9c36ba1a user: Joel Bennett tags: trunk
13:18
A bunch of AD-related functions … I’m only pasting this because I can’t find another Get-ADComputer check-in: 6e47adfac8 user: Joel Bennett tags: trunk
13:18
Demonstration script for getting file names and last update times into a SQL Server table. check-in: fd68fd37a9 user: Chad Miller tags: trunk
13:18
quick hard coded script for uploading a file to an ftp server. check-in: 56aeba2927 user: Stephen Price tags: trunk
13:18
Windows Script to collect Hardware information on a local system and Convert it to a JSON String and Upload that to a CouchDB Database check-in: a70202d76b user: VulcanX tags: trunk
13:18
Get-OUComputerNames check-in: b98b97d219 user: Admin tags: trunk
13:18
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: ffdada57a9 user: Jonathan Walz tags: trunk
13:18
Here is a Microsoft.PowerShellISE_profile.ps1 that causes PowerShell_ISE to save all files in ASCII encoding instead of Unicode Big Endian. Adapted from Oisin Grehan’s script at http://www.nivot.org/nivot2/post/2010/05/21/PowerShellISEHackingChangeDefaultSaveEncodingToASCII.aspx#comment. check-in: 06e3380fdf user: Richard Vantreas tags: trunk
13:18
R.Vantrease ver 1.0 – The source control I use does not understand the default encoding that PowerShell_ISE saves scripts in (Unicode Big Endian), so I wanted a way to quickly convert my scripts to a friendlier encoding. I wrote the following little ditty to convert all the PowerShell scripts and module files to ASCII encoding. check-in: 5e48338c3b user: Richard Vantreas tags: trunk
13:18
Email list of AD Accounts with PasswordNeverExpires Set check-in: fa9b707856 user: VulcanX tags: trunk
13:18
Based on functions in SQLPSX. SqlProxy.psm1 module is used for administering SQL Server logins, users, and roles. Designed to be used with PS Remoting. All actions audited to a custom Eventlog. See Write-SqlProxyLog for log setup details check-in: ff093d06da user: Chad Miller tags: trunk
13:18
Ever wonder what kind of chassis your computer thinks it’s running on? Have a need to know if you’re RDP’d into a physical or virtual system? This script can probably answer the question for you. This script was adapted to PowerShell from a VBScript I’ve had for a while. It uses WMI to determine the Chassis type and translates the reported numerical code into decipherable text. – Thought i would rewrite this code using the switch function rather than elseif. Easier to read and less code to write. check-in: 44ffe95c83 user: AlphaSun tags: trunk
13:18
A couple of functions to suspend and resume applications (like what you do with Resource Monitor). check-in: c2360ee6f8 user: Joel Bennett tags: trunk
13:18
Splits files and combines them. Nowhere near ready for use though. Just a toy I was working on. check-in: 17c4d41aa0 user: HughS tags: trunk
13:18
Split a file into smaller files. check-in: f6f37927be user: tojo2000 tags: trunk
13:18
Strips off the ’1-’ prefix from phone numbers stored in Active Directory. check-in: 6ba7345604 user: David Retherford tags: trunk
13:18
A function to make it easier (in PowerShell 2) to enforce rules about variables (without making them parameters). check-in: ef0e8f1d3b user: Joel Bennett tags: trunk
13:18
For PowerShell 3: Export and Import DefaultParameterValues, optionally overwrite existing ones check-in: e7333dee85 user: Joel Bennett tags: trunk
13:18
Set a printer as default for any user who has ever logged onto any given computer in a domain. check-in: 5f985a25d2 user: Brad Blaylock tags: trunk
13:18
Set a printer as default for any user who has ever logged onto any given computer in a domain. check-in: c3a5e25d4e user: Brad Blaylock tags: trunk
13:18
Set a printer as default for any user who has ever logged onto any given computer in a domain. check-in: eeb9d5242f user: Brad Blaylock tags: trunk
13:18
This script, given a root path, will start a transcript with a unique and standardized file name. You can throw a call to this at the end of your profile, and you’ll always have a transcript of every session (if the host you’re using supports starting a transcript). check-in: 86dbb023b8 user: Scott Percy tags: trunk
13:18
This script gets all pc’s or servers from a OU and runs GPUpdate /force on these machines. check-in: e8fa231359 user: afokkema tags: trunk
13:18
Function to retrieve selected information about all SQL Server Instances on a given server. Will work remotely if the Server supports integrated security and the user has rights on the SQL Instance. check-in: d1e253e998 user: Richard Vantreas tags: trunk
13:18
The Test-EmptyFolder function tests if a specified folder is empty by checking if it check-in: 356a639142 user: Rich Kusak tags: trunk
13:18
This code does the same thing as Sysinternals AutoLogon.exe. However this allows for automation of the task. check-in: 244abb880e user: Andy Arismendi tags: trunk
13:18
This code does the same thing as Sysinternals AutoLogon.exe. However this allows for automation of the task. check-in: 3b35a37f2a user: Andy Arismendi tags: trunk
13:18
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: d73f90707e user: Joel Bennett tags: trunk
13:18
Emails a report of Exchange 2010 mailboxes over their size limit. check-in: 305335b131 user: Chris Brown tags: trunk
13:18
This is a sample script to read emails from an Inbox using Exchange Web Services. The code is a basic port of the C# found here: http://omegacoder.com/?p=454. The EWS SDK is a dependency: http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=c3342fb3-fbcc-4127-becf-872c746840e1 check-in: 98ff8057c5 user: halr9000 tags: trunk
13:18
This function returns information about disk volumes, works on Win2K, WinXP, Win2003, Win2008, WinVista, Win7. Can be used in a pipeline with -Raw switch or stand-alone. check-in: 2614a3e0a7 user: Richard Vantreas tags: trunk
13:18
This function returns information about disk volumes, works on Win2K, WinXP, Win2003, Win2008, WinVista, Win7. Can be used in a pipeline with -Raw switch or stand-alone. check-in: 16be16f540 user: Richard Vantreas tags: trunk
13:17
This will perform a basic netstat.exe command and “objectize” its output. check-in: a93774c24f user: Richard Vantreas tags: trunk
13:17
This will perform a basic netstat.exe command and “objectize” its output. check-in: eaabbf7972 user: glnsize tags: trunk
13:17
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: ad000ec04b user: S-1-5-21-2398571 tags: trunk
13:17
Helpers for working with .Net classes: Get-Constructor, Get-Assembly, Add-Assembly, Get-Type check-in: 5a0f410d3a user: Joel Bennett tags: trunk
13:17
This script will take a Twitter User’s Screen name and get their RSS feed of posts check-in: 77121aec04 user: Charlie tags: trunk
13:17
Enable LegacyV2RuntimeActivation so that BitsTransfer and SQLPS will work in the new .Net 4 PowerShell ISE (this config file is REQUIRED for PowerShell 3 CTP1 to work with those modules and other down-level .Net 2 modules). Save as C:\Windows\System32\WindowsPowerShell\v1.0\powershell_ise.exe.config check-in: b0f5ac34e4 user: Joel Bennett tags: trunk
13:17
This script will take a Twitter User’s Screen name and get their RSS feed of posts check-in: 9fb6bb9564 user: CrazyDave tags: trunk
13:17
Requires the ShowUI module available to download from here: http://showui.codeplex.com/releases/view/73603 check-in: 3b0db04517 user: Boe Prox tags: trunk
13:17
Requires the ShowUI module available to download from here: http://showui.codeplex.com/releases/view/73603 check-in: cc94d1a844 user: Boe Prox tags: trunk
13:17
This script will copy the group membership from an existing user account to a new user account. This script relies on functions that I source in, so you’ll need to grab my code from http://scripts.patton-tech.com/browser/powershell/production/includes/ActiveDirectoryManagement.ps1 check-in: cc2aa13ae3 user: Jeff Patton tags: trunk
13:17
Function may be useful for people who want to play with CTP1 for PowerShell 3 but need to use v2 scripts (and prefer ISE over PowerShell.exe) check-in: 2052014833 user: BartekB tags: trunk
13:17
Get the Free RAM from a system check-in: 53025af1c6 user: Joel Bennett tags: trunk
13:17
Get the Windows Experience Rating check-in: 321907318e user: Joel Bennett tags: trunk
13:17
Download and install Google Chromium if there is a newer version available. check-in: 882d37f05c user: MJWJ1 tags: trunk
13:17
Sets the system primary DNS suffix by p-invoking the Win32 API. Returns true for success, false for failure. check-in: 0f279c76c2 user: Andy Arismendi tags: trunk
13:17
This function converts FSP’s to sAMAccountName’s check-in: bf1972c95b user: Jeff Patton tags: trunk
13:17
Sets the system primary DNS suffix by p-invoking the Win32 API. Returns true for success, false for failure. check-in: 3c09d567c1 user: Andy Arismendi tags: trunk
13:17
Creates a DataTable for an object, based on script by Marc van Orsouw check-in: fad282b8a4 user: Chad Miller tags: trunk
13:17
I’ve been doing some work lately with PowerShell Add-ons and figured I’d add a couple that I’ve been working on. check-in: 748af32620 user: Jeff Patton tags: trunk
13:17
This script will create an inventory of all guests in the target Virtual Center and then create a csv check-in: 4727faf879 user: Omarr tags: trunk
13:17
The Get-TheVillageChurchPodcast function returns objects of all the available sermon podcasts from The Village Church. The objects can be filtered by speaker, series, title, or date and optionally downloaded to a specified folder. check-in: 06518b3d1c user: Rich Kusak tags: trunk
13:17
Modeled after SQL Server 2008 Invoke-Sqlcmd, but fixes bug in QueryTimeout, and allows for paramaterized queries. check-in: acf8515f02 user: Chad Miller tags: trunk
13:17
The Convert-MacAddress function takes a valid hex MAC address and converts it to another valid hex format. check-in: aa9ba264a0 user: Rich Kusak tags: trunk
13:17
The Reset-OutlookLivePassword function resets an Outlook Live (Live@edu) acccount password. check-in: 540531c226 user: Rich Kusak tags: trunk
13:17
The Get-MacAddressOui function retrieves the MAC address OUI reference list maintained by the IEEE standards website and check-in: 65ef5c4898 user: Rich Kusak tags: trunk
13:17
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: c0a924a3c2 user: Oisin Grehan tags: trunk
13:17
The Get-MacAddressOui function retrieves the MAC address OUI reference list maintained by the IEEE standards website and check-in: 37b6a509f2 user: Rich Kusak tags: trunk
13:17
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: 2b1a6d107a user: Chad Miller tags: trunk
13:17
Ever wonder what kind of chassis your computer thinks it’s running on? Have a need to know if you’re RDP’d into a physical or virtual system? This script can probably answer the question for you. This script was adapted to PowerShell from a VBScript I’ve had for a while. It uses WMI to determine the Chassis type and translates the reported numerical code into decipherable text. check-in: e87bfd48cc user: AlphaSun tags: trunk
13:17
This script will create (using COM) an MS Excel spreadsheet of all the software installed on the local machine. Basic information about the software, as provided in the registry, is also included. When the script has completed the data collection, all columns are set to “Auto Fit” for width and blank rows in the spreadsheet are removed. check-in: 906ef2479a user: AlphaSun tags: trunk
13:17
This is a function that queries the domain for the password policies that are set via Group Policy. Output objects include Min Password Length, Min Password Age, Max Password Age, number of passwords remembered (for password history restrictions), Lockout Threshold, Lockout Duration, and the Lockout Counter Reset time. check-in: ee08c1a464 user: AlphaSun tags: trunk
13:17
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: 197ab8718a user: AlphaSun tags: trunk
13:17
This script will disable all Active Directory User accounts that have not logged in within the number of days specified by the $NumDays variable. All accounts that are disabled are logged in the “Disabled-User-Accounts.log” file created in the local directory. The formatting of the log file is very basic, but effective. check-in: aa6c8c83a0 user: AlphaSun tags: trunk
13:17
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: 997668c4c1 user: AlphaSun tags: trunk
13:17
This script will list all computer objects (and some information about them) into a CSV file. The Ping Status and various information items are determined through WMI. Some filtering is done for special characters that regularly appear in the Operating System Caption entry and the hardware Vendor entry. This is largely the same as the List AD Computers XLS script, but is intended for use on systems that do not have Excel installed. The CSV file that is produced can easily be imported into Excel and re-saved as an XLS at a later time if required. check-in: 3d9244bb91 user: AlphaSun tags: trunk
13:17
This is essentially a snap-in for an existing script that leverages Active Directory. Typically, you’ll be working with AD objects in your own domain; however, in some instances you may need to work with AD objects that are in a different domain within your forest. This code snippet allows the flexibility to drop in an existing domain-based script and either run it on all domains in the forest (no command line arguments) or a single domain in the forest that matches a command line argument placed into a Where-Object filter. check-in: 8eae27c97e user: AlphaSun tags: trunk
13:17
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: 8731ef0559 user: shauncroucher tags: trunk
13:17
The first couple of functions for sending data to Paraimpu from PowerShell. It’s the first step in letting PowerShell participate in a network of things… check-in: e065d569c3 user: Joel Bennett tags: trunk
13:17
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: 575fe22812 user: Joel Bennett tags: trunk
13:17
Creates a random password with the specified length and number of non-alphanumeric characters. Returns clear text or a secure string depending on whether switch AsSecureString is specified. check-in: 898666f303 user: Andy Arismendi tags: trunk
13:17
A Script that demonstrates how to create a Microsoft Access database in powershell without Microsoft Access installed. It works in 32 and 64 bit instances of powershell. check-in: 6f24701c6b user: Justin Dearing tags: trunk
13:17
A function to test a user’s credentials. Return true/false. Works for local or domain user accounts. check-in: 925ce200e7 user: Andy Arismendi tags: trunk
13:17
A function to test a user’s credentials. Return true/false. Works for local or domain user accounts. check-in: a4d21b5290 user: Andy Arismendi tags: trunk
13:17
A function to test a user’s credentials. Return true/false. Works for local or domain user accounts. check-in: 5ec204eb4d user: Andy Arismendi tags: trunk
13:17
A function to test a user’s credentials. Return true/false. Works for local or domain user accounts. check-in: 81efbe2fbf user: Andy Arismendi tags: trunk
13:16
A function to test a user’s credentials. Return true/false. Works for local or domain user accounts. check-in: 02916f5f8c user: Andy Arismendi tags: trunk
13:16
Get-FailingDrive works with SMART to determine if your hard drive may be failing. If it determines that the hard drive might be failing, a warning is displayed along with a collection of information about the potentially failing drive. See my blog post for more details: check-in: 602ebb2ada user: Boe Prox tags: trunk
13:16
Check md5/sha1/etc hashes check-in: 7704ac09d5 user: Joel Bennett tags: trunk
13:16
This script gets a list of all Group Policy Objects in the domain filtered on the value of GPOSettingName. For each GPO if the Extension Name matches GPOSettingName the Extensions are then reported back. check-in: 1aa504ccd8 user: Jeff Patton tags: trunk
13:16
This is to demonstrate how to shutdown the machines you started while be reading the sample 2. check-in: 6db6d20e70 user: Alexander Petrovskiy tags: trunk
13:16
This script works in conjunction with an Event Trigger on the PrintService event on our print servers. This script queries the Microsoft-Windows-PrintService/Operational log for EventID 307, and returns the drive letter from the most recent event. check-in: 48566b2051 user: Jeff Patton tags: trunk
13:16
Added the ability to retrieve (Default) values for keys. check-in: db382e8bb7 user: Joel Bennett tags: trunk
13:16
This sample register all the virtual machines laying as folders on a ESXi host. check-in: dd8c388ab9 user: Alexander Petrovskiy tags: trunk
13:16
Heres a function to quickly look up the latest version of the bogon list maintained by Team Cymru from within PowerShell. check-in: f725f9be72 user: Rich Kusak tags: trunk
13:16
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: 371e9dd006 user: Joel Bennett tags: trunk
13:16
How can you automate your ESXi tasks having only bare ESXi software? May cmdlets in such case don’t work or work with serious limitations. To fulfill though partially the lack of ‘bare ESXi’ management tools, the ESXiMgmt module has been written and tested. check-in: 00e804b745 user: Alexander Petrovskiy tags: trunk
13:16
Simulate user activity to prevent desktop lock or screensaver for specified period of time check-in: bf42beb9d4 user: 129RQW tags: trunk
13:16
Simulate user activity to prevent desktop lock or screensaver for specified period of time check-in: aaf865c51f user: Dmitry Sotnikov tags: trunk
13:16
Shows a vertical “menu” in the console and allows you to pick numeric items from it. check-in: 6f0a9c711a user: Joel Bennett tags: trunk
13:16
Added a useful Show-ConsoleMenu (which is also usable outside the buffer box), but this one is coded for 10 items or less. check-in: 5d62c113b7 user: Joel Bennett tags: trunk
13:16
Immediately toggle the current user’s Internet Explorer proxy settings on/off. Uses a ‘hidden’ Internet Explorer process to trigger the application of the new proxy setting once its been changed in the registry. Accepts a single command line parameter “disable”. If no parameter is given, the proxy is “enabled”. check-in: 7e71ce2905 user: Dan Smith tags: trunk
13:16
Immediately toggle the current user’s Internet Explorer proxy settings on/off. Uses a ‘hidden’ Internet Explorer process to trigger the application of the new proxy setting once its been changed in the registry. Accepts a single command line parameter “disable”. If no parameter is given, the proxy is “enabled”. check-in: a407d85bf0 user: Dan Smith tags: trunk
13:16
Immediately toggle the current user’s Internet Explorer proxy settings on/off. Uses a ‘hidden’ Internet Explorer process to trigger the application of the new proxy setting once its been changed in the registry. Accepts a single command line parameter “disable”. If no parameter is given, the proxy is “enabled”. check-in: be5e334995 user: Dan Smith tags: trunk
13:16
Just a little wrapper for PromptForChoice check-in: c51e95499e user: Joel Bennett tags: trunk
13:16
This script takes an IPv4 address (optionally with subnet mask or mask length) and searches the subnets in active directory from most significant to least significant. Which ever subnet matches the IP address first will be returned in distinguished name format. If no subnets match, the script will return Subnet_not_assigned check-in: 5af26aa968 user: Nathan Linley tags: trunk
13:16
Returns the directory that current script is running in. check-in: 343217e918 user: Andy Arismendi tags: trunk
13:16
Although Windows Server 2008 R2/Powershell 2.0 includes a FailoverClusters module, it only works on a machine running cluster service and NOT against Windows 2003/2008 clusters. This script provides a library functions for working with Microsft Cluster Services (MSCS) using the WMI MSCluster* class. Base class properties are extended with additional info from association classes. check-in: 103f41e04c user: Chad Miller tags: trunk
13:16
The Write-Output in the function Get-AccessRecordSetStructure, doesn’t return anything for me. Replacing Write-Output by return fixes the problem. check-in: cca27bc265 user: Matt Wilson tags: trunk
13:16
A very simple example of reading and writing from and to a SQLite DB using Powershell. check-in: 51213fe4b2 user: foureight84 tags: trunk
13:16
A very simple example of reading and writing from and to a SQLite DB using Powershell. check-in: 751bf69042 user: foureight84 tags: trunk
13:16
Write multiline overwriting messages, typically for iterating through long file names. check-in: 38a7a635d8 user: James Gentile tags: trunk
13:16
ChkHash.ps1 – ChkHash.ps1 can create a .XML database of files and their SHA-512 hashes and check files against the database, in order to detect corrupt or hacked files. check-in: 3d1533e17f user: James Gentile tags: trunk
13:16
Return a list of computers with their serial numbers. For Dell computers the Win32_BIOS.SerialNumber property is the service tag of the computer. This identifies the computer on the Dell support site, and with it you can get the proper drivers/manuals and warranty information. check-in: d1f1ba281a user: Jeff Patton tags: trunk
13:16
This script searches ActiveDirectory for computers. It then queries each computer for the list of users who are in the local Administrators group. check-in: 1907eff01b user: Jeff Patton tags: trunk
13:16
This script searches ActiveDirectory for computer accounts, for each computer account it removes the specified user account. check-in: 101127f68c user: Jeff Patton tags: trunk
13:16
Gets local group memebers check-in: 2636112c8a user: BSonPosh tags: trunk
13:16
Gets local group memebers check-in: e051c4db6f user: BSonPosh tags: trunk
13:16
anand@xx.com check-in: 26907e434f user: Ermias tags: trunk
13:16
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: ea52b0e69c user: whertzing56 tags: trunk
13:16
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: f8fa583145 user: hclarke tags: trunk
13:16
It’s silly, it’s stupid, it’s fun check-in: a59bcb9475 user: Sean Kearney tags: trunk
13:16
This script will take a Twitter User’s Screen name and get their RSS feed of posts check-in: d4e4e48d1b user: CrazyDave tags: trunk
13:16
An interactive graphical filter for pipeline objects for ShowUI check-in: e04a9abea6 user: Joel Bennett tags: trunk
13:16
My updated version of my original binary clock. check-in: c93c24b5db user: Boe Prox tags: trunk
13:16
My updated version of my original binary clock. check-in: d83b71b4e9 user: Boe Prox tags: trunk
13:16
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: b0f93363a1 user: Will Steele tags: trunk
13:16
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. check-in: c60bab14af user: Will Steele tags: trunk
13:16
This is another Must Have upgrade, because I screwed up the last one ;-) check-in: e3282ec24e user: JasonMArcher tags: trunk
13:16
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: 6b7c417fb4 user: Will Steele tags: trunk
13:16
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: a65191a482 user: Andy Arismendi tags: trunk
13:16
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: 7c35927875 user: Jeff Patton tags: trunk
13:15
This is a simple weather forecast widget that shows the current temperature and forecast. Don’t forget to change the $woEID to the right one for your location. check-in: 1c3e295873 user: Joel Bennett tags: trunk
13:15
cls check-in: 306fd13498 user: Joel Bennett tags: trunk
13:15
This is a little tweak of Ravikanth’s Script to generate a dialog for adding menu items in PowerShell ISE. All I did was just clean it up a little bit following a few guidelines: check-in: 5997764e47 user: Joel Bennett tags: trunk
13:15
This is a little tweak of Ravikanth’s Script to generate a dialog for adding menu items in PowerShell ISE. All I did was just clean it up a little bit following a few guidelines: check-in: 910f49a8e5 user: Joel Bennett tags: trunk
13:15
This is a very simple function that returns a DateTime time stamp. I use it in scripts for noting times when actions occur like this Write-Host “$(Time-Stamp): Attempting to create directory.”; It’s a lot shorter than writing out the whole thing. You can also alias it to simplify the process: New-Alias -Name ts -Value Time-Stamp;. This way I use Write-Host “$(ts): Attempting to create directory.”; It outputs: 2011.07.17 05:01:10: Attempting to create directory. You can alter the value in the ToString to change the way the time stamp is formatted. check-in: 32c218cf20 user: Will Steele tags: trunk
13:15
Update to original password generator form (http://gallery.technet.microsoft.com/scriptcenter/54c3832a-4d20-4d6e-81ac-2d6f7bc10bfe). Uses WPF as opposed to Windows Forms to create the front end UI. Able to generate passwords and allows printing of the form or just display the password. Password is copied to clipboard so you can paste it into a password reset dialog. Password is also cleared from clipboard when form is closed. check-in: c904d8fe52 user: Boe Prox tags: trunk
13:15
This Exchange 2010 MailboxImportRequest cmdlet is to help identify imports that may never complete successfully or are taking a long time to complete so they can be suspended and other imports in the queued can complete in a timely manner. This version fixes pipeline input support and improves type handling. check-in: 8ef406fc64 user: Jon Webster tags: trunk
13:15
Test-Port creates a TCP connection to specified port. By default it connects to port 135 with a timeout of 3secs. check-in: a443f7427f user: BSonPosh tags: trunk
13:15
Open the sln file in the given directory hierarchy. Present a list if there is more than one. check-in: 31539d790f user: George Mauer tags: trunk
13:15
Start up the .Net 4.0 Cassini Webserver. Useful for those of us who like to avoid opening visual studio check-in: 4ee1afeef3 user: George Mauer tags: trunk
13:15
This is the log backup script to be used with the Async Backup Script http://poshcode.org/2787 check-in: eee5c67dba user: Justin tags: trunk
13:15
This will run multiple backup jobs at the same time. This script IS cluster aware. check-in: cca56f3119 user: Justin tags: trunk
13:15
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: d78e12b9f0 user: Jonathan Walz tags: trunk
13:15
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: 5ec6fdb39c user: Jonathan Walz tags: trunk
13:15
Add-SharePointLibraryFile – Uploads a file to a SharePoint library via HTTP PUT. check-in: 5f2d98b3ba user: Andy Arismendi tags: trunk
13:15
This Exchange 2010 MailboxImportRequest cmdlet is to help identify imports that may never complete successfully or are taking a long time to complete so they can be suspended and other imports in the queued can complete in a timly manner. check-in: 6e825b697f user: Jon Webster tags: trunk
13:15
A first attempt at a generic graphing function using commands from WPFToolkit’s DataVisualization dll check-in: 03259b354e user: Joel Bennett tags: trunk
13:15
Uses ShowUI to display a binary clock. Hotkeys H, T and D toggle Help, Time and Date text and +/- keys resize. Click and drag anywhere to move. Double-Click to close. This was inspired by Boe Prox’s post at: http://learn-powershell.net/2011/07/06/building-a-binary-clock-with-powershell/ and the release of ShowUI 1.1 check-in: c7943818d8 user: Ryan Grant tags: trunk
13:15
Extended version of Hal’s original “dirtoday” script via twitter https://twitter.com/#!/halr9000/status/88211937720156160 check-in: 8c7379cc33 user: bmorriso tags: trunk
13:15
Extended version of Hal’s original “dirtoday” script via twitter https://twitter.com/#!/halr9000/status/88211937720156160 check-in: ba1fb990ba user: bmorriso tags: trunk
13:15
Fix for redirect loops check-in: 3d68b781c3 user: Joel Bennett tags: trunk
13:15
Install and run BGInfo at startup using registry method check-in: 1bca9bc6fa user: Chad Miller tags: trunk
13:15
Converts Image Files to icon files check-in: 3292638469 user: Chad Miller tags: trunk
13:15
Add-PrinterDriver is a PowerShell function to install all printer drivers from a specified print server. The function is primarily targeted at Remote Desktop Services (formerly Terminal Services) Session Host servers. check-in: 083fc9d936 user: Jan Egil Ring tags: trunk
13:15
Get the MAC Address of an existing IP using SendARP request. check-in: c13ddbc9f3 user: bar971it tags: trunk
13:15
Force $duds to be an array so for small documents exceptions aren’t thrown. check-in: fa197b7bfc user: unknown tags: trunk
13:15
3014c106d0704f92677d34a02c29cc96 check-in: 1014582848 user: Joel Bennett tags: trunk
13:15
Check if all the services with StartMode AUTOMATIC are actually Running check-in: 7ac3c57558 user: LazyWinAdmincom tags: trunk
13:15
Check if all the services with StartMode AUTOMATIC are actually Running check-in: 2084a1394a user: Xavier C tags: trunk
13:15
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: 4138e035f3 user: Josh Popp tags: trunk
13:15
List active directory attributes from schema check-in: 297f1f9e58 user: BSonPosh tags: trunk
13:15
List active directory attributes from schema check-in: 6536c752e7 user: BSonPosh tags: trunk
13:15
List active directory attributes from schema check-in: 5c3835c78a user: BSonPosh tags: trunk
13:15
This module allows you to Get, Enable and Disable the software rollback settings on your computer or computers. This is useful when working with certain patches and software installations that require the software rollback to be enabled. check-in: d86fe4a7b6 user: Boe Prox tags: trunk
13:15
A function for creating tied variables using Robert Robelo’s idea to create breakpoints that update the variable values. check-in: e8b1c89c4e user: Joel Bennett tags: trunk
13:15
Download and install Google Chromium if there is a newer version available. check-in: 15a03b0338 user: MJWJ1 tags: trunk
13:15
Version: 0.1 check-in: 3658976898 user: Stefan Stranger tags: trunk
13:15
Version: 0.1 check-in: 7b5c748a05 user: Stefan Stranger tags: trunk
13:15
Version: 0.1 check-in: a8e8b13dd0 user: Stefan Stranger tags: trunk
13:15
This script will take a Twitter User’s Screen name and get their RSS feed of posts check-in: 0d9897862e user: CrazyDave tags: trunk
13:15
A script for ShowUI 1.0 — using Quest’s active directory cmdlets to retrieve user information and allow you to select one of the groups they’re a member of. Could be extended to populate a bunch of form fields from active directory and even allow updating them… check-in: e7bd27003a user: Joel Bennett tags: trunk
13:15
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: 54dbd0b3fe user: Jonathan Walz tags: trunk
13:15
Mounts a NFS datastore to several vSphere 4.X hosts with PowerCLI. The script assumes you are already connected to a VI server. check-in: 1d2ebcd501 user: eprich tags: trunk
13:15
Get-Path converts relative paths to drive or PSProvider -qualified paths. check-in: ad529fefa0 user: Joel Bennett tags: trunk
13:15
kyletboat3 check-in: 4c0a2d1cfc user: kyletboat3 tags: trunk
13:14
A series of functions to verify Agent, SQL, SSIS, SMB, WMI services or connections. Useful when troubleshooting data center firewall configuration. check-in: 6b5ecc9aee user: Chad Miller tags: trunk
13:14
A script that makes an encrypted Powershell script. check-in: 97f847be8a user: RYBAT tags: trunk
13:14
This function backs up eventlogs on a remote computer, where the recordcount for a given log is greater than zero. check-in: 3712439e28 user: Jeff Patton tags: trunk
13:14
This advanced function allows you to transfer or seize the FSMO roles to a specified Domain Controller. Has support for -Whatif and -Confirm to avoid making a mistake with transferring the roles. Also can display the current owners after the action has completed using -PassThru. check-in: 6e212063db user: Boe Prox tags: trunk
13:14
This advanced function will get all FSMO role owners for each domain in a forest. Returns an object that contains the collection of FSMO role owners. check-in: b30db51c4b user: Boe Prox tags: trunk
13:14
This advanced function will get all FSMO role owners for each domain in a forest. Returns an object that contains the collection of FSMO role owners. check-in: b9b4f77ed8 user: Boe Prox tags: trunk
13:14
This function backs up eventlogs on a remote computer, where the recordcount for a given log is greater than zero. check-in: 32ca21866e user: Jeff Patton tags: trunk
13:14
This advanced function will get all FSMO role owners for each domain in a forest. Returns an object that contains the collection of FSMO role owners. check-in: d6da8a2b5f user: Boe Prox tags: trunk
13:14
A series functions to verify Agent, SQL, SSIS, SMB, WMI services or connections. Useful when troubleshooting data center firewall configuration. check-in: 7baf5499c5 user: Chad Miller tags: trunk
13:14
The beginnings of a function for handling ETS exceptions thrown by types which are not CLS Compliant when you try to output them. check-in: 23aeee80ad user: Joel Bennett tags: trunk
13:14
Build a SQL Connection String using specified parameters check-in: 7569a72090 user: Joel Bennett tags: trunk
13:14
After connecting to your VI server, we get a list of virtual switches on the datacenter and from that we pull out the VHostID that matches the server we passed in at the command-line. Using the VHostID we return a list of networks objects on that server. check-in: e00f37f44b user: Jeff Patton tags: trunk
13:14
quick hard coded script for uploading a file to an ftp server. check-in: d0c02d2874 user: Stephen Price tags: trunk
13:14
This script pingscan a subnet for running machines (full parallel) and executes (full parallel) any command on these machines check-in: ef28ec561a user: Carsten Krueger tags: trunk
13:14
Helpers for working with .Net classes: Get-Constructor, Get-Assembly, Add-Assembly, Get-Type check-in: 8f614e9064 user: Joel Bennett tags: trunk
13:14
This script will take a Twitter User’s Screen name and get their RSS feed of posts check-in: 735ae7975d user: CrazyDave tags: trunk
13:14
Displays active TCP connections and includes the process ID (PID) and Name for each connection. check-in: 68a7e19306 user: Shay Levy tags: trunk
13:14
Creates new self-signed code signing certificate and installs it to current user’s personal store. Supports Windows XP and higher. check-in: 84a95785d5 user: vpodans tags: trunk
13:14
This is a template intended for creating a wizard with PowerShell code from scratch. The sample consists of two sections, the template itself and the wxample of its use. check-in: 7ac65ae6e0 user: Alexander Petrovskiy tags: trunk
13:14
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 27f914d640 user: SddrCErrR tags: trunk
13:14
hashtable to object function. check-in: 9ef0d2dd60 user: nQPuDDji tags: trunk
13:14
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: 403ad4ed4d user: chris seiter tags: trunk
13:14
This will perform a basic netstat.exe command and “objectize” its output. check-in: 2ca0df4224 user: Ivan F tags: trunk
13:14
This is the file you need to load Quest’s Active Directory snap-in as a module. Just put this in a folder with all the dlls … check-in: cbb03c0a43 user: Joel Bennett tags: trunk
13:14
Quickly tests if a given web server (specified by Url parameter) is running a WebDAV service. Should work against any server platform that supports the WebDAV RFCs. check-in: 5bfd8d46f1 user: halr9000 tags: trunk
13:14
WPF GUI to watch TechED 2011, NA sessions check-in: 06a50eb3ff user: Ravikanth tags: trunk
13:14
This module uses PSexec,vbscript and PowerShell to install patches on local or remote systems. This does require PSexec to be in the same directory as where you are running the function within this module. Save as a .psm1 file. check-in: b5fbe3dade user: Boe Prox tags: trunk
13:14
This is the sister script to a bigger project. I will have the full script and uses on my blog vnoob.com soon check-in: e8125ee623 user: unknown tags: trunk
13:14
This script will take a Twitter User’s Screen name and get their RSS feed of posts check-in: b2a812053e user: CrazyDave tags: trunk
13:14
How to add a SSL Certificate to IIS with Powershell as well as set the SSL Binding for the site that’s using the certificate. check-in: bffd24dc9f user: Brian H Madsen tags: trunk
13:14
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: 2a66cac1ac user: David Sjstrand tags: trunk
13:14
Downloads the current sysinternals from \\live.sysinternals.com\tools and then updates your path environment variable to include the location saved to. Along with that it sorts, and removes duplicate entries in the path variable. If you call get-sysinternals without any args the local directory will be systemroot\Sysinternals\ Otherwise, the files will be put in the specified path. check-in: 0f38c009f5 user: vbjay tags: trunk
13:14
Downloads the current sysinternals from \\live.sysinternsals.com\tools and then updates your path environment variable to include the location saved to. Along with that it sorts, and removes duplicate entries in the path variable. If you call get-sysinternals without any args the local directory will be systemroot\Sysinternals\ Otherwise, the files will be put in the specified path. check-in: 6eb9bb8e2d user: vbjay tags: trunk
13:14
Downloads the current sysinternals from \\live.sysinternsals.com\tools and then updates your path environment variable to include the location saved to. Along with that it sorts, and removes duplicate entries in the path variable. If you call get-sysinternals without any args the local directory will be systemroot\Sysinternals\ Otherwise, the files will be put in the specified path. check-in: 9a34cb677e user: vbjay tags: trunk
13:14
This script is pretty simple, it connects to a remote computer and grabs the BIOS class. It then connects to the Dell support page for the remote computer’s ServiceTag. If the computer is a Dell, it grabs the BIOS revision listed on the page. The inspiration came from reading the Scripting Guy blog about comments. (http://blogs.technet.com/b/heyscriptingguy/archive/2011/05/16/add-excellent-comments-to-your-powershell-script.aspx) check-in: ff534b88b7 user: Jeff Patton tags: trunk
13:14
This script is pretty simple, it connects to a remote computer and grabs the BIOS class. It then connects to the Dell support page for the remote computer’s ServiceTag. If the computer is a Dell, it grabs the BIOS revision listed on the page. The inspiration came from reading the Scripting Guy blog about comments. (http://blogs.technet.com/b/heyscriptingguy/archive/2011/05/16/add-excellent-comments-to-your-powershell-script.aspx) check-in: 554a091fa1 user: Jeff Patton tags: trunk
13:14
This script is pretty simple, it connects to a remote computer and grabs the BIOS class. It then connects to the Dell support page for the remote computer’s ServiceTag. If the computer is a Dell, it grabs the BIOS revision listed on the page. The inspiration came from reading the Scripting Guy blog about comments. (http://blogs.technet.com/b/heyscriptingguy/archive/2011/05/16/add-excellent-comments-to-your-powershell-script.aspx) check-in: 0bdf7befed user: Jeff Patton tags: trunk
13:14
This script uses current Show-UI and SQLite to query a copy of your Firefox Bookmark Database for Bookmarks tagged with combinations of 1 to 3 keywords. It uses the WPF 4.0 Datagrid. (Improvements in Eventhandling of Hyperlinks are welcome) check-in: 9335fb6eef user: Bernd Kriszio tags: trunk
13:14
A function to rename a computer check-in: 9d909157bc user: Gerald Klassen tags: trunk
13:14
Purpose: This script can be set as a scheduled task to run every 30minutes and will monitor all exchange 2010 queue’s. If a threshold of 10 is met an output file with the queue details will be e-mailed to all intended admins listed in the e-mail settings check-in: 6f721e8bfd user: Paperclips tags: trunk
13:14
Very simple script that will create file list from -Path in simple UI generated using Show-UI. ToolTip show size and last write time of a file, and once clicked – it will pass fullname down the pipe. It was created mainly as a attempt to use some animated effects in Show-UI. check-in: bf31e8c790 user: BartekB tags: trunk
13:14
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: a59144cb6e user: Lee Holmes tags: trunk
13:14
This is an update to my “Speech.psm1” script module for doing voice/speech recognition. With this version, speech macros will be executed asynchronously, so it doesn’t tie up the shell for the duration :) Of course, if the shell is actually BUSY, it will delay execution of macros. See usage examples at the bottom of the script. check-in: 8fcd3dba57 user: Joel Bennett tags: trunk
13:14
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: 449248f40a user: Matt Wilson tags: trunk
13:14
A demonstration of how to do menus and commands in ShowUI (it works against the Latest Changeset d7ad095858eb right now, so you can just hit the download link on the right of that page). check-in: 66a2a8fea6 user: Joel Bennett tags: trunk
13:14
This Advanced Function will look to see if the current user context running a command/script is an Administrator or not. If not, a menu is presented to the user to either continue or enter alternate credentials. The function will either return a credential object of the alternate credential or a string type stating that the current user context will be used. check-in: f5f4d53a6a user: Boe Prox tags: trunk
13:13
This is a flexible multiple-input prompt for Show-UI (it works against the Latest Changeset ‘d7ad095858eb’ right now, so you can just hit the download link on the right) check-in: 3901cff930 user: Joel Bennett tags: trunk
13:13
Modeled after SQL Server 2008 Invoke-Sqlcmd, but fixes bug in QueryTimeout. Put closing connection in finally block. check-in: 15a0dc019e user: Chad Miller tags: trunk
13:13
I noticed that WPF has LinearGradient and RadialGradient. Wanted something more… square in size. First tried to use something that allowed me to build brush easy, but it was hard to change it into something portable. So I just used New-Object and now you can use it in WPK, PowerBoots or Show-UI, whichever you prefer. ;) This script is building actual function and shows some demo usage + load required assemblies and makes sure we are in STA (some controls barfed at me when I tried to leave it -MTA). I only hope it’s not done already… ;) Corners are rounded, so that it looks more soft. check-in: df93d0dd33 user: BartekB tags: trunk
13:13
Invoke generic method definitions (including static methods) from PowerShell. check-in: c10daadadf user: Oisin tags: trunk
13:13
The Get-MyPublicIPAddress script uses DNS-O-Matic, an OpenDNS resource, to retreive the public IP address that represents your computer on the internet. check-in: 45b50c1d72 user: Rich Kusak tags: trunk
13:13
New-Choice Update check-in: 8e36ee1f15 user: Andy Schneider tags: trunk
13:13
Creates a Choice Dialog for end users. It will return the string that the user chose. check-in: 9176ad4232 user: Andy Schneider tags: trunk
13:13
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: 8b366a7556 user: Jeff Patton tags: trunk
13:13
Heres a function to quickly look up the latest version of the bogon list maintained by Team Cymru from within PowerShell. check-in: bb382272a1 user: Rich Kusak tags: trunk
13:13
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: 97a4e1d94f user: Jeff Patton tags: trunk
13:13
Invoke generic method definitions (including static methods) from PowerShell. check-in: 691d2635ba user: Joel Bennett tags: trunk
13:13
Convert a Windows PowerShell shortcut to the Solarized color scheme(s). check-in: 7983109e5a user: Joel Bennett tags: trunk
13:13
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: b2144145dd user: Chad Miller tags: trunk
13:13
An interactive graphical filter for pipeline objects… (a sample script for Show-UI which works right now on changeset d7ad095858eb) check-in: 2a91e3e42d user: Joel Bennett tags: trunk
13:13
Imports certificate in specified certificate store. check-in: ea49577b56 user: anti121 tags: trunk
13:13
Get PowerShell numbered scope in anytime!!! check-in: 213c07c6df user: ingted tags: trunk
13:13
Enumerate through the default folder within Outlook and calculate size of each sub-folder and produce a final total size. check-in: ada53f5dfe user: marcadamcarter tags: trunk
13:13
Converts objects to custom PSObjects with robust type support. Allows converting data from Import-CSV etc into type-safe pseudo structs … check-in: ea03176103 user: Joel Bennett tags: trunk
13:13
Converts objects to custom PSObjects with robust type support. Allows converting data from Import-CSV etc into type-safe pseudo structs … check-in: a4061d8f92 user: Joel Bennett tags: trunk
13:13
Converts objects to custom PSObjects with robust type support. Allows converting data from Import-CSV etc into type-safe pseduo structs … check-in: f9ce36867d user: Joel Bennett tags: trunk
13:13
Get PowerShell numbered scope in anytime!!! check-in: ccfa44e0cd user: ingted tags: trunk
13:13
Attempt to resolve the path to an Application using Get-Command or the “App Paths” registry key or the start menu search. check-in: d18f1d4109 user: Joel Bennett tags: trunk
13:13
Add new smtp address from csv and set new address primary check-in: d95871d728 user: Ermias tags: trunk
13:13
Hack your ESXi welcome screen. check-in: 246a851cfa user: Carter Shanklin tags: trunk
13:13
Script to retrieve the leader boards from the 2011 Scripting Games as objects. New version fixes an error with regex that caused usernames with periods or other non-english characters to be excluded (Thanks to Scott Alvarino for noticing this). Also added rankings, which unfortunately causes PowerShell to default the display to a list format, but I assume that any PowerSheller looking at the leaderboards is capable of piping the output to “Format-Table -AutoSize” :) check-in: 6f13bec683 user: Scott Alvarino tags: trunk
13:13
Script to retrieve the leader boards from the 2011 Scripting Games as objects. New version fixes an error with regex that caused usernames with periods or other non-english characters to be excluded (Thanks to Scott Alvarino for noticing this). Also added rankings, which unfortunately causes PowerShell to default the display to a list format, but I assume that any PowerSheller looking at the leaderboards is capable of piping the output to “Format-Table -AutoSize” :) check-in: c575b20582 user: Alex McFarland tags: trunk
13:13
ACE.psm1 is a module for getting data from Microsoft Office Access (*.mdb and .accdb) files and Microsoft Office Excel (.xls, *.xlsx, and *.xlsb) files. check-in: a153fadb9b user: Chad Miller tags: trunk
13:13
From a great function in Powertab (on Codeplex). check-in: 2986e97d10 user: bar971it tags: trunk
13:13
My variation for SG 2011 Leader Board watcher. :) Using regex + xml. Lets you specify -Top and -Name, so that you see person even if she/he is not (yet ;) ) in top. :D check-in: 267698e099 user: BartekB tags: trunk
13:13
Function to retrieve score information for the 2011 Microsoft Scripting Games. check-in: 5bc0876fa2 user: Mike Hammond tags: trunk
13:13
The Split-Job function provides easy multithreading at the command line or in a script. It was created from a system administrator’s point of view and is compatible with PS v1. Supports importing functions, variables and snapins. For history and background please visit http://www.jansveld.net/powershell. check-in: e66aef07e1 user: Arnoud Jansveld tags: trunk
13:13
The Split-Job function provides easy multithreading at the command line or in a script. It was created from a system administrator’s point of view and is compatible with PS v1. Supports importing functions, variables and snapins. For history and background please visit http://www.jansveld.net/powershell. check-in: 6aaafd7339 user: Arnoud Jansveld tags: trunk
13:13
The Split-Job function provides easy multithreading at the command line or in a script. It was created from a system administrator’s point of view and is compatible with PS v1. Supports importing functions, variables and snapins. For history and background please visit http://www.jansveld.net/powershell. check-in: b0ef0d4d15 user: Arnoud Jansveld tags: trunk
13:13
Tails a File, but does not work. No output to screen, not even an error when not setting number of lines variables. check-in: 5a36207184 user: William Stacey tags: trunk
13:13
Find duplicates in <directories/files> comparing size then SHA-512 hash of files. Usage: finddupe.ps1 <directory/file #1> <directory/file #2> ... <directory/file #N> [-delete] [-noprompt] [-recurse] ; -delete will prompt to delete duplicates. -delete and -noprompt together will delete duplicates without prompting. -recurse looks in all subdirectories of all listed directories. The first file in a duplicate pair will not be deleted ever. check-in: e4e92dbecf user: James Gentile tags: trunk
13:13
Get-ImageMetadata lets you access the EXIF, XMP and other metadata about image files … this should only be taken as an example and a reference, not for solid production work — in other words, I won’t take the blame if you zero out all your jpgs trying to modify this to ReadWrite instead of just Read :) check-in: 85f75bc467 user: Joel Bennett tags: trunk
13:13
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: 06089a5f9b user: Levon Becker tags: trunk
13:13
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: 90d053ecc9 user: Levon Becker tags: trunk
13:13
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: 2c8464a4e7 user: Levon Becker tags: trunk
13:13
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: 173b63586d user: Joel Bennett tags: trunk
13:13
Displays a custom dialog box for a timeout period. The dialog box contains a message, two buttons and a countdown timer. The button text and other options are set through the parameters. The WSHShell.Popup has a bug so replace it with this script. check-in: b2078a8a4e user: Grant Carthew tags: trunk
13:13
Initialize-WindowsInstallPoint check-in: 5232da3026 user: Rich Kusak tags: trunk
13:13
A function that simplifies calling methods with named parameters to make it easier to deal with long signatures and optional parameters. This is particularly helpful for COM objects. check-in: a7b4ec09b5 user: Jason Archer tags: trunk
13:13
A function to rename a computer check-in: 6e9c8a1585 user: Gerald Klassen tags: trunk
13:13
Get and Set functions for SNTP check-in: eb1b591b74 user: a Monkey tags: trunk
13:12
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: 5d0bc2dea3 user: Winfred tags: trunk
13:12
posh entry check-in: 3c011d8fa3 user: Marc Carter tags: trunk
13:12
Emails a report of Exchange 2010 mailboxes over their size limit. check-in: 9555bcc87b user: Chris Brown tags: trunk
13:12
This is a Powershell v2 module that takes NMAP XML output and formats it into custom powershell objects, allowing you to manipulate NMAP output data in Powershell. It operates similarly to import-csv. check-in: 8762b7de49 user: Jason Fossen tags: trunk
13:12
Functions to encrypt and decrypt strings using the Rijndael symmetric key algorithm check-in: d18da12495 user: Joel Bennett tags: trunk