PoshCode Archive  Timeline

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

788 check-ins using file Test-Port.ps1 version 5b611bdeaa

2018-06-10
14:13
Enables SNMP via Add-WindowsFeature (If not already enabled) check-in: ca2e77b5dd user: St3v3o tags: trunk
14:13
Sets the system primary DNS suffix by p-invoking the Win32 API. Returns true for success, false for failure. check-in: 4f4675b796 user: Natedog tags: trunk
14:13
Tags alert with PrincipalName, Severity and MP name in Custom fields. check-in: c73d7e8081 user: Stefan Stranger tags: trunk
14:13
Sets the system primary DNS suffix by p-invoking the Win32 API. Returns true for success, false for failure. check-in: 047f7f3d20 user: Andy Arismendi tags: trunk
14:13
Active Directory, bulk create OU’s with defined sub OU’s check-in: 21473755db user: chriskenis tags: trunk
14:13
retrieve the windows product key of a specified machine using WMI check-in: a869241dd1 user: michal tags: trunk
14:13
retrieve the windows product key of a specified machine using WMI check-in: 3659fe12a3 user: karl prosser tags: trunk
14:13
test post sqldom check-in: 18b6f4a204 user: ietei tags: trunk
14:13
Modeled after SQL Server 2008 Invoke-Sqlcmd, but fixes bug in QueryTimeout, and allows for paramaterized queries and more! check-in: ef9d19928f user: Aaron Calderon tags: trunk
14:13
Modeled after SQL Server 2008 Invoke-Sqlcmd, but fixes bug in QueryTimeout, and allows for paramaterized queries and more! check-in: e58f7ee5db user: RCookieMonster tags: trunk
14:13
This function creates a web client that will ignore all SSL certificate errors. Useful for uploading (HTTP PUT, maybe POST as well) to an https web server using a self-signed cert. check-in: 88ff806de1 user: Stephen Campbell tags: trunk
14:13
Microsoft provided script, however I can’t download it at work but I can copy and paste. check-in: fed1ecde98 user: GuyinTheOffice tags: trunk
14:13
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: bd4bd6f12a user: Joel Bennett tags: trunk
14:13
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: 03dbed6faf user: Daniel Srlv tags: trunk
14:13
retrieve the windows product key of a specified machine using WMI check-in: a1919b01b8 user: karl prosser tags: trunk
14:13
PS Module for creating new hires with functions for Exchange Online Mailbox, Skype voice provisioning, and UM Mailbox provisioning check-in: a3b6e3d8fe user: unknown tags: trunk
14:13
Generic script for Citrix PVS and App-V to publish apps without the need for a management and database server for App-V. Generic script doesn’t need to be updated for every change or app so the image wont have to be opened and sealed every time. The published app in the XenApp console passes the necessary information for each new published app, making it easy to add apps on the fly and not have to modify the PVS image. This script should be not necessary if you have XenApp 7.8 or higher. check-in: 42e02c118d user: thegeek tags: trunk
14:13
This function creates a web client that will ignore all SSL certificate errors. Useful for uploading (HTTP PUT, maybe POST as well) to an https web server using a self-signed cert. check-in: 755fecaada user: Carter Shanklin tags: trunk
14:13
Test-TCPPort check-in: c7ea2c0947 user: Test-TCPPort tags: trunk
14:13
Another silly toy I threw together in a few minutes. Use Get-AsciiFromString to generate your own if you want. check-in: 499d54dedc user: Geoff Guynn tags: trunk
14:13
This script will make a copy of the local PST to the One drive folder check-in: 84fbab5fac user: Francois Fournier tags: trunk
14:13
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: 9a05852e74 user: Dane Kantner tags: trunk
14:13
Another silly toy I threw together in a few minutes. Use Get-AsciiFromString to generate your own if you want. check-in: 3bf2c9dae1 user: Geoff Guynn tags: trunk
14:13
A silly remake of the See You Space Cowboy scripts that doesn’t write a file to disk. check-in: 0ae008f443 user: Geoff Guynn tags: trunk
14:13
How to create a non blocking Graphical User Interface (GUI) with Windows Presentation Foundation (WPF) check-in: ecf42ca550 user: Peter Kriegel tags: trunk
14:13
IMCEAEX-_O=EXCHANGE_OU=EXCHANGE+20ADMINISTRATIVE+20GROUP+20+28FYDIBOHF23SPDLT+29_CN=RECIPIENTS_CN=Simon+20Woodhead4bf@clarketransport.co.uk check-in: 62b1e1a73f user: IMMTZ tags: trunk
14:13
RSS Enclosure Downloader check-in: 6a463b788b user: halr9000 tags: trunk
14:13
(Get-ADDomain).dnsroot check-in: 183377972b user: James007 tags: trunk
14:13
Simple menu check-in: 339f09d6c8 user: h_david_a tags: trunk
14:12
Updated with improved error trapping and fixed time stamps in log file! check-in: f973246183 user: _rov3 tags: trunk
14:12
wpftools is a tool for easy use of wpf check-in: 533157f16d user: David tags: trunk
14:12
MyTools is a scriptmodule used as an example in a powershell course delivery. check-in: 6fc5e3db9f user: David tags: trunk
14:12
Mail Signature Generation XML for https://t.co/adnUE0UFbJ check-in: 3ef0d70ef1 user: _rov3 tags: trunk
14:12
Use your favourite ISE to compile into a service, uses signature generation function here: https://t.co/VRDUon5NDP check-in: eabdd5b499 user: _rov3 tags: trunk
14:12
Function for creating HTML signatures with conditional markup. check-in: 79f62b4095 user: _rov3 tags: trunk
14:12
A script I submitted for Event 10 of the Scripting games. Displays a simple Windows Form that counts down three minutes. It makes a good example for using Windows forms. check-in: 293d71f40a user: tojo2000 tags: trunk
14:12
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 8f4e1b9e8f user: Lee Holmes tags: trunk
14:12
This is a script I wrote to pull information from the Citrix License Web console by dumpingthe contents and searching for the area needed. A better way of doing this is by using the BSonPoSH WMI script but unfortunatly there is an issue with the WMI classes on some installations as described on my blog here….http://teckinfo.blogspot.com/ check-in: 6b33e4df38 user: unknown tags: trunk
14:12
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: 07f92beb2f user: R Derickson tags: trunk
14:12
Write line to file with Unix Line Endings check-in: 80af922bbd user: Bruno Martins tags: trunk
14:12
A few random extensions I load in my profile to make life easier check-in: deabb6a140 user: Joel Bennett tags: trunk
14:12
Generate Cryptographically Random Bytes, using RNGCryptoServiceProvider, and optionally format them as strings. check-in: e4dc9dfade user: webclient tags: trunk
14:12
This script enables you too search AD for SMTP addresses that are possibly in use, using the QUEST PowerShell PSSnapIn and searching the “proxyAddress” attribute of objects. The output details either that the SMTP address is not found in AD or you get details of the object that owns the SMTP address. check-in: 734f826d5f user: Paul Brice tags: trunk
14:12
This function retrieves information about the owner/creator of a snapshot in vmware/vsphere along with some other properties. check-in: a791922cfe user: DollarUnderscore tags: trunk
14:12
@daniel_rehn posted an image of his shell script and I couldn’t resist trying to replicate it in PowerShell. check-in: 5047f537f2 user: randal_hicks tags: trunk
14:12
(Install and) load the assemblies from a NuGet package into PowerShell check-in: 5d990f9eee user: Joel Bennett tags: trunk
14:12
This is just to show how to do it check-in: 33b5a292d5 user: Anonymous tags: trunk
14:12
IMCEAEX-_O=AKAD_OU=EXCHANGE+20ADMINISTRATIVE+20GROUP+20+28FYDIBOHF23SPDLT+29_CN=RECIPIENTS_CN=66baafcb-f027-4dab-a048-bfd234738747@AKAD.kaercher.com check-in: 2495747c8d user: IMMTZ tags: trunk
14:12
This script allows an administrator to install software from either a local folder on their administration PC or from a network share. Target computers to receive the installation are defined ahead of time in a text file. check-in: b8e7305315 user: AlphaSun tags: trunk
14:12
This script allows you to perform application uninstalls remotely. The script prompts for an input file that contains target PCs (one on each line) and a search terms box. check-in: 0545734e22 user: AlphaSun tags: trunk
14:12
This script provides a way to bulk delete profiles on a system. Utilizes the Delprof2.exe program. check-in: c9ef72bb8e user: AlphaSun tags: trunk
14:12
Functions: New-PIN, New-Password, New-PassPhrase check-in: b74a8b3bbe user: AlphaSun tags: trunk
14:12
This function lets you sends ICMP echo request packets (“pings”) to a range of IPv4 addresses using an asynchronous method. check-in: eb95d63fbe user: AlphaSun tags: trunk
14:12
This script is for use with MDT. It was written in order to re-image OEM laptops with a clean OS and re-use the preinstalled Windows product key. The script will attempt to pull the OEM product key from WMI and, if available, use slmgr.vbs to install that product key. The same Windows version and edition must be used, otherwise this script will fail. If an OEM key is not found in WMI, the script attempts to determine the version of Windows and use slmgr.vbs to install the generic key for the corresponding version. I have only listed the more common versions of Windows. check-in: 05f001b59a user: AlphaSun tags: trunk
14:12
This script will list the local administrators of all accessible PCs on a network, save the results to an Excel spreadsheet (via Excel COM objects, so a local installation of Excel is required), and email the log file to an array of recipients. Also included in the results are the IP address and Serial number of the PC. Lines to be customized are: 4, 5, 9, 10, 11, 25, 75, 77, and 117 check-in: e4c598d309 user: AlphaSun tags: trunk
14:12
This script will list the local administrators of all accessible PCs on a network, save the results to an Excel spreadsheet (via Excel COM objects, so a local installation of Excel is required), and email the log file to an array of recipients. Also included in the results are the IP address and Serial number of the PC. Lines to be customized are highlighted. check-in: 034036e4ec user: AlphaSun tags: trunk
14:12
This script is intended for use on Lenovo laptops with an OEM installation of Windows. The script will remove Lenovo-installed bloatware and unnecessary software. It has been tested on a variety of hardware, however, in its current form it is not complete. I have left some notes at the bottom for additional software that may potentially need to be removed. check-in: 6dad557c3c user: AlphaSun tags: trunk
14:12
This script is intended for use on HP laptops and desktops with an OEM installation of Windows. The script will remove HP-installed bloatware and unnecessary software. It has been tested and working on a variety of HP hardware. check-in: de2e3cb88e user: AlphaSun tags: trunk
14:12
TLDR: $hash.$name = $value is stupidly inefficient. check-in: 1f07f098aa user: BattleChicken tags: trunk
14:12
furaffinity.net check-in: 68648ca008 user: unknown tags: trunk
14:12
http://en.wikipedia.org/wiki/List_of_SMS_gateways check-in: 612a86ef34 user: dvsbobloblaw tags: trunk
14:12
- NOTES check-in: b60842531c user: siweb02 tags: trunk
14:12
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: 070dff2043 user: Jonathan Walz tags: trunk
14:12
- NOTES check-in: 599a256c74 user: ChristopheCREMON tags: trunk
14:12
D:(A;;GA;;;SY)(A;;GA;;;NS) check-in: 7e331d703c user: Matthew Graeber tags: trunk
14:12
Emulates the Python functions: Map, Reduce and Filter. check-in: 3a7ef64b71 user: Vince Ypma tags: trunk
14:11
This is a script I wrote to automatically update email signatures. Reference this script in group policy. check-in: e84ef3f8f8 user: darkscrypt tags: trunk
14:11
Generates a random password of a specified length. check-in: fbbd20ea1b user: naveen tags: trunk
14:11
Generates a random password of a specified length. check-in: 31f94754b8 user: BattleChicken tags: trunk
14:11
Generates a random password of a specified length. check-in: 00cb0ef16b user: BattleChicken tags: trunk
14:11
The Get-ADGroupModificationsReport script, which were posted on http://poshcode.org/1402, are now enhanced in due to performance by storing each domain controllers security eventlog in a variable check-in: 8295b7995e user: Jan Egil Ring tags: trunk
14:11
Configure Dell OM racadm IP and MSI install if needed. check-in: 559b71bb3e user: Robert Bordeaux tags: trunk
14:11
############################################################################## check-in: 2efdc2f299 user: Josh Einstein tags: trunk
14:11
Validates a username and password against Active Directory. Requires .NET 3.5 and PowerShell V2. check-in: 069a40c560 user: Mike Pfeiffer tags: trunk
14:11
A demo for some fun native-console hooking in PowerShell ISE check-in: ed2baa9b86 user: Joel Bennett tags: trunk
14:11
A demo for some fun native-console hooking in PowerShell ISE check-in: 50ddd4bb9b user: Joel Bennett tags: trunk
14:11
Get-Large-Pics.ps1 – scans a source directory’s pictures and stores the largest version (if larger than the original source) of each picture it can find in google image search in the target directory. Usage: get-large-pics.ps1 c:\pictures c:\results. Fixed to now analyze http header content length properties to find the largest instead of downloading all images check-in: fcd7013926 user: James Gentile tags: trunk
14:11
Get-Large-Pics.ps1 – scans a source directory’s pictures and stores the largest version (if larger than the original source) of each picture it can find in google image search in the target directory. Usage: get-large-pics.ps1 c:\pictures c:\results. Fixed to now analyze http header content length properties to find the largest instead of downloading all images check-in: 8c454406c2 user: James Gentile tags: trunk
14:11
Get-Large-Pics.ps1 – scans a source directory’s pictures and stores the largest version (if larger than the original source) of each picture it can find in google image search in the target directory. Usage: get-large-pics.ps1 c:\pictures c:\results. check-in: 99b3e944a4 user: James Gentile tags: trunk
14:11
a helper GUI to create RoboCopy commands check-in: b8b2e40df1 user: unknown tags: trunk
14:11
Restart wireless service and say it check-in: 3fba4dede1 user: hellorobo tags: trunk
14:11
IMCEAEX-_O=BAYMAIL_OU=EXCHANGE+20ADMINISTRATIVE+20GROUP+20+28FYDIBOHF23SP DLT+29_CN=RECIPIENTS_CN=IMMTZ@bayer.cnb check-in: ec4566e2bd user: change tags: trunk
14:11
See http://msdn.microsoft.com/en-us/library/windows/desktop/ms646302(v=vs.85).aspx and http://msdn.microsoft.com/en-us/library/windows/desktop/ms646272(v=vs.85).aspx check-in: 1c1eadfc81 user: greg zakharov tags: trunk
14:11
Get-FileEncoding function determines encoding by looking at Byte Order Mark (BOM). check-in: 51822636e9 user: Supernatendo tags: trunk
14:11
FormsLib.ps1 check-in: 0f3c930054 user: unknown tags: trunk
14:11
Get-FileEncoding function determines encoding by looking at Byte Order Mark (BOM). check-in: ac1ac64f4f user: Chad Miller tags: trunk
14:11
Sets properties for a given user local username. check-in: 96f3f53d1e user: Andy Arismendi tags: trunk
14:11
Datagrid Xaml layout needed for Boots DataGrid binding example http://poshcode.org/2259 check-in: 4f1c1e4892 user: foureight84 tags: trunk
14:11
This script returns a path where antivirus has been installed. It doesn’t use WMI (thanks a lot to greg zakharov for this trick). check-in: 221b1c8328 user: Olivia Wild tags: trunk
14:11
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: 4a6a442df0 user: halr9000 tags: trunk
14:11
retrieve the windows product key of a specified machine using WMI check-in: 5fe7034ac3 user: karl prosser tags: trunk
14:11
Restarts local or remote IIS AppPools check-in: 8e085957b5 user: Joel Bennett tags: trunk
14:11
Sync Files and Folders with powershell check-in: 2498c5c082 user: SyncFolder tags: trunk
14:11
This function creates a web client that will ignore all SSL certificate errors. Useful for uploading (HTTP PUT, maybe POST as well) to an https web server using a self-signed cert. check-in: bfa6a3787a user: Carter Shanklin tags: trunk
14:11
Sync Files and Folders with powershell check-in: f58c4a4d7f user: SyncFolder tags: trunk
14:11
Script creates unique scratch folders on the provided datastore for all ESXi hosts in csv file and sets the advanced host settings to correspond to this location. check-in: da50fd01a5 user: skinny tags: trunk
14:11
Script creates unique scratch folders on the provided datastore for all ESXi hosts in csv file and sets the advanced host settings to correspond to this location. check-in: 4279376d1a user: Kimberly Anderso tags: trunk
14:11
Get-GitInfoForDirectory Function – Git repo folder info gather function to Display Git Repo Status and Branch in the PowerShell Prompt. – Add Function to your Profile Script, and call from within the Prompt Function – Must have Git For Windows installed and its install directory added to the PATH check-in: 560d212c57 user: JayDeuce tags: trunk
14:11
Publish a module to a local folder to get the .nupkg check-in: 6886848554 user: Joel Bennett tags: trunk
14:11
test66 check-in: f951cdb645 user: jeffry tags: trunk
14:11
JEFFTEST check-in: bad0f5ec41 user: jeff3 tags: trunk
14:11
IMCEAEX-_o=First+20Organization_ou=Exchange+20Administrative+20Group+20+28FYDIBOHF23SPDLT+29_cn=Recipients_cn=user09045337@glueck.local check-in: 7232bb385f user: IMMTZ tags: trunk
14:11
Guesses the gender of a first name. Uses BabyNameAddicts.com, and works with most common names (not just anglo) ... check-in: e9eb1c0788 user: Joel Bennett tags: trunk
14:10
Logoff all disconnected local users, inspired by this: http://poshcode.org/3285 check-in: 3837384533 user: LogOffUsers tags: trunk
14:10
Logoff all disconnected local users, inspired by this: http://poshcode.org/3285 check-in: b4d9f6178a user: unknown tags: trunk
14:10
kills trustedinstaller check-in: 1c498e0039 user: LunaHex tags: trunk
14:10
Using netsh.exe to loop through each WLAN on the system and export the settings to the user-provided output-file. check-in: b96c400154 user: Jan Egil Ring tags: trunk
14:10
The script is intended for process end on any computer in a local area network. Class WMI is used. The rights of the manager to the local area network computer are necessary. check-in: 43812e20dc user: Angel-Keeper tags: trunk
14:10
I found this PowerShell Form Builder at TechNet (author: Z.Alex.) I made some very minor changes/modifications to suit my own personal preferences and to clean up some annoying output. It is sparse (an advantage in my view) and should take less than 10 minutes to learn the usage. check-in: 5f14ab77de user: Vince Ypma tags: trunk
14:10
I found this PowerShell Form Builder at TechNet (author: Z.Alex.) I made some very minor changes/modifications to suit my own personal preferences and to clean up some annoying output. It is sparse (an advantage in my view) and should take less than 10 minutes to learn the usage. check-in: 56fcc8ea60 user: Vince Ypma tags: trunk
14:10
Will alert on failed pings and again when recovered. check-in: 1b22b5ff3b user: themoblin tags: trunk
14:10
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: 0e64006993 user: AlphaSun tags: trunk
14:10
We have multiple domains. I added this function to my profile for each of our domains to easily connect to them using Quest ActiveRoles Management Shell for Active Directory. The function kicks you into a nested prompt to work in the domain that you connect to and lets you exit back out. It also modifies your foregroundcolor so you remember that you’re in a nested prompt. check-in: a4093c7f0f user: unknown tags: trunk
14:10
Function that return the console output of all running amazon instances check-in: d1658007cf user: unknown tags: trunk
14:10
Enables BitLocker on the OS drive. If BitLocker has already been enabled, extracts the recovery key if there is one present. check-in: 06050e32a2 user: Colin Squier tags: trunk
14:10
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: 5bc4ce7f2e user: Joakim Svendsen, Svendsen Tech tags: trunk
14:10
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: 502ef1c4d6 user: support tags: trunk
14:10
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: e5c0d022b7 user: chris seiter tags: trunk
14:10
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: c141a9dc00 user: Daniel Srlv tags: trunk
14:10
Set-Wallpaper lets you set your windows desktop wallpaper. It requires PInvoke and I wrote it using CTP2’s Add-Type, although it could be done in v1 using the JIT code generation tricks Lee Holmes has mentioned in the past … check-in: d9a613f091 user: Joel Bennett tags: trunk
14:10
Print the hostname of the system. Complete with v2 comment-based help, but works fine on v1. check-in: 60aee5b2e1 user: tst-wms-print-00 tags: trunk
14:10
Print the hostname of the system. Complete with v2 comment-based help, but works fine on v1. check-in: 98e454c027 user: halr9000 tags: trunk
14:10
Script for total resize of all pictures in one or multiple directories. check-in: 53d24716b3 user: Oleg Medvedev tags: trunk
14:10
Check and md5 or sha1 hash in a “single line” of PowerShell. check-in: 3fa7cc4ca6 user: Joel Bennett tags: trunk
14:10
Connect to an exchange mailbox and get your latest emails. check-in: d4b07d72b1 user: George Mauer tags: trunk
14:10
Script creates unique scratch folders on the provided datastore for all ESXi hosts in csv file and sets the advanced host settings to correspond to this location. check-in: 4c999c28b3 user: Kimberly Anne A tags: trunk
14:10
Script creates unique scratch folders on the provided datastore for all ESXi hosts in csv file and sets the advanced host settings to correspond to this location. check-in: 6fab58ad83 user: Kimberly Anne A tags: trunk
14:10
Script creates unique scratch folders on the provided datastore for all ESXi hosts in csv file and sets the advanced host settings to correspond to this location. check-in: 77606850d8 user: Leon Scheltema tags: trunk
14:10
quoted printable decoder (assumes you want to output strings as opposed to a byte buffer). check-in: 0f9b419d91 user: Public Domain tags: trunk
14:10
Enables SNMP via Add-WindowsFeature (If not already enabled) check-in: f998c6c265 user: St3v3o tags: trunk
14:10
Update custom scratch location ESXi 5.1 check-in: 322e44e9b5 user: Leon Scheltema tags: trunk
14:10
A wrapper around Get-FormatData that allows you to pipe types or objects into it. e.g. check-in: 50ccefdf92 user: Public Domain tags: trunk
14:10
Add-SPSolution “WSP path url” check-in: 7d34b47880 user: Joel Bennett tags: trunk
14:10
Script for total resize of all pictures in one or multiple directories. check-in: 86db9c1a71 user: Oleg Medvedev tags: trunk
14:10
Allows you to copy items and display the native windows copy dialogue instead of having to use -passthru or fuss with write-progress check-in: 56e0798597 user: Nathan Kasco tags: trunk
14:10
Allows you to copy items and display the native windows copy dialogue instead of having to use -passthru or fuss with write-progress check-in: 3e5101d687 user: Nathan Kasco tags: trunk
14:10
A wrapper around Get-FormatData that allows you to pipe types or objects into it. e.g. check-in: 90c25f0b77 user: Public Domain tags: trunk
14:10
Make write-host text appear as if it is being typed on a typewriter check-in: a519f24049 user: Nathan Kasco tags: trunk
14:10
Make write-host text appear as if it is being typed on a typewriter check-in: 37b4f24968 user: Nathan Kasco tags: trunk
14:10
Make write-host text appear as if it is being typed on a typewriter check-in: 1afb168025 user: Nathan Kasco tags: trunk
14:09
Make write-host text appear as if it is being typed on a typewriter check-in: cc48947346 user: Nathan Kasco tags: trunk
14:09
Make write-host text appear as if it is being typed on a typewriter check-in: 3d20ae966e user: Nathan Kasco tags: trunk
14:09
Make write-host text appear as if it is being typed on a typewriter check-in: 8ee3200909 user: Nathan Kasco tags: trunk
14:09
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: 823d04c13d user: Daniel tags: trunk
14:09
Get-FileEncoding function determines encoding by looking at Byte Order Mark (BOM). check-in: c9ff03c515 user: Chad Miller tags: trunk
14:09
I wrote this to install IE11 through Altiris. Though the install method works fine without using Altiris. The script installs all of the KB prerequisite and recommended updates for IE 11, which are specified in $updateMSUs for the x86 and x64 blocks of code. It then installs IE 11 without forcing a reboot. check-in: 1d33ea4a7a user: BattleChicken tags: trunk
14:09
Add new smtp address from csv and set new address primary check-in: 72475c7cc0 user: Ermias tags: trunk
14:09
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: f649f23a9b user: Joakim Svendsen, Svendsen Tech tags: trunk
14:09
Get list of the loaded drivers without EnumDeviceDrivers function or WMI. check-in: 3e94197874 user: greg zakharov tags: trunk
14:09
Find matching members in a local group check-in: df3781a44c user: Hal Rottenberg tags: trunk
14:09
IMCEAEX-_o=MHGRP_ou=Exchange+20Administrative+20Group+20+28FYDIBOHF23SPDLT+29_cn=Recipients_cn=202c27c8-d5792d45-c12579bb-48477d@MH.GRP check-in: f3cf013e81 user: IMMTZ tags: trunk
14:09
Here is the complete code, import pfx, add iis website, add ssl binding: check-in: 7e2777a1b8 user: Brian H Madsen tags: trunk
14:09
Beschreibung check-in: 469104c077 user: Chris916 tags: trunk
14:09
Test the Prompt features check-in: 341abbb319 user: Damien Ryan tags: trunk
14:09
I wrote a small function for parsing a Windows DNS Debug log. You can pipe both log-lines and filenames to this cmdlet. I’ve added 3 different types of log formats for it to handle. check-in: c508eff852 user: DollarUnderscore tags: trunk
14:09
retrieve the windows product key of a specified machine using WMI windows 8.1 check-in: 93e29edfb2 user: karl prosser tags: trunk
14:09
The upload is not complete, lines after line 1738 are missing :-( check-in: cf75eea8c9 user: Atamido tags: trunk
14:09
retrieve the windows product key of a specified machine using WMI check-in: e4dbe54762 user: karl prosser tags: trunk
14:09
The Convert-MacAddress function takes a valid hex MAC address and converts it to another valid hex format. check-in: 971f341bc0 user: Rich Kusak tags: trunk
14:09
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: 4ba9542161 user: Joel Bennett tags: trunk
14:09
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: 896dff79e4 user: Brian H Madsen tags: trunk
14:09
The Get-Strings cmdlet returns strings (Ascii and/or Unicode) from a file. This cmdlet is useful for dumping strings from binary file and was designed to replicate the functionality of strings.exe from Sysinternals Suite. check-in: 5f8e7e31f2 user: greg zakharov tags: trunk
14:09
Read all group policies from the domain, read out individual settings, and make them filterable and sortable check-in: b65376391e user: Atamido tags: trunk
14:09
Script for total resize of all pictures in one or multiple directories. check-in: c3a2042924 user: Oleg Medvedev tags: trunk
14:09
Trying to decrypt files with the key, I need to know why I keep getting errors,If PowerShell gives me this error “WARNING: Exception calling “Close” with “0” argument(s): “Length of the data to decrypt is invalid” then the file wont decrypt no matter how many times I try. If it doesn’t give me the error then after 10 to 15 No’s if finally decrypts the file. Can someone please tell me what’s wrong with the script. check-in: 3984c68017 user: unknown tags: trunk
14:09
Creates a port monitor inside of Operations Manager 2007. Usage is SCOM-CreatePortMonitoring.ps1 -serverName:‘TargetServerName.contoso.com’ -portNumber:‘80’ -pollIntervalSeconds:‘120’ -watcherNodes:“watcher1.contoso.com”, “watcher2.contoso.com” -displayName:‘Test URL monitoring’ -targetMP:‘Port Monitoring MP’ check-in: 90eae585f2 user: Jeremy Pavleck tags: trunk
14:09
Revert to the last VMware snapshot with variables for Vvcenter and VM check-in: 306c0ee6b5 user: TXGUY tags: trunk
14:09
Enumerates all CPU related tasks (filters out null CPU times) with the following properties: check-in: aad46f5d90 user: internetrush1 tags: trunk
14:09
ISE-Lines module v 1.2 check-in: c6925e38d1 user: Scott Hardwick tags: trunk
14:09
This is a module I create to make getting Office 365 account info a bit easier. check-in: 92884fbcd8 user: BoardWithLife tags: trunk
14:09
This script is taking a file in .txt with the Hostnames or IPs and performs an update to the VM Tools Policy from manual to “Upgrade VMware Tools on Power cycle”. check-in: 6ad57b37ea user: anksoswordpress tags: trunk
14:09
A VI toolkit script to update all VM Guests on the selected hosts check-in: deb98dabee user: Brian English tags: trunk
14:09
This is a module I create to make getting Office 365 account info a bit easier. check-in: 0a4e8ac644 user: BoardWithLife tags: trunk
14:09
A script to do a query on a remote registry key or value (Fixed a bug in 2.0) check-in: 2a32305e85 user: Joel Bennett tags: trunk
14:09
This is a module I create to make getting Office 365 account info a bit easier. check-in: f61f0d8a98 user: BoardWithLife tags: trunk
14:09
This is a module I create to make getting Office 365 account info a bit easier. check-in: 43a3d035ed user: BoardWithLife tags: trunk
14:09
This is a module I create to make getting Office 365 account info a bit easier. check-in: e93f579dd7 user: BoardWithLife tags: trunk
14:09
This is a module I create to make getting Office 365 account info a bit easier. check-in: 3f939d224c user: BoardWithLife tags: trunk
14:08
Add new smtp address from csv and set new address primary check-in: ed77278247 user: Ermias tags: trunk
14:08
Get a short url, using tiny-url api for shortening check-in: 2d5eb6e619 user: Alvaro Torres tags: trunk
14:08
A script to do a query on a remote registry key or value … check-in: 6b757ffc5a user: Joel Bennett tags: trunk
14:08
Validates a username and password against Active Directory. Requires .NET 3.5 and PowerShell V2. check-in: efd0b16496 user: Mike Pfeiffer tags: trunk
14:08
All Group Policy Objects modified in the specified timespan are backup up to the specified backup path. check-in: 44ed6809be user: Jan Egil Ring tags: trunk
14:08
Found in my personal scripts archive (author: greg zakharov) check-in: 227603a829 user: Dana James tags: trunk
14:08
This script will help a user to batch connect multiple pst files in Microsoft Outlook (personal email archives). check-in: 0c24ff62f4 user: username tags: trunk
14:08
This script will help a user to batch connect multiple pst files in Microsoft Outlook (personal email archives). check-in: 4f69f84324 user: Jack Neff tags: trunk
14:08
Script for total resize of all pictures in one or multiple directories. check-in: 00eaa5fb3e user: Oleg Medvedev tags: trunk
14:08
Original post found at http://www.cyberforum.ru/post8436749.html check-in: f6a0f5492c user: govnyakha tags: trunk
14:08
Original post found at http://www.cyberforum.ru/post8436749.html check-in: 1f9105a56b user: govnyakha tags: trunk
14:08
Two functions, one that emulates the pause functionality from cmd.exe, and one that gives similar functionality to more.com. Out-More is especially useful if you’re doing something like “gc somefile.txt | Out-More” because it starts outputting text to the screen immediately instead of waiting for the entire file to be read, which is what happens if you do “gc somefile.txt | more”. Out-More can also be used for other objects besides. check-in: 6779b37977 user: unknown tags: trunk
14:08
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: 1b809d098b user: DrDrewl tags: trunk
14:08
Original post at http://www.cyberforum.ru/post8426907.html check-in: 4e16a2f366 user: govnyakha tags: trunk
14:08
Use this script to create Scrum issue labels for a GitHub repo. check-in: 433a432664 user: Ian Philpot tags: trunk
14:08
Use this script to create Scrum issue labels for a GitHub repo. check-in: 48bc477564 user: Ian Philpot tags: trunk
14:08
Example of elementary keylogger. check-in: f9ff234e5f user: greg zakharov tags: trunk
14:08
IMCEAEX-_o=MHGRP_ou=Exchange+20Administrative+20Group+20+28FYDIBOHF23SPDLT+29_cn=Recipients_cn=72cb2d01-aa16a82b-c1257648-2bcaae@MH.GRP check-in: b6e417f135 user: IMMTZ tags: trunk
14:08
Validates a username and password against Active Directory. Requires .NET 3.5 and PowerShell V2. check-in: 2cd9279fbd user: Mike Pfeiffer tags: trunk
14:08
The function hex2sid will convert HEX-represented SID string like 010500000000000515000000358A021A75B9755407E53B2B1EF10108 to SID string (also known as SSDL) check-in: fc0aecc32b user: Dormidont tags: trunk
14:08
Print the hostname of the system. Complete with v2 comment-based help, but works fine on v1. check-in: 9bd637a0f2 user: halr9000 tags: trunk
14:08
Print the hostname of the system. Complete with v2 comment-based help, but works fine on v1. check-in: 01e92f7fb0 user: halr9000 tags: trunk
14:08
Print the hostname of the system. Complete with v2 comment-based help, but works fine on v1. check-in: 5eed33e685 user: halr9000 tags: trunk
14:08
Print the hostname of the system. Complete with v2 comment-based help, but works fine on v1. check-in: c1ba3a1f4b user: halr9000 tags: trunk
14:08
Print the hostname of the system. Complete with v2 comment-based help, but works fine on v1. check-in: d6bb9ebd7d user: halr9000 tags: trunk
14:08
Print the hostname of the system. Complete with v2 comment-based help, but works fine on v1. check-in: b332d45dd8 user: halr9000 tags: trunk
14:08
Print the hostname of the system. Complete with v2 comment-based help, but works fine on v1. check-in: 62e0a0023d user: halr9000 tags: trunk
14:08
Print the hostname of the system. Complete with v2 comment-based help, but works fine on v1. check-in: bc5a5bbd6a user: halr9000 tags: trunk
14:08
Print the hostname of the system. Complete with v2 comment-based help, but works fine on v1. check-in: ebfdee3271 user: halr9000 tags: trunk
14:08
IMCEAEX-_o=MHGRP_ou=Exchange+20Administrative+20Group+20+28FYDIBOHF23SPDLT+29_cn=Recipients_cn=f6feb9b4-e2216015-c12574e3-4f0fcd@MH.GRP check-in: 56aa08723e user: baraaa tags: trunk
14:08
Function to find organizational units linked to a given GPO check-in: fb98665a74 user: unknown tags: trunk
14:08
Makes use of Sysinternal’s psexec to get session data from qwinsta for both local and remote computers. check-in: 3882bf0153 user: hotsnoj tags: trunk
14:08
IMCEAEX-_o=MHGRP_ou=Exchange+20Administrative+20Group+20+28FYDIBOHF23SPDLT+29_cn=Recipients_cn=43e41419-4647a201-c1257e7e-63bb3e@MH.GRP check-in: 6f76242ab8 user: exchange tags: trunk
14:08
S:(ML;;NW;;;LW)D:(A;;0×120083;;;WD)(A;;0×120083;;;AC) check-in: 0c834df3aa user: Matthew Graeber tags: trunk
14:08
An update to the orignal Get-FileTail that replaces a specific int with a long to accommodate particularly large files. Original text: A PowerShell 2.0 function to do the equivalent of the ‘nix tail, including the continuous feature (tail -f). Notice this does not try to emulate the ‘nix command parameters, which never made sense to me. I’ll leave that to someone else. check-in: 6d7b9fa9ef user: Joel Bennett tags: trunk
14:08
adapted from code by Kiron news://msnews.microsoft.com:119/FAEC38D1-62A8-47B1-A94E-A29A2CA4FE29microsoft.com check-in: 5507e982c1 user: unknown 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: 584f30bc23 user: AlphaSun tags: trunk
14:07
Invoke-RestMethod example check-in: afac8c43bf user: unknown tags: trunk
14:07
IMCEAEX-_O=CONTOSO_OU=First+20Administrative+20Group_cn=Recipients_cn=john+5Fjacob+2Esmith@contoso.com check-in: a21925203c user: Test1 tags: trunk
14:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 7b0bc8ab17 user: Lee Holmes tags: trunk
14:07
Generic wrapper for the While statement that will execute a condition a given number of max tries, waiting a given number of seconds in between. check-in: 572b4af9bd user: unknown tags: trunk
14:07
More malware from http://undoacne(dot)xyz/dl.php check-in: 2d9bf3cccb user: madtomvane tags: trunk
14:07
I just want to rename the folder names in particular path where folder name starts with keep all characters by dropping if “12_” before the file name. I am able to rename it but not able to get log file for the following script. check-in: 909ba69e57 user: Srinu tags: trunk
14:07
Globalscape EFT Powershell module check-in: 19c9e827ba user: BattleChicken tags: trunk
14:07
This code makes a tiny game; You must dodge all digits that will go appearing in the Screen. Use the Left-Right Keys to move yourself. When the game starts and asks you to press Intro to start you can put some commands; check-in: 7c3a434bc3 user: JohnSinnes tags: trunk
14:07
This code makes a tiny game; You must dodge all digits that will go appearing in the Screen. Use the Left-Right Keys to move yourself. When the game starts and asks you to press Intro to start you can put some commands; check-in: 010fbedbca user: JohnSinnes tags: trunk
14:07
A couple of functions to suspend and resume applications (like what you do with Resource Monitor). check-in: 90eca69b61 user: Joel Bennett tags: trunk
14:07
Rebuilds Windows Indexing on a remote PC check-in: 3f3670abbd user: Aphexenator tags: trunk
14:07
Test the Prompt features check-in: e4bbde3848 user: Anonymous tags: trunk
14:07
This script will remove all versions of java run-time, both 32-bit and 64-bit if the uninstall files in the bin folder of each version are present. If they are not then a version(s) could be left behind. We use this when a users system has it’s Java Run-time. When you have multiple versions of Java JRE installed in static mode and need to clear them up to level set and reinstall the new versions. No system restarts or log offs required. check-in: 9cf757209c user: John Delise tags: trunk
14:07
This function converts FSP’s to sAMAccountName’s check-in: e0fd8bf413 user: Jeff Patton 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: 8b044f1517 user: deepwaterdiver tags: trunk
14:07
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: 1368613a2d user: mjohnson tags: trunk
14:07
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: 5490060956 user: mjohnson tags: trunk
14:07
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: fdfaa15afb user: mjohnson tags: trunk
14:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 73b8b2efd9 user: Lee Holmes tags: trunk
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
14:02
I wrote this a while back to be able to automate stuff on a hp san and ilo. It’s pretty much mritten ad-hoc so please feel free to improve on it. Anyway, might be useful for someone out there. The function send-command logs on to a telnet server and executes the piped in commands. check-in: 3fa2a9cb52 user: yavu305z tags: trunk
14:02
I wrote this a while back to be able to automate stuff on a hp san and ilo. It’s pretty much mritten ad-hoc so please feel free to improve on it. Anyway, might be useful for someone out there. The function send-command logs on to a telnet server and executes the piped in commands. check-in: 366f8b752e user: David Sjstrand tags: trunk
14:02
This script changes the local administrator password. check-in: 0e4788ccad user: Jeff Patton tags: trunk
14:02
01 00 00 00 d0 8c 9d df 01 15 d1 11 8c 7a 00 c0 4f c2 97 eb 01 check-in: 6bd9f582df user: CrazyDave tags: trunk
14:02
retrieve the windows product key of a specified machine using WMI check-in: f5a4f2e000 user: Veronika tags: trunk
14:02
Tags alert with PrincipalName, Severity and MP name in Custom fields. check-in: 552a1b7967 user: unknown tags: trunk
14:02
retrieve the windows product key of a specified machine using WMI check-in: 852c3cc9d0 user: karl prosser tags: trunk
14:02
Change the inheritance from parent with PowerShell check-in: 9e6f5c00bf user: Vern Anderson tags: trunk
14:01
This script performs OpenLdap query against specified Server. check-in: 6e56deae8b user: BSonPosh tags: trunk
14:01
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 75a2c04246 user: Lee Holmes tags: trunk
14:01
Buying groceries with PowerShell, because why not? ;-) check-in: 4496768f55 user: DollarUnderscore tags: trunk
14:01
This script generates an output file from a template and a driver table. Both of the inputs are files. The template file contains plain check-in: f7997aa94b user: Walter Mitty tags: trunk
14:01
This scripts converts Raw SID such as 010500000000000515000000A065CF7E784B9B5FE77C8770091C0100 into a standard SID output such as S-1-5-21-2127521184-1604012920-1887927527-72713 check-in: f07f243fa3 user: S-1-5-21-2127521 tags: trunk
14:01
ISE-Lines module v 1.2 check-in: 58812311f8 user: Scott Hardwick tags: trunk
14:01
Extension of sqlcmd or invoke-sqlcmd and invoke-sqlcmd2 to include things like ApplicationName, ApplicationIntent and other settings that would be in a connection string. check-in: b8510f2a0e user: Ben Miller tags: trunk
14:01
WinSCP wrapper module I created out of necessity that I put together through my own exploration of the objects and the WinSCP documentation/examples. check-in: 8b6d4964bf user: BattleChicken tags: trunk
14:01
Function to create ACE objects to simplify making changes to folder permissions. New-ACE function plus a usage example check-in: bbd060b724 user: BattleChicken tags: trunk
14:01
Encrypting and Decrypting passwords using securestring. Simple example. check-in: ff4a91425a user: BattleChicken tags: trunk
14:01
Powershell function I made to generate a random password that enforces one of each of UPPER, lower, and number characters, with optional special characters. check-in: 59ac08011a user: BattleChicken tags: trunk
14:01
Powershell example using Task Scheduler managed wrapper I drafted up some time ago. The task this creates is harmless; it just launches notepad.exe. you can run the code and examine the created task to see what you need to change to create a task that does something useful. check-in: 50c6aa6458 user: BattleChicken tags: trunk
14:01
Converts an input string into its C ASCI Hex equivalent, useful for converting a string into an unsigned char array check-in: bbed48d094 user: CrazyDave tags: trunk
14:01
The function hex2sid will convert HEX-represented SID string like 010500000000000515000000358A021A75B9755407E53B2B1EF10108 to SID string (also known as SSDL) check-in: ae9e1ab49b user: 931819 tags: trunk
14:01
The function hex2sid will convert HEX-represented SID string like 010500000000000515000000358A021A75B9755407E53B2B1EF10108 to SID string (also known as SSDL) check-in: 9a00272929 user: Dormidont tags: trunk
14:01
As written it will poll Cisco routers and switches and if the snmp OID’s match it will pull out model, serial, and IOS version. The resulting spreadsheet contains IP, host name, serial, model, IOS version, and rack location. The script is heavily documented internally. See the script for more info. check-in: 5952b9cd8b user: Kenneth C Mazie tags: trunk
14:01
Sets properties for a given user local username. check-in: 8e8a9b2c65 user: Andy Arismendi tags: trunk
14:01
ConfigMgr CI Detection script for detecting if WMI Wifi Connection Metric is greater than LAN check-in: 269ffbab6d user: brockie tags: trunk
14:01
ConfigMgr CI remediation Sets WMI IPConnectionMetric of laptop Wi-Fi adapter to 100 + IPConnectionMetric of the LAN adaptor. based of Richard Siddaway’s work from powershell.com forum. check-in: 0a7a369a06 user: brockie tags: trunk
14:01
Function for retrieving certificates from a CA instance. It can also return the public key, which I use to encrypt credentials in DSC resources (thumbprint is also returned). check-in: 71e01261a4 user: DollarUnderscore tags: trunk
14:01
Test the Prompt features check-in: 117393c95b user: Damien Ryan tags: trunk
14:01
This PowerShell code performs a SOAP webrequest to the school check-in: c891fbe0b5 user: Paul Wiegmans tags: trunk
14:01
Can anyone help me here and explain the below code check-in: 6416ae180c user: Praveen tags: trunk
14:01
A couple functions I use to convert DN to Canonical, and canonical to DN. I find them handy for adhoc AD tasks… I saw someone ask about it on #powershell and figured I would share :) check-in: 989c6445e6 user: Glenn Sizemore glnsize tags: trunk
14:01
Search true log files generated by Robocopy for error / success messages check-in: d7c7e450c7 user: vanwyngaarden tags: trunk
14:01
Repost from http://forum.script-coding.com/viewtopic.php?id=10475 check-in: 7b818072a9 user: unknown tags: trunk
14:01
This code searches your AD for servers that have active computer accounts within the last 30 days, pings them, and returns a list of Service objects for installed SQL instances. check-in: a96225b878 user: jgrote tags: trunk
14:01
Can someone explain to me what the following code is used to do? And how many it will produce? and How would the output be used? check-in: 684155b64b user: ThaBare1 tags: trunk
14:01
Uses [system.net.IPAddress]::parse, not [system.net.IPAddress]::tryparse. check-in: af059c9edd user: Allan B tags: trunk
14:01
Uses [system.net.IPAddress]::parse, not [system.net.IPAddress]::tryparse. check-in: 7711767af1 user: mow01 tags: trunk
14:01
Can someone explain to me what the following code is used to do? And how many it will produce? and How would the output be used? check-in: 4c1bd06f64 user: unknown tags: trunk
14:01
Add new smtp address from csv and set new address primary check-in: 942df6b303 user: Ermias tags: trunk
14:01
A function to analyse Robocopy logs which are placed in a folder. check-in: 22b4d82c5d user: Bart Lievers tags: trunk
14:01
A function to analyse Robocopy logs which are placed in a folder. check-in: 6ffc26a8f4 user: Bart Lievers tags: trunk
14:01
A function to analyse Robocopy logs which are placed in a folder. check-in: d14d424e29 user: Bart Lievers tags: trunk
14:01
This code will cleanup local profiles on a server/computer. It needs admin-rights to run. check-in: 23d893ca30 user: DollarUnderscore tags: trunk
14:01
Latest version from http://blogs.msdn.com/powershell/archive/2008/09/02/speeding-up-powershell-startup-updating-update-gac-ps1.aspx check-in: cd693e6121 user: unknown tags: trunk
14:01
This newer version of the ExBPA only creates HTML based reports for each server. This setup made the reports difficult to compile and notarize. So I made a parser to read the HTML and convert the pertinent data into CSV files. check-in: 866e03a1fa user: Josh Wortz tags: trunk
14:01
This newer version of the ExBPA only creates HTML based reports for each server. This setup made the reports difficult to compile and notarize. So I made a parser to read the HTML and convert the pertinent data into CSV files. check-in: 7200ab4da3 user: Josh Wortz tags: trunk
14:00
Returns the priority mail server (SMTP) to send email directly to the SMTP server of a particular domain/email address. Uses NetCmdlets (get-dns). check-in: 4b5a72f6a6 user: cssdtvcom tags: trunk
14:00
Returns the priority mail server (SMTP) to send email directly to the SMTP server of a particular domain/email address. Uses NetCmdlets (get-dns). check-in: 3d55397e9b user: Lance Robinson tags: trunk
14:00
Example using objects… check-in: 321169a532 user: smaug9 tags: trunk
14:00
In this JSON module, I have a full set of tools for exporting, importing, and converting Json objects (including arbitrary objects). See comments in script header for usage examples, but basically, you can do things like: check-in: f69ba13f1a user: Joel Bennett tags: trunk
14:00
Modification on several other methods, but this one doesn’t load any assemblies and will convert any +xx sequence to their ASCII equivalent. check-in: 05f9d5cfda user: Dan Jeuch tags: trunk
14:00
Get-OUComputerNames check-in: 113cae981a user: Nathan Hartley tags: trunk
14:00
Ever wanted to start some threads on a block of code but hated the headache of creating, watching, and collecting job data? This is my attempt to put a bandaid on that issue. check-in: 2dd3071de2 user: Kenneth W Hightower JR tags: trunk
14:00
Ever wanted to start some threads on a block of code but hated the headache of creating, watching, and collecting job data? This is my attempt to put a bandaid on that issue. check-in: 34080b042e user: Kenneth W Hightower JR tags: trunk
14:00
Ever wanted to start some threads on a block of code but hated the headache of creating, watching, and collecting job data? This is my attempt to put a bandaid on that issue. check-in: b6cc2568c4 user: Kenneth W Hightower JR tags: trunk
14:00
Ever wanted to start some threads on a block of code but hated the headache of creating, watching, and collecting job data? This is my attempt to put a bandaid on that issue. check-in: 2ffb99d129 user: Kenneth W Hightower JR tags: trunk
14:00
Ever wanted to start some threads on a block of code but hated the headache of creating, watching, and collecting job data? This is my attempt to put a bandaid on that issue. check-in: d150872079 user: Kenneth W Hightower JR tags: trunk
14:00
Creates a backup of the configuration of the network printers on a server or computer and exports it to a csv file. check-in: 2037430cee user: Ryan Tranchilla tags: trunk
14:00
I wrote a small function for parsing a Windows DNS Debug log. You can pipe both log-lines and filenames to this cmdlet. I’ve added 3 different types of log formats for it to handle. check-in: ee88d50f68 user: DollarUnderscore tags: trunk
14:00
This function is an attempt to duplicate the Quest Get-QADUser cmdlet without using any third party snap-ins. If you want to run it against a Global Catalog you simply need to replace LDAP: with GC: and you will want to comment out the lines that pull the password last set and last logon timestamp unless you happen to be replicating those to your GC. check-in: 3d9f98c7de user: spadm tags: trunk
14:00
$menu = " check-in: 68c9d8b062 user: Klaus Schulte tags: trunk
14:00
Please note that the move-vm’s -datastore parameter ought to work but there seems to be a bug in it, hence the need for this script. ** check-in: 8c3ddd3736 user: halr9000 tags: trunk
14:00
Creates an error record for throwing better/customized errors in scripts/modules. Based on the New-ErrorRecord from http://www.powershellmagazine.com/2011/09/14/custom-errors/ but simplified a bit. check-in: 0eb6d2ed7c user: CptNyan tags: trunk
14:00
Creates a DataTable for an object, based on script by Marc van Orsouw check-in: d1c5ab5d8c user: Chad Miller tags: trunk
14:00
Funtcion to set NTFS compression for specified folder. check-in: af4b0dbb47 user: skourlatov tags: trunk
14:00
A pair with ConvertTo-CliXml — this version closes and disposes the string reader handle. Now works in PowerShell 3 and 4 as well. check-in: 02b5e36a4a user: Joel Bennett tags: trunk
14:00
Function to get all logged on sessions (numbers) and coresponding users (domain name) on a local or remote system with WMI check-in: 7ab1f15b49 user: Peter Kriegel tags: trunk
14:00
Get ESX server serial numbers. check-in: 5332fcc33d user: thery tags: trunk
14:00
IMCEAEX_o=myAtea_ou=Exchange+20Administrative+20Group+20+28FYDIBOHF23SPDLT+29_cn=Recipients_cn=45afeeb98bf6459899f196a007aeb2e3-magau+5FHB@myatea.info check-in: 4864520845 user: IMMTZ tags: trunk
14:00
Simple PowerCLI example to find old snapshots. Note that I would not actually use the techniques shown here, this script was intentionally written this way as a part of a training video in which I am building on techniques. check-in: 2122747fb6 user: Ridouan tags: trunk
14:00
Simple PowerCLI example to find old snapshots. Note that I would not actually use the techniques shown here, this script was intentionally written this way as a part of a training video in which I am building on techniques. check-in: 5e6bac05b3 user: halr9000 tags: trunk
14:00
PREVIEW – (STILL) UNFINISHED WORK ;-) check-in: c280616bb9 user: Joel Bennett tags: trunk
14:00
Defines functions for wokring with Microsoft Chart Control for .NET 3.5 Framework.Pipe output to Out-Chart function and specify chart type. Chart will display in form or save to image file. Real-time charts are supported by passing in a script block. Updated to fix line chart. Line Chart XAxis needs tweaking. check-in: 40fd73debc user: Chad Miller tags: trunk
14:00
The installation of PoshCode module and the upgrade of it, is broken. check-in: e45e532dc7 user: TheBigBear tags: trunk
14:00
Powershell 3 & 4 complain about this code having syntax issues. I tried ‘fixing’ it, but I am “stuck” now. I think I fixed the first six, but have one left that I just can’t figure, so I probably made a mistake when trying to fix the first six. check-in: 58e277f28d user: Joel Bennett tags: trunk
14:00
Search a Word DocX document and highlight each instance of a pattern. check-in: b54b975252 user: Joel Bennett tags: trunk
14:00
Demo of WPF with PowerShell v3 – using [class]@{ property = value }, flexible syntax, simplified where. Also using type accelerators. Not really smartest way to create WPF (no XAML – as bad as it sounds). So don’t treat this as very good example® or WPF in use. ;) check-in: c8f246c408 user: bielawb tags: trunk
14:00
Get-ProcessCount returns the number of running processes on local or remote machine. If it can’t find the requested process, it tries to guess what you want. check-in: 7dac5ea715 user: Bas Bossink tags: trunk
14:00
Start-Job help check-in: f79113d408 user: Letoric tags: trunk
14:00
Get-FileEncoding function determines encoding by looking at Byte Order Mark (BOM). check-in: 6f5226e9df user: VertigoRay tags: trunk
14:00
Get-FileEncoding function determines encoding by looking at Byte Order Mark (BOM). check-in: 49daa02315 user: JasonMArcher tags: trunk
14:00
Get ESX server serial numbers. check-in: 4d7a193d1a user: Carter Shanklin tags: trunk
14:00
This function will allow you to query local or remote computer/s and determine if there are pending WSUS updates that need to be installed. A report is returned that can be exported to a CSV file if desired. check-in: 508d64b9b3 user: Boe Prox tags: trunk
14:00
Minor bugfix check-in: f8948f3c89 user: dzmanto tags: trunk
14:00
Function to verify if a domain controller is available, and if it’s not, another domain controller from the same site as the executing server which is online will be returned. check-in: 668a85e3b4 user: DollarUnderscore tags: trunk
13:59
The equivalent of SetTimer/setInterval/setTimeout in PowerShell. check-in: 14b09eb44a user: Public Domain tags: trunk
13:59
this script will check a list of IP’s versus the most common RBL’s online – it will mail results of each IP with a list of the blacklists it was found on. If you run it during the 9am -10am hours it will send Negitive emails also for a sanity check – check-in: 1d14b2b21e user: Munsonisim tags: trunk
13:59
This script will take a list of IP’s in an input csv (Octet.csv) and check each IP at honeypotproject.org to see if the IP is listed. check-in: 15ddaa055e user: Munsonisim tags: trunk
13:59
This script will help a user to batch connect multiple pst files in Microsoft Outlook (personal email archives). check-in: c0cb13db3a user: Jack Neff tags: trunk
13:59
Depends on “steroid” library (see https://github.com/gregzakharov/ps/tree/master/steroid for details). check-in: 841689bba0 user: greg zakharov tags: trunk
13:59
Enable aero “glass” effects for the regular powershell 2.0 console (not ISE) – vista or above, powershell 2+ and aero-compatible gfx card. check-in: fcdae5b581 user: Oisin Grehan tags: trunk
13:59
Enable aero “glass” effects for the regular powershell 2.0 console (not ISE) – vista or above, powershell 2+ and aero-compatible gfx card. check-in: 5122aad00e user: Oisin Grehan tags: trunk
13:59
Enable aero “glass” effects for the regular powershell 2.0 console (not ISE) – vista or above, powershell 2+ and aero-compatible gfx card. check-in: 2e72ccc1a6 user: Oisin Grehan tags: trunk
13:59
Uses WMI to create a new virtual machine check-in: c181816c18 user: unknown tags: trunk
13:59
Enable aero “glass” effects for the regular powershell 2.0 console (not ISE) – vista or above, powershell 2+ and aero-compatible gfx card. check-in: 06a0e0bfe1 user: Oisin Grehan tags: trunk
13:59
Enable aero “glass” effects for the regular powershell 2.0 console (not ISE) – vista or above, powershell 2+ and aero-compatible gfx card. check-in: 1da8e50cf1 user: Oisin Grehan tags: trunk
13:59
Used to find Veeam error events where backup failed because of RPC errors [DoRpcWithBinary]. Outputs an array of the unique IP adresses it finds in the eventlog and finally appends the queried Veeamserver to the list check-in: 42628ff248 user: Robin Olsson tags: trunk
13:59
Script to copy standard vSwitch config across all host within the cluster check-in: 3845df3085 user: Leon Scheltema tags: trunk
13:59
Functions to create an RTF file only using Windows PowerShell check-in: 4f84d2d184 user: Sean Kearney tags: trunk
13:59
Author unknown. check-in: 415bc0be80 user: redyey tags: trunk
13:59
This module provides two functions: Get-AppxApp and Start-AppxApp, which allow you to explore and launch the “modern” apps for Windows 8+ check-in: 135d9b8e75 user: Joel Bennett tags: trunk
13:59
This module provides two functions: Get-AppxApp and Start-AppxApp, which allow you to explore and launch the “modern” apps for Windows 8+ check-in: 5970f78268 user: Tome Tanasovski tags: trunk
13:59
These functions convert a CSV file into an XLSX file. check-in: 0c6213d043 user: Travis Kuntz tags: trunk
13:59
Code to auto update the Address policy, GAL, OAB and storage groups and mailbox databases of an Exchange 2007 server check-in: 224d4ffe2f user: unknown tags: trunk
13:59
original filename: lib-authentication.ps1 check-in: bac94a930d user: Hal Rottenberg tags: trunk
13:59
Got bored, decided to create this. check-in: cce17ff7c0 user: x0wllaar tags: trunk
13:59
Modeled after SQL Server 2008 Invoke-Sqlcmd, but fixes bug in QueryTimeout, and allows for paramaterized queries and more! check-in: d2c9d31aa3 user: RCookieMonster tags: trunk
13:59
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 59a3dad04b user: Lee Holmes tags: trunk
13:59
Minor bugfix check-in: 00e8cc6164 user: obaid tags: trunk
13:59
I wanted a quick function that would tell me what policies were missing a specific group/account, and have the ability to resolve the problem. This function will display your query by default, and will apply the settings using the -APPLY parameter. Enjoy! check-in: 6fa3ab9812 user: JayneticMuffin tags: trunk
13:59
New-Passwordfile check-in: 8f3bfe20ab user: redyey tags: trunk
13:59
Send-XMLFile check-in: b64e138eb4 user: redyey tags: trunk
13:59
Color strings via Write-Host via Regular Expressions or simple matching via pipelining. The order precedence is set under the $patterns variable, so you can have overlapping matches, resulting in output such as, e.g.: check-in: 2ffce4c69b user: Daniel Cheng tags: trunk
13:59
IMCEAEX-_o=sYra_ou=Exchange+20Administrative+20Group+20+28FYDIBOHF23SPDLT+29_cn=Recipients_cn=Arnold+20R+2E+20+7C+20Crazy+20Domainsba9@internal.dreamscapenetworks.com check-in: 77a02006e3 user: 123123 tags: trunk
13:59
This is the “proper” version of Get-WindowsProductKey check-in: 053b5f1e4a user: akaNeo tags: trunk
13:59
Ping -t with list of servers names check-in: 67971a105e user: Krushna tags: trunk
13:59
retrieve the windows product key of a specified machine using WMI check-in: b72acc3478 user: karl prosser tags: trunk
13:59
With this function I can switch between Chrome, Firefox, IE, Opera and Safari as default browser. It is just a start. There might be some more registry keys to be changed check-in: cb3040131d user: Andy Myatt tags: trunk
13:59
With this function I can switch between Chrome, Firefox, IE, Opera and Safari as default browser. It is just a start. There might be some more registry keys to be changed check-in: 5745cb7201 user: Andy Myatt tags: trunk
13:59
With this function I can switch between Chrome, IE and Firefox as default browser. It is just a start. There might be some more registry keys to be changed check-in: 30a2debc89 user: Andy Myatt tags: trunk
13:59
With this function I can switch between IE and Firefox as default browser. It is just a start. There might be some more registry keys to be changed check-in: 1761a6a5a5 user: Bernd Kriszio tags: trunk
13:59
This function will enable or disable CBT on a VM, and optionally apply the change by stunning the VM with a snapshot. It is useful when CBT needs to be reset or disabled en masse. check-in: fdadb15c7e user: Justin Grote tags: trunk
13:59
Returns the priority mail server (SMTP) to send email directly to the SMTP server of a particular domain/email address. Uses NetCmdlets (get-dns). check-in: 3f5cdf5616 user: irvingriveramx tags: trunk
13:59
Returns the priority mail server (SMTP) to send email directly to the SMTP server of a particular domain/email address. Uses NetCmdlets (get-dns). check-in: da7886329c user: irvingriveramx tags: trunk
13:58
The script will launch Windows Update on your machine, and display the patches as they are being installed. Once installed, a result code will be displayed as well. If a reboot is needed, the script will take care of that automatically. check-in: 586924bdb5 user: JayneticMuffin tags: trunk
13:58
Generate random passwords with specific complexity requirements check-in: e1534529d0 user: Jon Webster tags: trunk
13:58
The script will launch Windows Update on your machine, and display the patches as they are being installed. Once installed, a result code will be displayed as well. If a reboot is needed, the script will take care of that automatically as well… change this check-in: 1f6dfc4c8c user: JayneticMuffin tags: trunk
13:58
Wanted to create an unzip function for single files with an option to delete the originating zip, and also have a function for scanning through a folder structure recursively and providing the same functionality… and here it is. check-in: b60933d48d user: JayneticMuffin tags: trunk
13:58
Script to create Datastore clusters and add datastores from csv check-in: dd46a11b1f user: Leon Scheltema tags: trunk
13:58
Script to export Datastore information per Datastore cluster to csv check-in: e7e4ded6f7 user: Leon Scheltema tags: trunk
13:58
Import vCenter Folder structure incl VM relations check-in: 343ee9b5df user: Leon Scheltema tags: trunk
13:58
Export vCenter Folder structure incl VM relations check-in: 1cfc6eecf7 user: Leon Scheltema tags: trunk
13:58
This is submitted as a companion to the ConvertFrom-RomanNumeral function just check-in: c2cc882db2 user: Vince Ypma tags: trunk
13:58
A simple script cmdlet that allows you to empty your recycle bin. check-in: e0ef1ac06e user: Mark Schill tags: trunk
13:58
I have encountered “real world” uses for functions like this. As an exercise I check-in: 6a541f7c68 user: Vince Ypma tags: trunk
13:58
My revised version of Jan Egil Ring’s script, with the corrections noted by the commenters in his blog article. check-in: 14192c2667 user: Jan Egil Ring tags: trunk
13:58
Simple function that returns the UNC path (administrative share) of a local path. check-in: 63137c7920 user: dragonmc77 tags: trunk
13:58
Simple function that returns the UNC path (administrative share) of a local path. check-in: ded95ee2e1 user: dragonmc77 tags: trunk
13:58
Simple function that returns the UNC path (administrative share) of a local path. check-in: 68fe568905 user: dragonmc77 tags: trunk
13:58
save script with .cmd or .bat extension and launch. this demo just shows current directory entries. check-in: fdc357a0d9 user: greg zakharov tags: trunk
13:58
This script retrieves one or more facts from the Quizzle.me API check-in: 7488940b1f user: Chris Brown tags: trunk
13:58
this function calculates cpu usage through wmi object check-in: 5eca885104 user: unknown tags: trunk
13:58
Simple script to bulk-create printers on a print-server. Printers are imported from a csv-file. check-in: 37b4b4ca23 user: Jan Egil Ring tags: trunk
13:58
Find matching members in a local group check-in: 716d8035a1 user: Hal Rottenberg tags: trunk
13:58
A Little Script for $PROFILE File to Add Support for Get-FolderSize. check-in: a1836d8f89 user: Piere Woehl tags: trunk
13:58
Custompsobject check-in: 609c05fcdf user: redyey tags: trunk
13:58
export all mailbox migration stats. check-in: 9a185a7d5f user: steve tags: trunk
13:58
Two functions for interacting with IMDB. Use Get-IMDBMatch to search for a movie/tv show based on the title, and pipe that to Get-IMDBItem for more information about it. check-in: a121987859 user: DollarUnderscore tags: trunk
13:58
Get-ProcessCount returns the number of running processes on local or remote machine. If it can’t find the requested process, it tries to guess what you want. check-in: 5590123b99 user: unknown tags: trunk
13:58
The following powershell code allows you to log into jira, create an issue, assign the issue to someone (yourself in this case), add two comments, resolve, and close. check-in: b66437c264 user: unknown tags: trunk
13:58
IMCEAINVALID-David+2EDowle+40ihotdesk+2Ecom@cloud.ihotdesk.local check-in: b23baeac6c user: Test1 tags: trunk
13:58
This script runs a variety of checks on server hardware to get status or basic information. It can check memory, perc events, firmware versions, gets service tags, shows summary hardware status, retrieves ESM log, and can auto load the omsa webpage. This is a basic overview of some dell WMI related namespace operations which can be easily extended as needed. To run the script, provide the name of the function you want to call and the remote machine name to check. Note: WMI namespace for Dell is installed with dell openmanage software, v4 and higher. check-in: 029c2a7b76 user: Nathan Linley tags: trunk
13:58
The VI Toolkit comes with a cmdlet to create user accounts, but it does not allow for you to specify shell access. This script goes to the VI SDK to get the job done. check-in: 4f6fd21bcc user: unknown tags: trunk
13:58
A couple of functions to suspend and resume applications (like what you do with Resource Monitor). check-in: ac71dc6ccf user: Joel Bennett tags: trunk
13:58
Just a simple script to tie to a GPO to install .NET 4.5 and WMF 4.0 check-in: afa145b8df user: Zerfam tags: trunk
13:58
Just a simple script to tie to a GPO to install .NET 4.5 and WMF 4.0 check-in: 1b1209fd17 user: Zerfam tags: trunk
13:58
ETL From Shopping Cart to MOM check-in: a514d88a75 user: Zefram tags: trunk
13:58
ETL From Shopping Cart to MOM check-in: b6b80018c2 user: Zefram tags: trunk
13:58
Small script to export a CSV file containing a collections ID, Name and Limiting collection ID. This can be used as is to import into Microsoft Visio Org Chart wizard to produce a graphical representation of your collection structure. check-in: df608b09f0 user: Brian Skinner tags: trunk
13:58
A function to rename a computer check-in: 67a655946d user: Gerald Klassen tags: trunk
13:58
HTML functions from the PowerShell Pack. check-in: 835bdf2092 user: rcookiemonster tags: trunk
13:58
IMCEAEX-_O=CAPIQCORPMAIL_OU=EXCHANGE+20ADMINISTRATIVE+20GROUP+20+28FYDIBOHF23SPDLT+29_CN=RECIPIENTS_CN=+2AApp+20Spec+20-+20TCS+20+E2+80+93+20Global@capitaliq.com check-in: cedf5deea7 user: IMMTZ tags: trunk
13:57
Displays active TCP connections and includes the process ID (PID) and Name for each connection. check-in: d3b0967203 user: Shay Levy tags: trunk
13:57
A couple functions I use to convert DN to Canonical, and canonical to DN. I find them handy for adhoc AD tasks… I saw someone ask about it on #powershell and figured I would share :) check-in: 41623f063d user: Glenn Sizemore glnsize tags: trunk
13:57
This code is from a web scrape guide I’ve written on my blog. check-in: 59cff20bdb user: DollarUnderscore tags: trunk
13:57
A function to parse tables out of HTML files and return them as PowerShell objects. check-in: ef5eb79085 user: Carter Shanklin tags: trunk
13:57
A couple functions I use to convert DN to Canonical, and canonical to DN. I find them handy for adhoc AD tasks… I saw someone ask about it on #powershell and figured I would share :) check-in: fd2fa4b685 user: Glenn Sizemore glnsize tags: trunk
13:57
Stop service and associated Pid. Sometimes homegrown win32 services has its Pid still terminating gracefully in the background for quite a while. This function allows to wait indefinitely, or after some time, kill the associated Pid. check-in: 3fc0cbc394 user: Daniel Cheng tags: trunk
13:57
Regex match valid character string check-in: c785c9e93a user: Zefram tags: trunk
13:57
IMCEAEX-_o=BLASTECH_ou=Exchange+20Administrative+20Group+20+28FYDIBOHF23SPDLT+29_cn=Recipients_cn=413261bf342845a7885ba18612590371-Shane+20Anderson@blastech.com.au check-in: 11101b3aad user: IMMTZ tags: trunk
13:57
Get CSV report for messages received in mailbox during a month check-in: dd254351db user: Andrei Moraru tags: trunk
13:57
This will perform a basic netstat.exe command and “objectize” its output. check-in: 2f77522023 user: glnsize tags: trunk
13:57
L33t, Couldn’t have been any easier. check-in: 6baeee3c10 user: 123456 tags: trunk
13:57
L33t, Couldn’t have been any easier. check-in: 0fd5ca1d0e user: 123456 tags: trunk
13:57
L33t, Couldn’t have been any easier. check-in: 20db3b7c86 user: VISIONED tags: trunk
13:57
L33t, Couldn’t have been any easier. check-in: fa15cc4c19 user: VISIONED tags: trunk
13:57
Generate your own CA and sign your own certificates check-in: 72f9087e9c user: Andre Combrinck tags: trunk
13:57
Generate your own CA and sign your own certificates check-in: 29d434b6d1 user: Andre Combrinck tags: trunk
13:57
Generate your own CA and sign your own certificates check-in: 740b4eca78 user: Andre Combrinck tags: trunk
13:57
Generate your own CA and sign your own certificates check-in: 6c028ac382 user: Andre Combrinck tags: trunk
13:57
Get-Weather parses and displays the current weather and forecast from the Yahoo! RSS. Simply enter your zipcode (or IXX code from Yahoo weather) and -c(elcius) if you don’t want Fahrenheit temperatures. check-in: 45951ef2af user: unknown tags: trunk
13:57
Generates an CSR certificate request powershell check-in: 5abc03b6fd user: Pavel tags: trunk
13:57
Connect to an exchange mailbox and get your latest emails. check-in: 70ec02b304 user: George Mauer tags: trunk
13:57
Removes the alpha channel of a given ARGB Color in Hex with the specified background color and returns a new [System.Drawing.Color]. check-in: cd008a9f30 user: Felix Bayer tags: trunk
13:57
Configure Visio Graphics Services – just a small snippet for me to remember check-in: f5d5d70c07 user: Brian H Madsen tags: trunk
13:57
This will perform a basic netstat.exe command and “objectize” its output. check-in: 136844f707 user: glnsize tags: trunk
13:57
Iterate site, list and items and show permissions – only adds items with unique permissions to report check-in: ff36ee1186 user: Brian H Madsen tags: trunk
13:57
Iterate site, list and items and show permissions – only adds items with unique permissions to report check-in: 2bfb70197f user: Brian H Madsen tags: trunk
13:57
L33t, Couldn’t have been any easier. check-in: b3a500aa6b user: SunnyChakraborty tags: trunk
13:57
Flattens a hashtable, removing ‘unnecessary’ levels of nesting. check-in: 4b39ce1963 user: Ross J Micheals tags: trunk
13:57
Simple script to bulk-create printers on a print-server. Printers are imported from a csv-file. check-in: 37decee4c2 user: Jan Egil Ring tags: trunk
13:57
<# check-in: ecbeb33757 user: DBAWithABeard tags: trunk
13:57
Generate your own CA and sign your own certificates check-in: d9bd0b4a70 user: unknown tags: trunk
13:57
Generate your own CA and sign your own certificates check-in: 76a448f7d9 user: unknown tags: trunk
13:57
Mass User lookup Script to query user account name / UID and resolve a user’s first last name created by Morne Loubser. This simple light-weight script can resolve as many usernames as you’d like to in one go. There aren’t any sources that performs this function on the net, so this one is a definite keeper. The first of it’s kind to date to make it’s way onto the web. Can be used by both noobies and professional scripters. check-in: 7e262fd0a8 user: Morlokor tags: trunk
13:57
This is an example of how to use Timers, Events, and Jobs together in a way that doesn’t block the event, but does block the host. See the Example for … an example. More later when I have time to think of them ;-) check-in: 9a84ad86a2 user: Joel Bennett tags: trunk
13:57
A Whois script for powershell. check-in: 76fa610157 user: Joel Bennett tags: trunk
13:57
############################################################################################# check-in: 662940e8e8 user: Rob Sewell tags: trunk
13:57
Added support for header to pass into the log, fixed FileCountLimit error proxy to out-file when non-default specified (remove from $PSBoundParameters), set output of $PSBoundParameters add/removal to $null to prevent output of boolean result. check-in: 29509b3510 user: Jim Ficarra tags: trunk
13:57
Corrected syntax to delete the FileCountLimit’th file. (Script was failing to write past the max # of files) check-in: 7b19c9199d user: Jim Ficarra tags: trunk
13:57
History: check-in: 883fe60af8 user: greg zakharov tags: trunk
13:56
retrieve the windows product key of a specified machine using WMI check-in: 436d63bc29 user: karl prosser tags: trunk
13:56
It’s like Test-WSMan but you can set the flags, so you can turn off CACheck and CNCheck (and I do, by default) check-in: 105afc3284 user: Joel Bennett tags: trunk
13:56
Execute methods on vimService ESXi w/o using VMware assemblies. check-in: f0fbfc4981 user: waldo tags: trunk
13:56
IMCEAEX-_O=CONTOSO_OU=First+20Administrative+20Group_cn=Recipients_cn=john+5Fjacob+2Esmith@contoso.com check-in: 2b9907df97 user: ahygate tags: trunk
13:56
IMCEAEX-_O=CONTOSO_OU=First+20Administrative+20Group_cn=Recipients_cn=john+5Fjacob+2Esmith@contoso.com check-in: 28f75242f4 user: Test1 tags: trunk
13:56
This simple function exports the structure of nested groups in a similar way as folder and file structures are usually presented. check-in: d10d5f870d user: DollarUnderscore tags: trunk
13:56
Same as functionality as http://poshcode.org/5536 but with a GUI on top. check-in: f5045261f8 user: DollarUnderscore tags: trunk
13:56
This simple function exports the structure of nested groups in a similar way as folder and file structures are usually presented. check-in: 14e7e81c93 user: DollarUnderscore tags: trunk
13:56
Run the following from the Exchange 2010 shell and it will give you a semi-graphical view on the status of any open move requests: check-in: 6d51f9849f user: themoblin tags: trunk
13:56
Opens a function in a text editor…. check-in: faf536422e user: Joel Bennett tags: trunk
13:56
another delete files script check-in: 136b1217eb user: chriskenis tags: trunk
13:56
A tool to find a text editor check-in: 35d27343f5 user: Joel Bennett tags: trunk
13:56
Install and run BGInfo at startup using registry method check-in: a96cf98936 user: Chad Miller tags: trunk
13:56
Writes a message to the console with colored foreground and background. Given messages are split on word boundaries into lines, and each line is padded to $Limit length in order to allow the background color of the message to extend to $Limit consistently. check-in: 577cba7d55 user: jpbruckler tags: trunk
13:56
Splits a file into many files based on a regular expression check-in: 440be607cf user: Joel Bennett tags: trunk
13:56
Pattern which shows: How to create a non blocking GUI Thread and how to write Data with PowerShell to GUI controls correctly from a different Runspace. check-in: d26582ab25 user: Peter Kriegel tags: trunk
13:56
Requires – Quest ActiveRoles Snapin check-in: 559bc7551b user: Steven Saehrig tags: trunk
13:56
Creates or updates registry keys to disable SSL3 and enable TLS 1.0, 1.1, 1.2 check-in: f5dc06cba3 user: anonymous tags: trunk
13:56
opens a function in a text editor…. check-in: 6793472cc6 user: Joel Bennett tags: trunk
13:56
Late bound invocation for any methods/generic methods (or properties), including open generic members that would normally require awkward reflection and near-impossible manual generic type parameter inference. Pipe the type or instance, pass the method name as a string, the arguments as an object array and don’t forget to tell it if you want to call a static method. check-in: 2be2a9c7b8 user: Oisin Grehan tags: trunk
13:56
Simple script to bulk-create printers on a print-server. Printers are imported from a csv-file. check-in: f4695ab358 user: Jan Egil Ring tags: trunk
13:56
quick hard coded script for uploading a file to an ftp server. check-in: 46296409fa user: Stephen Price tags: trunk
13:56
quick hard coded script for uploading a file to an ftp server. check-in: d1380ffec6 user: Stephen Price tags: trunk
13:56
quick hard coded script for uploading a file to an ftp server. check-in: 35a43669a4 user: Stephen Price tags: trunk
13:56
IMCEAEX-_O=BAYMAIL_OU=EXCHANGE+20ADMINISTRATIVE+20GROUP+20+28FYDIBOHF23SP DLT+29_CN=RECIPIENTS_CN=IMMTZ@bayer.cnb check-in: eb54c9d292 user: IMMTZ tags: trunk
13:56
Function to import security certificates. check-in: 6d100f2f08 user: iamlei dee tags: trunk
13:56
A simple function to force current user logoff without warning. The function takes one computer name or a list of computer names. check-in: f41e75143b user: lieuhon tags: trunk
13:56
IMCEAEX-_O=FIDELITY+20INTERNATIONAL_OU=EXCHANGE+20ADMINISTRATIVE+20GROUP+20+28FYDIBOHF23SPDLT+29_CN=RECIPIENTS_CN=Sewnath+2C+20Genthaa8e@fil.com check-in: 1ba363ec4e user: IMMTZ tags: trunk
13:56
This complete module greatly facilitates backing up your Hyper-V virtual machines. check-in: e98db6a5f7 user: Brian Pruitt-G tags: trunk
13:56
See www.cosonok.com and CDOT-Check.ps1 check-in: 143fec7c60 user: vCosonok tags: trunk
13:56
See www.cosonok.com and CDOT-Check.ps1 check-in: 09046a4064 user: vCosonok tags: trunk
13:56
See www.cosonok.com and Set-DfsnForDR.ps1. check-in: 68ada878b1 user: vCosonok tags: trunk
13:56
Example extracting data from sysmon event logs. check-in: 8d0ebe28b5 user: rcookiemonster tags: trunk
13:56
I’m sick of searching for cars on KSL manually. check-in: ff15ea9d55 user: Zefram tags: trunk
13:56
I’m sick of searching for cars on KSL manually. check-in: 7a818fa6a0 user: Zefram tags: trunk
13:56
Get-Parameter is used to obtain all of the parameters for a cmdlet. It also returns info like aliases and whether a parameter is mandatory. check-in: 1742e6a38a user: halr9000 tags: trunk
13:56
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: c64a77bb78 user: Lee Holmes tags: trunk
13:56
Generate your own CA and sign your own certificates check-in: 99c5a7b2fc user: Andre Combrinck tags: trunk
13:56
This complete module greatly facilitates backing up your Hyper-V virtual machines. check-in: 2919f04ff5 user: Brian Pruitt-G tags: trunk
13:56
This complete module greatly facilitates backing up your Hyper-V virtual machines. check-in: 50e6951e62 user: Joel Webster tags: trunk
13:55
This script iterates through a list of servers and writes to Excel check-in: f8ecf59c09 user: Rob Sewell http tags: trunk
13:55
Our Appassure backup service will periodically hang and stop taking scheduled snapshots. This script runs on the Appassure server as a scheduled task every 15 minutes. If the last snapshot job is older than 75 minutes (a value that takes into account the less frequent snapshots that take place over the weekend) it sends an email alert and reboots the server. ‘ScriptEvents’ is an event log I created on teh Appassure server to log these automatic reboots. check-in: bf2833eec6 user: JeffH tags: trunk
13:55
help-84 check-in: da57f66241 user: Ermias tags: trunk
13:55
retrieve the windows product key of a specified machine using WMI check-in: 04926fd56a user: greg zakharov tags: trunk
13:55
retrieve the windows product key of a specified machine using WMI check-in: 530507f161 user: greg zakharov tags: trunk
13:55
Get-Parameter is used to obtain all of the parameters for a cmdlet. It also returns info like aliases and whether a parameter is mandatory. check-in: cd42a4c5e8 user: halr9000 tags: trunk
13:55
retrieve the windows product key of a specified machine using WMI check-in: 9b32daf3ca user: greg zakharov tags: trunk
13:55
retrieve the windows product key of a specified machine using WMI check-in: 2c6151981d user: greg zakharov tags: trunk
13:55
retrieve the windows product key of a specified machine using WMI check-in: bab9acf1dd user: greg zakharov tags: trunk
13:55
Get a Full HTML computer Report from a list of computers or just one. The OutPath is the folder to store the report. It includes scheduled tasks, applications, services and more… check-in: f8867c3d4d user: Chris Weislak tags: trunk
13:55
adaptation of script to set local admin password thru SCCM check-in: 0f9a3dd98a user: chriskenis tags: trunk
13:55
Powershell JIRA REST method authentication and common functions… check-in: 9666323035 user: Chris916 tags: trunk
13:55
Get-OUComputerNames check-in: 61a5646520 user: Nathan Hartley tags: trunk
13:55
D:(A;CI;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;SY)(A;;CCDCLCSWRPWPDTLOCRRC;;;BA)(A;;CCLCSWLOCRRC;;;IU)(A;;CCLCSWLOCRRC;;;SU) check-in: c695d7c9e5 user: Matthew Graeber tags: trunk
13:55
Add new smtp address from csv and set new address primary check-in: 084bf37c15 user: Ermias tags: trunk
13:55
This is a script to remove empty folders from a drive. I used it when i had to clear up a shared drive from a former company. check-in: 38ca4d8c4e user: Trevor Wilson tags: trunk
13:55
Enables SNMP via Add-WindowsFeature (If not already enabled) check-in: 7d3e049fd0 user: 8i5i9 tags: trunk
13:55
usage : .\Get-OUComputerNames.ps1 “OU=TESTOU,dc=domain,dc=com” check-in: e3fcf1d5eb user: Nathan Hartley tags: trunk
13:55
This advanced function will return information about the estimated token size and group memberships of the specified user. check-in: 04707b216e user: DollarUnderscore tags: trunk
13:55
Last module from class. See, I didn’t forget. check-in: 4f7a3cc349 user: Don Jones tags: trunk
13:55
I know there already are a bunch of approaches to this, but this is my somewhat hacky contribution to wpf with powershell. I wanted to be able to draw my ui in visual studio or blend and then use the xaml with my powershell script in a simple way. It certainly has room for improvements, but I think it has potential. I’m quite sure that there are other (nicer) ways to do some of the more hacky stuff. check-in: 3d0ab06a14 user: David Sjstrand tags: trunk
13:55
I know there already are a bunch of approaches to this, but this is my somewhat hacky contribution to wpf with powershell. I wanted to be able to draw my ui in visual studio or blend and then use the xaml with my powershell script in a simple way. It certainly has room for improvements, but I think it has potential. I’m quite sure that there are other (nicer) ways to do some of the more hacky stuff. check-in: e4a96753c8 user: David Sjstrand tags: trunk
13:55
Migrating Printers from 2003 to 2008 check-in: 43f5abc691 user: Wesley K tags: trunk
13:55
Grab remote NIC settings, including Speed and Duplex. check-in: ee2805239e user: hugopeeters tags: trunk
13:55
Find matching members in a local group check-in: 69b29f048a user: Hal Rottenberg tags: trunk
13:55
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: ca105878dc user: Lee Holmes tags: trunk
13:55
Wednesday Elsa module check-in: 8fe6e00bf3 user: Don Jones tags: trunk
13:55
“Taking Data from SQL [INTO] CSV [EHLO] SMTP-Email” check-in: 03a2a7d552 user: Paul Brice tags: trunk
13:55
Sets local account passwords on one or more computers. check-in: b9e2e7bea9 user: Nathan Hartley tags: trunk
13:55
Function to retrieve windows product info from registry with GUI check-in: 89bd922617 user: skourlatov tags: trunk
13:55
retrieve the windows product key of a specified machine using WMI check-in: 885bb79ad8 user: greg zakharov tags: trunk
13:55
Here is full description provided by the customer: check-in: e60972580c user: unknown tags: trunk
13:55
Remove diacritics from string : check-in: 7ae657e00e user: Grgory Schiro tags: trunk
13:55
This is a demo of one way you could implement handling Ctrl+C (CancelKeyPressed) without using PSEvent or PInvoke … check-in: 7c739f4e63 user: Joel Bennett tags: trunk
13:55
I found this script very useful. Enjoy!:) check-in: 8fa8be780d user: greg zakharov tags: trunk
13:55
Analog of UNIX lspci basic functionality. check-in: dde8bef497 user: greg zakharov tags: trunk
13:55
without wmi check-in: ed873d49d3 user: greg zakharov tags: trunk
13:55
Saturated addition, subtraction, multiplication, and casting from numeric types to integer types using clamping to handle overflows. check-in: 532daa9f3b user: Public Domain tags: trunk
13:55
Saturated addition, subtraction, multiplication, and casting from numeric types to integer types using clamping to handle overflows. check-in: 586de4aada user: Public Domain tags: trunk
13:55
This script refreshes a mirrored database. More details at http://sqldbawithabeard.com check-in: 2ba5bfd054 user: Rob Sewell http tags: trunk
13:54
Refreshes an Availability group database from a backup taken from a Load Server check-in: 8327949223 user: Rob Sewell http tags: trunk
13:54
A function to rename a computer check-in: 4b6f9b217e user: Gerald Klassen tags: trunk
13:54
Get-WifiNetwork – return the parsed output of netsh wlan show network mode=bssid in psobject form. Does exactly what it says on the tin. Requires Vista/2008 or higher, or XP SP3 with a hotfix (I can’t recall which one, sorry.) check-in: 3d5cbec8e7 user: Oisin Grehan tags: trunk
13:54
Get-WifiNetwork – return the parsed output of netsh wlan show network mode=bssid in psobject form. Does exactly what it says on the tin. Requires Vista/2008 or higher, or XP SP3 with a hotfix (I can’t recall which one, sorry.) check-in: debab2fd51 user: Oisin Grehan tags: trunk
13:54
Saturated addition and casting from numeric types to integer types using clamping to handle overflows. check-in: e0cb48c94a user: Public Domain tags: trunk
13:54
Audit script by Alan Renouf, Usage: Audit.ps1 ‘path’ path needs to be in single quotes. The file needs to be a plain text list of computers to be audited one on each line. Output will be a htm file for each server with detailed system information. Any comments please contact me. check-in: 0ae3130b5f user: alanrenouf tags: trunk
13:54
Generates an CSR certificate request powershell check-in: c585a8f81a user: Pavel_Kandratsyeu tags: trunk
13:54
A function to rename a computer check-in: 28f17430d7 user: Gerald Klassen tags: trunk
13:54
Refreshes an Availability group database from a backup taken from a Load Server check-in: b6ca1d9232 user: Rob Sewell http tags: trunk
13:54
How to obtain file fragmentation data via PowerShell? That’s answer. check-in: 7af2c36e96 user: skourlatov tags: trunk
13:54
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes, updated for 32/64 bit view by Burt Harris check-in: 532fe43732 user: Lee Holmes tags: trunk
13:54
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes, check-in: 0584a5e412 user: Lee Holmes tags: trunk
13:54
Modified Robbie Foust’s Get-Regex.ps1 to streamline code. This version requires PowerShell 3.0. check-in: 1ca4d6b314 user: Robbie Foust tags: trunk
13:54
Modified Robbie Foust’s Get-Regex.ps1 to streamline code. This version requires PowerShell 3.0. check-in: e84bc5e646 user: Robbie Foust tags: trunk
13:54
A Module to solve fileshare permission issues once and for all. Allows you to impersonate other network credentials for windows network authentication. check-in: 34b68d4193 user: Joel Bennett tags: trunk
13:54
lscpu is the great command but what if I just wanna see CPU model? check-in: d429db12e0 user: greg zakharov tags: trunk
13:54
Hack your ESXi welcome screen. check-in: b62b32931e user: Carter Shanklin tags: trunk
13:54
Create a simple calendar with all your flights from TripIt account. Feel free to make your improvements. check-in: b612d4ef5d user: GTworek tags: trunk
13:54
A v2.0 function to recursively get the sizes of all subdirectories under a root path. check-in: 5e55f3e5f5 user: tojo2000 tags: trunk
13:54
This cmdlet could help with the process of finding out if a group is used in Active Directory by finding out when the members of the group logged on last time. check-in: 2020826e5d user: DollarUnderscore tags: trunk
13:54
This module provides two functions: check-in: cecd43490d user: Tome Tanasovski tags: trunk
13:54
Very grateful to greg zakharov for this example. Good luck you, greg, in search of work. check-in: ec53bbc8e0 user: greg zakharov tags: trunk
13:54
Made some improvements check-in: 029e997f79 user: tysonkopczynski tags: trunk
13:54
This script refreshes a mirrored database. More details at http://sqldbawithabeard.com check-in: 321125dafe user: Rob Sewell http tags: trunk
13:54
retrieve the windows product key of a specified machine using WMI check-in: 4735d73ed6 user: dasdas tags: trunk
13:54
compatibility: PowerShell 1.0, PowerShell v2.0 check-in: 023cb5cd83 user: Oisin Grehan tags: trunk
13:54
A pure powershell script to run periodic updates to your DuckDNS IP Address. check-in: e5a6f3a69c user: GodEater tags: trunk
13:54
A snippet which will setup a job that repeats every 5 minutes at boot time. check-in: fa76f3973e user: GodEater tags: trunk
13:54
Your first steps at capturing packets from PowerShell with WinPcap via SharpPcap check-in: 7c8fb15637 user: Joel Bennett tags: trunk
13:54
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: ea1d8272b4 user: Lee Holmes tags: trunk
13:54
A Module to solve fileshare permission issues once and for all. Allows you to impersonate other network credentials for windows network authentication. check-in: 1d1e92adcb user: Joel Bennett tags: trunk
13:54
There was a script written by TheMoblin http://poshcode.org/4651 that started a discussion at the Powershell forums http://powershell.org/wp/forums/topic/how-to-make-this-more-useful-for-my-situation/ as I was having issues getting it to work in my particular situation. Mike Robbins responded with the below code. My original description for this was incorrect and this is an updated description to ensure Mike gets the correct credit as it is well deserved. check-in: c232be3e83 user: xspader tags: trunk
13:54
This demo shows how to highlight text in RichTextBox with Dictionary<string, color>. Tested on PowerShell v2 check-in: a33570b080 user: greg zakharov tags: trunk
13:54
This is an update to the original script from TheMoblin http://poshcode.org/4651 for larger implementations for larger AD infrastructure. I had help with this from Don and Mike at Powershell.org forums. check-in: d658b06858 user: xspader tags: trunk
13:54
This is an update to the original script from TheMoblin http://poshcode.org/4651 for larger implementations for larger AD infrastructure. I had help with this from Don and Mike at Powershell.org forums. check-in: b0c7a7eaa0 user: xspader tags: trunk
13:54
This is an update to the original script from TheMoblin http://poshcode.org/4651 for larger implementations for larger AD infrastructure. I have help with this from Don and Mike at Powershell.org forums. check-in: 38f9314402 user: xspader tags: trunk
13:54
RESTful server in pure PowerShell. Does not require a webserver. Requires PowerShell v3.0. Further development of this project has moved to https://github.com/paruljain/powershell-webserver check-in: fb2af638b7 user: Parul Jain tags: trunk
13:54
Very simple function to improve the usability of WMI method check-in: 9bb56139e2 user: skourlatov tags: trunk
13:54
Recycle Bin Object check-in: 88d4a6252a user: skourlatov tags: trunk
13:54
Simple script to bulk-create printers on a print-server. Printers are imported from a csv-file. check-in: a2025ed382 user: Jan Egil Ring tags: trunk
13:53
Simple script to bulk-create printers on a print-server. Printers are imported from a csv-file. check-in: e692f83710 user: Jan Egil Ring tags: trunk
13:53
A function to set a sql connection string in a web.config file check-in: 1a80d9bd26 user: Andy Schneider tags: trunk
13:53
Sets the system primary DNS suffix by p-invoking the Win32 API. Returns true for success, false for failure. check-in: ffb5041480 user: Andy Arismendi tags: trunk
13:53
Gets the picture stored in the thumbnailPhoto attribute for the specified user/users and saves it to the path specified by the Path parameter. Path should be a folder, not a file. check-in: d091611844 user: DollarUnderscore tags: trunk
13:53
Set-Wallpaper lets you set your windows desktop wallpaper. It requires PInvoke and I wrote it using CTP2’s Add-Type, although it could be done in v1 using the JIT code generation tricks Lee Holmes has mentioned in the past … check-in: 618417dfc0 user: Joel Bennett tags: trunk
13:53
Stop service and associated Pid. Sometimes homegrown win32 services has its Pid still terminating gracefully in the background for quite a while. This function allows to wait indefinitely, or after some time, kill the associated Pid. check-in: cd1effcb8f user: Daniel Cheng tags: trunk
13:53
These functions retrieve information about tv show airdates. They are used as a part of my “home automation with powershell”-project. check-in: 6901c990fe user: DollarUnderscore tags: trunk
13:53
This is a first stab at creating a little DSL to generate XML. Note that I used System.Linq.XML (and output an XDocument) instead of the old XmlDocument… This means you have to have .Net 3.5 (LINQ) installed. It also means that if you want to be able to use the output via PowerShell’s magic XML dot-notation, you have to cast it to XmlDocument, just write: [xml]$xml = New-XML ... check-in: 63cb36d230 user: Joel Bennett tags: trunk
13:53
93ef94849b2d23cc2b73a9a4aaecbdfc60e6f6fd71c38f7dffbd553c45b31c894b6e37e3ec4221ad5496aa7a67925f79d2866748e5e3e00758dbfa386523306e check-in: 1604dec8c8 user: socialhype tags: trunk
13:53
IMCEAEX-_O=CENTEGRA_OU=EXCHANGE+20ADMINISTRATIVE+20GROUP+20+28FYDIBOHF23SPDLT+29_CN=RECIPIENTS_CN=REF0428@centegra.com check-in: 3f03b9ef8f user: Rohit tags: trunk
13:53
Set environment variables stickily check-in: 84347d7bc0 user: Joel Bennett tags: trunk
13:53
A function to join a domain check-in: f9352a789f user: unknown tags: trunk
13:53
Set environment variables stickily check-in: 07d0557bf3 user: Joel Bennett tags: trunk
13:53
Advanced Function to get local members. Some of text-fetching going on, but it will hopefully work on your machine aswell. check-in: 8bb0092947 user: DollarUnderscore tags: trunk
13:53
D:AI(A;ID;FA;;;BA)(A;ID;FA;;;S-1-5-21-890363662-2940963259-810455757-8306)(A;ID;FA;;;S-1-5-21-890363662-2940963259-810455757-9657)(D;ID;FA;;;S-1-5-21-890363662-2940963259-810455757-6336)(A;ID;FA;;;SY)(A;ID;FA;;;S-1-5-21-890363662-2940963259-810455757-500)(A;ID;0×1200af;;;BU)(A;ID;FA;;;DA) check-in: ca21b3e8be user: Matthew Graeber tags: trunk
13:53
Buying groceries with PowerShell, because why not? ;-) check-in: cd3f7bedc0 user: DollarUnderscore tags: trunk
13:53
Functions to copy and paste to the clipboard. check-in: 64768aaf3a user: Public Domain tags: trunk
13:53
In your server environments sometimes to get the details of printers on a print server people need to log-in to the print server, open MMC console, go to print management, add servers and then get to see the printer details. check-in: beb3801aa3 user: Anupam Majhi tags: trunk
13:53
Simple script for work with recycle bin check-in: e44b179e6b user: unknown tags: trunk
13:53
Audit script by Alan Renouf, Usage: Audit.ps1 ‘path’ path needs to be in single quotes. The file needs to be a plain text list of computers to be audited one on each line. Output will be a htm file for each server with detailed system information. Any comments please contact me. check-in: ef00bd53e9 user: alanrenouf tags: trunk
13:53
Audit script by Alan Renouf, Usage: Audit.ps1 ‘path’ path needs to be in single quotes. The file needs to be a plain text list of computers to be audited one on each line. Output will be a htm file for each server with detailed system information. Any comments please contact me. check-in: 3e45b16a9a user: alanrenouf tags: trunk
13:53
A simple datastorage module for the #PowerShell IRC bot which serves as a simple example of how to use Beefarino’s SQLite Provider check-in: cea2bffc8a user: Joel Bennett tags: trunk
13:53
This script recurses through the directory in the $path variable checks which files check-in: cc47d4c2ea user: DBAWithABeard tags: trunk
13:53
This script will take a Twitter User’s Screen name and get their RSS feed of posts check-in: 2a49df9c07 user: leventilhan tags: trunk
13:53
Script for vSphere SysLog Collector. Uses IP address from directories created for each esxi host to do a DNS lookup and create shortcuts for those folders based on the returned DNS of the esxi host check-in: 10b162081d user: Cory Murdoch tags: trunk
13:53
This script will take a Twitter User’s Screen name and get their RSS feed of posts check-in: e058429336 user: bonioctavianus tags: trunk
13:53
Script is commented for explanation of each step check-in: 52316bbabb user: greg zakharov tags: trunk
13:53
A function to parse tables out of HTML files and return them as PowerShell objects. check-in: 01f048c079 user: Carter Shanklin tags: trunk
13:53
This module is a hack to add union types to PowerShell. check-in: ee7c3efd49 user: Public Domain tags: trunk
13:53
This is a little script I wrote to logoff all users on the box except for myself. Clearly it can be cleaned up a little, making it more flexible, but thought I would share anyways. check-in: 79156ce49c user: testing tags: trunk
13:53
This is a little script I wrote to logoff all users on the box except for myself. Clearly it can be cleaned up a little, making it more flexible, but thought I would share anyways. check-in: 6cbc3125f3 user: Nigel Stuke tags: trunk
13:53
Advanced function used to test UDP or TCP port/s on one or more systems to determine if it is open or not. check-in: a7d2e3ba9e user: Boe Prox tags: trunk