Add users photo to Exchange with powershell (Add corporate head shot to a user account in Exchange) for Outlook and Lync

The photo must be 96×96 and less than 10k. Photoshop can do this

Import-RecipientDataProperty -Identity “USERNAME” -Picture -FileData ([Byte[]]$(Get-Content -Path “C:\temp\PICTURENAME.jpg” -Encoding Byte -ReadCount 0))

Advertisements

Installing and configuring Sage ERP

·         Navigate to <Software path of Sage>\WSSetup

·         Run the Setup.exe

·         Set the Programs path to: c:\Sage

·         Set the Data path as: c:\Sage

·         Run ‘sqlncli.msi’ From SQL 2008 R2 install folder

·         Go to Control Panel\User Accounts\User Accounts

·         Set the UAC settings to never notify

·         Go to:

C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools

·         Run ‘Data Sources (ODBC)’

·         Go to System DSN tab

·         Click Add

·         Select SQL Server Native Client and click next

·         Set the name as ACCPAC and the server as <SQLSERVERNAME\INSTANCENAME – (you can leave the description blank)

·         Click next

·         The username should be set as ‘sagerpadmin’ (Or whatever you set it to in the DB)

·         Click Next then Finish

·         Copy the lic and Site folders from here: \\dubbur-fp02\Public Data\UAE\IT\SageFiles to c:\Sage

Open Database setup & configure database setup based on above

When printing (For example; a PO) for the first time, it will aim at the local C:\ drive so when printing:

·         Navigate to \dubbur-sage01\accpac\Program Files (x86)\Sage\Sage Accpac\PO60A\ENG and select your .rpt file name. (purchase order-other than KPM)