如果您正在使用Outlook 日历(Outlook Calendar)并遇到条目问题,那么我们建议您使用 Outlook日历检查工具(Calendar Checking Tool for Outlook)( CalCheck )。它是一个命令行工具,用于检查Outlook 日历(Outlook Calendar)应用程序是否存在日历条目问题。在这篇文章中,我们将分享它的作用、工作原理以及从该工具生成的报告。它也适用于Office 365。
Outlook 日历检查工具(Outlook Calendar Checking Tool)( CalCheck )
从Microsoft(Microsoft)下载该工具并提取内容。查找CalCheck.exe文件。双击(Double)运行它。当您运行该工具时,它会在您的计算机上打开Outlook消息传递配置文件以访问Outlook日历。如果您创建了多个配置文件,您可以从下拉列表中选择它。发布它检查一般设置,例如权限、忙/闲发布、委托配置和自动预订。
一旦计算出所有条目,它就会检查可能导致意外行为的已知问题,例如似乎丢失的会议。检查完成后,它会生成一份报告,可以帮助您诊断问题。
该报告包括Subject、Location、Start Time、End Time和Organizer等列,这些列被选中。然后它还包括更多列,例如:
最后一列为您提供了有关问题的清晰信息。就我而言,我得到了 -错误:日历中的重复项目,请检查此项目。 (ERROR: Duplicate item in the Calendar, Please check this item. )
CalCheck 命令行开关(CalCheck Command Line Switches)和配置文件(Configuration File)
如果您熟悉您的技术,有两种方法可以使用CalCheck工具- 命令行开关(— Command-Line Switches)和配置(Configuration)文件。
CalCheck 命令行开关
CalCheck [-P <profilename>] [-L <filename>] [-M <mailboxname>] [-N <display_name>] [-S <servername>] [-O <path>] [-C <version>] [-A] [-F] [-R] [-V] [-No]
- -P配置文件(Profile)名称(如果不存在,将提示输入配置文件)
- -L要检查的邮箱的列表文件的(List)路径(Path)和文件名(列出 Name 和LegacyExchangeDN的文件)
- -M邮箱 DN(Mailbox DN)与 -N 一起使用(仅处理指定的邮箱)
- -N显示(Display)名称与 -M 一起使用(仅处理指定的邮箱)
- -O输出(Output)路径(如果指定,则将输出文件写入此路径。默认为当前文件夹。)
- -C用于Office 2013即点即用(Click-to-Run)方案的版本(Version)
- -A 所有日历项目输出到 CALCHECK.CSV
- -F创建(Create)一个CalCheck文件夹并将标记的错误项移动到那里
- -R 将报告消息与CalCheck.log文件一起放入收件箱
- -V详细(Verbose)输出到命令提示符(Command Prompt)窗口
- -?打印此消息
CalCheck 配置文件
该文件夹包含一个名为CalCheck.cfg的(CalCheck.cfg)TXT文件。它包括您可以更改的配置详细信息。当您运行CalCheck时,它会从配置文件中获取选项并相应地工作。
以下是配置文件中的一些选项 -
主办方(Organizer)地址=true '检查主办方(Organizer)电子邮件地址
(PR_SENT_REPRESENTING_EMAIL_ADDRESS)
组织者(Organizer)名称=true '检查组织者(Organizer)显示名称
(PR_SENT_REPRESENTING_NAME)
发件人(Sender)地址=true '检查发件人(Sender)电子邮件地址
(PR_SENDER_EMAIL_ADDRESS)
也就是说,虽然文档说Outlook 日历(Outlook Calendar)可以与Microsoft Exchange Server一起使用,并且能够找出我的Office 365安装的问题。
多邮箱模式
如果您运行的是Exchange Server或更早版本的Exchange,则可以使用多邮箱(Multi-Mailbox)模式。为此,您需要一个对Exchange服务器或组织上的所有邮箱具有完全访问权限的帐户。对于企业来说,检测Outlook日历中的错误非常有用,因为它们构成了所有会议的主干。
拥有正确的用户帐户后,您需要创建包含Display Name和LegacyExchangeDN的邮箱列表。在Exchange Powershell(Exchange Powershell-)中运行命令-
Get-Mailbox -Server "ServerName" | fl Name, LegacyExchangeDN | Out-File <path_file_name> -width 200
发布这个;您可以 在多邮箱(Multi-Mailbox)(列表)模式下运行CalCheck 。
CalCheck -L <path and file name>
完成检查后,您将拥有两个包含所有错误的文件:
- CalCheckMaster.log – 这(CalCheckMaster.log –This)是已处理的所有邮箱的摘要。
- CalCheck__ <邮箱> .log。– 为每个已处理的邮箱创建一个此类文件。
CalCheck是一个强大的工具,可以帮助企业(Enterprise)找出日历条目的问题,以确保会议按预期进行。
我希望你觉得这个工具很方便。(I hope you find this tool handy.)
Outlook Calendar Checking Tool (CalCheck) reports problems with entries
If you are using Outlook Calendar and having issues with entries, then we suggest using Calendar Checking Tool for Outlook (CalCheck). It is a command-line tool that checks the Outlook Calendar app for calendar entry problems. In this post, we will share what it does and how it works and reports generated from the tool. It works with Office 365 as well.
Outlook Calendar Checking Tool (CalCheck)
Download the tool from Microsoft and extract the contents. Look for CalCheck.exe file. Double click to run it. When you run the tool, it opens the Outlook messaging profile on your computer to access the Outlook calendar. If you have created multiple profiles, you can select it from the dropdown. Post that it checks on general settings, such as permissions, free/busy publishing, delegate configuration, and automatic booking.
Once it figures out all the entries, it then checks against known problems that can cause unexpected behavior, such as meetings that seem to be missing. Once the check is complete, it generates a report that can help you diagnose problems.
The report includes columns such as Subject, Location, Start Time, End Time, and Organizer, which are checked. Then it also includes a few more columns such as:
- Recurring
- Organizer
- Is Past Item
- Errors and Warnings.
The last column gives you clear information about the problem. In my case, I got — ERROR: Duplicate item in the Calendar, Please check this item.
CalCheck Command Line Switches & Configuration File
If you know your tech well, there are two ways to use the CalCheck tool — Command-Line Switches and Configuration files.
CalCheck Command Line Switches
CalCheck [-P <profilename>] [-L <filename>] [-M <mailboxname>] [-N <display_name>] [-S <servername>] [-O <path>] [-C <version>] [-A] [-F] [-R] [-V] [-No]
- -P Profile name (if absent, will prompt for profile)
- -L Path and file name of List file (file listing the Name and LegacyExchangeDN) of the mailbox(es) to check
- -M Mailbox DN is used with -N (process only the mailbox that is specified)
- -N Display name is used with -M (process only the mailbox that is specified)
- -O Output path (if specified, write output files to this path. The default is the current folder.)
- -C Version to use for Office 2013 Click-to-Run scenario
- -A All calendar items output to CALCHECK.CSV
- -F Create a CalCheck folder and move flagged error items there
- -R Put a report message in the inbox with the CalCheck.log file
- -V Verbose output to the Command Prompt window
- -? Print this message
CalCheck Configuration File
The folder includes a TXT file with the name CalCheck.cfg. It includes configuration details which you can change. When you run CalCheck, it takes options from the configuration files and works accordingly.
Here are a few options from the config file-
OrganizerAddress=true ‘Check for Organizer email address
(PR_SENT_REPRESENTING_EMAIL_ADDRESS)
OrganizerName=true ‘Check for Organizer display name
(PR_SENT_REPRESENTING_NAME)
SenderAddress=true ‘Check for Sender email address
(PR_SENDER_EMAIL_ADDRESS)
That said, while the document says that the Outlook Calendar works with Microsoft Exchange Server, and was able to figure out the issue with my Office 365 installation.
Multi-Mailbox Mode
If you are running Exchange Server or earlier versions of Exchange, then you can use the Multi-Mailbox mode. To do this, you will need an account that has full access rights to all mailboxes on Exchange server or organization. It is useful for Enterprise to detect errors with the Outlook calendar as they form the backbone of all the meetings.
Once you have the right user account, you need to create the list of mailboxes which includes both Display Name and LegacyExchangeDN. Run the command in Exchange Powershell-
Get-Mailbox -Server "ServerName" | fl Name, LegacyExchangeDN | Out-File <path_file_name> -width 200
Post this; you can run CalCheck in Multi-Mailbox (list) mode.
CalCheck -L <path and file name>
Once it completes the check, you will have two files with all errors:
- CalCheckMaster.log –This is a summary of all mailboxes that were processed.
- CalCheck__<mailbox>.log. – One such file is created for each mailbox that was processed.
CalCheck is a powerful tool that can help the Enterprise to figure out the issue with calendar entries to make sure the meetings go as expected.
I hope you find this tool handy.