How to login to azure through Powershell?

  1. Go to start
  2. Search for the powershell. Click on “Windows Powershell”.
  3. Type the command “Add-AzureAccount”
Add-AzureAccount
4. Enter the username and password.
5. Once validated, you will see the following screen on the powershell :-
Accountlogged.png
Posted in Uncategorized | Leave a comment

My daughter’s channel

Please subscribe to my daughter’s video.

Posted in Uncategorized | Leave a comment

Active Directory : How to get IP address from DNS ?

$Zones = @(Get-DnsServerZone)
ForEach ($Zone in $Zones) {
If ($Zone.ZoneName -eq “xxx.domain.xxx”)
{
$Record = $Zone | Get-DnsServerResourceRecord | Where {$_.HostName -Match “intranet”}
$Record.RecordData | Out-File “c:\dns.txt”
Write-Host $Record.RecordData.Ipv4Address
}
}

Posted in Uncategorized | Leave a comment

Upload data from multiple xml files to SharePoint

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;
using System.IO;
using System.Data;

namespace XML.Migration
{
    class Program
    {
        static void Main(string[] args)
        {
            //Provide the path of the lotus notes xml files
            string directoryPath = @”C:\Path”;

            //It cheque if the folder exisits
            if (Directory.Exists(directoryPath))
            {
                try
                {
                    //Read all the file name and path
                    string[] files = Directory.GetFiles(directoryPath);
                    //cheque if files exists
                    if (files.Length > 0)
                    {
                        //loop all the files
                        for (int i = 0; i < files.Length; i++)
                        {
                            //Get the fle name
                            string text4 = files[i];
                            //cheque if the xml files exists in the folder.
                            if (Path.GetExtension(text4).ToLower().Equals(“.xml”))
                            {
                                XmlDocument doc = new XmlDocument();
                                //Read the xml document.
                                doc.Load(text4);

                                //Loop all the xml nodes inside the xml files
                                foreach (XmlNode node in doc.DocumentElement.ChildNodes)
                                {
                                    //Print the tppGrossMargin node value.
                                    Console.WriteLine(node[“tppGrossMargin”].Name.ToString() + ” – ” + node[“tppGrossMargin”].InnerText.ToString());
                                }
                            }
                        }
                    }
                }
                catch (Exception ex)
                {
                    Console.WriteLine(“Migration Error Message:- ” + ex.Message.ToString() +”\n”);
                }
            }
            Console.ReadKey();
        }
    }
}

Posted in Uncategorized | Leave a comment

SharePoint 2010 VS SharePoint 2013

SharePoint 2010 VS SP 2013

  1. Search
  2. Visual Upgrade – is not there SP2013
  3. Document workspace – Is not there in SP2013
  4. Meeting workspace -Is not there in SP2013
  5. Group Work Site template- Is not there in SP2013
  6. Visio process repository – Is not there in SP2013
  7. Unghosting and Customize CSS – Will be removed from the next major version
  8. Imaging web service – Will be removed from the next major version
  9. Excel Services – Can’t edit workbook that have external data connections
  10. Web analytics in SharePoint 2010 is now a component of search service.
  11. Managed code assemblies in sandboxed solutions
  12. Organizations profiles
  13. App Catalog and Marketplace
  14. Work Management
  15. News Feed
  16. OneDrive for Business
  17. Community Site
  18. Task List Aggregation
  19. Follow Content and people
  20. Out of Box Fast Search
  21. Continuous crawl
  22. Cross site publishing
  23. Ediscovery
  24. Access
  25. Design Manager
  26. Channels(Masterpages)
  27. Native Support for IOS and Andriod
Posted in Uncategorized | Leave a comment

29 SharePoint 2010 Visual How Tos

1. Accessing SharePoint 2010 Data with the .NET Client Object Model
clip_image002

2. Accessing SharePoint 2010 Data with the Silverlight Client Object Model

clip_image004

3. Accessing SharePoint 2010 List Data by Using LINQ to SharePoint
clip_image006

4. Accessing SharePoint 2010 Lists by Using WCF Data Services

5. Adding Overlays to Drawings in Visio Services in SharePoint Server 2010

6. Adding SharePoint Project Items to SharePoint 2010 in Visual Studio 2010

7. Calling Public Web Services from a Sandboxed Silverlight Application

8. Creating an Excel Services and Bing Maps Mashup for SharePoint 2010 Using the Excel Services ECMAScript Object Model

9. Creating Content Types for SharePoint 2010 in Visual Studio 2010

10. Creating Custom Extensions for SharePoint 2010 Development Tools in Visual Studio 2010

11. Creating Custom SharePoint 2010 Field Types

