Sponsored Content
Full Discussion: Powershell + office 365
Special Forums Windows & DOS: Issues & Discussions Powershell + office 365 Post 302993343 by zoldkovacs on Thursday 9th of March 2017 03:23:23 AM
Old 03-09-2017
Powershell + office 365

Hello !

I am looking for powershell guys.
I have lot of office365 users ,and i need add/remove calendar items from powershell.
my users have multiple calendars.
how can i select calendar ,and how can i add / remove item to selected calendar.

Code:
PS C:\appl\o365calendar> get-mailboxfolder -recurs

Name                                                               FolderPath
----                                                               ----------
Adattár teteje                                                     {}
Beérkezett üzenetek                                                {Beérkezett üzenetek}
Elküldött elemek                                                   {Elküldött elemek}
Feladatok                                                          {Feladatok}
Feljegyzések                                                       {Feljegyzések}
Kimenő levelek                                                     {Kimenő levelek}
Levélszemét                                                        {Levélszemét}
Napló                                                              {Napló}
Naptár                                                             {Calendar}
em1                                                                {Calendar, em1}
em2                                                                {Calendar, em2}
fsz1                                                               {Calendar, fsz1}
fsz2                                                               {Calendar, fsz2}

em1,em2,fsz1,fsz2 user created calendars.
thank you
g

Last edited by Don Cragun; 03-09-2017 at 05:06 AM.. Reason: Add CODE and ICODE tags.
 

5 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Finger command not showing Office, Office Phone from /etc/passwd

Not sure if this is the best place to post, but at this point my question seems to be an advanced topic. I'm curious why it is that the "office phone" column of finger does not seem to report anything even when data is entered in the GECOS field of /etc/passwd. I am using Ubuntu 8.10, kernel... (1 Reply)
Discussion started by: gratuitous_arp
1 Replies

2. Windows & DOS: Issues & Discussions

Powershell Script Help

Need some help getting this script to work. can someone help. I am trying to create a script that moves log files to another location and only keeps 60 days worth. please see script I started but having issue getting to work.. $TODAY=GET-DATE GET-CHILDITEM C:\test\*.LOG | Where {... (9 Replies)
Discussion started by: freedavis
9 Replies

3. Red Hat

Problem setting up SSMTP with Office 365

Hi guys! Im trying to setup my box so it can send its emails through Office 365 SMTP. I spent 8 hours yesterday trying to configure sendmail to do this, but I gave up. Now Im trying to do it with SSMTP and I followed this guide to configure it How to install and configure sSMTP on CentOS /... (0 Replies)
Discussion started by: RedSpyder
0 Replies

4. Windows & DOS: Issues & Discussions

Help with PowerShell

I am very not knowledgeable with regards to Windows, and even more so with PowerShell, but I'm hoping someone can help me with what should be a fairly simple script. Remove all local accounts matching a given regular expression It seems like I'd need the following combined... Somehow... ... (0 Replies)
Discussion started by: Vryali
0 Replies

5. Shell Programming and Scripting

Need Help in ksh Script to list files older than 365 days from specified directories

Requirement is to list the files older than 365 days from multiple directories and delete them and log the list of files which are deleted to a log file. so 1 script should only list files older than 365 days for each directory separately to a folder The other script should read these files... (7 Replies)
Discussion started by: prasadn
7 Replies
CALENDAR(1)						      General Commands Manual						       CALENDAR(1)

NAME
calendar - reminder service SYNOPSIS
calendar [-] [-r] OPTIONS
- Work for every user and send mail to him -r Restrict multiple execution on the same day EXAMPLES
calendar # Check calendar file in current directory calendar # Normary used under the control of cron(8) calendar -r # Normary used in /etc/rc file DESCRIPTION
Basically calendar program consults the file calendar in the current directory and display lines which contain today's or tomorrow's date. Month-day formats such as '12/25', 'Dec. 25', 'december 25', '*/25', '12/*', '*/*' are recognized. The asterisk means 'all' days or 'all' months. On weekends 'tomorrow' extends through next Monday without any consideration about holidays. To prevent ambiguity, the formats '25 Dec.' and '25/12' are not recognized. When an argument - is present, calendar works for all users with a file calendar in their login directories and sends them mail. Normally this is done daily under the control of cron. The -r option does its the same job as - option, but touches the calendar to prevents further access on the same day. Normally this is done in the /etc/rc file on a machine which may be booted several times in one day. SEE ALSO
cron(8). CALENDAR(1)
All times are GMT -4. The time now is 07:27 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy