Geeks With Blogs
Daniel Schroeder Sharing my tips and tricks to help other developers be more productive. This blog has moved to http://blog.danskingdom.com
In the preamble of an earlier post I mentioned that one of the little things that bugs me about Windows PowerShell ISE is that you can add tabs to the start of a line, but not to the end of a line. This is likely because it would interfere with the tab-completion feature. I still like to be able to put tabs on the end of my code lines though so that ......

So you’ve got a super awesome library/assembly that you want to share with others, but you’re too lazy to actually use NuGet to package it up and upload it to the gallery; or maybe you don’t know how to create a NuGet package and don’t have the time or desire to learn. Well, my friends, now this can all be handled for you automatically. Read more at ......

I’ve written some code that you can add to your ISE profile that adds keyboard shortcuts to quickly comment and uncomment lines in PowerShell ISE. Feel free to skip the Preamble and get right to the good stuff. Read more at http://blog.danskingdom.com... ......

I know this isn’t programming related (and thus doesn’t quite go with the theme of my blog), but I thought I’d share anyways. Pass this along to anybody you know that has an Xbox 360. At E3 Microsoft announced that it would start giving away 2 free games a month to Xbox Live Gold subscribers. On July 1st Assassin’s Creed 2 and Halo 3 will be available ......

I’ve spent a good chunk of time investigating how nuget.exe works and creating a PowerShell script called New-NuGetPackage to make it dirt simple to pack and push new NuGet packages. Here’s a list of some of the script’s features: Read more at http://blog.danskingdom.com... ......

Most people will likely find the “Run script path with spaces from File Explorer” (to be able to double click a PS script whose path contains spaces to run it) section below the most helpful. Most of the other content in this post can be found elsewhere, but I provide it for context and completeness. Read more at: http://blog.danskingdom.com... ......

A while back I wrote about some reasons why I didn’t like GWB (Geeks With Blogs) and was attracted to WordPress. 6 months later and I am confident that I made the right decision. GWB was good to me, but… Read more at http://blog.danskingdom.com... ......

I’m new to working with Xml through PowerShell and was so impressed when I discovered how easy it was to read an xml element’s value. I’m working with reading/writing .nuspec files for working with NuGet. Here’s a sample xml of a .nuspec xml file: Read more at http://blog.danskingdom.com... ......

There are a few different ways to create zip files in powershell, but not many that allow you to create one that is password protected. I found this post that shows how to do it using 7zip, so I thought I would share my modified solution. Here is the function I wrote that uses 7zip to perform the zip, and 7zip supports using a password to zip the files. ......

I love PowerShell, and when prompting users for input I often prefer to use GUI controls rather than have them enter everything into the console; some things like browsing for files or folders or entering multi-line text aren’t very pleasing to do directly in the powershell prompt window. So I thought I’d share some powershell code that I often use ......

Copyright © deadlydog | Powered by: GeeksWithBlogs.net | Join free