Shared Points

items of some interest

March, 2011

  • PowerShell and Farm Administrators

    #how do you add someone to the Farm Admin group? --- #stsadm -o AddUser was the old way.. but that is dead. ---- #So, OK, let's use SPuser. $user = New-SPUser -UserAlias "LITWAREINC\User1" -Web http://MSF1:9999 Set-SPUser -Identity "LITWAREINC\User1"...
  • SharePoint - adding list items with Powershell

    # I was asked the question 'how can I automatically add items to a List on a # Sharepoint box I cannot access locally? No, not possible to use direct # sharepoint cmdlets and do not know if it is 2007 or 2010.' $SITE = "MYSERVERNAMEHERE/Lists" $URI...