Wednesday, March 12, 2014

Power shell videos

if you need to learn Windows and SharePoint Power shell from scratch refer to these you tube videos, I admit I am a fan on how simple they make it seem.



Part 1 is Windows powershell at:

https://www.youtube.com/watch?v=Qo4-9VWG51I


part 2 applying these in Sharepoint at:

https://www.youtube.com/watch?v=pN7NqeF6a7E

check it out we are sure you wont regret

Tuesday, March 11, 2014

Take your babysteps towards Powershell.

PowerShell everyone is talking about it how do I start?

In our current organization we do not do much of PowerShell as its restricted to use, but we cannot deny the effect this magnetic tool has on us, we all as SharePoint admins would love to have our hands on the PowerShell and how do we begin.

let’s start with the windows PowerShell commands to an idea of the syntax,

You can refer to http://www.microsoft.com/powershell  for hell lot of information like webcasts/ wiki / downloads.

You need minimum pre-requisite for installation .net framework 2.0
Some interesting stuff
·         you can execute DOS commands like dir, cls in PowerShell it works  just like it should in regular DOS
·         you can get mathematical calculations from PowerShell like type 2+2 and enter or 2*5/2*4
·         The real powershell commands begin with a verb and second part is a noun, example: Get-Help; Get-Command
·         Get- Command will list all the commands in powershell, also note commands in powershell are listed as Comma lets.
·         Suppose you need to execute a command and you’re not sure how the syntax will be you can use get help
So use Get-Help Get-Commands ( assuming get-commands is the option you need help with)
That will list the syntax expected.
Also try Get-Help Get-Commands examples – this will list down the examples as well so you can compare and type.
Also try Get-Help Get-Commands detailed – this will give details and examples both.
·         To copy a command in powershell select the command and right click, to paste copied command in powershell just right click.
·         All operators by default do case insensitive comparison. If you specifically case sensitive comparisons add “c” to the operator example –ceq – case sensitive equality.

Working with windows PowerShell scripts
The commands are similar to Unix but one thing you need to know is that the output is treated as objects.
·         In PowerShell setlocation- c:\scripts ( changes the location )
·         You can save files as extension  .ps or ps1 also commands can be saved in a .bat file and executed from windows explorer.
·         The variables are created beginning with $
Example.
$colorarray = “Red” , “Green”, “Blue”, “Orange”
For each  ($col in $colorarray )
{
Write-host $col
}






Wednesday, March 5, 2014

Things to be considered while applying Branding to SharePoint 2010 sites

  • Targeted audience
  • Is this an intranet, extranet, or the Internet?
  • Targeted browsers
  • Remember that IE6 is not supported out of the box.
  • Only 32-bit IE7 and IE8 on Windows are fully supported without limitations.
  • Other browsers are supported with some limitations.
  • Version of SharePoint
  • SharePoint Foundation
  • SharePoint Server
  • Screen resolution
  • The most common resolution now is 1024×768.
  • Will your users require something different?
  • Questions to ask
  • What is the time frame to create the brand?
  • Is this a new design or one based on an existing design?
  • Does this require any custom web parts or third-party web parts?
  • What navigation is required?
  • Horizontal
  • Vertical
  • Breadcrumb
  • They define the skeleton of a site.
  • They define the layout and flow of a web site.
  • They promote ideas without distracting with colors.

New Web Controls in SharePoint Designer 2010

To enable some of the new features in SharePoint 2010, new controls were created that you can use in your master pages. Below are few of the new controls and their purposes as they relate to customizing a master page. A complete list can be found at


Control
Description
CssRegistration
Tells SharePoint to insert a CSS link
SPRibbon
Adds the Ribbon to the page
Popout Menu
Adds the breadcrumb menu that shows the current location
PageStateActionButton
Adds the Edit/Save button to a page
AspMenu
Represents the ASP menu control
WarnOnUnsupportedBrowsers
Displays a warning to users who are using an
unsupported browser, such as Internet Explorer 6




New Web Controls in SharePoint Designer 2010

To enable some of the new features in SharePoint 2010, new controls were created that you can use in your master pages. Below are few of the new controls and their purposes as they relate to customizing a master page. A complete list can be found at


Control
Description
CssRegistration
Tells SharePoint to insert a CSS link
SPRibbon
Adds the Ribbon to the page
Popout Menu
Adds the breadcrumb menu that shows the current location
PageStateActionButton
Adds the Edit/Save button to a page
AspMenu
Represents the ASP menu control
WarnOnUnsupportedBrowsers
Displays a warning to users who are using an
unsupported browser, such as Internet Explorer 6