Sign In
Mike Wilbur's Blog
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
RSS for posts
Atom
RSS for comments
OK
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
Powershell
Archive
Archives
August 2007
(1)
March 2007
(4)
February 2007
(8)
March, 2007
MSDN Blogs
>
Mike Wilbur's Blog
>
March, 2007
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Mike Wilbur's Blog
Powershell Template Engine
Posted
over 5 years ago
by
mwilbur
0
Comments
A template engine that allows you to have powershell expressions in your templates is a very powerful thing: http://weblogs.asp.net/soever/archive/2006/12/31/a-templating-engine-using-powershell-expressions.aspx Example Input: Multi Line Expression: ...
Mike Wilbur's Blog
get-SHA256
Posted
over 5 years ago
by
mwilbur
1
Comments
Get the SHA256 hash in one line of powershell: function get-sha256 { param($file);[system.bitconverter]::tostring([System.Security.Cryptography.sha256]::create().computehash([system.io.file]::openread((resolve-path $file)))) -replace "-","" }
Mike Wilbur's Blog
get-datatable.ps1
Posted
over 5 years ago
by
mwilbur
0
Comments
get-datatable.ps1 is an improvement on the get-dataset.ps1 from an earlier post . Instead of returning a dataset it returns a DataTable; and a UpdateSql method is added to the object returned, so you don't need a separate script to send the changes back...
Mike Wilbur's Blog
Managing Performance Counters via Command Line
Posted
over 5 years ago
by
mwilbur
0
Comments
When it comes to scripting the setup of performance counters Logman is your friend; and Relog comes in really handy for converting a binary log to SQL log.
Page 1 of 1 (4 items)