corsasport.co.uk
 

Corsa Sport » Message Board » Off Day » Morning


New Topic

New Poll
  <<  1    2  >> Subscribe | Add to Favourites

You are not logged in and may not post or reply to messages. Please log in or create a new account or mail us about fixing an existing one - register@corsasport.co.uk

There are also many more features available when you are logged in such as private messages, buddy list, location services, post search and more.


Author Morning
pow
Premium Member

Avatar

Registered: 11th Sep 06
Location: Hazlemere, Buckinghamshire
User status: Offline
15th Jun 15 at 07:56   View Garage View User's Profile U2U Member Reply With Quote



Why the f**k not eh? Like old times.

Got some hideous powershell to write today that is going to export our SIMS calendar to a public Office365 calendar and then update an .ics link on our website.

What's everyone else up to?
IvIarkgraham
Premium Member

Avatar

Registered: 27th Mar 04
Location: Ellesmere Port, Cheshire
User status: Offline
15th Jun 15 at 07:59   View Garage View User's Profile U2U Member Reply With Quote



just been to the gym now going back to bed
pow
Premium Member

Avatar

Registered: 11th Sep 06
Location: Hazlemere, Buckinghamshire
User status: Offline
15th Jun 15 at 08:07   View Garage View User's Profile U2U Member Reply With Quote

I wanna go back to bed, saw every hour last night
johnny86
Premium Member

Avatar

Registered: 15th Feb 10
Location: in a bus stop.
User status: Offline
15th Jun 15 at 08:12   View Garage View User's Profile U2U Member Reply With Quote

just woke up.

There hasn't been a morning thread in ages.

Plan for today is badger beardy to get my car back. Haha
Steve
Premium Member

Avatar

Registered: 30th Mar 02
Location: Worcestershire Drives: Defender
User status: Offline
15th Jun 15 at 08:15   View Garage View User's Profile U2U Member Reply With Quote

Wouldnt mind that script when youre finished
pow
Premium Member

Avatar

Registered: 11th Sep 06
Location: Hazlemere, Buckinghamshire
User status: Offline
15th Jun 15 at 08:23   View Garage View User's Profile U2U Member Reply With Quote

Lol gotta work out the the best way to do it yet!
Mike
Organiser: North West and North Wales
Premium Member


Avatar

Registered: 20th May 06
Location: nr. Skipton, North Yorkshire
User status: Offline
15th Jun 15 at 09:44   View Garage View User's Profile U2U Member Reply With Quote

Morning

Been a while since I've seen one of these.
Marc
Member

Registered: 11th Aug 02
Location: York
User status: Offline
15th Jun 15 at 10:10   View User's Profile U2U Member Reply With Quote



Eugh. Spent all day in bed yesterday after being out drinking rum all night. Not big, and not clever.
johnny86
Premium Member

Avatar

Registered: 15th Feb 10
Location: in a bus stop.
User status: Offline
15th Jun 15 at 10:23   View Garage View User's Profile U2U Member Reply With Quote

quote:
Originally posted by Marc


Eugh. Spent all day in bed yesterday after being out drinking rum all night. Not big, and not clever.


I had a night on the piss the other Weekend. Only stuck to vodka like I have for years and I experienced my 1st 2 day hangover. Needless to say drinking is getting calmed well down.
Gary
Premium Member

Avatar

Registered: 22nd Nov 06
Location: West Yorkshire
User status: Offline
15th Jun 15 at 10:42   View Garage View User's Profile U2U Member Reply With Quote

Stayed in the pub too long yesterday. Feeling it today. Not good.
DaveyLC
Member

Registered: 8th Oct 08
Location: Berkshire
User status: Offline
15th Jun 15 at 10:48   View User's Profile U2U Member Reply With Quote

quote:
Originally posted by pow
I wanna go back to bed, saw every hour last night


The Cat-Aids medication will do that to you
Ian W
Member

Registered: 8th Nov 03
Location: Wirral, Merseyside
User status: Offline
15th Jun 15 at 10:52   View User's Profile U2U Member Reply With Quote

quote:
Originally posted by johnny86
quote:
Originally posted by Marc


Eugh. Spent all day in bed yesterday after being out drinking rum all night. Not big, and not clever.


I had a night on the piss the other Weekend. Only stuck to vodka like I have for years and I experienced my 1st 2 day hangover. Needless to say drinking is getting calmed well down.


Had my first 2 day hangover after drinking a few bottles of wine a few months ago, fuck me I wanted my head chopping off it hurt so bad
pow
Premium Member

Avatar

Registered: 11th Sep 06
Location: Hazlemere, Buckinghamshire
User status: Offline
15th Jun 15 at 11:04   View Garage View User's Profile U2U Member Reply With Quote

Beginning to get there, love a bit of powershell. Why is it you always end up stumbling on a bloody date/time format or some rubbish like that.
Leighton
Member

Avatar

Registered: 21st Feb 01
Location: Liverpool
User status: Offline
15th Jun 15 at 12:46   View Garage View User's Profile U2U Member Reply With Quote

Erm Pow! the morning thread needed to be started at 8: 00 exactly i think you will find

[Edited on 15-06-2015 by Leighton]
DaveyLC
Member

Registered: 8th Oct 08
Location: Berkshire
User status: Offline
15th Jun 15 at 13:55   View User's Profile U2U Member Reply With Quote

quote:
Originally posted by pow
Beginning to get there, love a bit of powershell. Why is it you always end up stumbling on a bloody date/time format or some rubbish like that.


Try and stick to using ISO formats
pow
Premium Member

Avatar

Registered: 11th Sep 06
Location: Hazlemere, Buckinghamshire
User status: Offline
15th Jun 15 at 13:57   View Garage View User's Profile U2U Member Reply With Quote

Once again I'm hampered by the output from the MIS system, which is:

Date,Time
19/06/2015,090
DaveyLC
Member

Registered: 8th Oct 08
Location: Berkshire
User status: Offline
15th Jun 15 at 14:01   View User's Profile U2U Member Reply With Quote

No string altering functions in PS?
DaveyLC
Member

Registered: 8th Oct 08
Location: Berkshire
User status: Offline
15th Jun 15 at 14:02   View User's Profile U2U Member Reply With Quote

Any good? https://technet.microsoft.com/en-us/library/ee692801.aspx
pow
Premium Member

Avatar

Registered: 11th Sep 06
Location: Hazlemere, Buckinghamshire
User status: Offline
15th Jun 15 at 14:07   View Garage View User's Profile U2U Member Reply With Quote

It would be grand if I want using the current date. But I'm importing from a CSV
DaveyLC
Member

Registered: 8th Oct 08
Location: Berkshire
User status: Offline
15th Jun 15 at 14:09   View User's Profile U2U Member Reply With Quote

There's got to be something you can do with it
pow
Premium Member

Avatar

Registered: 11th Sep 06
Location: Hazlemere, Buckinghamshire
User status: Offline
15th Jun 15 at 14:20   View Garage View User's Profile U2U Member Reply With Quote

It's really weird, it just won't do anything with the variable while going through the CSV file!

[Edited on 15-06-2015 by pow]
pow
Premium Member

Avatar

Registered: 11th Sep 06
Location: Hazlemere, Buckinghamshire
User status: Offline
15th Jun 15 at 15:14   View Garage View User's Profile U2U Member Reply With Quote

Nailed it. Fully automated using Exchange EWS and SIMS command line tool @
pow
Premium Member

Avatar

Registered: 11th Sep 06
Location: Hazlemere, Buckinghamshire
User status: Offline
16th Jun 15 at 08:08   View Garage View User's Profile U2U Member Reply With Quote

And now it's a scheduled task on a server running at 2:30 every morning. Published an HTML page on our website (Static link) and also an iCAL file so it can go on anything!
DaveyLC
Member

Registered: 8th Oct 08
Location: Berkshire
User status: Offline
16th Jun 15 at 08:16   View User's Profile U2U Member Reply With Quote

You'd have been better off writing some PHP that reads the CSV file
spencer88
Member

Registered: 6th Oct 08
Location: cornwall
User status: Offline
16th Jun 15 at 08:21   View User's Profile U2U Member Reply With Quote

Off to the Guinness factory, then around Dublin.

  <<  1    2  >>
New Topic

New Poll

Corsa Sport » Message Board » Off Day » Morning 22 database queries in 0.0131619 seconds