Advertisements

SharePoint Saturday New York (1/30/10) Session Materials and Wrap-Up


It was a pleasure to be back in New York City, speaking at my second SharePoint Saturday event there. This event was entirely devoted to SharePoint 2010, and here were a lot of eager attendees, hungry for information on the new version.

Information on the event can be found here: http://www.sharepointsaturday.org/ny

Michael Lotter did a bang-up job putting this event together, as he always does. A big thanks to him, and everyone who was able to lend him a hand in putting this event together. More thanks to all of the attendees of the event (especially those of you who came to my session!). And of course, a big thanks to the sponsors, who fund these events and make them possible.

I was also in town participating in the SharePoint 2010 Developer Ignite training which took place from Monday to Wednesday. Ignite training is put on by Microsoft to ramp up their partners with new releases. This worked out great, as it gave me a day off to do some touristy stuff around the city, which I have never done, even though I had visited there many times. So, I did the “Top of the Rock” Rockefeller Center observation deck thing, and even did the NBC Studios tour. The SNL set is much smaller in person! And a good friend even drive me through Times Square at night. So, 3 major touristy things under my belt. I am quite pleased!

Ok, so you didn’t come here to listen to what I did outside of SharePoint, you came here for my slide deck from the event. Thanks for dropping by at least! Below you will find my slides embedded via SlideShare. Please, if you would, leave me a few comments below if you were able to make it to the session, and let me know what you thought. We ran a little over on time, which worked out well, because my session was right before lunch, so we could bleed over a bit, and there was still enough pizza to go around.

If you have any questions on any of the materials – please, fire away in the comments section below.

In addition to the session – since all we did was write just a little code, I won’t bore you with my “Hello, World!” Visual Web Part code. However, I will show you my snippets which I used throughout my session, to save all of you from watching me spell-check myself.

Also, more information on SharePoint Server 2010 can be seen on my blog under the categories of SharePoint 2010 Beta 2, SharePoint Designer 2010, and SharePoint 2010.

PowerShell commands to enable the Developer Dashboard

   1: [Microsoft.SharePoint.Administration.SPWebService]::ContentService.DeveloperDashboardSettings.DisplayLevel='OnDemand';
   2: [Microsoft.SharePoint.Administration.SPWebService]::ContentService.DeveloperDashboardSettings.Update();


PowerShell command to get a listing of the URL, Author, and Title of a Web

   1: Get-SPweb -site http://whatsnewin2010.dev.grace-hunt.com | ft Url, Title, Author

PowerShell command to get the Title of all of the lists within a Web

   1: Get-SPweb -site http://whatsnewin2010.dev.grace-hunt.com | foreach { $_.Lists | ft $_.Url, Title }

PowerShell command to get the listing of all of the Resource settings for the User Code service (Sandbox Solutions)

   1: [Microsoft.SharePoint.Administration.SPUserCodeService]::Local.ResourceMeasures


PowerShell commands to enable the User Code service to run on a Domain Controller (local image development for Sandbox Solutions)

   1: $acl = Get-Acl HKLM:\System\CurrentControlSet\Control\ComputerName
   2: $person = [System.Security.Principal.NTAccount]"Users"
   3: $access = [System.Security.AccessControl.RegistryRights]::FullControl
   4: $inheritance = [System.Security.AccessControl.InheritanceFlags]"ContainerInherit, ObjectInherit"
   5: $propagation = [System.Security.AccessControl.PropagationFlags]::None
   6: $type = [System.Security.AccessControl.AccessControlType]::Allow
   7: $rule = New-Object System.Security.AccessControl.RegistryAccessRule($person, $access, $inheritance, $propagation, $type)
   8: $acl.AddAccessRule($rule)
   9: Set-Acl HKLM:\System\CurrentControlSet\Control\ComputerName $acl

PowerShell commands to view the Property Bag of a Web

   1: $web = get-spweb -site http://whatsnewin2010.dev.grace-hunt.com
   2: $web.AllProperties | ft

 

Advertisements

About Geoff Varosky
Geoff Varosky is a Senior Architect for BlueMetal Architects, based out of Watertown, MA. He has been architecting and developing web based applications his entire career, and has been working with SharePoint for the past 13 years. Geoff is an active member of the SharePoint community, Co-Founder and Co-Organizer of the Boston Area SharePoint Users Group, co-founder for the Boston Office 365 Users Group, co-organizer for SharePoint Saturday Boston and speaks regularly at SharePoint events and user groups.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: