Tweet A long time ago I wrote about SharePoint 2007 Files Restore Tool , tool that allows you to connect to SharePoint content database (not need to have SharePoint installation) and extract documents. The reason I wrote this tool was a customer that upgrade TFS and perform a new installation of SharePoint so he lost all his documents, this tool helped me to extract all documents and added them to the new SharePoint site. SharePoint upgrade/migration can be unpleasant and sometimes I prefer to do...
Reading Web Sites Status on IIS with .Net This is some ability I needed for one of my tools. Using DirectoryEntry to get information about IIS Web Sites and AppPools. Code Simple: public WebSiteEntry [] GetWebSites() { string Path = "IIS://" + this .DomainName + "/W3SVC" ; DirectoryEntry root = null ; try { ...
Last week I had a task to build a tool that can control IIS and Services in another computer in different domain. Performing IIS reset or control Services status in different computer is easy, but when the computer belongs to a different domain those actions becomes quite complicated. So I found that create an dynamic Access Token is the best way to accomplish those actions. An access token is an object that describes the security context of a process or thread. The information in a token includes...