Post from March, 2010

Windows PowerShell Cookbook – Next Edition

Saturday, 20. March 2010 10:51

O’Reilly has enabled Lee Holmes to publish the revised edition of Windows PowerShell Cookbook online. It is a work in progress. The content is published while it’s being written, and you can read it and submit feedback.

Category:Windows PowerShell | Comment (0) | Author: Frank-Peter

Fighting with connection strings

Thursday, 11. March 2010 11:45

In case you are fighting with connections strings, I found very interesting site today. It can help you to build syntax not only for well-known DBs (like SQL), but also to more exotic ones.

http://www.connectionstrings.com/

Martin

Category:Note, Scripting | Comment (0) | Author: Martin Zugec

reblog: A Call to the Community for MCTS Scripting Certification

Tuesday, 9. March 2010 21:00

Certified Microsoft Scripter? I vote for it. Read more at The Energized Tech‘s Call to the Community for MCTS Scripting Certification

Category:Note | Comment (0) | Author: Frank-Peter

Microsoft Forums – finally useful? ;)

Tuesday, 9. March 2010 19:25

For years, I was trying over and over to get used to Microsoft Forums… I appeared there few times, however abandoned it after a while.

Major reason was that I either had to use web interface or Outlook Express to access it – web interface was not really user-friendly and NNTP was usually blocked at proxy servers, so I always left MS forums pretty soon…

Ok, I am sure that everyone around knows about this and is using it for many years, but I just discovered one really nice feature at Microsoft Forums – it supports RSS feeds :)

I am not sure when this feature was added, but FINALLY I can start being active at MS forums :)

image

Martin

Category:Note, Uncategorized | Comment (0) | Author: Martin Zugec

WeekOfMonth

Tuesday, 9. March 2010 19:05

Today I needed small function to determine what is the number of current week (usually referred as WeekOfMonth).

Code is very simple in fact:

Function Get-WeekOfMonth ([datetime]$Date = $(Get-Date)) {
	[int]$Day = $Date.Day
	Return [math]::Ceiling($Day / 7)
}

 

Martin

Category:General, PowerShell, Scripting, Windows PowerShell | Comment (0) | Author: Martin Zugec