Powershell + office 365

 
Thread Tools Search this Thread
Special Forums Windows & DOS: Issues & Discussions Powershell + office 365
# 1  
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.
Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. 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

2. 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

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

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

5. 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
Login or Register to Ask a Question