PoshCode Archive  Timeline

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

200 most recent check-ins using file Split-Job-V.ps1 version d10b3a7cf2

2018-06-10
13:29
Enumerate users of a given local group. Uses WMI. Outputs strings, sorry about that. check-in: 555bc2d1b6 user: Carter Shanklin tags: trunk
13:29
Gathers and sorts all of the service profile associations for a list of UCS clusters. Very handy for scanning growing UCS environments for all of your associations. check-in: 043ca8ab1a user: Josh Atwell tags: trunk
13:29
Function will combine common .CSV files into one large file. CSV files expect to have same header. check-in: d508e57cb4 user: Josh Atwell tags: trunk
13:29
validate cmdlet and function check-in: a306414d20 user: Walid Toumi tags: trunk
13:29
Functions to view/enable/disable LDAP query logging on a DC and parse eventlog message from logged queries. check-in: 9eab1ff081 user: Patrick Sczepanski tags: trunk
13:29
Functions to view/enable/disable LDAP query logging on a DC and parse eventlog message from logged queries. check-in: 9e30e7fb17 user: Patrick Sczepanski tags: trunk
13:29
I wrote this scrip to find and zip database trace files. There are switch parameters to search subdirectories recursively as well as removing the original trace file. check-in: a2f13573dc user: Kevin Bullen tags: trunk
13:29
Use of export-csv -Append check-in: 1893f17544 user: unknown tags: trunk
13:29
quick hard coded script for uploading a file to an ftp server. check-in: 9dfdb300d0 user: Stephen Price tags: trunk
13:29
Ever wonder what kind of chassis your computer thinks it’s running on? Have a need to know if you’re RDP’d into a physical or virtual system? This script can probably answer the question for you. This script was adapted to PowerShell from a VBScript I’ve had for a while. It uses WMI to determine the Chassis type and translates the reported numerical code into decipherable text. – Thought i would rewrite this code using the switch function rather than elseif. Easier to read and less code to write. check-in: c8b468eb6d user: Owen08 tags: trunk
13:29
I needed to deploy some DLLs to patch a program. This will copy files to a computer and log it in excel. The logging is the only weak link in this script because it uses the credentials of what ever user is running the script. I even included a backout function in the event you need to revert your changes. check-in: d35d31f137 user: HughS tags: trunk
13:28
Test-Port creates a TCP connection to specified port. By default it connects to port 135 with a timeout of 3secs. check-in: 3eaa64d1e9 user: BSonPosh tags: trunk
13:28
Test-Port creates a TCP connection to specified port. By default it connects to port 135 with a timeout of 3secs. check-in: 3ee247e3b5 user: BSonPosh tags: trunk
13:28
This is a very meaningless demo showing how to get and work with a html document in parsed form. The actual script gets a html-table from www.apk.se (listing cheap alcohol in sweden) and parses and converts that to a object and hands that of to the pipe. check-in: 40bb918380 user: Daniel Srlv tags: trunk
13:28
Hello, check-in: 84664cf181 user: Brandon Murphy tags: trunk
13:28
Provides same functionality as cliconfg.exe GUI. Although there is a WMI provider to add client network aliases, the differences between SQL version make it diffult to use. This method creates the registry key. check-in: 8365332841 user: Chad Miller tags: trunk
13:28
Quickly convert a .NET type’s static methods into functions. (bugfix update: $type.Name -> $type.FullName) check-in: 15cfef6a99 user: Oisin Grehan tags: trunk
13:28
copy, clean and dedup DNS zones, working code, check-in: 2687b81a39 user: chriskenis tags: trunk
13:28
copy, clean and dedup DNS zones, working code, check-in: 9a58bd630b user: chriskenis tags: trunk
13:28
Get-Parameter is used to obtain all of the parameters for a cmdlet. It also returns info like aliases and whether a parameter is mandatory. check-in: 24cc8a3de2 user: halr9000 tags: trunk
13:28
Quickly convert a .NET type’s static methods into functions. check-in: ac4d3996c9 user: Oisin Grehan tags: trunk
13:28
Trim working set for a PID. check-in: 597db2ff55 user: SunnyChakraborty tags: trunk
13:28
Report-RecipientCounts.ps1 check-in: 97d21c7260 user: dethompson71 tags: trunk
13:28
Queries the Dell Website for a list of service tags and returns the warranty information as a custom object. check-in: a1fea14f3e user: jasser tags: trunk
13:28
Queries the Dell Website for a list of service tags and returns the warranty information as a custom object. check-in: 8843904c8e user: jgrote tags: trunk
13:28
Find matching members in a local group check-in: 99402f52da user: Hal Rottenberg tags: trunk
13:28
This script removes all existing permissions and assigns the appropriate domain permissions. Also the Owner is set to BUILTIN\Administrators check-in: 8111debbb4 user: Littlegun tags: trunk
13:28
Completely redoes Home Directory Perms check-in: 9687c8b381 user: Littlegun tags: trunk
13:28
Checks all Exchange Queues in an Organization check-in: e782ebaf66 user: Littlegun tags: trunk
13:28
This script checks services on Exchange Servers and restarts them if needed. check-in: 2e557b8b9e user: Littlegun tags: trunk
13:28
A few helper functions for generating some random data (in some specific formats/types) check-in: 5d08cddd6e user: CrazyDave tags: trunk
13:28
Improved version of http://poshcode.org/2352. Nobody seems to know how that should be used. See also MSDN for FindPrivateKey documentation. check-in: 4cd367d5a9 user: HQJaTu tags: trunk
13:28
The kitchen timer with a kitchen sink -full of features check-in: 0931e661d0 user: Joel Bennett tags: trunk
13:28
This script will allow you to query a web site and retrieve information about the web site and whether it is available or not. check-in: 9f1b4e7c01 user: Boe Prox tags: trunk
13:28
A script for creating clones of one or more svn repositories. It can only clone multiple repositories if they only differ by one substring (e.g. they all are svn repos on google code, sourceforge, codeplex, or some other forge.) check-in: abaf38da37 user: Justin Dearing tags: trunk
13:28
An upgrade to my wget script which can output the downloaded html to the pipeline. Get-WebFile can download text or binary files, automatically determine file names, and present a progress report for large files… check-in: 10421cf32d user: Joel Bennett tags: trunk
13:28
viewAllTemplate.ps1 check-in: 31dde5f63e user: brodobrey tags: trunk
13:28
createSiteFromTemplate.ps1 check-in: 046f32d9a7 user: brodobrey tags: trunk
13:28
tst.ps1 check-in: 3b705f42b6 user: brodobrey tags: trunk
13:28
CreateSite_tmp.ps1 check-in: 67f268956f user: brodobrey tags: trunk
13:28
Disable-SSLValidation is built as a workaround for Invoke-WebRequest errors when attempting to get content from a site using a self-signed SSL certificate. check-in: 5cb40bb314 user: Matthew Graeber tags: trunk
13:28
This is a script which I have used to prepare my lab environment with Hyper-V 3.0. I have updated the script after upgrading my test machines to Windows Server 2012 RTM last night. (9/5/2012) check-in: eb28ea6752 user: Huajun Gu tags: trunk
13:28
This is a script which I have used to prepare my lab environment with Hyper-V 3.0. I have updated the script after upgrading my test machines to Windows Server 2012 RTM. The example shows how to create a virtual machine on a remote Hyper-V server. check-in: 8b7cf1a8d8 user: Huajun Gu tags: trunk
13:28
This is a script which I have used to prepare my lab environment with Hyper-V 3.0. I have updated the script after upgrading my test machines to Windows Server 2012 RTM. The example shows how to create a virtual machine on a remote Hyper-V server. check-in: ae1afec0b2 user: Huajun Gu tags: trunk
13:28
This function performs an ROBOCOPY command with the well known parameters `Source`, `Target`, `Files` and `Optinos`. The ROBOCOPY result is converted to a easy to read PSObject. check-in: 955339d76f user: Claudio Spizzi tags: trunk
13:28
Disable-SSLValidation is built as a workaround for Invoke-WebRequest errors when attempting to get content from a site using a self-signed SSL certificate. check-in: bbf1a0f8a6 user: Matthew Graeber tags: trunk
13:28
Retrieves from a list of SamAccountName (txtfile) the accounts that are disabled in a forest. check-in: 85a9016cf7 user: Cisco tags: trunk
13:28
A function to set an IP Address check-in: 06130613db user: Robert tags: trunk
13:28
A function to set an IP Address check-in: cc4661a6f6 user: Robert tags: trunk
13:28
Script courtesy of Jaykul, I’m just reposting. This script will decode the passwords for all accounts in the Psi profile labeled “default”. check-in: fdc189f288 user: jvarga tags: trunk
13:28
This script will allow you to query a web site and retrieve information about the web site and whether it is available or not. check-in: 55eb9b9502 user: Boe Prox tags: trunk
13:28
Uses cdb.exe from the Debugging Tools for Windows to create a sample-based check-in: e653c203fa user: Lee Holmes tags: trunk
13:28
The script takes about 100 counter paths, and pushes the raw value to a mongo database. check-in: a04c0d0ad0 user: SunnyChakraborty tags: trunk
13:27
Insert event logs to mongodb. check-in: 574d149d86 user: SunnyChakraborty tags: trunk
13:27
This function creates or updates a combined Startmenu folder, which you can attach to you toolbar (cf. http://www.howtogeek.com/107711/how-to-get-the-classic-start-menu-back-in-windows-8/) or my blog http://pauerschell.blogspot.de/ check-in: 1c1f43e054 user: Bernd Kriszio tags: trunk
13:27
Finds the datastore within a cluster with the most free space. check-in: 4f595f5059 user: monahancj tags: trunk
13:27
This script takes a list of Active Directory security group membership from XML, checks a baseline, and emails results. Code can be taken from this to create the baseline XML as well. Thanks to A.Metzger for fixing empty group membership bug. check-in: 95f5ba38d2 user: Steve Jarvi tags: trunk
13:27
Report on all email addresses per mailbox. Optionally remove regex matched addresses. Add any custom address thru parsing any prefix in the loop of SMTP domains. check-in: 80f40ccd4d user: chriskenis tags: trunk
13:27
Add new smtp address from csv and set new address primary check-in: bcdee50046 user: Ermias tags: trunk
13:27
This script is called from a scheduled task running under an account with the recipient role. Gets identities from a distribution group in AD, here named xc2010move but it can be anything you like. This way anyone with permissions to add users to this group can initialize a migration and with the right permissions users can even add themselves to this group (add\remove Self as member). check-in: 42e7189f23 user: chriskenis tags: trunk
13:27
This function/script monitors the size of a file and all of its sub-directories. It can also monitor one specific file but the user must specifiy the exact path in that case. Usefull for making sure that disk space on a server doesn’t fill up unexpectedly. check-in: 8248ea8d09 user: Paul Kiri tags: trunk
13:27
Find matching members in a local group check-in: 54aab29100 user: Hal Rottenberg tags: trunk
13:27
Find matching members in a local group check-in: c2e19ff594 user: Hal Rottenberg tags: trunk
13:27
Rewrite of http://poshcode.org/3460. check-in: b04b1e0acf user: Jules_74 tags: trunk
13:27
a function to batch import Exchange 2010 GAL photos… find the related post on ntsystems.it: http://www.ntsystems.it/post.aspx?id=e28854e0-e628-4fc7-850b-83d0458d9ab7 check-in: 1db9955228 user: thomas torggler tags: trunk
13:27
Rewrite of http://poshcode.org/3460. check-in: 7a7e02277c user: Jules_74 tags: trunk
13:27
DHCP Failover/Watchdog script. check-in: 10bace1eaa user: vocatus tags: trunk
13:27
Creates a DataTable for an object, based on script by Marc van Orsouw check-in: 3c0f6b194a user: Chad Miller tags: trunk
13:27
this script is called from a scheduled task running under an account with the recipient role check-in: 936c28d3d8 user: chriskenis tags: trunk
13:27
A complete set of XML functionality (especially if you don’t have PSCX), including reading and writing xml files (import-xml, export-xml), selecting (via xpath), updating, transforming and creating new xml documents. check-in: 60d18e914d user: Joel Bennett tags: trunk
13:27
This is a VERY simple Powershell Function to test if the SCCM 2007 Agent is installed on a machine or not. check-in: a59be25842 user: Sean Kearney tags: trunk
13:27
A function to facilitate use of background runspaces in Powershell. check-in: 95db35bd32 user: Josh Feierman tags: trunk
13:27
This clock is digital. No fancy sweeping movements and animations here, but you do get to see the date and day of the week, and you can easily play with fonts and colors to suit your desktop … check-in: a4719dea5a user: Joel Bennett tags: trunk
13:27
This is a sample profile to explain profiles on my blog. Please check out: http://www.ntsystems.it/post/My-PowerShell-Profile.aspx if you have any idea/hint/question check-in: d5e08d4017 user: thomas torggler tags: trunk
13:27
A ShowUI function for generating Mailboxes with a quick form check-in: e4a89f4b73 user: Joel Bennett tags: trunk
13:27
a WMI driven script to set IP Configuration from remote check-in: 6525a51b0d user: chriskenis tags: trunk
13:27
user home drive migration script (in progress but nearly complete) check-in: 414158ae99 user: chriskenis tags: trunk
13:27
user home drive migration script (in progress but nearly complete) check-in: cbb0bd56d9 user: chriskenis tags: trunk
13:27
Invoke the specified command (with parameters) in cmd.exe, and import any environment variable changes back to PowerShell check-in: fb117a5b7b user: Joel Bennett tags: trunk
13:27
ConvertFrom-PropertyString 3.0 can convert ini files, property files, and other flat key-value data strings into PSObjects. check-in: e39fed5cfe user: Joel Bennett tags: trunk
13:27
IronPython script for retrieving MS products. There is how to get Windows key in following example. check-in: f9cb97bacb user: greg zakharov tags: trunk
13:27
a WMI driven script to set IP Configuration from remote check-in: 94edb2936f user: chriskenis tags: trunk
13:27
Content of the Get-PingStatus-Help.xml file uploaded for Kirk for troubleshooting reasons check-in: f69afba9b0 user: Andreas tags: trunk
13:27
Add directory to Environment PATH variable permanently. Apply changes immediately without requiring reboot. check-in: a5c69e2866 user: mnaoumov tags: trunk
13:27
Creates a SQL Server table from a DataTable using SMO. check-in: 9a2be276e7 user: Chad Miller tags: trunk
13:27
Creates a DataTable for an object, based on script by Marc van Orsouw check-in: 671bc3e861 user: Chad Miller tags: trunk
13:27
Hello check-in: fac0114a95 user: Brandon Murphy tags: trunk
13:27
Replaces Get-Credential, with options to set the dialog title and message, as well as defaulting the domain and username, and offering the option to prompt in-line in the console, and to get generic (non-domain) credentials (without a leading “\”). Better in every way than the built-in Get-Credential ;) check-in: 84cc739e6d user: Joel Bennett tags: trunk
13:27
Replaces Get-Credential, with options to set the dialog title and message, as well as defaulting the domain and username, and offering the option to prompt in-line in the console, and to get generic (non-domain) credentials (without a leading “\”). Better in every way than the built-in Get-Credential ;) check-in: a23c0d575a user: Joel Bennett tags: trunk
13:27
This code allows for the secure storing of an active directory password and then using it for connecting to exchange or active directory. This snippet will prompt the administrator for a username only, collect the password from the securely stored file, and then assemble a powershell credential object for use. check-in: bc818c1049 user: Lubinski tags: trunk
13:27
This code allows for the secure storing of an active directory password and then using it for connecting to exchange or active directory. This snippet will prompt the administrator for a username only, collect the password from the securely stored file, and then assemble a powershell credential object for use. check-in: 6dd5ad9bd6 user: Lubinski tags: trunk
13:27
Calculates the Gregorian Easter date for a given year. check-in: edcaaf78f8 user: michaelvdnest tags: trunk
13:27
Calculates the Julian Easter date in the Julian calendar for a given year. check-in: 5471048556 user: michaelvdnest tags: trunk
13:27
Requires mGet-DatastoreList.ps1 check-in: 57dbd74b9a user: monahancj tags: trunk
13:27
A version of the VMware Get-Datastore cmdlet that filters out datastore we don’t want to put VMs on. It filters by type of datastore and our naming conventions for the datastore naming indicating what kind of data is on the datastore. Line 9 will have to be updated for your own environment. check-in: efee04ebc2 user: monahancj tags: trunk
13:26
Function to import security certificates. check-in: 9f4f5a5f66 user: anti121 tags: trunk
13:26
Function to import security certificates. check-in: c36d638731 user: anti121 tags: trunk
13:26
Compare the ACLs for two users for a folder tree check-in: dd0d96baa9 user: Joel Bennett tags: trunk
13:26
IMCEAEX-_O=CONTOSO_OU=First+20Administrative+20Group_cn=Recipients_cn=john+5Fjacob+2Esmith@contoso.com check-in: e189cb9f10 user: Test1 tags: trunk
13:26
Print the hostname of the system. Complete with v2 comment-based help, but works fine on v1. check-in: 4c784d478c user: halr9000 tags: trunk
13:26
Performs a binary rotate right operation on an unsigned 32 or 64-bit value. check-in: 1bfed5b501 user: Matthew Graeber tags: trunk
13:26
Simple script to bulk-create printers on a print-server. Printers are imported from a csv-file. check-in: 8ab8c5bdf3 user: navadavuluri tags: trunk
13:26
The script requires an input file, supplied as an argument to the script. The first line of this file contains an email address, subsequent lines contain VM names, one per line. The script connects to vCenter, queries for given performance stats (get-stat) and then generates a HTML report, which is then emailed to the recipient. The script can be scheduled via scheduled tasks (when supplied with a credential file for vCenter created with http://poshcode.org/3487) or run interactively. check-in: f11dee136d user: Samuel Mulhearn tags: trunk
13:26
Get DeviceID of all ActiveSync Devices for all Mailboxes with an ActiveSync partnership, then set the Mailboxes ActiveSyncAllowedDeviceIDs to the retrieved DeviceID. check-in: 59784c7271 user: thomas torggler tags: trunk
13:26
Get DeviceID of all ActiveSync Devices for all Mailboxes with an ActiveSync partnership, then set the Mailboxes ActiveSyncAllowedDeviceIDs to the retrieved DeviceID. check-in: 0023bf94e6 user: thomas torggler tags: trunk
13:26
With this function I can switch between IE and Firefox as default browser. It is just a start. There might be some more registry keys to be changed check-in: 388cd2cdc9 user: Bernd Kriszio tags: trunk
13:26
Script for total resize of all pictures in one or multiple directories. check-in: ac82becfa1 user: Oleg Medvedev tags: trunk
13:26
**Modified line 49 to output the log information in tab delimited format for export to a CSV file. check-in: e61ad5494b user: Pat Richard tags: trunk
13:26
Quest – Dynamic Group 005 – Convert Normal Group to a Dynamic Group check-in: 7bdfca1c37 user: Vidrine tags: trunk
13:26
Quest – Dynamic Group 004 – Display a Dynamic Group’s Queries (membership rules) check-in: 7438fc5391 user: Vidrine tags: trunk
13:26
Quest – Dynamic Group 003 – Modify a Query (membership rule) in a Dynamic Group check-in: f3181b36da user: Vidrine tags: trunk
13:26
Quest – Dynamic Group 002 – Add a Query (membership rule) to a Dynamic Group check-in: 870b15f4f5 user: Vidrine tags: trunk
13:26
Quest – Dynamic Group 001 – Convert Normal Group to a Dynamic Group check-in: 2904e00e3d user: Vidrine tags: trunk
13:26
This script takes a list of Active Directory security group membership from XML, checks a baseline, and emails results. Code can be taken from this to create the baseline XML as well. Thanks to Koldkutspecial for fixing empty group membership bug. check-in: 186c23d9ce user: Steve Jarvi tags: trunk
13:26
The function hex2sid will convert HEX-represented SID string like 010500000000000515000000358A021A75B9755407E53B2B1EF10108 to SID string (also known as SSDL) check-in: f9dc73f554 user: Dormidont tags: trunk
13:26
The script requires an input file, supplied as an argument to the script. The first line of this file contains an email address, subsequent lines contain VM names, one per line. The script connects to vCenter, queries for given performance stats (get-stat) and then generates a HTML report, which is then emailed to the recipient. The script can be scheduled via scheduled tasks (when supplied with a credential file for vCenter created with http://poshcode.org/3487) or run interactively. check-in: e969913d92 user: Samuel Mulhearn tags: trunk
13:26
The script saves a username and password, encrypted with a custom key to to a file. The key is coded into the script but can be changed if required. The key allows the password to be decrypted by any user who has the key, on any machine. If the key parameter is omitted from ConvertFrom-SecureString, only the user who generated the file on the computer that generated the file can decrypt the password. check-in: 4d24959588 user: Samuel Mulhearn tags: trunk
13:26
The script saves a username and password, encrypted with a custom key to to a file. The key is coded into the script but can be changed if required. The key allows the password to be decrypted by any user who has the key, on any machine. If the key parameter is omitted from ConvertFrom-SecureString, only the user who generated the file on the computer that generated the file can decrypt the password. check-in: 4079a44a52 user: Samuel Mulhearn tags: trunk
13:26
The script saves a username and password, encrypted with a custom key to to a file. The key is coded into the script but can be changed if required. The key allows the password to be decrypted by any user who has the key, on any machine. If the key parameter is omitted from ConvertFrom-SecureString, only the user who generated the file on the computer that generated the file can decrypt the password. check-in: 527f097916 user: Samuel Mulhearn tags: trunk
13:26
The script saves a username and password, encrypted with a custom key to to a file. The key is coded into the script but can be changed if required. The key allows the password to be decrypted by any user who has the key, on any machine. If the key parameter is omitted from ConvertFrom-SecureString, only the user who generated the file on the computer that generated the file can decrypt the password. check-in: c627d3e4c1 user: Samuel Mulhearn tags: trunk
13:26
This script will disable all Active Directory User accounts that have not logged in within the number of days specified by the $NumDays variable. All accounts that are disabled are logged in the “Disabled-User-Accounts.log” file created in the local directory. The formatting of the log file is very basic, but effective. check-in: 3fc6b8ff78 user: AlphaSun tags: trunk
13:26
A function to set an IP Address check-in: d5ae11d894 user: Andy Schneider tags: trunk
13:26
This function is prepared for Hyper-V 3.0 since we don’t have a native cmdlet in the module. check-in: ad7e23bc4b user: Huajun Gu tags: trunk
13:26
Gets stuff from SharePoint lists and turns it into objects. check-in: 774196cef6 user: Joel Bennett tags: trunk
13:26
A quick little script to get members of a Distribution Group to sync with MailChimp instead of using Active Directory. check-in: 8932cff6db user: Tozzi June 2012 tags: trunk
13:26
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 0523156306 user: Lee Holmes tags: trunk
13:26
My replacement of Copy-Item addresses 3 problems. 1) if $dest doesn’t exist, it creates a directory 2) $exclude works on all levels 3) It handles wildcards in $src (in the filepart, this extends the solution to 2) in http://stackoverflow.com/questions/731752/exclude-list-in-powershell-copy-item-does-not-appear-to-be-working. Wildcards in the directory part of $dest are supported, but I do not recommend this use. This is a workaround for my personal needs, it does not try to use include. Note this solves the defect of Get-Childitem which doesn’t return the relative path and the object simultaneously in case of wildcards in $path. check-in: d6d2ebe7d5 user: Bernd Kriszio tags: trunk
13:26
This script will list all User objects in the current Active Directory domain. The data gathered includes Display Name, Username, Last Logon Date, and Disabled Status. All data is exported to a CSV file. check-in: 25427a51c1 user: malay tags: trunk
13:26
Check if PowerShell version 3 or higher is installed check-in: e8ffec08a6 user: Adam Mendoza tags: trunk
13:26
A complete set of XML functionality (especially if you don’t have PSCX), including reading and writing xml files (import-xml, export-xml), selecting (via xpath), updating, transforming and creating new xml documents. check-in: 0ea7298389 user: Joel Bennett tags: trunk
13:26
A script to help you figure out what scope you are in “right now” (you have to always call it like: . Get-Scope $MyInvocation) check-in: 50f1d3fd5c user: Joel Bennett tags: trunk
13:26
The Get-NistNtpServer function retrieves the list of NIST NTP server names, IP addresses, locations, and status. check-in: 156d150312 user: Rich Kusak tags: trunk
13:26
This module provides 3 Cmdlets : Get-Route, Add-Route and Remove-Route. check-in: 3af921fec3 user: fdibot tags: trunk
13:26
Just a short function I wrote based on FTP Upload and download examples. Requires and absolute path to the file on the FTP server that you wish to remove i.e. ftp://ftp.someserver.com/filetodelete.txt check-in: 7dc1ce171a user: xandertrystin tags: trunk
13:26
PowerShell 3 Script to call a Jira REST Service. Does HTTP BASIC Pre-Authentication (a plain Invoke-RestMethod does not work) check-in: 4bfd364cf7 user: Markus Essl tags: trunk
13:26
PowerShell 3 Script to call a Jira REST Service. Does HTTP BASIC Pre-Authentication (a plain Invoke-RestMethod does not work) check-in: ec6b68d90e user: unknown tags: trunk
13:26
Returns AD group membership, including nested groupmembership (excluding circular nested groups). check-in: 4cd8841824 user: Jules_74 tags: trunk
13:25
A function to be called by ISE AddOnMenu to move files to other tabs (runspaces) check-in: 8819e7ad33 user: Bernd Kriszio tags: trunk
13:25
Simple script to backup DHCP settings and config to a DFS Share. This is coded for an AD Environment that has 1 DHCP on a Domain Controller per Site. It is very easily customized and has very basic error handling. In the case of a DC failure and no System State was backed up, you can get a site up and running atleast. check-in: 5f283a3035 user: VulcanX tags: trunk
13:25
Sorry, new to poshcode, I found Joels’ blog and wanted to point out that shifting by 0 bits is not supported by the function, its the pipelin logic handlign at fault really. check-in: 46b05e6335 user: Joel Bennett tags: trunk
13:25
This will allow you to create a log to a file share of AD logins. This creates two files one based on logins to the computer, and the other is based on the username. check-in: 4b663721ae user: Alan Oakland tags: trunk
13:25
Remove duplicate Notes from Outlook. I had many duplicate notes after a bad sync with my smartphone. This removed them. check-in: 4570bc05ea user: MichaelJ tags: trunk
13:25
Use this to view VM that have been decommissioned and turned off for more than 2 weeks so that they can be deleted. check-in: c6a0342d38 user: Clint Jones tags: trunk
13:25
A function to test a user’s credentials. Return true/false. Works for local or domain user accounts. check-in: 39baccd671 user: Andy Arismendi tags: trunk
13:25
Modeled after SQL Server 2008 Invoke-Sqlcmd, but fixes bug in QueryTimeout, and allows for paramaterized queries. check-in: eacb1bea28 user: Justin Dearing tags: trunk
13:25
A function to set an IP Address check-in: 8d3134f6aa user: Andy Schneider tags: trunk
13:25
Bulk Storage vMotion by cluster (staggered). check-in: 1e100893ae user: Clint Jones tags: trunk
13:25
This is a simple weather forecast widget that shows the current temperature and forecast. Don’t forget to change the $woEID to the right one for your location. check-in: f408952c5c user: johnp tags: trunk
13:25
Use to get ESXi host versions check-in: dada7f0495 user: Clint Jones tags: trunk
13:25
Defines functions for wokring with Microsoft Chart Control for .NET 3.5 Framework.Pipe output to Out-Chart function and specify chart type. Chart will display in form or save to image file. Real-time charts are supported by passing in a script block. Updated to fix line chart. Line Chart XAxis needs tweaking. check-in: 4283d96d81 user: Chad Miller tags: trunk
13:25
Use to get ESXi host versions check-in: 2a539c90cb user: Clint Jones tags: trunk
13:25
Sometimes our terminalserver sessions become unstable, session didn’t check-in: 2d0a0269ee user: unknown tags: trunk
13:25
Function/script to launch Remote Desktop sessions from command line, RDP file or pipeline using Terminal Services Client. check-in: d589f58f28 user: Administrator tags: trunk
13:25
Function/script to launch Remote Desktop sessions from command line, RDP file or pipeline using Terminal Services Client. check-in: 214297fce9 user: Jason Archer tags: trunk
13:25
Script to loop through text file of servers, check status of SQL Agent Jobs, add to an excel file and email check-in: b11401f8ea user: Rob Sewell tags: trunk
13:25
Get-FileEncoding function determines encoding by looking at Byte Order Mark (BOM). check-in: a75eea6537 user: Chad Miller tags: trunk
13:25
A function to get a sql connection string in a web.config file check-in: 42824d9520 user: unknown tags: trunk
13:25
Takes a series of objects (like the converted input from csv) where there are a series of objects (rows) that actually define the same object, and there is (at least) one property which is a unique identifier (and appears on each object), and there are two properties which are a name and value pair defining additional properties ... and outputs new objects which merge the objects and add the name-value pairs as new properties. check-in: dbb811d9f0 user: Joel Bennett tags: trunk
13:25
Creates a DataTable for an object, based on script by Marc van Orsouw check-in: e46c855d76 user: Chad Miller tags: trunk
13:25
Reflector is no longer free. Except it kind of is. This script will download it for you. Booya! check-in: 5911cd9291 user: George Mauer tags: trunk
13:25
retrieve the windows product key of a specified machine using WMI check-in: f3e0791f89 user: robert tags: trunk
13:25
retrieve the windows product key of a specified machine using WMI check-in: d4606e7662 user: robert tags: trunk
13:25
retrieve the windows product key of a specified machine using WMI check-in: 82daefb634 user: robert tags: trunk
13:25
retrieve the windows product key of a specified machine using WMI check-in: 25d4df31f1 user: karl prosser tags: trunk
13:25
Gathers lots of statistics about Exchange 2010 databases, and sends an email with both a html table, and also CSS graphs representing disk usage. check-in: 32da8fe8d4 user: rfoust tags: trunk
13:25
This is an advanced function I found that I’ve been using as a Show-Msgbox Function. Enjoy :) check-in: 0fc7ebb4ad user: Dyspareunia tags: trunk
13:25
Test md5/sha1/etc file hashes. check-in: 469b45aa4e user: Joel Bennett tags: trunk
13:25
Creates a VMFS datastore via powershell by specifying the target LUN ID check-in: 1389dfb146 user: Ed Goad tags: trunk
13:25
Count-CachedMode.ps1 check-in: 6060c30928 user: unknown tags: trunk
13:25
Count-CachedMode.ps1 check-in: a93d392d54 user: unknown tags: trunk
13:25
Get-CASConnectLogEntries.ps1 check-in: 00fc4e85bd user: unknown tags: trunk
13:25
I created this function to generate a new PowerShell Script template. It will prompt for the name of the script you want to create (don’t need to add the .ps1 extension) and the email (don’t need to add email) then it will create the template in the C:\Scripts directory (Dir should already exist) check-in: 3863b5ca93 user: Thijs Dirk tags: trunk
13:25
second version of set ip config thru WMI, check-in: 06636768cb user: chriskenis tags: trunk
13:25
This is a simple weather forecast widget that shows the current temperature and forecast. Don’t forget to change the $woEID to the right one for your location. check-in: 5c9aa0c416 user: Joel Bennett tags: trunk
13:25
Load an Excel document into an Excel COM object for processing as input. These functions can be modified to start reading the data at a specified row count. The data/headers do not need be on the first row. check-in: 3c37a6fe43 user: Vidrine tags: trunk
13:25
Set-Wallpaper lets you set your windows desktop wallpaper. It requires PInvoke and I wrote it using PowerShell 2’s Add-Type, although it could be done in v1 using the JIT code generation tricks Lee Holmes has mentioned in the past … check-in: 5e46b729b8 user: Joel Bennett tags: trunk
13:25
Extracts the contents of a ZIP file to a folder check-in: e27f50573e user: Thomas Freudenbe tags: trunk
13:25
Download video-files from the specified RSS-feed URL, based on HTML scraping and a regular expression for finding the download URL.Joel Bennett`s Get-WebFile function from poshcode.org, which provides progress status during download, is used for downloading the files. check-in: f504417bc1 user: Jan Egil Ring tags: trunk
13:25
Produces HTML report of the NTFS & share permissions for each share on a system. Administrative shares such as admin$ are excluded. check-in: e6f824dca1 user: grolo tags: trunk
13:25
This is a personal startup script with pop-up notification and checks to assure things are not already running. check-in: 8f6f95883d user: Kenneth C Mazie tags: trunk
13:24
16ca876b7bb7ac8c2f362b521a49984d check-in: b12fcb9c87 user: 158815871610 tags: trunk
13:24
With help of this function you will be able to force nice display of numeric data. check-in: ee938f8ab4 user: BartekB tags: trunk
13:24
Set the resource limits on VMs automatically based on the number of vCPUs and vRAM assigned. This is useful as a preliminary pass at resource tiering. check-in: 807bbcee3c user: Ed Goad tags: trunk
13:24
Uses the Cisco UCS PowerTool (http://developer.cisco.com/web/unifiedcomputing/pshell-download) to list server names, NICs and associated VLANs. Goes well piped out to format-table -auto Server, Vnic, Vlan check-in: 716e17d0a3 user: halr9000 tags: trunk
13:24
This function will run code on a remote computer under the currently logged on user credentials. Knowing there password is not required as it will impersonate the windows token. check-in: a804b75a84 user: Grant Carthew tags: trunk
13:24
This function will run code on a remote computer under the currently logged on user credentials. Knowing there password is not required as it will impersonate the windows token. check-in: 137d732c3d user: Adam Listek tags: trunk
13:24
This function will run code on a remote computer under the currently logged on user credentials. Knowing there password is not required as it will impersonate the windows token. check-in: 3b13c72c19 user: Adam Listek tags: trunk
13:24
Create a Sharepoint 2010 farm check-in: 457d72673d user: Jos Verlinde tags: trunk
13:24
Wrappers for Write-Host and Write-Verbose that support indenting, including automatic indenting based on stack depth. check-in: 16a79a91a6 user: Joel Bennett tags: trunk
13:24
This scripts converts Raw SID such as 010500000000000515000000A065CF7E784B9B5FE77C8770091C0100 into a standard SID output such as S-1-5-21-2127521184-1604012920-1887927527-72713 check-in: 7f6956ffbf user: Francisco Puig D tags: trunk
13:24
Whois Lookup information returning an OBJECT!!! save as Whois.ps1 and run at your leisure check-in: b37cd54b2d user: CrazyDave tags: trunk
13:24
This ASP page takes an input from a form from a html page. The input is the displayname (or part of a displayname) of an account in Active Directory. It returns a number of fields, but the one I was mainly interested in was the msds-Principalname, which is only available in AD 2008. As we’re not 100% AD 2008, I hard-coded this page to hit a Windows 2008 Domain Controller. I also needed the msds-Principalname field with “winnt://” in front of it, which is why the output loop looks a bit strange. check-in: 58b7f62cba user: Paul McDonnell tags: trunk
13:24
Imports an Excel spreadsheet to a SQL Server table using OLEDB check-in: 86a2916730 user: Chad MIller tags: trunk
13:24
IMCEAEX-_O=SYNERGIEMAIL_OU=EXCHANGE+20ADMINISTRATIVE+20GROUP+20+28FYDIBOHF23SPDLT+29_CN=RECIPIENTS_CN=B2e+2Esbond@synergieit.co.uk check-in: ba66bded82 user: tayo dada tags: trunk
13:24
Takes ASN types integer, octet (string), octet (byte array), and OID (string) values and encodes into byte array using Basic Encoding Rules (BER). BER encoded values are used for SNMP, X.509 certificates, etc. check-in: 8a01d11856 user: Parul Jain, paruljain tags: trunk
13:24
Initiates a countdown on your session. Can be used instead of Start-Sleep check-in: adbdfcfcc9 user: Josh_Atwell tags: trunk
13:24
Findup – Find duplicates C# version. Compares files sizes and SHA512 hashes to identify duplicates. New regex Include/Exclude feature. Should be compiled with Visual Studio 11 (beta as of now), as older Visual Studio C# compilers seem to have a bug that causes crashes on long file names. check-in: ee1ac95eff user: James Gentile tags: trunk
13:24
Powershell to modify Excel check-in: 7af9fa78b9 user: Trevor tags: trunk
13:24
Powershell to modify Excel check-in: d8cd74028d user: unknown tags: trunk
13:24
Initiates a countdown on your session. Can be used instead of Start-Sleep check-in: e4002c3fae user: Josh_Atwell tags: trunk