I'm using this piece of code:
$SPFolder = $list.Folders.Add("", [Microsoft.SharePoint.SPFileSystemObjectType]::Folder, $Folder) $SPFolder.Update();
But i always get the same error
"Unable to find type [Microsoft.SharePoint.SPFileSystemObjectType]: make sure that the assembly containing this type is loaded."
Does this only work with Sharepoint 2010? I'm using Sharepoint 2013
Thanks
Dearbhla Bradley