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
Widgets::Calendar(3pm)					User Contributed Perl Documentation				    Widgets::Calendar(3pm)

NAME
Curses::Widgets::Calendar - Calendar Widgets MODULE VERSION
$Id: Calendar.pm,v 1.103 2002/11/03 23:33:05 corliss Exp corliss $ SYNOPSIS
use Curses::Widgets::Calendar; $cal = Curses::Widgets::Calendar->({ CAPTION => 'Appointments', CAPTIONCOL => 'yellow', INPUTFUNC => &scankey, FOREGROUND => undef, BACKGROUND => 'black', BORDER => 1, BORDERCOL => 'red', FOCUSSWITCH => " ", X => 1, Y => 1, HIGHLIGHT => [12, 17, 25], HIGHLIGHTCOL=> 'green', MONTH => '11/2001', ONYEAR => &yearly, ONMONTH => &monthly, ONDAY => &daily, }); $cal->draw($mwh, 1); See the Curses::Widgets pod for other methods. REQUIREMENTS
Curses Curses::Widgets DESCRIPTION
Curses::Widgets::Calendar provides simplified OO access to Curses-based calendars. Each object maintains it's own state information. METHODS
new (inherited from Curses::Widgets) $cal = Curses::Widgets::Calendar->({ CAPTION => 'Appointments', CAPTIONCOL => 'yellow', INPUTFUNC => &scankey, FOREGROUND => undef, BACKGROUND => 'black', BORDER => 1, BORDERCOL => 'red', FOCUSSWITCH => " ", X => 1, Y => 1, HIGHLIGHT => [12, 17, 25], HIGHLIGHTCOL=> 'green', MONTH => '11/2001', ONYEAR => &yearly, ONMONTH => &monthly, ONDAY => &daily, }); The new method instantiates a new Calendar object. The only mandatory key/value pairs in the configuration hash are X and Y. All others have the following defaults: Key Default Description ============================================================ CAPTION undef Caption superimposed on border CAPTIONCOL undef Foreground colour for caption text INPUTFUNC &scankey Function to use to scan for keystrokes FOREGROUND undef Default foreground colour BACKGROUND undef Default background colour BORDER 1 Display a border around the field BORDERCOL undef Foreground colour for border FOCUSSWITCH " " Characters which signify end of input HIGHLIGHT [] Days to highlight HIGHLIGHTCOL undef Default highlighted data colour HEADERCOL undef Default calendar header colour MONTH (current) Month to display VALUE 1 Day of the month where the cursor is ONYEAR undef Callback function triggered by year ONMONTH undef Callback function triggered by month ONDAY undef Callback function triggered by day Each of the ON* callback functions expect a subroutine reference that excepts one argument: a handle to the calendar object itself. If more than one trigger is called, it will be called in the order of day, month, and then year. draw $cal->draw($mwh, 1); The draw method renders the calendar in its current state. This requires a valid handle to a curses window in which it will render itself. The optional second argument, if true, will cause the calendar's selected day to be rendered in standout mode (inverse video). HISTORY
1999/12/29 -- Original calendar widget in functional model 2001/07/05 -- First incarnation in OO architecture AUTHOR
/COPYRIGHT (c) 2001 Arthur Corliss (corliss@digitalmages.com) perl v5.8.8 2006-09-14 Widgets::Calendar(3pm)
All times are GMT -4. The time now is 02:53 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy