Donnerstag, 29. März 2012

Changing Setting for New-Icon in SharePoint 2010


The amount of time the “New” icon is shown in SharePoint 2010 can be changed at the Web Application level using PowerShell.
Below are examples to get or change settings for the icon:

Get  the current Duration of  New-Icon

$webApp = Get-SPWebApplication "http://webAppURL/"
$webApp.DaysToShowNewIndicator

Change the duration of Displaying New-Icon

# Set to 1 Day
$webApp = Get-SPWebApplication "http://webAppURL/"
$webApp.DaysToShowNewIndicator = 1
$webApp.Update()



Prevent the New-Icon from Display

# Essentially, just set the display duration to 0 days.
$webApp = Get-SPWebApplication "http://webAppURL/"
$webApp.DaysToShowNewIndicator = 0
$webApp.Update()

Donnerstag, 8. März 2012

Convert Vhd to Vmdk

You can use WinImage to convert any *.vhd file to * .vmdk

You can downlowd WinImage from here.

After you installed WinImage. Go to following Steps to convert you File to vmdk.

  1. Open winImage and go to Disk:
To conversion VHD to VMDK disk

2. Select the *.vhd file and choose the file that you want to convert.
3. Select the option for Fixed Size or Dynamically Expanding size of your target disk.
4. Choose "*.VMDK" under the file type field. and give the path and name of destination file and click "Save"




Sonntag, 29. Januar 2012

Löschen einer Liste mit Powershell


Beim Etwickeln am Sharepoint brauche ich offter die Sharepointsinhalte schnell zu entfernen. Hier ist die Zwei Zeilen, wie man eine Liste aus der Sharepoint über Powershell entfernen kann:


$w = Get-SPWeb "http://sps2010"
$w.Lists.Delete([System.Guid]$w.Lists["My Custom List"].ID)

Mittwoch, 25. Januar 2012

Problem Steps Recorder

Neues Supporttool in Windows 7: PSR.EXE


Seit Windows 7 und Windows Server 2008 R2 ist ein Aufzeichnungstool PSR (Problem Steps Recorder) im Windows enthatren, mit dem man z.B. eine schöne Aufzeichnung bei der Installation einer Software vornehmen kann.

Dieses Tool zeichnet Schritt für Schritt jeden Klick des Benutzers auf. Damit kann man z.B. vor einer Installation eine Aufzeichnung starten, dann installieren und das Ding erstellt automatisch eine mht-Datei, die man sich anschließend im IE anschauen kann. Das Ding erstellt aber sinnvoller Weise kein Video, sondern eine Step für Step-Anleitung mit Screenshots und Markierungen wo geklickt wurde. Da man die mht auch in Word aufmachen kann, kann man den Output anschließend nochmal überarbeiten und auch als Word abspeichern.
Eine genaue Beschreibung finden Sie in der Knowledgebase des Forums Office 2010 Hilfe.

The content type is part of an application feature

Recently I had the problem in a production environment that after the deactivation of a feature I was not able to delete the content ty...