12. Creating Custom SharePoint 2010 Service Applications and Consumers

13. Creating and Customizing Document Sets in SharePoint Server 2010

14. Creating Multicolumn SharePoint 2010 Field Types

15. Creating Multiple Tasks from a SharePoint 2010 Workflow

16. Creating Parallel Tasks from a SharePoint 2010 Workflow

17. Creating SharePoint 2010 Event Receivers in Visual Studio 2010

18. Creating SharePoint 2010 List Definitions in Visual Studio 2010

19. Creating SharePoint Sequential Workflows with Visual Studio 2008

20. Creating SharePoint 2010 Site Definitions in Visual Studio 2010

21. Creating SharePoint 2010 State Machine Workflows in Visual Studio 2010

22. Creating SharePoint 2010 Visual Web Parts in Visual Studio 2010

23. Creating a SharePoint 2010 Web Part That Can Read and Write Data to an External Data Source

24. Displaying Custom HTML Messages in Visio Services in SharePoint Server 2010

25. Getting Started with SharePoint 2010 Developer Tools in Visual Studio 2010

26. Importing SharePoint 2010 Site Definitions in Visual Studio 2010

27. Responding to User Mouse Clicks in Visio Services

clip_image008

28. Using the Calculation Power of Excel By Using Excel Services in SharePoint Server 2010
clip_image010

29. Using the Excel Services REST API to Access Excel Data in SharePoint

clip_image012

Posted in Uncategorized | Leave a comment

The base type ‘Microsoft.Office.Server.Search.Internal.UI.SearchAdministration’ is not allowed for this page.

Issue:- When I tried to open my Search administration Service application. I got the error message “The base ‘Microsoft.Office.Search.Internal.UI.SearchAdministration’ is not allowed for this age. The Type is not registered as safe.

 

image

Solution :- 1) Go to Central Administration website

2) Go to Site Settings.

3) Click “Reset to Site Definition”

image

4) Select the radio button “Reset all pages in the this site to definition version.”

image

Posted in Uncategorized | 3 Comments

Chirpy : A Awesome visual studio Add-In

 

Chirpy is used to minify the js and css file.

Posted in Uncategorized | 1 Comment

MOSS 2007 : Build numbers

SharePoint 2007 Version/Release

Microsoft Support KB Reference

Version Number from Central Admin

MOSS 2007 or WSS 3.0 April 2010 Cumulative Update

KB981042/KB981043

12.0.0.6535

MOSS 2007 or WSS 3.0 February 2010 Cumulative Update

KB978395/KB978396

12.0.0.6529

MOSS 2007 or WSS 3.0 December 2009 Cumulative Update

KB977026/KB977027

12.0.0.6524

MOSS 2007 or WSS 3.0 October 2009 Cumulative Update

KB974988/KB974989

12.0.0.6520

MOSS 2007 or WSS 3.0 August 2009 Cumulative Update

KB973409/KB973410

12.0.0.6514

MOSS 2007 or WSS 3.0 June 2009 Cumulative Update

KB971537/KB971538

12.0.0.6510

MOSS 2007 or WSS 3.0 April 2009 Cumulative Update

KB968851/KB968850

12.0.0.6504

MOSS 2007 or WSS 3.0 SP2

KB953334/KB953338

12.0.0.6421

MOSS 2007 or WSS 3.0 Cumulative update

KB956056/KB956057

12.0.0.6327

MOSS 2007 or WSS 3.0 Infrastructure Update

KB951695/KB951297

12.0.0.6318

MOSS 2007 or WSS 3.0 post-SP1 hotfix

KB948945

12.0.0.6303

MOSS 2007 or WSS 3.0 post-SP1 hotfix

KB941274

12.0.0.6301

MOSS 2007 or WSS 3.0 post-SP1 hotfix

KB941422

12.0.0.6300

MOSS 2007 or WSS 3.0 SP1

KB936984/KB936988

12.0.0.6219

MOSS 2007 or WSS 3.0 Security Bulletin MS07-059

KB942017

12.0.0.6039

MOSS 2007 or WSS 3.0 August 24, 2007 hotfix package

KB941422 (updated)

12.0.0.6036

MOSS 2007 or WSS 3.0 RTM [Released To Manufacturing]

N/A

12.0.0.4518

Posted in MOSS 2007 | Tagged , | Leave a comment

Sharepoint 2013/Office 15: New Apps Feature

SharePoint 2013 is coming with a new exciting feature.

SP2013

Apps –> Manage App CataLog

ManageAppCateLog

Apps –> Manage App License

image

Apps Website :

 

AppWebsite

Posted in Office 15, SharePoint 2013 | Leave a comment