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
CALENDARSERVER_PURGE_EVENTS(8)				    BSD System Manager's Manual 			    CALENDARSERVER_PURGE_EVENTS(8)

NAME
calendarserver_purge_events -- Darwin Calendar Server event clean-up utility SYNOPSIS
calendarserver_purge_events [--config file] [--days number] [--dry-run] [--verbose] [--help] DESCRIPTION
calendarserver_purge_events is a tool for removing old events from the calendar server. By default, events older than 365 days are removed, but the user can specify the number of days in the past to use as a cut-off. Repeating events that have any occurrences after the cut-off day are not removed. calendarserver_purge_events should be run as a user with the same priviledges as the Calendar Server itself, as it needs to read and write data that belongs to the server. OPTIONS
-h, --help Display usage information -f, --config FILE Use the Calendar Server configuration specified in the given file. Defaults to /etc/caldavd/caldavd.plist. -d, --days NUMBER Specify how many days in the past to retain. Defaults to 365 days. -n, --dry-run Calculate and display how many events would be removed, but don't actually remove them. -v, --verbose Print progress information. FILES
/etc/caldavd/caldavd.plist The Calendar Server configuration file. SEE ALSO
caldavd(8) BSD
June 17, 2009 BSD
All times are GMT -4. The time now is 01:04 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy