Posted by paris on Mar 27, 2017 in Random
Get Distinguished Name:
get-Mailbox [Username] | fl Name,Distinguishedname
get-group -ResultSize Unlimited -Filter ‘Members -eq “[User Distinguished Name]”‘
Get-DistributionGroup -ResultSize Unlimited -Filter ‘Members -eq “[User Distinguished Name]”‘
Posted by paris on Mar 25, 2017 in Research
Recently I was asked to find a solution for a message sent internally that would automatically delete after a certain period of time. This can be done using the Expire function in Outlook however this will only clear Unread Items. Read items will appear to have a line through them but still be present.
Without Office 365
In the Properties dialog (In Outlook 2007, it is Message Options dialog), please check the Expires after box under Delivery options. And then select an expired date and time from the drop-down lists. And then click Close. See screenshot:
Configure the Global AutoArchive Settings to delete these expired emails after a certain period of time via Outlook
Go to File , Options and Advanced and Choose AutoArchive ( If this is not present this is because you already have an archive e.g. in 365 )
Choose how frequently you want AutoArchive to run. Default is 14 days but you can choose any number between 1 and 60 days. Choose “Delete expired items ( e-mail folders only)”
You will not be able to turn on Autoarchive to clear the epired items. 365 wants you to use Retention policies that are applied to mailboxe folders. Transport rules don’t apply retention tags so there is no way to automatically add a Retention Policy on emails being sent from a specific email
You can use an Outlook rule to move emails with a specific subject or From Address to a folder and apply the retention policy onto that
If you want something set up automatically so that the user doesn’t need to do that themselves, Inbox Rules can be created using PowerShell, and retention tags can be stamped on folders/items using PowerShell + EWS (e.g. https://blogs.technet.microsoft.com/exchange/2013/05/20/using-exchange-web-services-to-apply-a-personal-tag-to-a-custom-folder/).
Posted by paris on Mar 20, 2017 in Random
Reboot the Computer or go into Advanced Properties and Reset Reciever , will happen when you try to connect to Citrix and change IP half way through E.g. another wifi Connection
Posted by paris on Mar 16, 2017 in Research
When clicking on the down arrow in Office 365 to change Reply to all to Reply , for some reason the menu showed at the top of the browser
Clearing Cache did not fix this or Zoom size
Reset Chrome to default settings ( which still keeps Favorite bookmarks but clears plugins ) fixed this
Posted by paris on Mar 16, 2017 in Random
Recently after setting an Office 365 Mailbox user up via Windows Live as they did not have Microsoft Outlook installed and didn’t want to use Webmail
You need to use IMAP settings for this as there is no Active Sync connector
After setting up Windows Live , a test email to the user’s self from himself never reached the Inbox after it was sent. If I sent one from Webmail it would come through
After research , it turns out it was going into Junk Email in Office 365 after being sent from smtp.office365.com on port 587 and this folder was not syncronised in the Windows Live settings so did not show.
I had to disable the junk mail filter or add a rule which would whitelist the own user from Junk Mail!
Posted by paris on Mar 6, 2017 in Notes
My clarifying comments follow each bullet, in italics.
- On-premises mailbox permissions such as Send As, Receive As, and Full Access that are explicitly applied on the mailbox are migrated to Exchange Online. Inherited (non-explicit) mailbox permissions and any permissions on non-mailbox objects—such as distribution lists or a mail-enabled user—are not migrated. (i.e. A user mailbox migrated to Exchange Online that has Send-As, Receive-As, and Full Access directly applied to it will have that permission migrated. Inherited permissions will not be migrated. Also, an online user will not have access to edit a distribution list if that distribution list is homed on-premises, and vice-versa)
- Exchange hybrid deployments support the use of theFull Access mailbox permission between mailboxes located in an on-premises Exchange organization and mailboxes located in Office 365. A mailbox on an on-premises Exchange server can be granted the Full Access permission to an Office 365 mailbox, and vice versa. For example, an Office 365 mailbox can be granted the Full Access permission to an on-premises shared mailbox. Users need to open the mailbox using the Outlook desktop client; cross-premises mailbox permissions aren’t supported in Outlook on the web (formerly called OWA) (i.e. A user mailbox migrated to Exchange Online with Full Access can access an on-premises mailbox, and vice-versa)
Note: Users might receive additional credential prompts when they first access a mailbox that’s in the other organization and add it to their Outlook profile.
- We don’t, however, support the use of the Send-As, Receive-As, or Send on behalf of mailbox permissions in hybrid deployments between on-premises Exchange and Office 365 organizations. (i.e. A user mailbox migrated to Exchange Online with Send-As/Receive-As cannot access an on-premises mailbox, and vice-versa )
- We also don’t support delegating permissions to a mailbox or individual folders using the Outlook client. These permissions are only available when both the mailbox granting the permissions, and the mailbox receiving the permissions, are in the same organization. Any mailboxes that receive these permissions from another mailbox need to be moved at the same time as that mailbox. If a mailbox receives permissions from multiple mailboxes, that mailbox, and all of the mailboxes granting permissions to it, need to be moved at the same time. In addition to these permissions, the Auto Mapping feature is also unsupported when used between mailboxes in the on-premises Exchange and Office 365 organizations. (i.e. A user mailbox migrated to Exchange Online cannot be assigned permissions via Outlook to an on-premises mailbox)
Formerly, cross-premises permissions didn’t work at all. This changed in March 2016. See https://blogs.technet.microsoft.com/mconeill/2016/03/20/shared-mailboxes-in-exchange-hybrid-now-work-cross-premises/ . The situation improved 6 months ago but not everyone keeps current with this level of detail.
Posted by paris on Mar 6, 2017 in Research
Windows 7 was the main OS, a customer deployed a custom version of IE Created with the MS Internet Explorer Administration Kit. We have no details on the customization used when it was created. Since this time, the PC’s were updated to Windows 10. Also, we have a GPO that enforces “Enhanced Protected Mode”. When the Windows 7 machines were upgraded, not a fresh install, IE would no longer browse. You can type something into the address bar and you basically get no response at all. If you run IE as an Admin, it works just fine. Removing the GPO lets IE work again.
We have tried the following fixes for this:
- Removing / reinstalling IE via Add/Remove Windows components
- Creating a new version of IE via IEAK without customizations
- Tried removing via revo uninstaller
- Modifying the registry keys for IE CO and then uninstalling
- Windows Startup Repair via OEM disk
In the end, this version of IE could not be removed, nor could we remove any of the supposed customizations put in place by the initial install of IE via IEAK. The only solution that works is to reimage the computer.
Posted by paris on Mar 6, 2017 in Research
Delete the Vcenter Node from Solarwinds and Re Add
Then Re do the VMan intergration setup
Select TOP 1000 * FROM [dbo].[VIM_PollingTasks] From SolarwindsOrionNPMPRD [VIM_PollingTasks]
Check for the server to re-appear ( Can take 4 + hours depending on how large your Vmware Environment is )
Posted by paris on Feb 23, 2017 in Random
Recently trying to login to an IBM IMM via the Java console and kept getting :
This is after adding the Site IP via Security Allow in Java settings/
This is due to Java on the device not being compatible with the Java code on the IMM Module
Use Internet Explorer in Compatibility Mode to be able to open using Active x
Use this ( or use SSH ) to update the iLO version so this will work in Chrome/Firefox
Posted by paris on Feb 21, 2017 in Random
When Serially consoling into a Cisco Switch I got the following grey blocks
I’ve tried the following things:
- New laptop
- Baud Rates
- New cable
- New adapter
- Tera Term instead of putty
- Verified the cable works with another switch
Use a laptop with a Serial Port built in or Docking station as it seems to be a USB driver issue