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

The error “[Microsoft][ODBC SQL Server Driver][SQL Server]A cursor with the name ‘Store’ already exists.”

Posted by paris on Dec 3, 2014 in Research

worksiteWhen renaming a user in iManage/ Worksite the logs show

“[Microsoft][ODBC SQL Server Driver][SQL Server]A cursor with the name ‘Store’ already exists

The trigger in the DOCMASTER Table contains a cursor called Store which conflicts with the stored procedure. Choose modify on the trigger and do a search and replace Store another variable e.g. StoreTrigger. Execute the trigger after to save and try again

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

iManage/Worksite Viewer showing white/blank

Posted by paris on Nov 27, 2014 in Random

pinimanageWhen a user clicks through documents in iManage viewer after the first document , the rests of the document don’t display until you click on another tab e.g. profile and back to viewer.

The user needs to click the Pin Icon which is found top right of the viewer. This will then auto-refresh the view when users move from document to document.

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

Get Remote Registry values from a range of servers

Posted by paris on Nov 27, 2014 in Code

Powershell script to query multiple servers for their Local Machine Run Registry Keys

$servers = Get-Content c:\scripts\servers.txt 
 foreach ($server in $servers) {
 
$Reg = [Microsoft.Win32.RegistryKey]::OpenRemoteBaseKey('LocalMachine', $server.ServerName)
$RegKey= $Reg.OpenSubKey("Software\Microsoft\Windows\CurrentVersion\Run")
 
$server
$RegKeyRO.GetValueNames()
}

 

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

iManage Field Autocomplete Location

Posted by paris on Nov 25, 2014 in Random

worksiteThe fields are stored in the registry here :

HKEY_CURRENT_USER\Software\Interwoven\WorkSite\8.0\iManExt\AutoCompleteEx

HKEY_CURRENT_USER\Software\Interwoven\WorkSite\8.0\iManExt\AutoComplete

You can delete these whole folders to wipe all the Autocomplete enteries

To modify individual items , you can go into each of the folders or use an f3 search to find enteries however the enteries need to be sequential so when you delete , readd the last item for that numbered entery , then delete the last item to stop duplication

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

Remove Exchange Inherited permissions to Mailboxes

Posted by paris on Nov 20, 2014 in Random

140257-thumb_exchange_original[1]So I had to go through and remove some legacy permissions from Exchange. This can be added at multiple levels so it’s aways a diagnostic trail to where this was added. Go through each of these and if IsInherited is set to False you’ve found out where it’s being applied from

1) Get-MailBoxPermission domain\user

2) Get-MailboxDatabase | Get-ADPermission -user domain\user

3) Get-ExchangeServer | Get-ADPermission -user domain\user

4) Get-OrganizationConfig | Get-ADPermission -user domain\user

Remove the Permissions per level with

(Get-OrganizationConfig / Get-OrganizationConfig  / Get-OrganizationConfig) Choose one of these depending where the permissions are inherited from  | Remove-ADPermission -user domain\username -AccessRights GenericAll

Some of the permissions where also added from AD.

Open up ADSI Edit and Navigate to these :

In “Domain NC” OU=Microsoft Exchange Security Groups,DC=mydomain,DC=com
In “Domain NC” CN=
Microsoft Exchange System Objects
In “Configuration Container” CN=Microsoft Exchange,CN=Services,CN=Configuration,
DC=mydomain,DC=com

Make sure the user is not in any of these

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 Renew/Replace SSL Certificate on Mobile Iron MDM Server

Posted by paris on Nov 19, 2014 in Random

0608d9febb596d76b881b3c767ef1832_400x400[1]Login to Mobile Iron Mics

Go to Security then Certificate Mgmt

Click Manage Certificates , then Choose Generate CSR , Enter Details and use correct Key Length with the Certificate Provider. After Clicking Generate , copy the CSR Request as well as the private key text into Notepad

Use the CSR to generate a Certificate Request from a Third Party e.g. Digicert.

Download the .CER from the Provider as well as any Root Certs ( DigiCert there is one )

Edit the .CER File in Windows Notepad and add the Private Key Text to the top , as well as the Root Cert text in Order e..g

 

<—-Private key Start—–>

<—-Private key End—–>

<—-Root key Cert Start—–>

<—-Root key Cert End—–>

<—-MDM Certificate key Cert Start—–>

<—-MDM Certificate key Cert Close—–>

Save this as Cert without a file type

Upload this to Mobile Iron’s Client TLS and Portal HTTPS

 

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 Error When Opening Application

Posted by paris on Nov 18, 2014 in Random

CitrixErrorWhen opening a Citrix Application the below error shows up

System.Runtime.JnteropServices.COMException (Ox80004005): Error HRESULT E_FAIL has been returned from a cal to a COM component.
at System. Windows.Forms.UnsafeNatiVeMethods.CoCreatelnstance(Guld& clsld, Object punkOuter, Int32 context, Guld& Ud)
at System. Windows.Forms.AxHost.CreateWithoutlicense( Guld clsid)
at System.Windows.Forms.AxHost.CreateWithLicense(String license, Guld clsid} at System.Windows.Forms.AxHost.CreatelnstanceCore(Guld clsld)
at System.Windows.Forms.AxHost.CreateinstanceO
at System. Windows.Forms.AxHost.GetOcxCreateO
at System.Windows.Forms.AxHost.TransitionUpTo(Int32 state)
at System. Windows.Forms.AxHost.CreateHandleO
at System. Windows.Forms.Control.CreateControl(Boolean flgnoreVisible)
at System. Windows.Forms.Control.CreateControl(Boolean flgnoreVlsible)
at System. Windows.Forms.Control.CreateControlQ
at System.Windows.Forms.Control.Contro!Colled:ion.Add(Control value)
at Citrix.DesktopViewer.MainWindow.StartConnectionQ
at Citrix.DesktopViewer.MainWindow.MainWindow_Shown(Object sender, EventArgs e) OK

