Skip to main content

Access Junkie - MVP Alumnus

Access Inside Out Books
Access 2010 FAQ
Access 2007 Training
Access 2007 FAQ
Access 2007 KB Articles
Technical Articles
MSDN Articles
Contact Us
About Us
Member Login
Access 2010 FAQ


Can you instantiate the five web templates using a PowerShell command?


Yes, this is certainly possible.


You'll first need appropriate permissions on your SharePoint server to create new sites. Talk to your SharePoint server administrator if you do not currently have sufficient rights to create new sites.


Open your SharePoint PowerShell command window by clicking:


Start -> Program Files -> Microsoft SharePoint 2010 Products -> Sharepoint 2010 Management Shell


After the command window opens, enter the following command and then press enter


New-SPWeb -Template ACCSRV#1 -URL http://<your server>/<site name>


In the above example, ACCSRV#1 instantiates the Assets web template. Here are the template numbers:

ACCSRV#1 - Assets

ACCSRV#3 - Charitable Contributions

ACCSRV#4 - Contacts

ACCSRV#5 - Projects

ACCSRV#6 - Issues


Substitute your server name and site name in the appropriate places in the command.


After your site is ready, PowerShell returns control back to you in the command window. Your Access Services application is now ready for use.


See more tips and tricks like this in my book: Microsoft Access 2010 Inside Out



Back to FAQ main page