Monday, April 21, 2008

The STSADM.EXE Command Line Utility

WSS ships with a handy command-line utility named STSADM.EXE. This utility allows you to run interactive commands from the Windows command line and to script batch files that accomplish administrative tasks such as creating, backing up, and restoring site collections. When you run this utility from the command line or from a batch file, you must pass the –o parameter followed by one of the supported operations. Here’s an example of a command line instruction to create a new site collection at a specific URL.

STSADM.EXE –o CreateSite –url http://mshehadeh/sites/blog

-ownerlogin mshehadeh\admin
-owneremail mail@mshehadeh.com
-sitetemplate STS#0

Note that this example has introduced line breaks between the parameters to make things more readable. However, you cannot actually use line breaks between the parameters when running the STSADM utility from the command line or from a batch file.
Keep in mind that the installation of WSS adds the STSADM.EXE utility to a WSS system directory deep within the Windows Program Files directory. If you want to be able to call this utility directly from the command line on your development workstation, you should add the following path to your configured System path.
c:\program files\common files\microsoft shared\web server extensions\12\bin\
This System path is known as 12HIVE

When you write a batch file, you should also assume that it might be run on a machine that does not have the proper System path configured. Therefore, you should write batch files that explicitly specify the location of the STSADM.EXE utility.

@SET STSADM="c:\program files\common files\microsoft shared\
web server extensions\12\bin\stsadm"
%STSADM% –o CreateSite –url
http://mshehadeh/sites/blog
-ownerlogin mshehadeh\admin
-owneremail
mail@mshehadeh.com
-sitetemplate STS#0

Once again, the line breaks in the preceding example are only for readability. You will want to remove them when writing an actual batch file.

Free Sharepoint Hosting

You want a free sharepoint hosting?
TRY IT FREE
No Time Limit
5 MB Disk Space
5 Users

SharePoint Training Tutorials

Step by Step How To Instructions

In these SharePoint screencast tutorials, get step by step instructions on all the features included in SharePoint hosting and how to optimize your site. The tutorials cover topics from Alerts and Creating Web Parts to Creating Meetings Sites and Wikis.
Go ahead and try it at http://www.frontpages-web-hosting.net/sharepoint-hosting/free-sharepoint-tutorials.asp

Saturday, April 19, 2008

Optimization of Virtual Machine Size and Performance

While googling for a software that help me on optimizing my virtual machines size,i found a great software named vOptimizer.

vOptimizer is an advanced optimization solution that quickly and easily reduces a virtual machines virtual hard drive to the smallest size possible while optimizing Windows guest operating systems for speed and performance. vOptimizer 4.0 offers many new functions for enterprise level customers while improving the interface and ease of operation for smaller, desktop oriented users. vOptimizer Desktop Edition enables unlimited optimizations of local VMs while Network Edition enables unlimited optimizations of VMs located anywhere across the network as well as scheduled optimizations. vOptimizer FreeWare is essentially Desktop Edition with a number of features disabled and additional popup messages

Download vOptimizer

How to Create a MOSS 2007 VPC Image

As SharePoint-y guys - virtualization is a *must* for us.
I found a great article about creating a sharepoint Virtual PC Image,this is a complete step by step article that shows you How to Create a MOSS 2007 VPC Image
Enjoy it

I am back

I am back to writing . i will be writing about Windows Sharepoint Services 3.0 (WSS 3.0), and Office Sharepoint 2007 (MOSS 2007).,
I will share with you some resources and articles about WSS 3.0 and MOSS 2007