Reboot the machine , after installing Citrix Reciever the computer needs rebooting even though it does not ask for it ( especially if it’s been installed to a single user )

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

Printer Backup and Restore via VBS Script to TXT file

Posted by paris on Nov 14, 2014 in Code

Rebuilding profiles can sometimes be time consuming especially documenting settings. I created a script to backup the current printers the User had and wrote it to a test file ( including Default Printer ) so that this could be run to backup , then restored from this file in the Restore Script

Backup Printer List

Const ForWriting = 2
 
Set objNetwork = CreateObject("Wscript.Network")
 
strComputer = "."
 
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
 
Set DefPrinters = objWMIService.ExecQuery _
     ("Select * from Win32_Printer Where Local = FALSE AND Default = True")
 
For Each DefPrinter in DefPrinters
    strText = strText & "Default : " & DefPrinter.Name & vbCrLf
Next
 
Set colPrinters = objWMIService.ExecQuery _
    ("Select * From Win32_Printer Where Local = FALSE AND Default = False")
 
For Each objPrinter in colPrinters
    strText = strText & objPrinter.Name & vbCrLf
Next
 
Set objFSO = CreateObject("Scripting.FileSystemObject")
 
Set objFile = objFSO.CreateTextFile _
    ("h:\Printers.txt", ForWriting, True)
 
 
objFile.Write strText
 
objFile.Close

 

Restore Printer List

 

Const ForReading = 1
Const TristateUseDefault=-2
Set wshnet = CreateObject("Wscript.Network")
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFile = objFSO.OpenTextFile ("h:\Printers.txt", ForReading, True, TristateUseDefault)
 
Do Until objFile.AtEndOfStream
	strNextLine = objFile.Readline
	if left(strNextLine,10) = "Default : " THEN
		strNextLine = replace(strNextLine, "Default : ", "")	
		wshnet.AddWindowsPrinterConnection strNextLine
		wshnet.SetDefaultPrinter strNextLine
	END IF
	wshnet.AddWindowsPrinterConnection strNextLine
Loop
 
objFile.Close

 

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

Getting a list of Citrix Servers from an Application in Powershell

Posted by paris on Nov 13, 2014 in Code

I was trying to get a list of servers from an application via qfarm /app ‘ApplicationName’ however the output it gave me was text rather then an array.

Below is how to get an array into powershell using the Citrix Powershell Snapin Instead

Add-PSSnapin Citrix*
$servers = Get-XAServer -BrowserName 'Application Name'| select ServerName
 
foreach ($server in $servers) {
 
#do Something per server
Write-Host $server.ServerName
 
}

 

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:

 
1

Delete Items from a specific folder with Exchange Powershell EWS within Date Range

Posted by paris on Nov 12, 2014 in Code

Below is the command to extract ( Archive ) emails from a particular folder into a PST

#Archive Items from a certain folder
New-MailboxExportRequest -mailbox %mailboxname% -IncludeFolders "path/to/folder/ -ContentFilter {(Received -lt '08/01/2014')} -FilePath \\path\to\pstfile.pst

However due to Exchange updates , the MailboxExport command does not work anymore ( which had the -deletecontent command) and Search-Mailbox does not have any functionality to Include just specific folders. So we have to use powershell EWS below

Note - By default ItemView has a limit of 1000 in exchange, the command below you will probably want to increase this say to 10,000 or even 50,000 so you don’t have to rerun this lots of times. After each run it will tell you how many items it has deleleted. You need to run the powershell script with a useraccount that has a throttling policy set above 1000.

e.g. Set-ThrottlingPolicy PolicyName -EWSFindCountLimit 50000

Set-Mailbox useraccount -ThrottlingPolicy PolicyName

$mailbox = Get-Mailbox %mailboxname%
$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]::Exchange2010)
$s.AutodiscoverUrl($mailAddress);
 
$ItemView = New-Object Microsoft.Exchange.WebServices.Data.ItemView(10000)
$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
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;
}
 
 
try {
 
	$FolderObject = GetFolder($MailboxRoot, "path\folder\");
#Date from and To
    $findItemResults = $FolderObject.FindItems("System.Message.DateReceived:01/01/2014..01/08/2014",$ItemView)
 
        foreach ($item in $findItemResults.Items) {
 
                try {
#Comment Below out to not delete
                    [void]$item.Delete([Microsoft.Exchange.WebServices.Data.DeleteMode]::HardDelete)
                    $Deleted ++
#Uncomment below to list before deleting
					#Write-host $item.DateTimeReceived 
                } catch {
                    Write-warning "Unable to delete item, $($item.subject).  $($Error[0].Exception.Message)"
                }
            }        
 
 
    if ($Deleted -gt 0) { Write-host "$Deleted mail items deleted from the Inbox." }
} catch {
    Write-warning "Could not connect to Inbox.  $( $_.exception.message )"
}
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 © 2014 Welcome to Pariswells.com All rights reserved. Theme by Laptop Geek. Privacy Policy