Wednesday, February 22, 2012

Sharepoint alert user when case is assigned

To set your own alertsystem to notify user when they are assigned a case.
1. Set up a securitygroup in Sharepoint where you add your users. You need to configure their emails in sharepoint user config. Your sharepointserver also need to be able to send emails. Aka you’ve already setup your smtp.
2. In your sharepointlist, choose Create a workflow in Sharepoint Designer.
3. If CurrentItem:Assigned is not empty e-mail CurrentItem:Assigned
To make this fly the assigned column need to be of type Person or Group and only allow selection from Sharepointgroup you’ve previously created.
In Sharepoint Designer you can now edit Start Options for the workflow to start automatically when an items is changed or created.
You can also design the email which is sent to the user to contain basically anything from the current item.
References:
http://social.msdn.microsoft.com/Forums/en-US/sharepointcustomization/thread/26649ef1-3333-4d08-b2a5-1c988c975959

Friday, February 17, 2012

Free up more space

If you’re aching for more space on your server or workstation, use this command to remove all uninstallfiles related to servicepack1 on Windows Server 2008 R2 and Windows 7.

dism /online /cleanup-image /spsuperseded /hidesp 

For an offline WIM-image,

dism /image:wimfile.wim /Cleanup-Image / spsuperseded /hidesp.

/hidesp option removes SP1 from the “Installed Updates” section of Programs and Features, to ensure that users do not try to uninstall the service pack.

After doing this maneuver on a Server 2008 R2 my winsxs went from 12.12GB down to 6.82GB. Not a real true value though since winsxs contains mostly softlinks, but still an indication.

References:

http://matthewlong.wordpress.com/2011/03/04/cleaning-up-windows-7-server-2008-r2-service-pack-1-files/

Friday, February 10, 2012

Find that missing driver

A nice resource to have is the ability to grab the device id of a missing hardware driver and get the correct softwaredriver in return.

Get the hardware device-ID. Copy the last line of values, for example \\USB\VID_08FF&PID_2580 for the struggling fingerprintreader.

Goto catalogue.microsoft.com, and input the deviceid. Put the device in your basket and download. This will get you a cab-file, which you can extract using 7Zip. Then just update your missing driver and point the search to your newly extracted folder.

Resources:

catalogue.microsoft.com

Powershell and Uptimerobot

Uptimerobot can be quite tedious when you need to update many monitors at once. For example say you bought the license for Uptimerobot and n...