PowerShell for Microsoft SharePoint 2010 Administrators in .NET framework

Creator QR Code ISO/IEC18004 in .NET framework PowerShell for Microsoft SharePoint 2010 Administrators

PowerShell for Microsoft SharePoint 2010 Administrators
Decoding QR Code In .NET Framework
Using Barcode Control SDK for Visual Studio .NET Control to generate, create, read, scan barcode image in Visual Studio .NET applications.
QR Code 2d Barcode Encoder In .NET
Using Barcode generator for .NET framework Control to generate, create Denso QR Bar Code image in .NET framework applications.
Additional Functionality in SharePoint 2010
Decode Quick Response Code In .NET
Using Barcode recognizer for VS .NET Control to read, scan read, scan image in .NET applications.
Bar Code Drawer In Visual Studio .NET
Using Barcode generation for .NET framework Control to generate, create bar code image in VS .NET applications.
If a document library contains documents that do not have a checked-in version due to the absence of metadata in the mandatory fields, users with sufficient permissions can take ownership and check in the documents so that they become available to all users Figure 16-1 shows the Settings page for taking ownership of the checked-out files Content types can be managed by users with sufficient permissions through the Site Content Types gallery, as shown in Figure 16-2 In SharePoint 2010, you can reuse content types between site collections and Web applications as long as they share the same managed metadata service application This is done by designating a site collection to be the content type hub in the connection properties of the managed metadata service application The publishing of each content type in the content type hub can then be managed separately By means of timer jobs, the content types are published on regular basis to the consuming Web applications and site collections
Decode Barcode In VS .NET
Using Barcode decoder for .NET Control to read, scan read, scan image in .NET applications.
QR Code Encoder In Visual C#.NET
Using Barcode creation for .NET framework Control to generate, create QR Code JIS X 0510 image in VS .NET applications.
Figure 16-1
QR Maker In VS .NET
Using Barcode printer for ASP.NET Control to generate, create QR Code image in ASP.NET applications.
QR Code 2d Barcode Generation In Visual Basic .NET
Using Barcode drawer for .NET Control to generate, create QR Code image in .NET framework applications.
Managing files that have no checked-in version
Encode GS1 DataBar In Visual Studio .NET
Using Barcode drawer for VS .NET Control to generate, create GS1 DataBar-14 image in .NET framework applications.
Encode Bar Code In .NET Framework
Using Barcode creation for .NET Control to generate, create bar code image in VS .NET applications.
16:
Matrix Barcode Generator In VS .NET
Using Barcode creator for VS .NET Control to generate, create Matrix Barcode image in .NET framework applications.
Paint USPS POSTal Numeric Encoding Technique Barcode In .NET
Using Barcode creator for Visual Studio .NET Control to generate, create Delivery Point Barcode (DPBC) image in VS .NET applications.
Managing Documents in Document Libraries
Painting 2D Barcode In VS .NET
Using Barcode generator for ASP.NET Control to generate, create 2D Barcode image in ASP.NET applications.
Generate Bar Code In .NET
Using Barcode creation for ASP.NET Control to generate, create bar code image in ASP.NET applications.
Figure 16-2
Bar Code Encoder In Java
Using Barcode encoder for BIRT reports Control to generate, create barcode image in BIRT reports applications.
GS1 - 13 Encoder In Visual C#.NET
Using Barcode drawer for Visual Studio .NET Control to generate, create EAN / UCC - 13 image in Visual Studio .NET applications.
The gallery of site content types
Barcode Reader In Visual C#.NET
Using Barcode Control SDK for .NET framework Control to generate, create, read, scan barcode image in .NET framework applications.
Print GS1 - 13 In None
Using Barcode encoder for Font Control to generate, create EAN 13 image in Font applications.
Summary
GS1-128 Drawer In Java
Using Barcode drawer for Java Control to generate, create EAN128 image in Java applications.
Encode GS1 - 12 In None
Using Barcode creation for Font Control to generate, create UPC-A image in Font applications.
In this chapter, we looked at how to manage document libraries and their contents using Windows PowerShell Manipulating document libraries works in much the same way as manipulating SharePoint lists, and in the first scenario we demonstrated this by showing how to connect to and change the properties of a document library In the next scenario, we looked at how it is possible to upload documents to a document library using the AddItem method, and we created a function that could be used when creating scripts to migrate files from something like a file share into SharePoint Next, we created two functions that handle the checking in and checking out of documents to demonstrate how to manage changes to multiple documents We also looked at the Try, Catch, and Finally blocks, which are useful for handling termination errors Finally, we covered how to create content types using Windows PowerShell
This page intentionally left blank
Managing Versioning
PowerShell for Microsoft SharePoint 2010 Administrators
harePoint 2010 offers a lot of features for enterprise document management One commonly used feature is versioning, where you have the option to store both major and minor versions of files and list items Content approval gives you the opportunity to hide minor versions from end users, leaving only published major versions visible One downside to versioning is that each version is stored as a full copy of the document or list item in the content database Suppose that an end user has a 10MB PowerPoint presentation and has saved it ten times, generating ten versions That will use 100MB of space in the content database If the document library also allows minor versions, an additional copy will be added for each minor version, which can result in insufficient disk space on the back-end SQL Server In this chapter, we will demonstrate how to use Windows PowerShell to set the content approval, version history, draft item security, and check-out settings on lists and document libraries in SharePoint 2010
Content Approval
Content approval makes it possible to have versions of list items or files in a pending state until the item or file is approved While the item or file is waiting for approval, it will not be available to end users who do not have sufficient permissions Both the SPList and SPDocumentLibrary classes support the EnableModeration property Setting this property to True enables content approval for a list or document library
PS >> PS PS > $spDocumentLibrary = Get-SPList -url "http://nimaintranet/site/Shared Documents" > $spDocumentLibraryEnableModeration = $true > $spDocumentLibraryUpdate()
The following function, Set-SPContentApproval, enables or disables content approval for a list or a document library
function Set-SPContentApproval ( [string]$url, [switch]$enable, [switch]$disable ) { # Use the Get-SPList function to retrieve a list $spList = Get-SPList -url $url if ($enable) { # Enable content approval
17:
Copyright © OnBarcode.com . All rights reserved.