PoshCode Archive  Timeline

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

135 check-ins using file Write-DataTable.ps1 version 44fe040e27

2018-06-10
13:08
A module for updating the machineKey element in some or all of the web.config files on a server at once. check-in: e9d2e1dd52 user: Joel Bennett tags: trunk
13:08
A demo script which work against remote session output as well as local output: check-in: 98e90b1b53 user: unknown tags: trunk
13:08
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: 8249cddfcc user: unknown tags: trunk
13:08
Generate Cryptographically Random Bytes, using RNGCryptoServiceProvider, and optionally format them as strings. check-in: 3a35ec2ff9 user: unknown tags: trunk
13:08
A function to join a domain check-in: cac862858b user: Andy Schneider tags: trunk
13:07
An example of making “custom objects” with strongly-typed properties, custom enumeration/validation and error messages. check-in: bf25145342 user: unknown tags: trunk
13:07
The Easy Migration script enables you to manually VMotion and SVMotion virtual machines very quickly and easily. You don’t have to specify the resource pools and it reduces the amount of mouse clicks required. There is also an Undo feature. check-in: d6d1520f44 user: unknown tags: trunk
13:07
Based on poshcode.org/753 – minor mods to support new mandatory authentication parameters in Lab Manager 4.x. check-in: 2efb859dd5 user: oldsienna tags: trunk
13:07
Generates a simple dataset based on the files in the current directory. I whipped this up while answering questions about databinding because I needed to be able to create multiple DataSets/DataTables easily, without needing an actual database. check-in: 7873b821dd user: Joel Bennett tags: trunk
13:07
Description check-in: 0f0effd51d user: Carter Shanklin tags: trunk
13:07
Datagrid Xaml layout needed for Boots DataGrid binding example http://poshcode.org/2259 check-in: 959c686d73 user: foureight84 tags: trunk
13:07
Bind DataGrid to an object array using Powerboots check-in: 08adb241ef user: foureight84 tags: trunk
13:07
This is the final version of PoshCode ISE addon for uploading scripts to PoshCode.org from PowerShell ISE. You can upload scripts in two ways. First method is to select all or part of the script and upload it by pressing CTRL+ALT+C. And, the second method is to just press CTRL+ALT+C. This way you can upload all contents without any selection. check-in: d9f09c8f31 user: ravikanth_chaganti tags: trunk
13:07
TreeView check-in: 0373144083 user: unknown tags: trunk
13:07
PowerShell ISE addon for PoshCode script uploads check-in: a93e6880eb user: unknown tags: trunk
13:07
Find matching members in a local group check-in: 381daac6d5 user: Hal Rottenberg tags: trunk
13:07
Find matching members in a local group check-in: 72a2ecd081 user: Hal Rottenberg tags: trunk
13:07
This script will help detect vulnerable configuration for the Padding Oracle check-in: 749f49a6e9 user: Jerry George tags: trunk
13:07
Some functions for drawing mini-buffers. Please try the two demo functions included! check-in: a1e10e5f74 user: Joel Bennett tags: trunk
13:07
Password gerneration function originally posted on PoshCode.org by Sean Kearney. Without any arguments, Get-NewPassword generates an 8 character password with upper, lower, and numeric characters. It can accept 2 options, the first is password length (up to 94 chars) and the other is complexity (1 to 4). I had to modify the code so that it wouldn’t create repeating characters. The code may be ugly, but it’s because I am a network admin and not a programmer. I hope it helps someone. check-in: 288aac4271 user: johnwcannon at gmail dot com tags: trunk
13:07
Function to test if a file is writable. Uses the .openwrite() method to test and returns a boolean. check-in: c460768058 user: JimbobNet tags: trunk
13:07
Function to test if a file is writable. Uses the .openwrite() method to test and returns a boolean. check-in: 0ec2ff5c23 user: JimbobNet tags: trunk
13:07
Script to translate Service DACL’s into HRL (Human Readable Language) :) check-in: 985e9083da user: Claus T Nielsen tags: trunk
13:07
Export 2007/2010 usermailbox to PST located on File Share check-in: 656b7cdbc6 user: unknown tags: trunk
13:07
You can just copy paste this entire script to your PowerShell ISE profile script. This script will take care of saving your ISE preferences such as color schemes, font styles, etc. You can change any of these values and this script will take care of storing and re-storing those preferences everytime you open ISE. check-in: 1379b003c2 user: Ravikanth Chaganti tags: trunk
13:07
This script will create a new System Center Configuration Manager (SCCM) 2007 Collection. check-in: 37800c74d1 user: Andy S tags: trunk
13:07
This invokes a command exclusively check-in: 9cc8c844d0 user: bassamf tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: c370d94e07 user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: d29c2fed70 user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 6a6147bca6 user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 347d24e7ba user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 262e6b56f3 user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: c4c2560eec user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: fba69200ab user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 0d70bfe86c user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 6d2914124f user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: b2a527d175 user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: b231d9a0a1 user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: c24bef6a13 user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 8526abbace user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 0b638f8c75 user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 8b5f9c61e9 user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 60e4e3d337 user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 9af81476f3 user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 0b26434a8c user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 9af5f81f4e user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 9eeb6cd01e user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 78a552f9c6 user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 9c9d278d68 user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 9956e37e2b user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: e0174ed8c2 user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 17a9e92447 user: Lee Holmes tags: trunk
13:07
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: a589343eba user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: ecad39612f user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: a8a5a7144c user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 2ff3dcd205 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 231719387a user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 320bcf34f1 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 6b41d99eca user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 69685c6c3d user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 8da651434e user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: ae854ebfb9 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 98e35b771c user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: d4a2e8c740 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: fcdf4a3a32 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: a67d796c4c user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 7377999218 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: dbf79e3fb4 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 88fa6ad47b user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: b0abba9373 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: d997dc9e05 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 3dfba10b0a user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: f2f5f6017f user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 52ccb53c5b user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: d62ad63f2a user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: bba4f6e13a user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: ef95f0999d user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: ee4f22a7fe user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: dec706c655 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: f985b273a3 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 21c8affae4 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: bff95b023f user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 28cedd0aa3 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: e4873ad3c8 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 3d63760bc3 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: d81d875030 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 858f5724b4 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: d5b9482cc3 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: e64ee469f2 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 343b954e1c user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 6b73529a34 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 4541ab35a7 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: bc3416d557 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 2a3d71e629 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: c22107875b user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 149a2d1cae user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 4b27884ee7 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 6c49431de9 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 76886b5164 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 7e7f74ed46 user: Lee Holmes tags: trunk
13:06
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 0b867601ae user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 06bddc8c83 user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 58fb5474ab user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: ef5798fbdf user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 79c9a1e12b user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 37ba8f78c0 user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: cdb91a83c5 user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 17a43306eb user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 3e2bfc94b8 user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 503bbd5349 user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 5b1659394a user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 9e23ce0edf user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 1f210a23c1 user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: d0fc3074b1 user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: d9512c3c9b user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: deff60274a user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 42c8cdfc31 user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: bd085a29fa user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 5dbfc3b835 user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 31268d8dc3 user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: a5b069147c user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 9a19a76b74 user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 38aabab23e user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 8c77eb2bc2 user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 4537f544fc user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: c9e9c7b800 user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: bb7cf29030 user: Lee Holmes tags: trunk
13:05
From Windows PowerShell Cookbook (O’Reilly) by Lee Holmes check-in: 94b16c4eb9 user: Lee Holmes tags: trunk
13:05
Audit Folders/Shares and Export to Excel check-in: eb7c103e37 user: DigitalAsylum tags: trunk
13:05
This script allows you to convert one or more CSVs into an Excel file with each CSV being a new worksheet in excel. The worksheet name will be the name of the file with the exception of the extension. So a file called test.csv will be named ‘test’. CSVs can be piped into the function or you can use the -inputfile parameter to accomplish this. check-in: b52c1f67a4 user: Boe Prox tags: trunk
13:05
Use this to upload one or more files to a SharePoint document library. Should also work with any WebDAV service, although that hasn’t been tested. The filename parameter expects fileinfo objects. Easiest way to do so is to pass them on the pipeline from Get-ChildItem. This script is a refinement of a technique that I first saw here: http://blogs.flexnetconsult.co.uk/colinbyrne/PermaLink,guid,a326572f-8f78-4c80-86d5-1fe52cbd6fe5.aspx. check-in: 5220f14b40 user: halr9000 tags: trunk
13:05
Find an Application on remote list of computers. check-in: 70efc53d75 user: Sean Kearney tags: trunk
13:05
Creates a SQL Server table from a DataTable using SMO. check-in: c748193495 user: Chad Miller tags: trunk
13:05
Creates a DataTable for an object, based on script by Marc van Orsouw check-in: 2f15a2ed96 user: Chad Miller tags: trunk
13:05
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: ded2d97798 user: Chad Miller tags: trunk