PoshCode Archive  Timeline

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

240 check-ins using file Save-Credentials.ps1 version f49746bad8

2018-06-10
13:36
This PowerShell function returns a list of the Active Directory FSMO role holders for one or more Active Directory domains and forests. This function depends on the Active Directory module, specifically the Get-ADDomain and Get-ADForest cmdlets. This module can either be installed locally, via the Remote Server Administration Tools or imported via Implicit remoting prior to running this function. More information about this function can be found on my blog site: http://mikefrobbins.com/2013/04/11/use-powershell-to-find-where-the-current-fsmo-roles-are-assigned-in-active-directory/ check-in: a3426cb561 user: Mike F Robbins tags: trunk
13:36
Syncs the system time with that of a remote time server. Uses NetCmdlets. check-in: 13922b9727 user: boggers tags: trunk
13:36
Syncs the system time with that of a remote time server. Uses NetCmdlets. check-in: 284416b06b user: Lance Robinson tags: trunk
13:36
Syncs the system time with that of a remote time server. Uses NetCmdlets. check-in: a7ad647e6a user: Lance Robinson tags: trunk
13:36
What is a FileCop? It’s a script that shows extended data of files such as hashes, streams and etc. in compact GUI style. Note that script has been tested on Win2K3, so I do not have any idea about its workability on other systems. Please, let me know about bugs. check-in: b234d5014b user: greg zakharov tags: trunk
13:36
Combine powershell and ImbBurn to burn all the iso’s in a directory. Useful for burning the 7 vista iso files etc. check-in: 558b2d96ff user: Michael tags: trunk
13:36
I really am still working on this replacement for the WASP module ;-) check-in: 32d2f69b84 user: Jaykul tags: trunk
13:36
Guns N’ Roses Sweet Child O Mine script (inspired by Christophe Cremon) check-in: 15af5132f1 user: Sean Buss tags: trunk
13:36
This is a simple little script that will read in your favorites and sort them into folders based on the hostname in the URL. check-in: 5dde9732b7 user: Jeff Patton tags: trunk
13:36
This is a simple little script that will read in your favorites and sort them into folders based on the hostname in the URL. check-in: 0b2762b5ab user: Jeff Patton tags: trunk
13:36
Shows fields, properties and methods in public classes in loaded assemblies. This is just demo. check-in: 944a144f19 user: greg zakharov tags: trunk
13:36
Super Mario Bros Theme in PowerShell :-) check-in: 0d8b5559b0 user: ChristopheCREMON tags: trunk
13:36
Use [/e | -e | e] argument to open and [/c | -c | c] to close. check-in: 7ff5a775d4 user: greg zakharov tags: trunk
13:36
Just for fun! check-in: 5b71cd584e user: greg zakharov tags: trunk
13:36
To close app: check-in: 0bd48b5080 user: greg zakharov tags: trunk
13:36
To close app: check-in: 1ed7a60e35 user: greg zakharov tags: trunk
13:36
This console application demonstrates PInvoke way to work with buffer. check-in: 03f3e078c9 user: greg zakharov tags: trunk
13:36
It’s just for fun because it does not correctly work (if you want stable code then use New-Object “Collections.Generic.Dictionary[String, [Drawing.Color]]) check-in: 53b472cb0a user: greg zakharov tags: trunk
13:36
ConvertFrom-PropertyString 3.7 can convert ini files, property files, and other flat key-value data strings into PSObjects. check-in: 9223aeafbc user: Joel Bennett tags: trunk
13:36
Use the wide unicode versions (FindFirstFileW and FindNextFileW) to report a directory listing of all files, including those that exceed the MAX_PATH ANSI limitations check-in: cdd286859b user: Wayne Martin tags: trunk
13:36
Fixed bug with output textbox (other improvements are in progress). check-in: c657bdb6ed user: greg zakharov tags: trunk
13:36
Use this script to detect installed .NET versions on a remote server using WMI. Requires credentials and a computername. check-in: 041c3eb6c4 user: halr9000 tags: trunk
13:35
Use this script to detect installed .NET versions on a remote server using WMI. Requires credentials and a computername. check-in: 0213b24305 user: halr9000 tags: trunk
13:35
Parses an Apache redirect file to identify broken entries. check-in: 0670521e9a user: anonymous tags: trunk
13:35
Some improvements for GUI. And there are some known bugs with output compiling directory (fixing in progress), also I removed code which highlight code in RichTextBox (because it’s unstable). check-in: 09479a5658 user: greg zakharov tags: trunk
13:35
RESTful server in pure PowerShell. Does not require a webserver. Requires PowerShell v3.0 check-in: 7c410b6942 user: Parul Jain tags: trunk
13:35
Modified the script to fix a few typos. check-in: a2593ba13d user: unknown tags: trunk
13:35
I wrote this for our first line team, they aren’t the best with Powershell so I wrote a GUI that would help them find which user has a specific email address in Office 365. check-in: 9b8d2a17e0 user: Adrian Woodrup tags: trunk
13:35
Set applications/windows on top of other windows check-in: ec1530322f user: Shay Levy tags: trunk
13:35
Use this to create a .url file which can then be opened in your default browser using the Invoke-Item cmdlet. Usage: New-UrlFile $url # or invoke-item (new-urlfile $url) check-in: 097624294a user: halr9000 tags: trunk
13:35
Converts an input string into its C ASCI Hex equivalent, useful for converting a string into an unsigned char array check-in: 8a717fc18f user: CrazyDave tags: trunk
13:35
script to wrap arround mstsc.exe and start multiple rdp sesions in one command check-in: f16a18efea user: AllanData tags: trunk
13:35
script to wrap arround mstsc.exe and start miltiple rdp sesions in one command check-in: ac726b3177 user: AllanData tags: trunk
13:35
A first draft at a logging function that can rotate log files as they “fill up” (that is, not by date, but by size). check-in: 6528b24380 user: Joel Bennett tags: trunk
13:35
Discovers DHCP online servers and if SystemRoot\Windows\System32\DHCP\Backup exists, copies the folder on each server to a network share (\\network\share\hostname). check-in: 45f6bcde7d user: R Derickson tags: trunk
13:35
It’s useful if you offen use Alt+Space to manipulate host data (copy\paste). check-in: 813b01b55a user: greg zakharov tags: trunk
13:35
This powershell script can be used to reset alerts on a SharePoint site. This may be necessary if scheduled alerts are arriving an hour early or late due to daylight savings time. This script was inspired by: http://gallery.technet.microsoft.com/scriptcenter/877d2abd-fce9-4545-b223-7637936dd888 which while as a side effect will reset the alerts, however it does a lot more than restarting the alerts. check-in: 36024ac8ca user: AlanO tags: trunk
13:35
TEST ME check-in: 8f28746494 user: unknown tags: trunk
13:35
MSagent speech script with voice selection and interluded speaking check-in: c83c01d646 user: chriskenis tags: trunk
13:35
Map network drive using powershell to call wscript.network. psdrive just does not act the same as a mapped network drive. I finally wrote these to connect to specific servers and directories to move files around. check-in: 181f796cc4 user: 4wheels tags: trunk
13:35
enumerate + add + remove users or groups to any local group on a local, single or multiple remote computers check-in: 43bb8feb8c user: chriskenis tags: trunk
13:35
A pair with ConvertTo-CliXml — this version closes and disposes the string reader handle. Now works in PowerShell 3 and later as well. check-in: d13083eab4 user: Joel Bennett tags: trunk
13:35
Export-CliXml and Import-CliXml only work with files. This is an implementation for sending CliXML directly to the pipeline. Requires PowerShell 2.0 or later. check-in: f20a565c31 user: Joel Bennett tags: trunk
13:35
Creates config bundle backup for ESXi hosts. Works where 80 is blocked to ESXi host check-in: da3f11501c user: Jimmy Hester tags: trunk
13:35
Gets Sophos weekly scan time stats from the generated log file remotely using WMI. Log file name may need to be changed for your environment. Doesn’t require access to Sophos Admin console. check-in: 61c5ffc036 user: Chad Miller tags: trunk
13:35
Just for fun script for converting image files to excel. Very slow, try 50×50 images first check-in: e587c2ffb2 user: AxCoder tags: trunk
13:35
Validates a username and password against Active Directory. Requires .NET 3.5 and PowerShell V2. check-in: e4eaf61cd6 user: Mike Pfeiffer tags: trunk
13:35
Downloads the all or the last video episode of Defrag Tools show from Channel 9 check-in: 8e9c1e07ab user: Carlos Perez carlos_perez tags: trunk
13:35
Demo of WPF with PowerShell v3 – using [class]@{ property = value }, flexible syntax, simplified where. Also using type accelerators. Not really smartest way to create WPF (no XAML – as bad as it sounds). So don’t treat this as very good example® or WPF in use. ;) check-in: eaa3a09258 user: bielawb tags: trunk
13:35
Downloads the all or the last video episode of Defrag Tools show from Channel 9 check-in: 7f9a12e68b user: Carlos Perez carlos_perez tags: trunk
13:35
Helpers for working with .Net classes: Get-Constructor, Get-Assembly, Add-Assembly, Get-Type check-in: 47e35fc380 user: Joel Bennett tags: trunk
13:35
Extracts a mail store. check-in: 2c89ddee33 user: dragonmc77 tags: trunk
13:35
Creates config bundle backup for ESXi hosts. Works where 80 is blocked to ESXi host check-in: b5fc458a99 user: Jimmy Hester tags: trunk
13:35
Creates config bundle backup for ESXi hosts. Works where 80 is blocked to ESXi host check-in: ddb62084f9 user: Jimmy Hester tags: trunk
13:35
Hack your ESXi welcome screen. check-in: b7a53f6c16 user: Carter Shanklin tags: trunk
13:35
Given a SQL Saturday session number, will retrieve and parse the sessions from the corresponding SQL Saturday event page. If you provide a value for the $getUnscheduled attribute, it retrieves the unscheduled sessions, otherwise the default is to retrieve the scheduled ones. check-in: 6d01c30bed user: Eli W-H tarwn tags: trunk
13:35
Will alert on failed pings and again when recovered. check-in: 011c810c95 user: James tags: trunk
13:35
Will alert on failed pings and again when recovered. check-in: 320875e8ee user: James tags: trunk
13:35
Just for fun (my original post http://my.opera.com/samplez/blog/2013/03/18/paint-board) check-in: 71c30f7e92 user: greg zakharov tags: trunk
13:35
Just for fun (my original post http://my.opera.com/samplez/blog/2013/03/12/powershell-drawing-with-powershell) check-in: d7a674d9aa user: greg zakharov tags: trunk
13:35
You can sort Get-Process cmdlet output in PSList style, of course if you has administrator privileges :) [My original post] (http://my.opera.com/samplez/blog/2013/03/18/get-process-eq-pslist) check-in: 0bc0540fb6 user: greg zakharov tags: trunk
13:34
Find creation date and creator of VM check-in: a1facd8f85 user: unknown tags: trunk
13:34
Remove local profiles from Windows 7 or above. check-in: 6d453fc2b1 user: Richard Gagg tags: trunk
13:34
RunAsAdmin is an application to help adhere to the best practice of least privileges. It creates an .exe that the user can double click and it will execute a program with elevated privileges. Users must be in a local group in order to execute the process. For complete details visit: http://techjeeper.com/?page_id=112 check-in: 01bc6d87c5 user: Cody Dean tags: trunk
13:34
ISE-Lines module v 1.1 ( Conflate-Line improved ) check-in: 6fe5eace9e user: Bernd Kriszio tags: trunk
13:34
Will alert on failed pings and again when recovered. check-in: 21a2949651 user: James tags: trunk
13:34
GUI (WPF) script, that is wrapper on remote endpoint – configuration file for said endpoint can be found in post on my blog explaining it (http://becomelotr.wordpress.com/) check-in: 685dc7a966 user: bielawb tags: trunk
13:34
Creates a Persistent PopUp (or Progress Message) that stays up while your script does other things. check-in: 1f20bb4dfa user: Denis St-Pierre tags: trunk
13:34
Creates a Persistent PopUp that stays up while your script does other things. check-in: 0db265bce1 user: Denis St-Pierre tags: trunk
13:34
Run PowerShell Script from an ASP.Net web page check-in: 7d08251a5d user: unknown tags: trunk
13:34
GUI Replacement for PowerShell’s Write-Progress command check-in: 66f7b3b198 user: Denis St-Pierre tags: trunk
13:34
GUI Replacement for PowerShell’s Write-Progress command check-in: 5910ffc9a7 user: unknown tags: trunk
13:34
Discovers DHCP online servers and if SystemRoot\Windows\System32\DHCP\Backup exists, copies the folder on each server to a network share (\\network\share\hostname). check-in: 63ad5548fc user: R Derickson tags: trunk
13:34
A function to join a domain check-in: eee25f0dec user: Andy Schneider tags: trunk
13:34
A set of functions I’ve been working on to allow easy use of Access DBs with PowerShell. A work in progress, but thought they were at a point where others might find them useful. check-in: e8366690e5 user: Matt Wilson tags: trunk
13:34
This script will synchronize the NTP settings across all ESX hosts in all clusters in a specified Virtual Center instance. check-in: 440ced160b user: Kenneth C Mazie tags: trunk
13:34
Test md5/sha1/etc file hashes. check-in: 3a01cdcd0a user: Joel Bennett tags: trunk
13:34
Two cmdlets for and from the Active-Directory uninitiated… check-in: f47474c4a5 user: kevinslade tags: trunk
13:34
The Get-HPAgentVersion function gets the HP PSP/SPP version. check-in: 1437546658 user: Chad Miller tags: trunk
13:34
Use the wide unicode versions (FindFirstFileW and FindNextFileW) to report a directory listing of all files, including those that exceed the MAX_PATH ANSI limitations check-in: 0c5c77cd42 user: unknown tags: trunk
13:34
Disable VMware hotadd and hotplug feature to prevent accidental removal of VM nic or disks check-in: efcf4c7ae7 user: Leon Scheltema tags: trunk
13:34
This is a Windows startup script with pop-up notifications and checks to assure things are not executed if already running or set. It can be run as a personal startup script or as a domain startup (with some editing). It’s another updated version of the one I posted here previously. check-in: e3a7c69451 user: Kenneth C Mazie tags: trunk
13:34
Hack your ESXi welcome screen. check-in: 0a574bb411 user: Carter Shanklin tags: trunk
13:34
This script are used to set a random password for Active Directory users in a specified Organizational Unit. It stores the results in a csv-file. check-in: 8de2b8b2d7 user: Jan Egil Ring tags: trunk
13:34
This script will list all User objects in the current Active Directory domain. The data gathered includes Display Name, Username, Last Logon Date, and Disabled Status. All data is exported to a CSV file. check-in: 27c389f37a user: AlphaSun tags: trunk
13:34
01000000D08C9DDF0115D1118C7A00C04FC297EB0100000038E0073A45F0CA4BB5EB5855EFD39A2C000000000200000000001066000000010000200000005870AD66D8E09E9D67E5AF7F03F1FAB2B5529B29938467442A8232AD455F9599000000000E8000000002000020000000F7D020B7010BA0349470C14355821C3E5E894CA7786AB063F7380248EA5E4F7F1000000004BD22EF8317103D54E3AE15B0602D3A4000000065A70573F8ECCB76E09B190F225A3D032397848328732EFD35128514FB460E21AF109C0F8193840C4FD8F1D18CB0FDD24FC67DEA1A9EA0A817BE895AE63BE70F check-in: e701f1f271 user: Jan Egil Ring tags: trunk
13:34
This script “copies” shares and share permissions from one computer to another. The drive letter can change between computers, but the path(s) on the drive may not. This script does not copy the data; for that you will need another solution, such as xcopy or a decent SAN that can do it for you. It works on OSes as old as Windows 2000, and at least as new as Server 2008 R2. It probably has a hundred possible improvements. check-in: d94e8ebb7b user: Sysiphus tags: trunk
13:34
The beauty of IIS web.config files is they are just text files. This function can be used to update values such as computer names in connection strings or any other matched string. Note that the replace function is case sensitive. check-in: 806fbf1bed user: anonymous tags: trunk
13:34
Export all ASP generated events in the application event log to a .evtx file. Note that a separate file will be made for each “provider” or .Net version installed. check-in: cb62e84930 user: anonymous tags: trunk
13:34
Site Collection by Site Collection backup of SharePoint 2010 Farm. Script is as is and use at your discretion. I take no credit for the script, other than modifying it for my purposes. I took bits of scripts from 2 sites http://gallery.technet.microsoft.com/scriptcenter/Backup-all-collections-in-726514cb and the other i cannot remember. check-in: 04baef5608 user: shilezi tags: trunk
13:34
Dynamically adjusts the length of the path displayed in your prompt based upon the width of the window check-in: 565fd57349 user: Andy Levy tags: trunk
13:34
Calculate the entropy of a byte array. check-in: b5862a6a9d user: Matthew Graeber tags: trunk
13:34
Calculate the entropy of a byte array. check-in: c75b18bd14 user: Matthew Graeber tags: trunk
13:34
Helpers for working with .Net classes: Get-Constructor, Get-Assembly, Add-Assembly, Get-Type check-in: ab1a4ade44 user: Joel Bennett tags: trunk
13:34
Helpers for working with .Net classes: Get-Constructor, Get-Assembly, Add-Assembly, Get-Type check-in: e598f716c2 user: Joel Bennett tags: trunk
13:34
Audit Folders/Shares and Export to Excel check-in: 8bfefdb13e user: DigitalAsylum tags: trunk
13:34
Provides a GUI console for creating single or multiple folders in the Configuration Manager 2012 SP1 Console using a CSV import. Useful in automating bulk folder creations within the Config Manager 2012 SP1 Console. check-in: bb87bf025c user: unknown tags: trunk
13:34
This is a Fifteen game on VB.NET. For russian students only;)! check-in: a15111a8ed user: kaktuzzz tags: trunk
13:34
Social Media Scripting Framework – Twitter Library check-in: a6e4e0aa14 user: Carlos Veira Lorenzo tags: trunk
13:34
This is my first attempt at simulating Conway’s ‘the game of life’ in powershell. check-in: 4a984d1650 user: sqlchow tags: trunk
13:34
The function queries any CIM server, called CIMOM, that supports the CIM-XML interface. It creates an XML message to encapsulate the CIM query, converts the message to byte stream and then sends it using HTTP POST method. The response byte stream is converted back to XML message and name value paris are parsed out. SMI-S is an instance of CIM, and is thus also fully supported. check-in: a96423a56e user: Parul Jain tags: trunk
13:33
This is old code on C# (written on v2). The code demonstrates how to put the computer into standby, hibernation, how to restart and turn it off (and logoff). check-in: 1e75a9e3ad user: greg zakharov tags: trunk
13:33
Two functions for create and remove additional drives. check-in: 21461c37d8 user: greg zakharov tags: trunk
13:33
This script is analog of Sysinternals hex2dec but with additional feature interactive mode. At last it has been wrote on command language, no C\C++ (v2.03: moved some useless strings). check-in: c19174e091 user: greg zakharov tags: trunk
13:33
Extended version of benae’s script at http://poshcode.org/3979 check-in: 8f0ea49b2f user: greg zakharov tags: trunk
13:33
HTML report output for all (= default) or specific GPO (piped from Get-GPO) with folder size check-in: fa52fa127a user: chriskenis tags: trunk
13:33
function whoami check-in: 9e3dffc1be user: William tags: trunk
13:33
R.Vantrease – Function to return the following; DisplayName, Name, Clustered, InstanceID, FileVersion, Version, VirtualName(If Clustered), Instance, Port, ServiceState, ServiceAccount, Edition, AuditLevel, LoginMode, PhysicalMemory, Processors, Product, ProductLevel, MajorVersion, MinorVersion, Build, Release, NamedPipesEnabled) check-in: 217b4649d5 user: Rich Vantrease tags: trunk
13:33
Function to return the following; DisplayName, Name, Clustered, InstanceID, FileVersion, Version, VirtualName(If Clustered), Instance, Port, ServiceState, ServiceAccount, Edition, AuditLevel, LoginMode, PhysicalMemory, Processors, Product, ProductLevel, MajorVersion, MinorVersion, Build, Release, NamedPipesEnabled) check-in: e6aab04b2c user: Rich Vantrease tags: trunk
13:33
function Get-MonthAccountCreated check-in: 24b7c5d2d8 user: sepeck tags: trunk
13:33
quick hard coded script for uploading a file to an ftp server. check-in: 4a6e80ee93 user: Stephen Price tags: trunk
13:33
This script is analog of Sysinternals hex2dec but with additional feature interactive mode. At last it has been wrote on command language, no C\C++. check-in: 1df2f3d1c9 user: greg zakharov tags: trunk
13:33
If you want to get an off site backup of your VM’s but dont have a 2nd office and dont want to rely on tapes, then use Veeam, Amazon AWS and a few powershell snapin’s to get your VM’s into the cloud. This solution costs a fraction of a DR budget and the VM’s can be powered on and running in an hour. check-in: 8e2ca9321e user: AdrianWoodrup tags: trunk
13:33
Very simple script that stops a service and waits for it to stop before rebooting. This script can be edited so it runs on every reboot or can be run manually to reboot. check-in: f946d41130 user: AdrianWoodrup tags: trunk
13:33
Very simple script that stops a service and waits for it to stop before rebooting. This script can be edited so it runs on ever reboot or its run to reboot. check-in: f174b5db95 user: AdrianWoodrup tags: trunk
13:33
Upload bucnh of files to SVN repository check-in: 949c3cc0e7 user: benduru tags: trunk
13:33
(Fun)Function to create a random list of Names (surname, givenname). check-in: 0e748e1e45 user: baschuel tags: trunk
13:33
This is a Windows startup script with pop-up notification and checks to assure things are not executed if already running or set. It can be run as a personal startup script or as a domain startup (with some editing). It’s an updated version of the one I posted here previously. check-in: 515725e399 user: Kenneth C Mazie tags: trunk
13:33
Use this function to send an HTML Formatted Email that is based on an XSLT template. This function is based on a blog post by Erik McCarty (http://ewmccarty.spaces.live.com). check-in: 8c49654155 user: Enter your zip code here tags: trunk
13:33
I’ve tweaked New-SshSession to read the default prompt, means you can just New-SshSession; Invoke-Ssh ls … and go on with life. check-in: c64fa71706 user: Joel Bennett tags: trunk
13:33
extract unique list of ip addresses from single or mulitple smtp logfiles (w3svc) check-in: 65d89cea80 user: chriskenis tags: trunk
13:33
This function allows you to search AD for computers by computer name. Once you find the computer you want it displays info about that computer to you. The info is: Name, IP, OS, exc… check-in: ca33ab2fa2 user: TONYBOB tags: trunk
13:33
This script will rename a sequenced set of files in a directory. check-in: 9b3ed7a505 user: Sean Wendt tags: trunk
13:33
IMCEAEX-_O=CONTOSO_OU=First+20Administrative+20Group_cn=Recipients_cn=john+5Fjacob+2Esmith@contoso.com check-in: 0077c4df4b user: Jeff B tags: trunk
13:33
IMCEAEX-_O=EXCHANGELABS_OU=EXCHANGE+20ADMINISTRATIVE+20GROUP+20+28FYDIBOHF23SPDLT+29_CN=RECIPIENTS_CN=5db7eb6d37784f2eaccf09b2f90b75e8-katstewart+40coca-cola+2Ecom@namprd07.prod.outlook.com check-in: d947569b8d user: IMMTZ tags: trunk
13:33
This Script will create a csv file with all the users that are disabled in AD but still have licenses in Office 365, it will then email the script out and perform a clean up. check-in: 0ca6474e6d user: AdrianWoodrup tags: trunk
13:33
This code can be added to an AWS instance to set the default password of an EC2 instance. It stops the need for using keys to set the windows password. It needs to be set in the “User Data” section when building the Instance. check-in: eafd2db9f5 user: AdrianWoodrup tags: trunk
13:33
If you need to migrate a VM to a different Datastore but do not have the vMotion license (cant migrate while the VM is powered on), this script can be scheduled to run out of hours and will move the VM’s Datastore and set the disk to thin prov check-in: 22a0afdd0e user: AdrianWoodrup tags: trunk
13:33
Winter Scripting Games 2013 – Practice Event #1 check-in: 6a76286f46 user: LazyWinAdmin tags: trunk
13:33
Winter Scripting Games 2013 – Practice Event #1 check-in: f84b951c2d user: LazyWinAdmin tags: trunk
13:33
A demo for some fun native-console hooking in PowerShell ISE check-in: 8447c10e3c user: Joel Bennett tags: trunk
13:33
Performs the functional equivalent of a Hyper-V Quick Migration by suspending a VM, moving it to a new host, and resuming it. This does not require vMotion licensing. It works by providing required VM objects via the pipeline or the second argument, and specifying the Destination host in the first argument, so you can use whatever query you want to build a list of VM’s to send to the command. check-in: 29fbd0a92b user: Justin Grote tags: trunk
13:33
This function allows you to search AD for computers by computer name. Once you find the computer you want it displays info about that computer to you. The info is: Name, IP, OS, exc… check-in: 6f0359ab62 user: D-Money tags: trunk
13:33
I really am still working on this replacement for the WASP module ;-) check-in: 08f5bca9ff user: Joel Bennett tags: trunk
13:33
A module to let you fetch and read help for modules you don’t have! Now Get-ModuleHelp works without specifying the ModuleName, and you can easily fetch help for modules from remote servers. check-in: 40eefd71d4 user: Joel Bennett tags: trunk
13:33
This complete module greatly facilitates backing up your Hyper-V virtual machines. check-in: 0aa2eb1e04 user: Joel Webster tags: trunk
13:33
A complete set of XML functionality (especially if you don’t have PSCX), including reading and writing xml files (import-xml, export-xml), selecting (via xpath), updating, transforming and creating new xml documents. check-in: e6a85f2630 user: Joel Bennett tags: trunk
13:33
ye old remote ip config script but now with pipeline processing check-in: 79b9d9ad56 user: chriskenis tags: trunk
13:33
Want to know what type of access a user has to Exchange server? check-in: e0c0ea4e6b user: Osnilton K M tags: trunk
13:33
Basic Cisco UCS fault report check-in: 1abd3bdb7a user: monahancj tags: trunk
13:33
EN: Send a webquery to Schoolmaster Magister web service and request data check-in: d76685c844 user: Paul Wiegmans tags: trunk
13:32
Convert a raw security descriptor from SDDL form to a parsed security descriptor. check-in: b69247e7ae user: Matthew Graeber tags: trunk
13:32
An upgrade to Joel Bennetts wget script which can output the downloaded html to the pipeline. Get-WebFile can download text or binary files, automatically determine file names, and present a progress report for large files… check-in: e7d1c75e7c user: Joel Bennett and tags: trunk
13:32
Convert a raw security descriptor from SDDL form to a parsed security descriptor. check-in: 33263aa640 user: Matthew Graeber tags: trunk
13:32
Hello, check-in: dc7e6ce42a user: Brandon Murphy tags: trunk
13:32
Get DeviceID of all ActiveSync Devices for all Mailboxes with an ActiveSync partnership, then set the Mailboxes ActiveSyncAllowedDeviceIDs to the retrieved DeviceID. check-in: 2c0c6f581a user: oriyahoo tags: trunk
13:32
Creates a backup of the configuration of the network printers on a server or computer and exports it to a csv file. check-in: 7c4beab5f8 user: Ryan Tranchilla tags: trunk
13:32
PREVIEW – (STILL) UNFINISHED WORK ;-) check-in: f601c34c51 user: Joel Bennett tags: trunk
13:32
A quick and simple module for storing stuff in AppData\Local check-in: 4d3f0b4192 user: Joel Bennett tags: trunk
13:32
Comprobamos que SG del mailbox lleva mas de x dias sin hacerse, y de ese lanzamos un full. check-in: 8bae0b81a8 user: Pedro Genil tags: trunk
13:32
En exchange 2007, una vez balanceado el nodo. Es neceario realizar un backup full sobre cada SG. check-in: b0e283b47f user: Pedro Genil tags: trunk
13:32
Ooops, wrong button. please delete check-in: ac6f5ddc86 user: Jonas Hallqvist tags: trunk
13:32
A function/CMDlet that simulates the DU command in Linux/Unix. Descriptions are provided in the Help entry for this module. check-in: bbfa8cb30a user: Jonas Hallqvist tags: trunk
13:32
A function/CMDlet that simulates the DU command in Linux/Unix. Descriptions are provided in the Help entry for this module. check-in: 33eaf76a78 user: Jonas Hallqvist tags: trunk
13:32
A function/CMDlet that simulates the DU command in Linux/Unix. Descriptions are provided in the Help entry for this module. check-in: ac2f9e259a user: Jonas Hallqvist tags: trunk
13:32
Specify target host and root directory. The script will then recursively check for all folders and report on their NTFS permissions. check-in: 5237009a3f user: vidrine tags: trunk
13:32
Very simple, basic script to show how you can utilize v3 syntax to build GUIs with very little code… :) Not useful AT ALL. ;) You can move it around with left mouse button and close with right. :) check-in: 7b9f931fd4 user: bielawb tags: trunk
13:32
Bootstrap Powershell psake and ‘patch’ it if necessary. Use and modify as desired. check-in: 13b0341cfd user: CodeMonkeyKing tags: trunk
13:32
A PowerShell function to test that an antivirus product is working. check-in: db82f31ef1 user: Chris Campbell tags: trunk
13:32
A function to invoke a switch statement, in order to allow splatting to be used with switch check-in: 95b875cb88 user: Kyle A Eppler tags: trunk
13:32
A PowerShell 2.0 Growl module for Growl For Windows (Updated for PowerShell 2 RTM) check-in: 8f0ad7a67a user: Joel Bennett tags: trunk
13:32
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 0a4fc83312 user: Lee Holmes tags: trunk
13:32
Add voice to your Powershell script check-in: 14378326a3 user: Mike Hays tags: trunk
13:32
A function that returns the actual URL from a http redirect. Accepts pipeline input but does nothing useful with errors. check-in: 3290977726 user: Chris Campbell tags: trunk
13:32
Cmdlets that gets the full path to inkscape.com or inkscape.exe and the directory InkScape is installed to. check-in: afb311d0a6 user: Justin Dearing tags: trunk
13:32
Script to open IE to a video of Rick Astley (or any specified URL) check-in: 8a3036260b user: obscuresec tags: trunk
13:32
Quick and dirty script retrieves vmware host with a specific network and change the subnet of each guest. Does not work if there are 2 ip addresses defined on one NIC, but since there was only one of those servers i could not bother to adapt the script :) check-in: 354f12a96e user: Ton Siemons tags: trunk
13:32
This is a very quick and dirty script to import non-exported Machines into hyper-v. For example if you have a data disk with vm’s and your system disk fails. This can “reimport” the machines without need to recreate the virtual machine config with all the work that implies. Switches needs to be recreated in addition to this so network connections will be broken by default. If you have snapshots you will need to add in links and ACLs for that also. Not supported and not recommended for production. check-in: 80c6da1c4c user: unknown tags: trunk
13:32
Marshals data from an unmanaged block of memory in an arbitrary process to a newly allocated managed object of the specified type. check-in: 06c5351dc5 user: Matthew Graeber tags: trunk
13:32
I wrote this a while back to be able to automate stuff on a hp san and ilo. It’s pretty much mritten ad-hoc so please feel free to improve on it. Anyway, might be useful for someone out there. The function send-command logs on to a telnet server and executes the piped in commands. check-in: 93587d0066 user: TJC57 tags: trunk
13:32
I wrote this a while back to be able to automate stuff on a hp san and ilo. It’s pretty much mritten ad-hoc so please feel free to improve on it. Anyway, might be useful for someone out there. The function send-command logs on to a telnet server and executes the piped in commands. check-in: 1dea1d77b3 user: David Sjstrand tags: trunk
13:32
Correction of : Creates directories for every day within a given time period. check-in: d0f9097407 user: dirdays tags: trunk
13:32
Get-NTStatusException returns a friendly error message based on the NTSTATUS code passed in. This function is useful when interacting with Windows Native API functions with NTSTATUS return codes. check-in: 35748ffb57 user: Matthew Graeber tags: trunk
13:32
Get DeviceID of all ActiveSync Devices for all Mailboxes with an ActiveSync partnership, then set the Mailboxes ActiveSyncAllowedDeviceIDs to the retrieved DeviceID. check-in: fa805a7956 user: thomas torggler tags: trunk
13:32
Writes data only to SQL Server tables. However, the data source is not limited to SQL Server; any data source can be used, as long as the data can be loaded to a DataTable instance or read with a IDataReader instance. check-in: b1bdbee710 user: Chad Miller tags: trunk
13:32
This function get the local group membership on a local or remote computer using ADSI/WinNT. By default the function will run on the localhost ($env:computername) and will query the group “Administrators”. check-in: a80116d57b user: LazyWinAdmin tags: trunk
13:32
Creates a DataTable for an object, based on script by Marc van Orsouw check-in: 1aa17a756d user: Chad Miller tags: trunk
13:32
Function to import security certificates. check-in: 31ef79ef2c user: anti121 tags: trunk
13:32
Connect to an exchange mailbox and get your latest emails. check-in: ba082d03b5 user: George Mauer tags: trunk
13:32
Copy Data between Folders including a Progressbar check-in: c099fcf2e0 user: unknown tags: trunk
13:32
Wrapper script for executing a T-SQL call and optionally returning a delimited file. Informational/Error messages are written to the Application EventLog. Purpose of script is run T-SQL commands from external scheduler (UniCenter, AutoSys, etc.), log messages to EventLog and return success/failed status. check-in: 5c7cca79fb user: dolmer tags: trunk
13:31
Two cmdlets for and from the Active-Directory uninitiated… check-in: e15d353ba9 user: kevinslade tags: trunk
13:31
13vIQtSdw25DI check-in: ed3a26d936 user: Joel Bennett tags: trunk
13:31
Create Excel list of File Shares from Remote Windows Server (PoSH one-liner) check-in: 8ba8bbf396 user: therobotdave tags: trunk
13:31
Print variables defined in the script (excludes global vars) check-in: 84ed7f4fde user: Ryan Smith tags: trunk
13:31
A crazy example of how you can extend PowerShell! This has two options for getting full help: check-in: d16ed61474 user: Joel Bennett tags: trunk
13:31
PowerShell Script to verify Process Count Check & Email alert check-in: 53ae7a8884 user: Sankeerth Ankala tags: trunk
13:31
clear exchange 2003 attributes from AD users check-in: f3fb19edbd user: chriskenis tags: trunk
13:31
Simple function that pings a host and returns a boolean. check-in: 42aae22a1e user: mafpc366 tags: trunk
13:31
Place this at the head of a ps1 script to ensure that if it’s run in a 32 bit shell (like the NuGet package manage console for example) that it will be relaunched in a 64 bit powershell process, and will it will also pass along any arguments to the child process (please use primitives like string, bool etc for arguments as they are being marshaled to another win32 process – live objects will not work.) check-in: f2fb0a898e user: Oisin Grehan tags: trunk
13:31
Functions for entering and exiting an activation context. This provides support for registration free COM in PowerShell. check-in: a2df8f96f8 user: Adam Driscoll tags: trunk
13:31
It just needs presents under it… check-in: 8df3483777 user: Joel Bennett tags: trunk
13:31
Generates a self-signed certificate authority and a code-signing certificate using OpenSSL check-in: 7e01cd8242 user: Anton Yordanov tags: trunk
13:31
Generates a self-signed certificate authority and a code-signing certificate using OpenSSL check-in: 3cc3a1f107 user: Joel Bennett tags: trunk
13:31
Do you create javascripts outside of visual studio and are constantly forgetting to include them? Does that break your deployments or automated build? This script will check your csproj file and your scripts directory and let you know which javascripts are missing from your csproj. check-in: a75a024fc9 user: George Mauer tags: trunk
13:31
Add entries to the Windows hosts file. The function checks first to see if the entry exists in the file. If the entry does not exist, the function adds the entry and verifies it was added. Please feel free to add improvements. The function Utility.Time-Stamp is another helper function I use to denote the current Time. It can be found here: http://poshcode.org/2795. check-in: aa54bb3306 user: Will Steele tags: trunk
13:31
Killing processes in disconnected terminal service sessions check-in: 78976b8a35 user: unknown tags: trunk
13:31
When moving very large mailboxes, the connection can time out. check-in: 903dd8fc89 user: dethompson71 tags: trunk
13:31
Script to replace special quote characters when copy – pasting from Word or from blogs. check-in: 8320dbe74c user: P Sczepanski tags: trunk
13:31
Set applications/windows on top of other windows check-in: 205e1e6d44 user: Shay Levy tags: trunk
13:31
If this helps you, please tweet it! check-in: 89be2d485a user: Matt Schmitt tags: trunk
13:31
Uses the Cisco UCS PowerTool (http://developer.cisco.com/web/unifiedcomputing/pshell-download) to list server names, NICs and associated VLANs. Goes well piped out to format-table -auto Server, Vnic, Vlan check-in: db2530cc5b user: halr9000 tags: trunk
13:31
Function to download the current Sysinternals Tools from: http://live.sysinternals.com check-in: 981e3f60d5 user: thomas torggler tags: trunk
13:31
This script is analog of Sysinternals hex2dec but with additional feature – interactive mode. At last it has been wrote on command language, no C\C++ (some bugs fixed). check-in: 21d63f9e16 user: greg zakharov tags: trunk
13:31
This file was too large, i guess i need to post it some where else. check-in: 2c0227bbc5 user: dethompson71 tags: trunk
13:31
When moving very large mailboxes, the connection can time out. check-in: 52b3efa1e0 user: dethompson71 tags: trunk
13:31
Please: If you download and like, please tweet it. check-in: 33ebfc84aa user: Matt Schmitt tags: trunk
13:31
With the ablity to change between core, minimal, and GUI as the interface with Windows Server 2012, I put this together to make it easy to switch between the different types. It will install or uninstall the necessary features to get to state that you supply the script. check-in: 70dd0c997f user: Na_pope tags: trunk
13:31
If you download or use, please tweet it or email me. Thanks! check-in: e4a4d60412 user: Matt Schmitt tags: trunk
13:31
Script for forwarding and unforwarding email in Office 365. This script makes doing the tasks easier, without having to use OWA. It saves time by not have to go into OWA to forward an email, when I get the request. I’m new at PowerShell (taking my first class next week), so I know there might be better ways of doing this. However, this works for me and I think it I did pretty good for just starting out. check-in: b0b7db4fe9 user: Matt Schmitt tags: trunk
13:31
Never fails a user calls in or enters a helpdesk ticket with, I cant log in. This is a script provides everything I need to determine why: Password Expired? Account Locked? If Locked, which DCs? Are there other users that are locked, that havent noticed yet? check-in: 7bc0a8763b user: Matt Schmitt tags: trunk
13:31
clear exchange 2003 attributes from AD users check-in: 7ee8c075c5 user: chriskenis tags: trunk
13:31
get and or set proxy thru remote registry check-in: a29144b509 user: chriskenis tags: trunk
13:31
This update adds an indicator (” *”) in the format file for the default parameter set. check-in: 8cd1d3baf7 user: JasonMArcher tags: trunk
13:31
Enables SNMP via Add-WindowsFeature (If not already enabled) check-in: 19a67c8613 user: St3v3o tags: trunk
13:31
A function to rename a computer check-in: 5ed4562f69 user: Gerald Klassen tags: trunk
13:31
IMCEAEX-_O=Hong+20Leong+20Intercompany_ou=First+20Administrative+20Group_cn=Recipients_cn=Office365+20RichardLoh@apcprd03.prod.outlook.com check-in: c710d3c565 user: IMMTZ tags: trunk
13:31
Convert-SchemaGUID allows to convert the Active Directory Schema GUID or AD Extended Rights GUID to convert to readable name. check-in: 39ae1cc13a user: P Sczepanski tags: trunk
13:31
Search-AD without need to install Quest Active Role commandlets or install Active Directory Management Gateway. check-in: 14f6e965be user: P Sczepanski tags: trunk
13:31
Comprobamos el estado de los cluster de windows. check-in: 4827fc1928 user: Pedro Genil tags: trunk
13:31
Sacamos un listado de los mailbox en una organizacion exchange 2007. Y realizamos una compresion del resultado check-in: 5263657ad5 user: Pedro Genil tags: trunk
13:31
Sacamos el numero de dispositivos active sync en una organizacion exchange 2007. check-in: 8de4976c10 user: Pedro Genil tags: trunk
13:31
This function runs a T-SQL Statment and output an object with the T-SQL Print Messages using .NET Events check-in: 80d59ce619 user: Laerte Junior tags: trunk
13:30
This function runs a T-SQL Statment and output an object with the T-SQL Print Messages using SMO Events check-in: 4463758396 user: Laerte Junior tags: trunk
13:30
This function runs a T-SQL Statment and output an object with the T-SQL Print Messages using SMO Events check-in: b26cab665e user: unknown tags: trunk
13:30
Exchange Automatic Replies Administrator – A GUI Front-end to the Get-MailboxAutoReplyConfiguration and Set-MailboxAutoReplyConfiguration cmdlet available in Exchange 2010. This script mimics the GUI available in Outlook. Perfect for Helpdesk or Sysadmins that hate the command-line, but want an easy way to set another users’ Automatic Replies (Out of Office) status. Has not been tested with Exchange 2013. Works in PowerShell 2.0 and 3.0. It currently requires the Management Tools be installed on the same computer as the script. check-in: 153df5dd2b user: Bryan Jaudon tags: trunk
13:30
get Mailbox Store Info per Exchange 2003 server check-in: 8ef77684a4 user: chriskenis tags: trunk
13:30
Finds and Replaces multiple entries, in multiple files. check-in: 4c589ecce8 user: Nathan Hartley tags: trunk
13:30
The Install-ISPackage script installs an Dtsx file to a SQL Server store using the command-line utility dtutil. check-in: 1d1cb81132 user: Chad Miller tags: trunk
13:30
Find matching members in a local group check-in: 7d9e70c212 user: Hal Rottenberg tags: trunk
13:30
[One-liner] Sets all the local adapters to point to OpenDns.org’s DNS Servers check-in: e3ae34a7a9 user: CrazyDave tags: trunk
13:30
Backs up the configuration of a Cisco UCS 61xx/62xx fabric interconnect using the Cisco PowerTool cmdlets. Designed to run as a scheduled task. Instructions are included in the script. Brief blog post at http://batchlife.wordpress.com/2012/11/14/powershell-script-to-backup/ . You’ll have to make the usual changes to directories, email addresses, etc. Hopefully I didn’t make the instructions more confusing when I sanitized the script for server names and the like. check-in: 64bb10f3b5 user: monahancj tags: trunk
13:30
This script is intended to use IIS logs to audit OWA/Activesync logs for syncing of mail from an iPhone or a palm device. This script is not perfect, nor the prettiest thing in the world but it works. It could be further added to parse for windows mobile devices. If it was really slick it would grab all the unique values in the DeviceType= portion and then automatically include all mobile types. You can email the results to yourself in $To varible. check-in: 26cd5d9f31 user: Dan Dill tags: trunk
13:30
Takes file-name and outputs fileobject with two more properties check-in: ef71ff2026 user: Stan Miller tags: trunk
13:30
Get-installed is a powershell cmdlet for examining installed applications check-in: fc9ed91a90 user: Stan Miller tags: trunk
13:30
Invoke-ISPackage.ps1 script is a wrapper around dtexec.exe to run an SSIS package. check-in: e84577517b user: Chad Miller tags: trunk
13:30
Invoke-SqlCmdExes.ps1 script is a wrapper around sqlcmd.exe to run a T-SQL query or stored procedure and optionally outputs to a file. check-in: caf2ee3f96 user: Chad Miller tags: trunk
13:30
This scripts converts Raw SID such as 010500000000000515000000A065CF7E784B9B5FE77C8770091C0100 into a standard SID output such as S-1-5-21-2127521184-1604012920-1887927527-72713 check-in: 04dc7222fe user: Francisco Puig D tags: trunk
13:30
This scripts converts Raw SID such as 010500000000000515000000A065CF7E784B9B5FE77C8770091C0100 into a standard SID output such as S-1-5-21-2127521184-1604012920-1887927527-72713 check-in: fdb37afb26 user: Francisco Puig D tags: trunk
13:30
The script saves a username and password, encrypted with a custom key to to a file. The key is coded into the script but can be changed if required. The key allows the password to be decrypted by any user who has the key, on any machine. If the key parameter is omitted from ConvertFrom-SecureString, only the user who generated the file on the computer that generated the file can decrypt the password. check-in: 2286a0e324 user: Samuel Mulhearn tags: trunk