kevenker.wordpress.com
Powershell script to delete a certificate | Nothing and Everything
https://kevenker.wordpress.com/2011/08/17/powershell-script-to-delete-a-certificate
Powershell script to delete a certificate. 8212; kevenker @ 2:21 pm. This is just a quick little script to delete a certificate using powershell. It’s not as flexible as one might want it to be but should get you started. Plus, it could be optimized a bit, but it gets the job done! You’ll notice the line:. New-object System.Security.Cryptography.X509Certificates.X509Store "My","CurrentUser". Param ( [parameter(Mandatory=$true)][string]$certPattern ) write-host "`nCertificate search pattern = '$certPatter...
kevenker.wordpress.com
Health / Fitness | Nothing and Everything
https://kevenker.wordpress.com/health
This is my page of health-related links. Anything I feel is interesting and that I want to keep track of. 2/5/2012 – Lots of nutrient data. Http:/ nutritiondata.self.com/. 1/23/2012 – This blog has some great stuff in it. From strength training to biking to marathon running. 1/12/2012 – Everything we know in medical science is wrong: (almost). Http:/ www.theatlantic.com/magazine/archive/2010/11/lies-damned-lies-and-medical-science/8269/2/? 1/6/2012 – Sports medicine site. Http:/ www.jeffcubos.com/. 8211;...
kevenker.wordpress.com
Nothing and Everything | If I knew what this was about, I’d have a better title. | Page 2
https://kevenker.wordpress.com/page/2
8212; kevenker @ 5:12 pm. RAMROD: Ride Around Mount Rainier in One Day. Short summary: this is a fun, but tough ride! RAMROD is Redmond Cycling Club’s premier riding event of the season. Far less popular (only in attendance) than the Flying Wheels ride in June, but holding far higher cache for riders who have completed it. Despite its fabled toughness, these days, it sells out every year, with a waiting list of disappointed riders. The parks department limits it to just 800 riders. At 0516 we departed...
kevenker.wordpress.com
Powershell error: A positional parameter cannot be found that accepts argument | Nothing and Everything
https://kevenker.wordpress.com/2011/06/14/powershell-error-a-positional-parameter-cannot-be-found-that-accepts-argument
Powershell error: A positional parameter cannot be found that accepts argument. 8212; kevenker @ 2:05 pm. One thing that is cool in C# is the params keyword. It allows you to have a arbitrary number of extra parameters, e.g.:. Private void MyFunction (string blah, params string[] lotsOfPossibleBlah) . I had a powershell script that I wanted to extend with similar behavior. I wanted a couple of required parameters and then allow user to call with a unlimited list of optional parameters. Foops1 1 2 3 4.
kevenker.wordpress.com
Civilization Starter Kit | Nothing and Everything
https://kevenker.wordpress.com/2012/10/19/civilization-starter-kit
Filed under: Daily Stuff. 8212; kevenker @ 5:38 am. I heard this on the radio a while back. Very interesting idea. A guy named Marcin Jakubowski is developing a “Civilization Starter Kit”. 50 plans for all the needed machines to have a nice civilization. Her’s the TED talk: http:/ www.ted.com/talks/marcin jakubowski.html. Here’s his website: http:/ opensourceecology.org/wiki/Main Page. Leave a Comment ». Feed for comments on this post. Leave a Reply Cancel reply. Enter your comment here.
kevenker.wordpress.com
Moon | Nothing and Everything
https://kevenker.wordpress.com/2011/01/13/moon
8212; kevenker @ 12:57 pm. The other night on my Blu-Ray DVD player (that Stacy bought me for Christmas! Through Netflix. Yes, very cool technology to be able to watch Netflix on the DVD player. I am glad that this was the first movie as I really liked this movie. Moon is about one guy, Sam Bell ( Sam Rockwell. Who is on a Helium-3 mining outpost on the far side of the moon. The place is so automated that it needs only 1 person to manage. I also really liked the musical score of this movie.
kevenker.wordpress.com
Powershell command to get the size of a folder | Nothing and Everything
https://kevenker.wordpress.com/2012/03/15/powershell-command-to-get-the-size-of-a-folder
Powershell command to get the size of a folder. 8212; kevenker @ 2:40 pm. Got the basic of this from http:/ technet.microsoft.com/en-us/library/ff730945.aspx. The only real change is that I made it callable from the CMD-line and not have to run in Powershell. I did that mostly because of the environment I needed to run it in was not native Powershell unfortunately. Powershell "$colItems = (Get-ChildItem %temp% -recurse Measure-Object -property length -sum) ; "{0:N2} " -f ($colItems.sum / 1MB) " MB " ".
kevenker.wordpress.com
Salt is bad for you! No wait, too little salt is bad for you! No wait! … | Nothing and Everything
https://kevenker.wordpress.com/2012/06/05/salt-is-bad-for-you-no-wait
Salt is bad for you! No wait, too little salt is bad for you! 8212; kevenker @ 3:24 pm. This was sent to be by a friend. Http:/ www.nytimes.com/2012/06/03/opinion/sunday/we-only-think-we-know-the-truth-about-salt.html? Once again, we don’t really know what the truth is. There are people who think that too much salt is bad for you. Yet, there are no long term studies that actually demonstrate that! 1 Comment ». I will try to eat just the right amount. 8212; 2013.01.08 @ 9:14 pm. Leave a Reply Cancel reply.
kevenker.wordpress.com
Is red meat bad for you? | Nothing and Everything
https://kevenker.wordpress.com/2012/03/22/is-red-meat-bad-for-you
Is red meat bad for you? 8212; Tags: gary taubes. 8212; kevenker @ 9:41 am. There was a study recently from Harvard with appears to conclusively point towards a diet heavy in red meat being bad for you. Example article: http:/ articles.latimes.com/2012/mar/13/health/la-he-red-meat-20120313. 4 Comments ». Therefore, it only makes sense that dissolving calcium and flushing it is the best way to treat this disease. Lots of advice we’ve heard over time is that we all should drink. On the symptoms of the pain.
kevenker.wordpress.com
Powershell pretty print XmlElement | Nothing and Everything
https://kevenker.wordpress.com/2012/04/11/powershell-pretty-print-xmlelement
Powershell pretty print XmlElement. 8212; kevenker @ 6:37 pm. There are a number of ways to pretty print XmlDocument objects in Powershell. However, I was running low on luck finding an easy way to print an XmlElement. The library at http:/ pscx.codeplex.com/. Looked promising but there’s an install, so I begged off. So then it was merely a matter of converting the XmlElement to an XElement object and calling .ToString()! And copy/paste deployable to boot! Leave a Comment ». Feed for comments on this post.