You could try click right now to gain a decent amount of casino bonuses. You could try ugambleonline real money right now to gain a decent amount of casino bonuses. Casinos on the internet gambling black jack games with click best gambling craps no deposit. On-line casinos attempt giving us all the very best baccarat microgaming casinos blackjack. online gambeling bonuses player just which deposit. ranong three card poker online craps casinos craps kit for pool table

play online casino on mac Play canadian friendly online casinos no deposit casino canadian casino winnings in u s. http://meilleur-casinoenligne.fr/ joueur de bonus juste qui se déposent.

 
0

iManage/Worksite NRL to Document and Email converter Mobile

Posted by paris on Mar 12, 2015 in Code

worksite

Currently you need to purchase imanage mobility server to be able to view NRL files remotely.

We had a request, for users to be able to email Worksite NRL links from any devices especially Mobile devices to an email address and it emails them back the document for review.

It looked like this site software could do it at one stage : http://www.grantselect.co.uk/products/products.htm , however it’s not going anymore , so we developed a Powershell Script to do this.

1) Create a mailbox in Exchange 2010 where you want to get emails sent to . e.g. [email protected] Change the value below in the script MAILBOXWHEREREQUESTSGETSENT to the alias of the Email account

2)Under the Inbox create a Folder called Complete and Folder Called External

3)Give the user who will be running this script Send as as well as Full Permissions to mailbox

4)Replace below in script IMANAGESQLSERVERNAME to the SQL server of your iManage Database

5)Where you run this script make sure the user running the script has access to C:\Temp\

6)Add this script as scheduled task to check Mailbox

# Connect to Exchange server and load Exchange powershell modules
. 'C:\Program Files\Microsoft\Exchange Server\V14\bin\RemoteExchange.ps1'
Connect-ExchangeServer -auto
 
$mailbox = Get-Mailbox MAILBOXWHEREREQUESTSGETSENT
$mailAddress = $mailbox.PrimarySmtpAddress.ToString();
 
[Reflection.Assembly]::LoadFile("C:\Program Files (x86)\Microsoft\Exchange\Web Services\2.1\Microsoft.Exchange.WebServices.dll") | Out-Null
$s = New-Object Microsoft.Exchange.WebServices.Data.ExchangeService([Microsoft.Exchange.WebServices.Data.ExchangeVersion]::Exchange2007_SP1)
$s.AutodiscoverUrl($mailAddress);
 
$MailboxRootid = new-object  Microsoft.Exchange.WebServices.Data.FolderId([Microsoft.Exchange.WebServices.Data.WellKnownFolderName]::MsgFolderRoot,$mailAddress)
$MailboxRoot = [Microsoft.Exchange.WebServices.Data.Folder]::Bind($s,$MailboxRootid)
 
# Get Folder ID from Path to be able to move
Function GetFolder()
{
	# Return a reference to a folder specified by path
 
	$RootFolder, $FolderPath = $args[0];
 
	$Folder = $RootFolder;
	if ($FolderPath -ne '\')
	{
		$PathElements = $FolderPath -split '\\';
		For ($i=0; $i -lt $PathElements.Count; $i++)
		{
			if ($PathElements[$i])
			{
				$View = New-Object  Microsoft.Exchange.WebServices.Data.FolderView(2,0);
				$View.Traversal = [Microsoft.Exchange.WebServices.Data.FolderTraversal]::Deep;
				$View.PropertySet = [Microsoft.Exchange.WebServices.Data.BasePropertySet]::IdOnly;
 
				$SearchFilter = New-Object Microsoft.Exchange.WebServices.Data.SearchFilter+IsEqualTo([Microsoft.Exchange.WebServices.Data.FolderSchema]::DisplayName, $PathElements[$i]);
 
				$FolderResults = $Folder.FindFolders($SearchFilter, $View);
				if ($FolderResults.TotalCount -ne 1)
				{
					# We have either none or more than one folder returned... Either way, we can't continue
					$Folder = $null;
					Write-Host "Failed to find " $PathElements[$i];
					Write-Host "Requested folder path: " $FolderPath;
					break;
				}
 
				$Folder = [Microsoft.Exchange.WebServices.Data.Folder]::Bind($s, $FolderResults.Folders[0].Id)
			}
		}
	}
 
	$Folder;
}
 
$folderid = new-object  Microsoft.Exchange.WebServices.Data.Folderid([Microsoft.Exchange.WebServices.Data.WellKnownFolderName]::Inbox,$mailAddress)
$InboxFolder = [Microsoft.Exchange.WebServices.Data.Folder]::Bind($s,$folderid)
 
$mails = $inboxFolder.FindItems(5) 
$mails | % {$_.Load()}
#foreachemails
foreach($Item in $mails.Items)
	{ 
	#block emails from outside of domain for security
	if($item.Sender.Address -like "*@yourinternaldomain.com") {
 
 
	#only load items with attachments
	if($item.Attachments.Count -gt 0)
		{ 
 
		#Create the email message and set the Subject and Body
		$message = New-Object Microsoft.Exchange.WebServices.Data.EmailMessage -ArgumentList $s
 
		#Go through each attachment
		foreach($attach in $item.Attachments)
			{
			#Is it an NRL File?
			if ($attach.name -like '*.nrl') {
 
			#If it it load it to temp location
			$attach.load("C:\Temp\"+$attach.name)
 
			#Start Array for content for NRL
			$var = @{}
			$count=0
 
			#Get NRL file and store to array
			Get-Content -LiteralPath ("C:\Temp\" + $attach.name) | ForEach-Object {
				$count++
				$list = $_.Split(':!')
				$var.Add($count, $list)
				}
 
			#Get Variables from Array
			$database = $var[2][8]
			$docvalue = $var[2][11].Split(',')
			$docnumber = $docvalue[0]
			$docversion = $docvalue[1]
 
			#Remove NRL File
			Remove-Item ("C:\Temp\" + $attach.name)
 
##SQL Query Function no SQL installs needed all powershell baby
function Invoke-SQL ($SQLServer, $SqlQuery)  {
	#Uncomment below to double check the statement
	#Write-Host $SqlQuery
	$SqlConnection = New-Object System.Data.SqlClient.SqlConnection
	$SqlConnection.ConnectionString = "Server = $SQLServer; Integrated Security = True"
 
	$SqlCmd = New-Object System.Data.SqlClient.SqlCommand
	$SqlCmd.CommandText = $SqlQuery
	$SqlCmd.Connection = $SqlConnection
 
	$SqlAdapter = New-Object System.Data.SqlClient.SqlDataAdapter
	$SqlAdapter.SelectCommand = $SqlCmd
 
	$DataSet = New-Object System.Data.DataSet
	[void]$SqlAdapter.Fill($DataSet)
 
	$SqlConnection.Close()
	return $dataset.tables
}
 
#Get the Doc Details from Number
$sqlresult = Invoke-SQL IMANAGESQLSERVERNAME "SELECT DOCLOC,DOCNAME,APPEXTENSION FROM [$database].[MHGROUP].DOCMASTER INNER JOIN [$database].[MHGROUP].DOCTYPES ON [$database].[MHGROUP].DOCMASTER.T_ALIAS=[$database].[MHGROUP].DOCTYPES.T_ALIAS where [DOCNUM]='$docnumber' and [VERSION]='$docversion'"
 
#Get the Location of file including imanage file server name
$docloc = $sqlresult| select -expand DOCLOC
$docloc = $docloc.Split(':')
$doclocsrv = $docloc[0]
 
#get the doc name to rename or it will be doc number
$docname = $sqlresult| select -expand DOCNAME
 
#get the doc type
$docfileextension = $sqlresult| select -expand APPEXTENSION
 
#Get the unc path of file to copy
$sqlresult = Invoke-SQL IMANAGESQLSERVERNAME "SELECT LOCATION  FROM [$database].[MHGROUP].DOCSERVERS where [DOCSERVER]='$doclocsrv'"
$location = $sqlresult| select -expand LOCATION
$source = $location + $docloc[1]
$destination = $docname + "." + $docfileextension
$pattern = "[{0}]" -f ([Regex]::Escape( [System.IO.Path]::GetInvalidFileNameChars() -join '' ))
$destination = "C:\Temp\NRL\" + [Regex]::Replace($destination, $pattern, '')
 
copy-item $source -Destination $destination
 
$message.Attachments.AddFileAttachment($destination) | Out-Null
 
#End of NRL Loop
}
#End of For Each Attachment
}
#End of the if attachment exists
}
 
#Is the email being sent have any documents to send?
if ($message.Attachments.Count -gt 0){
 
	$message.From = “email@fromdomain.com.au”
	$message.Subject = $item.Subject
	$message.Body = $msgBody
 
	$message.ToRecipients.Add($item.Sender.Address)
 
	#Send the message and save a copy in the users Sent Items folder (Alt is message.Send which will not save a copy.)
	if($item.Sender.Address -ne "[email protected]")
		{
		$message.SendAndSaveCopy()
		}
 
}
 
 
#Move to Folder After Replying
$FolderObject = GetFolder($MailboxRoot, "\Inbox\Complete\");
		try
		{
		$Item.Move($FolderObject.Id) | out-null;
		}
		catch
		{
		Write-Host "Failed to move item", $Item.Id.UniqueId
		}
 
Remove-Item c:\TEMP\NRL\*
 
#Loop per email
 
}
 
#Move to Folder After Replying
$FolderObject = GetFolder($MailboxRoot, "\Inbox\External\");
		try
		{
		$Item.Move($FolderObject.Id) | out-null;
		}
		catch
		{
		Write-Host "Failed to move item", $Item.Id.UniqueId
		}
 
}

 

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Tags: , , , , , , , , ,

 
0

Culture ID 0 (0x0000) is not a supported culture

Posted by paris on Mar 11, 2015 in Random

When pressing the P button in a new email in Outlook , it displays the following error

culture

This actually comes from the Interwoven DLL , reopening the window resolves this, its like a shortcut key gets forced open

VN:F [1.9.22_1171]
Rating: 9.0/10 (1 vote cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Tags: , , , ,

 
0

Report Number of Emails Recieved Externally per user in Distribution Group over month

Posted by paris on Mar 7, 2015 in Code

140257-thumb_exchange_original[1]

# set Identity to distributiongroup alias
$distributiongroup = Get-DistributionGroup -Identity "#Distribution Group Name"
 
$groupmembers = Get-DistributionGroupMember -Identity $distributiongroup | Where-Object { $_.RecipientType -eq "UserMailbox" }
 
foreach ( $member in $groupmembers )
{
$intRec = 0
#Gets the SMTP Address of Mailbox
$smtp = Get-Mailbox -Identity $member.alias | Select -Property PrimarySmtpAddress
#Change Start and End Date where needed, Change source to STOREDRIV for Internal or remove where for all messages ( SMTP = External )
Get-TransportServer | Get-MessageTrackingLog -ResultSize Unlimited -Start “02/01/2015” -End “02/28/2015” -Recipients $smtp.PrimarySmtpAddress -EventID RECEIVE | where {$_.source -eq 'SMTP'} | 
 
ForEach { $intRec++ }
Write-Host "E-mails received from External Source by"$smtp.PrimarySmtpAddress "-" $intRec
 
}

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

 
0

Sharepoint asking for password on Login

Posted by paris on Mar 4, 2015 in Fixes

sharepoint

Recently had a user who could not access the Sharepoint site via Chrome/IE, it kept presenting the user with a username and password box. Other users in the organisation could access it fine.

On another computer we used the Sharepoint option of Signing In As Different User and signed in as the problem user and it worked fine.

Checking the proxy settings on the computer to make sure the URL/Server address was being bypassed which it was.

Went to Credential Manager in Control Panel

Removed the Windows Credentials for reference to the website, Fixed!

 

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Tags: , , ,

 
0

How to Find iManage Workspaces in SQL

Posted by paris on Mar 4, 2015 in Code
SELECT * FROM MHGROUP.PROJECTS WHERE PRJ_ NAME LIKE '%ProjectName%'

 

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Tags: ,

 
0

MDM / Airwatch cannot change To: Field on Android

Posted by paris on Mar 3, 2015 in Random

vmw-logo-airwatchWe had a recent problem setting up a new profile on VMwares Airwatch. When a user tries to reply from a message that has been automatically forwarded through exchange, after deleting the To field with the prepoluated forwarding from address, the user cannot enter in an email address

  E.g.  User A forwards message to User B User B clicks reply and takes User A out of the To field User B cannot populate To field , can type in the To filed but nothing appears.

 We try adding the profile manually and we do not have this problem ,  We are running kitkat 4.4.2 andriod on the device and its happened after  deleting and readding the profile is still had the issue

Turns out “Allow email forwarding” was disabled via the Provider which enabling this fixed

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Tags: , , ,

 
0

Outlooking Sending – changes made to the item were lost due to a reconnect with the server

Posted by paris on Mar 2, 2015 in Random

changeswheremade

Recently we came across a problem where users would transfer attachments from one email to another and upon sending would get the following error

cannot open this item. changes made to the item were lost due to a reconnect with the server

The only way to send the email would be to recopying all the content to a new email and re-attach the attachments. It was though Outlook briefly lost connectivity with exchange server ( was not using cached mode ) . The connection status of Outlook showed no failed requests. We disabled all Add-on’s and started Outlook in safemode however we still got this happening randomly. In the end we applied all Office 2010 Windows updates to the terminal server and this fixed the issue!

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Tags: , , , , , ,

 
0

SendOnBehalf of Copying Sent Items Exchange 2003 to 2010 Migration

Posted by paris on Feb 27, 2015 in Random

sendonbehalfofSent items dissappear during an exchange migration between operators and secretaries due to mixes of Exchange 2010 and 2003 for example:

  • Exchange2003User1
  • Exchange2003User2
  • Exchange2010User3

 

Current Enviroment 2003 : When I send from Exchange2003User1 onbehalf of Exchange2003User2 at the moment it puts the email in the Sent Item of Exchange2003User1

 

Secretary 2003 and Operator 2010 : When I send from Exchange2003User1 ( 2003 Mailbox ) onbehalf of Exchange2010User3  it replicates the above and puts the Sent Item of Exchange2003User1

 

Secretary 2010 and Operator 2003 : When I send from Exchange2010User3 onbehalf of Exchange2003User1 the sent email disappears ( does not get stored anywhere )

 

This means we will need to migrate all the operators before the secretaries move, and the secretaries can move one at a time after. Hope this helps now with UAT group!

Exchange Commands

In Exchange 2010 you can configure this server side to duplicate to both sender and from address.

Set-MailboxSentItemsConfiguration <mailbox id> [-SendAsItemsCopiedTo [Sender|SenderAndFrom]] [-SendOnBehalfOfItemsCopiedTo [Sender|SenderAndFrom]]

Outlook Commands

*NB Outlook will need to be in Cached Mode

Consider the following scenario. You use Outlook 2010 and are a delegate for your manager. Even though theDelegateSentItemsStyle registry value is set to 1, an email message that you send on behalf of your manager is saved in yourSent Items folder.

Key: HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\Preferences
Name: DelegateSentItemsStyle
Type: DWORD
Value: 1

 

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Tags: , , , , , ,

 
0

Troubleshoot WSUS Not updating on servers

Posted by paris on Feb 26, 2015 in Random

WorksiteSaveOperationThe first step is to make sure you see the actual WSUS server name in the log – if not that indicates a policy or registry setting used for the policy is not in place.
Next get the errors for the client trying to contact WSUS and check the error code against the error code reference for Windows Update agent. For a reference see:

Windows Update information is stored in c:\%windir%\Windowsupdate.log.

Perform the following on the client workstation.
1. Delete the registry keys in
HKLM\Software\Microsoft\Windows\Currentversion\Windowsupdate
2. Restart Automatic Updates service.
3. Issue the command wuauclt /resetauthorization /detectnow.
Updates will start downloading

Removing managed by your system administrator message to update them manually

Set Group Policy Manually
Start -> Run -> gpedit.msc
 
Computer configuration -> Administrative Templates -> Windows Components -> Windows Update
Configure Automatic updates
Choose enabled
Choose option 5 – Allow local admin to choose setting
 
User configuration -> Administrative Templates -> Windows Components -> Windows Update
Remove access to use all Windows Update features
Choose Disabled

After above clients where still not showing up in the WSUS gui after downloading the updates from the server. I checked

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate (SusClientId) which was cloned across all the servers. We had to run this:
Rem - Batch script to delete duplicate SusClientIDs 
Rem - Implement this script as a "Startup" or "Logon"  script 
Rem - Script creates an output file called %Systemdrive%\SUSClientID.log 
Rem - If the %Systemdrive%\SUSClientID.log is already present, then the script simply exits
 
@Echo off 
if exist %systemdrive%\SUSClientID.log goto end 
net stop wuauserv 
net stop bits 
reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate" /v PingID /f  > %systemdrive%\SUSClientID.log 2>&1 
reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate" /v AccountDomainSid /f  >> %systemdrive%\SUSClientID.log 2>&1 
reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate" /v SusClientId /f  >> %systemdrive%\SUSClientID.log 2>&1 
net start wuauserv 
wuauclt.exe /resetauthorization /detectnow          
:end 
exit
VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Tags: , , ,

 
0

“Citrix Metaframe Server FTA” Showing up as URL/HTTP/IE File association

Posted by paris on Feb 25, 2015 in Fixes

citrixiconWe recently rolled out Chrome in our enviroment , a user’s default browser went back to IE one day. On going to default programs in Control Panel , HTTP/URL links where all defaulted to Citrix Metaframe Server FTA and greyed out. This task is responsible for redircting http traffic to the local client for Flash Redirection/Rendering however this does not work with Chrome.

Trying to set these back to chrome would not work using the GUI. For some reason the Chrome Icon in the default programs was not showing either. This was not a local machine ( HKLM or HKCR )or server problem as other users logging into the machine could default to Chrome fine.

In the end, to reset the defaults, I had to delete this key for the user and reset the defaults via the GUI

HKEY_CURRENT_USER\Software\Classes

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Tags: ,

Copyright © 2015 Welcome to Pariswells.com All rights reserved. Theme by Laptop Geek. Privacy Policy