Geeks With Blogs

Lance's TextBox December 2006 Entries
nunit testing 32-bit apps on 64-bit machine
I'm trying to run nunit tests of a 32-bit assembly on a 64-bit machine. When I load the assembly (compiled with VS target platform set to x86) into nunit, I get a FileNotFound exception. The problem is that nunit is running as 64-bit. I found this post by Matevz Gacnik pointing me in the right direction to get around this problem. Here is the fix: You can use corflags to find out what settings the nunit assembly already has: C:\> corflags "C:\Program Files (x86)\NUnit-Net-2.0 2.2.9\bin\nunit-console.exe" ......

Posted On Thursday, December 28, 2006 9:57 AM

Change Active Directory password with NetCmdlets
Here's how you can change your active directory (or other ldap server) password with the set-ldap cmdlet in /n software NetCmdlets. Also, recently I also showed how to this using the IP*Works! SSL LdapS dev component. PS C:\> set-ldap -server myserver -binddn Domain\Administrator -password admin -dn "cn=BillyBob,ou=Employees,d... -newpassword mynewpassword -ssl implicit Update: the -password parameter is now a secure string. There is also a -credential parameter. So the cmd to change the ......

Posted On Wednesday, December 27, 2006 1:33 PM

NetCmdlets support PSCredentials
Previously with NetCmdlets, authentication details were only accepted using plain text parameters. This is still supported, but now these cmdlets support PSCredentials through a new -credentials parameter. This works for almost all of the cmdlets included in NetCmdlets, like FTP, LDAP, HTTP, SMTP, Rexec, RSS, IM, SMS, SSH, etc. Here's an example with get-ldap. Before, you had to bind to the directory server using plain text parameters, like this: PS C:\> get-ldap -server testboy -binddn mydomain\admin ......

Posted On Wednesday, December 27, 2006 1:27 PM

NetCmdlets Part 3: PowerShell and Active Directory using /n software's LDAP cmdlet
MOW's "PowerShelled" blog is another awesome PowerShell resource. Of particular interest to me was MOWs series on PowerShell and Active Directory. He used the .Net System.DirectoryServices classes to do all the work. here is how you can use /n software's LDAP cmdlet to manage directory servers like AD. The LDAP cmdlet supports plain connections as well as secure SSL connections. The LDAP cmdlet will work with any directory server, including AD, ADAM, OpenLDAP, Novell, etc. The LDAP cmdlet uses its ......

Posted On Wednesday, December 27, 2006 1:25 PM

AmzWish featured at Widgetbox
AmzWish is currently one of the featured widgets at Widgetbox. AmzWish is a widget (developed with RSSBus) that displays your Amazon wishlist (or wedding/baby registry). Visitors can click on items from your wishlist and purchase them for you, and Amazon will ship them directly to you. Technorati : amazon, amazon ecs, amzwish, ecs, rssbus, widget ......

Posted On Thursday, December 21, 2006 9:18 AM

Nerd controversy: Ninja Turtles versus Renaissance artists
Today's xkcd. (01:43) jamesn: I disagree with the Ninja Turtle one. I think Raphael is much more recognizable as a turtle (01:43) lancer: haha (01:45) lancer: michelangelo would have to be the most recognizable as an artist (01:46) jamesn: no way (01:46) jamesn: Leonardo Technorati : xkcd ......

Posted On Friday, December 15, 2006 4:03 PM

quickly add zip and credit card functionality to applications
James Shaw mentioned how easy it was to add zip and credit card functionality (using nsoftware components) to a recent website he helped build recently. Technorati : ibiz, ibiz e-payment, ipworks, ipworks zip ......

Posted On Friday, December 15, 2006 4:01 PM

NetCmdlets FTP - recursive directory upload
update: here's an updated function for uploading an entire directory tree: ## ftprecursiveupload.ps1: Recursive FTP Upload## Uploads a directory tree to a remote FTP server.## Returns an objects containing information about the files transferred.function upload-directory { param( [string] $server = $( Throw "You must specify an FTP server to logon to."), [string] $dir = $( Throw "You must specify a local directory to upload (ie, C:\Testing\FTPTest\)"), [switch] $overwrite = $false, [System.Management.Automati... ......

Posted On Thursday, December 7, 2006 11:37 AM

Copyright © Lance Robinson | Powered by: