PoshCode Archive  Timeline

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

200 most recent check-ins using file Search-CertificateStore.ps1 version 04f4bc3079

2018-06-10
14:07
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: 340fdd8287 user: Jonathan Walz tags: trunk
14:07
This script uses /n Software’s NetCmdlets, specifically the cmdlet “send-ping”, to continually ping a host, and log to a file whenever connectivity is lost. check-in: 7f777d28b7 user: Jacob Saaby Nielsen tags: trunk
14:07
Script for checking servers current free disk space and highlighting drives with low free space check-in: cbaf7edbd1 user: Don Schaffrick tags: trunk
14:07
Used for migrating a users network printer connections from one server to another. Useful when migrating your printers to a new print server and need don’t want to make your users remap their printers manually. If deployed with SCCM make sure to set the package to run as the user and not SYSTEM. check-in: 3000a54c10 user: Tony Sathre tags: trunk
14:07
Convert and import from delimited text files. Includes two functions: Convert-Delimiter and Import-Delimited. check-in: 0002c48ded user: Joel Bennett tags: trunk
14:07
This is my latest profile script … it contains many things specific to my setup, but they should all be available here on PoshCode.org check-in: 3f92a6f09d user: Joel Bennett tags: trunk
14:07
Set environment variables stickily. check-in: 26a1fe0f1f user: Joel Bennett tags: trunk
14:07
Turns on Maintenance Mode for a specific computer monitored by SCOM (System Center Operations Manager). Ensure that the OperationsManager module is available on the computer from which this script is executed. check-in: 0d49b6ccf3 user: Austin Greca tags: trunk
14:07
a proof in concept as to why posh rocks check-in: 1b9ed1923f user: unknown tags: trunk
14:07
I tweaked Greg Zakharov’s script to remove the flicker (don’t redraw the background between bars), and then optimized it to only draw what’s necessary… check-in: 6b4049168e user: greg zakharov tags: trunk
14:07
Change the inheritance from parent with PowerShell check-in: 9adacce70a user: Vern Anderson tags: trunk
14:07
In order to use this module, you need the winscp .net framework: http://winscp.net/eng/docs/library check-in: e2d5b4356b user: BattleChicken tags: trunk
14:07
WinSCP wrapper module I created out of necessity that I put together through my own exploration of the objects and the WinSCP documentation/examples. check-in: 765373c654 user: BattleChicken tags: trunk
14:07
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: 7a32cf2673 user: AlphaSun tags: trunk
14:07
retrieve the windows product key of a specified machine using WMI check-in: dbab564bc6 user: jirka tags: trunk
14:07
Sets the system primary DNS suffix by p-invoking the Win32 API. Returns true for success, false for failure. check-in: 68b1a9d007 user: Andy Arismendi tags: trunk
14:06
Test the Prompt features check-in: b590649efa user: Anonymous tags: trunk
14:06
retrieve the windows product key of a specified machine using WMI check-in: 8929f10493 user: karl prosser tags: trunk
14:06
IMCEAEX-_O=CONTOSO_OU=First+20Administrative+20Group_cn=Recipients_cn=john+5Fjacob+2Esmith@contoso.com check-in: 9cecbef3b4 user: Test1 tags: trunk
14:06
Disable or Enable local user accounts based on csv or textfile. check-in: 4c5a39a62e user: Michael Wulff tags: trunk
14:06
Get local user accounts info in forms of a csv file with the following attributes: check-in: d9a731198a user: Michael Wulff tags: trunk
14:06
IMCEAEX-_O=EXCHANGELABS_OU=EXCHANGE+20ADMINISTRATIVE+20GROUP+20+28FYDIBOHF23SPDLT+29_CN=RECIPIENTS_CN=5db7eb6d37784f2eaccf09b2f90b75e8-katstewart+40coca-cola+2Ecom@namprd07.prod.outlook.com check-in: 38c9b82bbf user: Allison tags: trunk
14:06
Extension of sqlcmd or invoke-sqlcmd and invoke-sqlcmd2 to include things like ApplicationName, ApplicationIntent and other settings that would be in a connection string. check-in: 3a96cee944 user: Ben Miller tags: trunk
14:06
Compare files in multiple folders against a reference set to provide an early detection of Cryptolocker check-in: 1985b457d0 user: dfsdiag tags: trunk
14:06
#This script extracts the UNC paths from all login scripts associated to users. Can also be used to search ANY folder or files for UNC paths by tweaking the netlogonpath and netlogonfilestosearch arguments. check-in: 94919019e5 user: Justin Grote tags: trunk
14:06
Selects only objects containing a hostname that is pingable. check-in: 754425eacf user: dragonmc77 tags: trunk
14:06
This script retrieves the UNC paths from all group policies in the domain. Useful during file server cutovers and renaings. check-in: 1d14720044 user: Justin Grote tags: trunk
14:06
Add new smtp address from csv and set new address primary check-in: c1d78aa81f user: Ermias tags: trunk
14:06
Locks the workstation’s display. Locking a workstation protects it from unauthorized use. check-in: cc2873abed user: Mike Pfeiffer tags: trunk
14:06
A function to rename a computer check-in: c9f2d5004c user: steven tags: trunk
14:06
Minor bugfix check-in: 21a7c17ec6 user: fsadf tags: trunk
14:06
Fetches the per-datastore disk utilization of a virtual machine. Is thin-provisioning aware and reports only the thin provisioned used space for UsedGB. check-in: 60a5b27c0c user: Justin Grote tags: trunk
14:06
This will send an SNMP trap to the specified manager (hostname). The script isn’t very flexible, but it’s a good example of how to build traps using SharpSNMPLib. External requirementss: check-in: 19c2f98c33 user: halr9000 tags: trunk
14:06
A script to get site information from a large forest. check-in: 0d10d2e1d8 user: Geoff Guynn tags: trunk
14:06
Display the FSMO role holders of each domain in your forest. check-in: 31011a915c user: Geoff Guynn tags: trunk
14:06
I fixed a few major problems I noticed in the original version. check-in: 11d159c35f user: Geoff Guynn tags: trunk
14:06
PowerShell RoboCopy Wrapper example code check-in: d18b1d9ce8 user: unknown tags: trunk
14:06
I fixed a few major problems I noticed in the original version. check-in: 4ffeadc85f user: Geoff Guynn tags: trunk
14:06
I fixed a few major problems I noticed in the original version. check-in: 13269410fd user: Geoff Guynn tags: trunk
14:06
IMCEAEX-_O=BAYMAIL_OU=EXCHANGE+20ADMINISTRATIVE+20GROUP+20+28FYDIBOHF23SP DLT+29_CN=RECIPIENTS_CN=IMMTZ@bayer.cnb check-in: b3206c9164 user: IMMTZ tags: trunk
14:06
Gets the last logged on user of a workstation. check-in: 8b491a2b1f user: dotps1 tags: trunk
14:06
retrieve the windows product key of a specified machine using WMI check-in: a3985a5a16 user: David tags: trunk
14:06
retrieve the windows product key of a specified machine using WMI check-in: 1ea6074f93 user: David tags: trunk
14:06
retrieve the windows product key of a specified machine using WMI check-in: 68934cc9c1 user: David tags: trunk
14:06
retrieve the windows product key of a specified machine using WMI check-in: 77799dfbce user: David tags: trunk
14:06
retrieve the windows product key of a specified machine using WMI check-in: 9c9c185a9d user: David tags: trunk
14:06
Set the Send As permissions on an exchange 2007 mailbox. check-in: 80a184eded user: Jon Webster tags: trunk
14:06
retrieve the windows product key of a specified machine using WMI check-in: 9fdeee23b8 user: karl prosser tags: trunk
14:06
Gets the last logged on user of a workstation. check-in: 1a6731dd86 user: dotps1 tags: trunk
14:06
This code is from a web scrape guide I’ve written on my blog. check-in: 487e946e03 user: DollarUnderscore tags: trunk
14:06
############################################################################################# check-in: cb1b2fb2df user: Rob Sewell tags: trunk
14:06
This code will cleanup local profiles on a server/computer. It needs admin-rights to run. check-in: 810a855875 user: DollarUnderscore tags: trunk
14:06
New-TextIcon allows you to create an icon made of text. This was useful for me when creating a NotifyIcon that contained the used percentage of memory on a VM host. Output to actual file optional using $Path. check-in: 01a35a4a54 user: chrissylemaire tags: trunk
14:06
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: f2d491526a user: Tim Christin tags: trunk
14:05
So many holla dollas check-in: c03bcee436 user: unknown tags: trunk
14:05
Selects only objects containing a hostname that is pingable. check-in: 960df5300b user: unknown tags: trunk
14:05
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: c501d971bf user: Daniel Srlv tags: trunk
14:05
Simple script to join multiple text files into one long string with delimiters ready to be split out again. Split-TextFile scrip still under development! check-in: 8bcd57fe94 user: RobertTheBruce tags: trunk
14:05
I saved Joel Bennett’s Read-Choice function as a module and wrote this function. I wanted to make it useful (especially to beginners) so it doesn’t look like a “normal” menu script, but Bennett’s function is so friendly that you could write a “normal” menu script without using variables at all. To create the module save Read-Choice in a file named ReadChoice.psm1 and save it in $PSModulePath\ReadChoice. check-in: a24a5753e4 user: Vince Ypma tags: trunk
14:05
A function to set an IP Address check-in: 884ea91eb3 user: Andy Schneider tags: trunk
14:05
Selects a random element from the collection either passed as a parameter or input via the pipeline. check-in: 39b5baf902 user: unknown tags: trunk
14:05
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: 98b98f0619 user: Oisin Grehan tags: trunk
14:05
The following changes were made: check-in: 9378188373 user: Peter Kriegel tags: trunk
14:05
Function to do a regex replace of all matches with an expression per match that has local variables check-in: d96be5e896 user: karl prosser tags: trunk
14:05
All descriptions on the web which show how to do this so far have left the email attachment open which means if the script is continuing after the email and you wish to use the file you have attached you will not be able to as it will show as locked, use this example to close the attached file correctly using .Dispose() check-in: d73c0ae3ec user: Richard van Erk tags: trunk
14:05
All descriptions on the web which show how to do this so far have left the email attachment open which means if the script is continuing after the email and you wish to use the file you have attached you will not be able to as it will show as locked, use this example to close the attached file correctly using .Dispose() check-in: 9f1a069536 user: Richard van Erk tags: trunk
14:05
All descriptions on the web which show how to do this so far have left the email attachment open which means if the script is continuing after the email and you wish to use the file you have attached you will not be able to as it will show as locked, use this example to close the attached file correctly using .Dispose() check-in: 424ef5bd5d user: Richard van Erk tags: trunk
14:05
This script will delete all Active Directory User accounts that have not logged in within the number of days specified in the $NumDays variable. The script only deletes the Active Directory user accounts, not any associated Exchange mailboxes. The script also includes the Delete-ADUser function, which can be used separately from this script. All accounts that are deleted are logged in the “Removed-User-Accounts.log” file found in the local directory. The format of the log file is very basic, but effective. check-in: 8695d1a474 user: AlphaSun tags: trunk
14:05
Sets device volume to 10% if run between 22:00 and 07:00. check-in: 6c6bace1cd user: jpruskin tags: trunk
14:05
Send an email via the GMail SMTP server (or any server, really, but there’s some extra code in here and defaults that will make it work with Gmail so you won’t have to do research). NOTE: there’s a Send-SmtpMail in PSCX, but as far as I can tell, there’s no way to convince it to use SSL so I can’t get it to work with Gmail at all. check-in: 7f678a352f user: Joel Bennett tags: trunk
14:05
Simple function that pings a host and returns a boolean. check-in: c4978fca4f user: dragonmc77 tags: trunk
14:05
This advanced function will return information about the estimated token size and group memberships of the specified user. check-in: 140714d52e user: DollarUnderscore tags: trunk
14:05
This is an enhancement on top of the [Environment]::GetFolderPath to add support for additional folders like QuickLaunch and the “Common” folders (CommonStartMenu, etc) by using the WshShell SpecialFolders enum from COM... check-in: e0ac23f921 user: Joel Bennett tags: trunk
14:05
(A;OICIIOID;GA;;;CO)(A;OICIID;0×1200a9;;;BU)(A;CIID;LC;;;BU)(A;CIID;DC;;;BU) check-in: 7fa96f35c5 user: Matthew Graeber tags: trunk
14:05
O:BAG:DUD:AI(A;;FA;;;BA)(A;OICI;CC;;;S-1-5-21-3077527487-3191769811-4249184243-1112)(A;OICIID;FA;;;BA)(A;OICIID;FA;;;SY)(A;OICIIOID;GA;;;CO)(A;OICIID;0×1200a9;;;BU)(A;CIID;LC;;;BU)(A;CIID;DC;;;BU) check-in: b7b77d712a user: Matthew Graeber tags: trunk
14:05
A;OICI;CC;;;S-1-5-21-3077527487-3191769811-4249184243-111 check-in: 1e048da051 user: Matthew Graeber tags: trunk
14:05
############################################################################################# check-in: 9f91081510 user: Rob Sewell tags: trunk
14:05
Using netsh.exe to loop through each WLAN on the system and export the settings to the user-provided output-file. check-in: f2236afd43 user: Jan Egil Ring tags: trunk
14:05
This will display a slideshow and prevent the monitor from sleeping (which may be useful for other purposes). Change the $folder variable to where pictures are located, and change $wait to the time between picture changes. You can move it to another monitor using windows hotkeys (win+shift+arrow). The SetThreadExecutionState p/invoke function with a parameter of (2) causes the display sleep timer to reset, so must be called in a loop to keep the screen active. check-in: 07d7c12008 user: james gentile tags: trunk
14:05
WinSCP wrapper module I created out of necessity that I put together through my own exploration of the objects and the WinSCP documentation/examples. check-in: d77951c867 user: BattleChicken tags: trunk
14:05
This is a modified version of the script included with the Clean Software Update Groups console extension for SCCM 2012R2 check-in: e34b6a6e35 user: Neighborgeek tags: trunk
14:05
This script produces report for McAfee AntiVirus on a set of remote computers. Writes output object containing Server, Product Version, Engine Version, and Virus Definition Version. check-in: 70c307bdff user: halr9000 tags: trunk
14:05
This will display a slideshow and prevent the monitor from sleeping (which may be useful for other purposes). Change the $folder variable to where pictures are located, and change $wait to the time between picture changes. You can move it to another monitor using windows hotkeys (win+shift+arrow). The SetThreadExecutionState p/invoke function with a parameter of (2) causes the display sleep timer to reset, so must be called in a loop to keep the screen active. check-in: ea49468731 user: james gentile tags: trunk
14:05
I need help using the greater than and less than symbol, and it needs to compare two different variables within the code. check-in: 04af99cfb7 user: Steven Leise tags: trunk
14:05
I need help using the greater than and less than symbol, and it needs to compare two different variables within the code. check-in: e542d76397 user: Steven Leise tags: trunk
14:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: b4f1db4ee4 user: Lee Holmes tags: trunk
14:05
retrieve the windows product key of a specified machine using WMI check-in: d770f1f5a8 user: karl prosser tags: trunk
14:05
Using Selenium in powershell for scraping data from Ruckus ZoneDirectors check-in: f9a18c6140 user: unknown tags: trunk
14:05
Module with functions to make it easy to query the SMS provider directly through WMI check-in: 10965baae7 user: unknown tags: trunk
14:05
retrieve the windows product key of a specified machine using WMI check-in: 6b6308c5ee user: karl prosser tags: trunk
14:05
New-ZipFile and Expand-ZipFile — two functions for zipping and unzipping the way I like doing it… check-in: bc98e260a2 user: Simon64 tags: trunk
14:05
This is a fun script to take test with the help of input boxes. check-in: e4f2d8c938 user: Naveen Sharma tags: trunk
14:04
This script will help you report which users have whic roles in the O365 platform check-in: 637ab49ef5 user: Julien LABALME tags: trunk
14:04
Simple function that executes a command (stored procedure) against an SQL database. check-in: e2da0eae34 user: dragonmc77 tags: trunk
14:04
Not all objects which looks like OrganizationalUnit are them – some are Containters (e.g. User, Computers) – function corrected and extended to handle this kind of situations check-in: a76cece229 user: Andrew tags: trunk
14:04
Script Creates Form and Retrieves Remote (and Local) Computer Inventory. check-in: 5ba9d1778a user: Assaf Miron tags: trunk
14:04
Force .NET Framework optimization to happen (causes high CPU by mscorsvw.exe) check-in: 4a64597957 user: Scott Copus tags: trunk
14:04
Manages service certificate stores. check-in: 8ea6048e5e user: Mokstar tags: trunk
14:04
dhcp_bkp.ps1 is a script I came up with to backup DHCP Servers. I deploy this script using SCCM 2012 R2 with a help of two batch files. check-in: 110c3bcfb3 user: http tags: trunk
14:04
Used to get a list of User Profiles from a Target PC. check-in: 60ec0f8fe4 user: Chris Rakowitz tags: trunk
14:04
ieee check-in: fcaa1743a2 user: tester tags: trunk
14:04
Strips off the ’1-’ prefix from phone numbers stored in Active Directory. check-in: d22fc7f3d0 user: lukaszk tags: trunk
14:04
This script will go through your ITunes library and check the paths for each of the Tracks. If it doesn’t find a file at the specified location it will remove that track from your ITunes Library. check-in: 745ab3a44d user: Mark Schill tags: trunk
14:04
A function to print trace messages with timings. check-in: 3698273392 user: Joel Bennett tags: trunk
14:04
quick hard coded script for uploading a file to an ftp server. check-in: 15adb3f3ad user: unknown tags: trunk
14:04
A deobfuscated version of http://poshcode.org/5933 check-in: 7f17a07642 user: tojo2000 tags: trunk
14:04
This scConvertTo-Hex S-1-5-21-1773758559-3836983732-668865386-6433 script will convert a security identifier (SID) in string format to its hexadecimal equivalent. e.g. check-in: cd9ecaa706 user: S-1-5-21-2398571 tags: trunk
14:04
“IMCEAEX-_o=EX-RESOURCE_ou=Exchange+20Administrative+20Group+20+28FYDIBOHF23SPDLT+29_cn=Recipients_cn=IGodziszewska+5FGTSfa5” check-in: c9b92320f6 user: IMMTZ tags: trunk
14:04
Demo of different ways to split a text into lines. Sorry I have not yet another nice way to post code in my blog. http://pauerschell.blogspot.com/. Understanding TextToLines splitting is basic to ISE-Extensions. check-in: 94cccd3024 user: Bernd Kriszio tags: trunk
14:04
A deobfuscated version of http://poshcode.org/5933 check-in: 4b102d7252 user: tojo2000 tags: trunk
14:04
quick hard coded script for uploading a file to an ftp server. check-in: c010a0dbe1 user: Stephen Price tags: trunk
14:04
Script Creates Form and Retrieves Remote (and Local) Computer Inventory. check-in: a896c10e82 user: Assaf Miron tags: trunk
14:04
Just a simple learning tool … check-in: f41e4709f1 user: Joel Bennett tags: trunk
14:04
Just a simple learning tool … check-in: 9303738f1f user: Joel Bennett tags: trunk
14:04
Enables SNMP via Add-WindowsFeature (If not already enabled) check-in: 6d1935a6d7 user: St3v3o tags: trunk
14:04
An example showing how to get a file listing via ftp. NOTE: the listing comes back in (bad) html… check-in: dae4d0c2a9 user: Joel Bennett tags: trunk
14:04
This is from a spam message. Trying to do some analysis on this but I’m a noob. Thought others might find this interesting. Work through the malicious PS code and figure out what it does, then blog about it. The file came from http://instamailserver.link/finito.ps1. I’d be interested in what you find/decode. Hit me up on twitter.com/madtomvane if you have more questions. check-in: ff7d7fe597 user: MadTomVane tags: trunk
14:04
This is a little script I wrote to logoff all users on the box except for myself. Clearly it can be cleaned up a little, making it more flexible, but thought I would share anyways. check-in: 6dbfb41d5d user: Nigel Stuke tags: trunk
14:04
Add new smtp address from csv and set new address primary check-in: ec202d84d3 user: Ermias tags: trunk
14:04
This update adds a -SetName filter and fixes bugs with PS3 and PS4 (also adds a “*” marker on the shortest form if it’s not an actual alias) check-in: d8476f0820 user: Joel Bennett tags: trunk
14:04
Minor bugfix check-in: 496d41cc6b user: dzmanto tags: trunk
14:04
Forked from Jaykul’s Xml Module 6.6 check-in: 045a669377 user: vercelj tags: trunk
14:04
Connect to an exchange mailbox and get your latest emails. check-in: 710f818de2 user: George Mauer tags: trunk
14:04
A function to rename a computer check-in: 0f277b74d6 user: Gerald Klassen tags: trunk
14:04
Function takes search term and number of pages as input parameters. Depending on number of pages given check-in: 50d40c70aa user: Syslq tags: trunk
14:04
Copy Data between Folders including a Progressbar check-in: f63dc5ad55 user: Glenn tags: trunk
14:04
01,00,00,00,d0,8c,9d,df,01,15,d1,11,8c,7a,00,c0,4f,c2,97,eb,\ check-in: bfb3a5b376 user: bobby thing tags: trunk
14:04
Finds exchange mailbox folder unique ID for use with Exchange Web Service Managed API. At times you may want to work with a folder that is NOT a well known folder (Inbox,Sent Items, etc). This will get you the unique ID required to bind to that folder. check-in: c36f860403 user: Chad C tags: trunk
14:04
Function takes search term and number of pages as input parameters. Depending on number of pages given check-in: 1bc0519ea3 user: Syslq tags: trunk
14:04
quick hard coded script for uploading a file to an ftp server. check-in: 55e695d458 user: Stephen Price tags: trunk
14:04
This script generates an output file from a template and a driver table. Both of the inputs are files. The template file contains plain check-in: ed9e3e6a75 user: Walter Mitty tags: trunk
14:03
Simple script to bulk-create printers on a print-server. Printers are imported from a csv-file. check-in: 032c6d1842 user: Jan Egil Ring tags: trunk
14:03
Function to create ACE objects to simplify making changes to folder permissions. New-ACE function plus a usage example check-in: d6b793c0c1 user: BattleChicken tags: trunk
14:03
quick hard coded script for uploading a file to an ftp server. check-in: 570596492c user: jiayuhui tags: trunk
14:03
Set-Wallpaper lets you set your windows desktop wallpaper. It requires PInvoke and I wrote it using PowerShell 2’s Add-Type, although it could be done in v1 using the JIT code generation tricks Lee Holmes has mentioned in the past … check-in: cc713b10d3 user: obaid tags: trunk
14:03
This takes the output from HP Configuration Collector for an EVA and converts it to useful CSVs for reporting. check-in: 8244752ce6 user: jgrote tags: trunk
14:03
Fair warning: This is a messy scrip, not even parameterized. It ain’t pretty. check-in: bc30086088 user: Steve Whitcher tags: trunk
14:03
Extract-zip got me thinking – I’ve had some global Zip functions in my .profile for a long ass time – here they are, I suggest if you want to allow “global” use of these, to add them to the global profile for powershell. I’m sure I copied them form some PS guru, but the whom escapes me… check-in: 7f5687368b user: Munsonisim tags: trunk
14:03
Extracts the contents of a ZIP file to a folder check-in: e3b82cc121 user: Thomas Freudenbe tags: trunk
14:03
This scConvertTo-Hex S-1-5-21-357043131-537017027-1947940980-1289ript will convert a security identifier (SID) in string format to its hexadecimal equivalent. e.g. check-in: 5f77ca4e69 user: S-1-5-21-2398571 tags: trunk
14:03
retrieve the windows product key of a specified machine using WMI check-in: 4ecb0e314a user: karl prosser tags: trunk
14:03
This script checks for any service that is not running that needs to be running. This script creates a temp file with a list of the services that are not running and when this is detected as having values the script imports the entries from the .csv and emails them to the appropriate individuals. This script was designed to be ran repeatedly as a scheduled task. check-in: 04d0a6715e user: David tags: trunk
14:03
Get-FileEncoding function determines encoding by looking at Byte Order Mark (BOM). check-in: a177e021d6 user: Jason Poad tags: trunk
14:03
original filename: lib-authentication.ps1 check-in: 93857dea9a user: Hal Rottenberg tags: trunk
14:03
MediaWiki API check-in: 155391dcac user: Serpen tags: trunk
14:03
Function to import security certificates. check-in: 015c3d4e7b user: anti121 tags: trunk
14:03
“Throw” keyword is misspelled in ConvertFrom-Canonical param. check-in: 6dc457140d user: Glenn Sizemore glnsize tags: trunk
14:03
With this function I can switch between IE and Firefox as default browser. It is just a start. There might be some more registry keys to be changed check-in: e2ef45f7ef user: Bernd Kriszio tags: trunk
14:03
Copy Data between Folders including a Progressbar check-in: b45d6938ed user: zorion tags: trunk
14:03
Used for fetching an HP Procurve switch config via SFTP for backup and revision control. Made this because PCM is no longer free. VERY BASIC ERROR CHECKING, use at own risk. check-in: 538b9d86ee user: JGrote tags: trunk
14:03
Used for fetching an HP Procurve switch config via SFTP for backup and revision control. Made this because PCM is no longer free. check-in: df89c07dd5 user: JGrote tags: trunk
14:03
ConvertFrom-String Buddy check-in: a2f0762628 user: Robin tags: trunk
14:03
Deletes old shadow copies – runs as a scheduled task. Looking for a code review to improve upon what I have learned from the community. check-in: f9606d2e9c user: albvar tags: trunk
14:03
This is the Get-Number from MSDN Code, slightly altered for style and substance. check-in: 66d06a6d7f user: Joel Bennett tags: trunk
14:03
This script will list all User objects in the current Active Directory domain. The data gathered includes Display Name, Username, Last Logon Date, and Disabled Status. All data is exported to a CSV file. check-in: 50b87f0098 user: AlphaSun tags: trunk
14:03
Port of Chris Veness’ JavaScript AES CTR (AES Counter Mode) Aes.Ctr.decrypt to PowerShell. It will decrypt text encrypted with the Aes.Ctr.encrypt function from http://www.movable-type.co.uk/scripts/aes.html which is used by many websites. .NET doesn’t support AES CTR mode natively so you have to do it manually with a little fudging. check-in: 0566cebbac user: Public Domain tags: trunk
14:03
Creates a graph using office web components showing the usage of all datastores check-in: 209193aed5 user: unknown tags: trunk
14:03
Query Exchange with PowerShell for free/busy data check-in: d229233ebd user: Atamido tags: trunk
14:03
Parses a Windows Event log entry by specifying EventRecordID and Log name and outputs XPath that can be used in an event filter/view or Windows Event Forwarding Filter check-in: 3f2eb1d94b user: Kurt Falde tags: trunk
14:03
quick hard coded script for uploading a file to an ftp server. check-in: fa5e1e2b5a user: Stephen Price tags: trunk
14:03
A function to set an IP Address check-in: c78f54c483 user: Andy Schneider tags: trunk
14:03
Trying to get failed WMI and successful wmi machines out into a variable… keep getting “positional parameter” errors when I try to create $wmicheckresults custom object (first time I’ve ever had to use a new object) ... ideally I don’t dump the results to file at all, but I can’t figure out how to get it OUT of the invoke-parallel scriptblock once it’s done it’s code..just disappears into the ether… check-in: ea03ce6113 user: unknown tags: trunk
14:03
Work in progress reinstall SCCM 2007 Client, invoke-parallel portion is broken :( check-in: 2ef266a238 user: unknown tags: trunk
14:03
Script for total resize of all pictures in one or multiple directories. check-in: c33f4bb0ac user: Oleg Medvedev tags: trunk
14:03
Function add an account/group to a WinRM-endpoint, by default the default PowerShell endpoint. See comment based help or this blog post for more information: check-in: 170d544934 user: DollarUnderscore tags: trunk
14:03
Out-HTML – converts cmdlets help to HTML format check-in: d68dac7080 user: Vegard Hamar tags: trunk
14:03
*D15644DAD6FB3335E867C34FA39B77B83A78BF77 check-in: a2b5062f34 user: Joel Bennett tags: trunk
14:03
Two functions Get-AllRegkey and Compare-AllRegKey which will recursivly retrieve a key’s properties and subkeys, and their properties and subkeys, as an array of objects, across multiple computers. The Compare-AllRegKey function uses Compare-Object to compare the arrays returned from each computer to an array returned from a specified reference computer. check-in: 16522a67d4 user: whertzing56 tags: trunk
14:03
this script will check a list of IP’s versus the most common RBL’s online – it will mail results of each IP with a list of the blacklists it was found on. If you run it during the 9am -10am hours it will send Negitive emails also for a sanity check – check-in: c0603dd6ce user: OrbGod tags: trunk
14:02
Create a desktop.ini in your PowerShell folder setting the icon and messing with the display name. check-in: 8f04776686 user: Joel Bennett tags: trunk
14:02
Backs up the configuration of a Cisco UCS 61xx/62xx fabric interconnect using the Cisco PowerTool cmdlets. Designed to run as a scheduled task. Instructions are included in the script. Brief blog post at http://batchlife.wordpress.com/2012/11/14/powershell-script-to-backup/ . You’ll have to make the usual changes to directories, email addresses, etc. Hopefully I didn’t make the instructions more confusing when I sanitized the script for server names and the like. check-in: 38aa79efbf user: monahancj tags: trunk
14:02
Sets the ISE Zoom level to a range between 20 and 400. check-in: c744f31a9b user: mwjcomputing tags: trunk
14:02
Copy Data between Folders including a Progressbar check-in: 9fdddf4e0f user: zorion tags: trunk
14:02
Measure-Command, but with iterations and stuff check-in: 9ad273a2a3 user: Joel Bennett tags: trunk
14:02
- NOTES check-in: fdfaf58a8d user: ChristopheCREMON tags: trunk
14:02
Add new smtp address from csv and set new address primary check-in: 662673ad7d user: Ermias tags: trunk
14:02
This script performs OpenLdap query against specified Server. check-in: 45a5d03b39 user: BSonPosh tags: trunk
14:02
This function downloads sessions from Microsoft Ignite 2015. check-in: 24e6759e8a user: mwjcomputing tags: trunk
14:02
this script will check a list of IP’s versus the most common RBL’s online – it will mail results of each IP with a list of the blacklists it was found on. If you run it during the 9am -10am hours it will send Negitive emails also for a sanity check – check-in: efa1b0121b user: Munsonisim tags: trunk
14:02
This is a jacked up version of Lee’s Show-Object. Uses WMF and a customized tree view grid (Got the C# from MSDN some place, lost the link). Still pretty early on, will likely update it. check-in: 0f79739155 user: Jrich523 tags: trunk
14:02
This script gets database or databases from load server and backs up to FileShare. Checks target availability group, gets up to 3 replicas. Checks if DB is in AG already. For each database, removes database from Availability Group. Restores database to each replica, creates a new database IF does not exist. Adds databases back to AG. check-in: f90aff3bf5 user: Rob Sewell tags: trunk
14:02
############################################################################## check-in: 6d93cc9a93 user: Josh Einstein tags: trunk
14:02
Export-Screenshot and Get-Screenshot let you get a System.Drawing.Bitmap of the full virtual screen or a cropped area of it, and save it to file … check-in: cfa5d6d3ae user: Joel Bennett tags: trunk
14:02
############################################################################## check-in: e28d43b781 user: Josh Einstein tags: trunk
14:02
############################################################################## check-in: 0bdfa62218 user: Josh Einstein tags: trunk
14:02
############################################################################## check-in: 05907f970d user: Josh Einstein tags: trunk
14:02
############################################################################## check-in: f36e7ebf9a user: Josh Einstein tags: trunk
14:02
Mandelbrot PoC check-in: 00fd875639 user: Zefram tags: trunk
14:02
REALLY validates given IP address and returns True/False. The original script didn’t allow ZEROS in the Ip address (eg: 127.0.0.1 returned $false) check-in: 3400bec272 user: mow01 tags: trunk
14:02
Allows you to open a Webmin interface in IE from the command line, automatically skipping an SSL error and logging in with the provided username and password. I use this script as an external tool in mRemoteNG with the following powershell arguments line: “-NoProfile -ExecutionPolicy RemoteSigned -WindowStyle Hidden -File “C:\Users\kim.shepherd\Scripts\Webmin-Login.ps1” -Username Username -Password Password -URL https://%Hostname%:10000” check-in: 1f86fa0f4a user: Kim Shepherd tags: trunk
14:02
Tool for helpdesk to query computers and get information about the computer and the computers owner/user. Can be compiled into .exe with built in credentials with Powerhsell Studio check-in: 14c87bdfd1 user: Brian C tags: trunk
14:02
Can someone explain to me what the following code is used to do? And how many it will produce? and How would the output be used? check-in: 63fc734ab0 user: VARRum tags: trunk
14:02
This script will list all User objects in the current Active Directory domain. The data gathered includes Display Name, Username, Last Logon Date, and Disabled Status. All data is exported to a CSV file. check-in: b8821a5050 user: AlphaSun tags: trunk
14:02
Actually this’s not mine script (you can find original post at https://github.com/gregzakharov/ps/blob/master/ps4/Get-SIVTAPIKey.ps1). It really works! check-in: 79a84b0773 user: greg zakharov tags: trunk
14:02
Creates a SQL Server table from a DataTable using SMO. check-in: 894c3acc1d user: Chad Miller tags: trunk
14:02
Writes data only to SQL Server tables. However, the data source is not limited to SQL Server; any data source can be used, as long as the data can be loaded to a DataTable instance or read with a IDataReader instance. check-in: 9b1eae8e46 user: Mark Buckley tags: trunk
14:02
ISE-Lines module v 1.2 check-in: bc2516f129 user: Scott Hardwick tags: trunk
14:02
This simple function translates a wireless AP’s BBID (mac) through the SkyhookWireless API’s to return location information… check-in: 0f6a2b4518 user: CrazyDave tags: trunk
14:02
Enables SNMP via Add-WindowsFeature (If not already enabled) check-in: de3d1fae0d user: St3v3o tags: trunk
14:02
Two cmdlets for and from the Active-Directory uninitiated… check-in: c184018c2e user: Joel Bennett tags: trunk