JRowley
Members-
Posts
940 -
Joined
-
Last visited
Content Type
Forums
News
20th
EduGeek EDIT Conference
Blogs
Everything posted by JRowley
-
Not really, the idea of the script is that IE is hidden, it's only visible in that script for debugging. If you use the IE window it opens to do a manual authentication then you can't have it automatically sign you in because it will click sign in as soon as it has put the email in.
-
I don't think you'll be able to do it this way without ADFS. There's no link between your O365 account and AD so you have to enter separate credentials, you can't do this automatically I don't think. You also can't to my knowledge grab the password from AD and then feed it into the authentication for O365, the only way would be if the password was stored in plain text, which it obviously isn't.
-
Do you get an error? The script below may provide more insight, it will display IE and won't kill it once it is finished with it: $user = [Environment]::UserName $siteName = "examplesch" $emailDomain = "exampleschool.co.uk" $urlDomain = "_exampleschool_co_uk" # The Email Domain split up with '_' for dividers, the leading one is important $urlsite = "https://" + $siteName + "-my.sharepoint.com/personal/" $mapsite = "\\" + $siteName + "-my.sharepoint.com@SSL\DavWWWRoot\personal\" $emailusername = $user + "@" + $emailDomain $urlFile = $urlsite + $user + $urlDomain + "/Documents" $mapPath = $mapsite + $user + $urlDomain + "\Documents" $driveLetter = 'O:' If(!(Test-Path -Path $driveLetter)) # Checks if the drive is in use { $ie = new-object -com InternetExplorer.Application $ie.navigate("http://login.microsoftonline.com/logout.srf") do {sleep 1} until (-not ($ie.Busy)) $ie.quit() $ie = new-object -com InternetExplorer.Application $ie.navigate("https://login.microsoftonline.com/login.srf") $ie.Visible = $true do {sleep 1} until (-not ($ie.Busy)) try { $ie.document.GetElementById("_link").click() do {sleep 1} until (-not ($ie.Busy)) } catch { $null } try { $ie.document.GetElementById("cred_keep_me_signed_in_checkbox").click() $ie.document.GetElementById("cred_userid_inputtext").value = $emailusername $ie.document.GetElementById("cred_sign_in_button").click() do {sleep 1} until (-not ($ie.Busy)) } catch {$null } sleep -seconds 15 $ie.navigate($urlFile) do {sleep 1} until (-not ($ie.Busy)) sleep -seconds 5 #$ie.quit() NET USE $driveLetter $mappath /PERSISTENT:YES }
-
Oh was that posted before? I had a good look through the thread but couldn't find any reference too it, I guess I missed it sorry!
-
Ok so, having read most of the thread and going over much of my previous work I have done on this I decided to have another look. Turns out that a script already existed as far back as May last year, not that I found it the last time round. Here is the original script. It uses a concept that I hadn't considered before, which is to use powershell to launch and then control IE in the background to do the authentication. This process appears to more or less eliminates the problems that people encounter when trying to map OneDrive, though I have only tested it on my own machine (Windows 8.1). It is also possible that the connection will drop off when you restart/log off, so a possible alternative would be to have the drive be remapped every time you login, though I haven't looked at that. I take no credit for any of this really given the original script works in the same way, but I have condensed that original script into the following for simple testing, I would appreciate if you have a go @Michael: $user = [Environment]::UserName $siteName = "examplesch" $emailDomain = "exampleschool.co.uk" $urlDomain = "_exampleschool_co_uk" # The Email Domain split up with '_' for dividers, the leading one is important $urlsite = "https://" + $siteName + "-my.sharepoint.com/personal/" $mapsite = "\\" + $siteName + "-my.sharepoint.com@SSL\DavWWWRoot\personal\" $emailusername = $user + "@" + $emailDomain $urlFile = $urlsite + $user + $urlDomain + "/Documents" $mapPath = $mapsite + $user + $urlDomain + "\Documents" $driveLetter = 'O:' If(!(Test-Path -Path $driveLetter)) # Checks if the drive is in use { $ie = new-object -com InternetExplorer.Application $ie.navigate("http://login.microsoftonline.com/logout.srf") do {sleep 1} until (-not ($ie.Busy)) $ie.quit() $ie = new-object -com InternetExplorer.Application $ie.navigate("https://login.microsoftonline.com/login.srf") do {sleep 1} until (-not ($ie.Busy)) try { $ie.document.GetElementById("_link").click() do {sleep 1} until (-not ($ie.Busy)) } catch { $null } try { $ie.document.GetElementById("cred_keep_me_signed_in_checkbox").click() $ie.document.GetElementById("cred_userid_inputtext").value = $emailusername $ie.document.GetElementById("cred_sign_in_button").click() do {sleep 1} until (-not ($ie.Busy)) } catch {$null } sleep -seconds 15 $ie.navigate($urlFile) do {sleep 1} until (-not ($ie.Busy)) sleep -seconds 5 $ie.quit() NET USE $driveLetter $mappath /PERSISTENT:YES }
-
No it was about the same, the upgrade license was £20 for a time but a full license has always been around the £100 mark. He's joking, typically there is a price hike between currencies for pretty much no reason at all, software especially.
-
I would say potentially a problem could exist if the software uses methods which are then deprecated or completely removed in the following version. But this normally only happens over a long period of time, and even then you likely wouldn't do any damage, the software would just crash. My advice could be to duplicate the database/application and test it, that's the only way you will know for sure without any risk.
-
[sims] Operation not valid due to the current state of the object....?
JRowley replied to Koldov's topic in MIS Systems
Our support contract sent this email on the 14th: -
I have to wonder why they are even bothering with an education version, if they are identical in almost everything except for name then what's the point? It just seems to me that they are going to end up with an overly complicated versioning system for Windows 10, when in actual fact it could have done with simplifying to Home Edition and Business Edition.
-
As I haven't really had a play with O365 Video I could be wrong, but in other O365 products you select what you want to delete and hit the delete key on your keyboard.
-
If you are looking to virtualise your domain controllers you will want to have a physical domain controller in the (unlikely) event of both hyper-v hosts collapsing.
-
Windows 10 will become like Mac OS X, basically. This is probably a good thing, software built for Windows 10 should in theory be compatible for the rest of time if they are smart about it.
-
I love how they chose not to address the issues which plague GTA Online, I crashed 6 times yesterday, 6.
-
Originally it was from their sponsorship agreement with West, specifically to sponsor their 'West Light' brand which uses silver. Following that people believe it was for their links with Mercedes though I don't believe there was actually any agreement between Mercedes and Mclaren. Vodaphone had an agreement for red to be on the car however, so perhaps they chose to offset it against silver. It's a bit surprising that they haven't used white, while a lot of people point out that Mclaren only used white and red because of Malboro, it's worth remembering that Honda have always used White and Red for practically all of their racing endeavours. So it's not impossible to have a Red and White Mclaren.
-
Here are the high res versions - McLaren Honda F1 livery - Album on Imgur
-
Much nicer I must admit, though I'm not sure about the black being everywhere. The top of the sidepods are especially nice.
-
He has no real issue getting money, he's got almost $2m, but he did pay extra for the bonus after all, so why shouldn't he receive it?
-
The real kicker is that GTA Online is actually getting worse and worse with every patch they release, a friend of mine now experiences a zlib call error basically every time he changes session, he has reinstalled the game 3 times now and it works for about an hour before the game corrupts it's own installation. It's shocking, it really is. I'm seriously wondering how long it will take before they start offering compensation for it. OH and the same friend lost his $600k bonus for preordering when they messed up transferring his character, so he contacted Rockstar about it, apparently they couldn't give him that money back (what??) so instead they gave him a 30% discount for purchasing a shark card so that he can buy some money. I was appalled with that response, dunno about you guys.
-
Yes of course, for SMBs this will be a great addition actually.
-
It should be said that Continuum is substantially more than described, it is a feature set which adjusts the UI of apps based on the input and output devices available, so you can plug a phone into a screen and use it like a desktop. But equally you can remove a keyboard and mouse from a tablet and the UI will adjust to best fit a touch only device or add a bluetooth keyboard and mouse to a tablet and it switches to a more keyboard/mouse driven UI. These are changes like, size of and location of buttons, menu structures, that sort of thing. I watched the whole keynotes (all 3 hours of it!), it featured some very interesting additions. The most striking for me was the Visual Studio toolkit for importing code from iOS and Android apps so that they can be debugged/run on Windows 10, it will dramatically reduce development time for app developer and should help turn the tide for Windows. The other big one for me was that the Microsoft Store now supports your typical Win32 apps, it's no longer limited to 'Modern' apps. So an example they showed was Photoshop elements being available through the store. On top of that they stated that these Win32 apps shall be sandboxed in a similar fashion to the rest of the apps available from the store by utilising App-V, or atleast a technology based heavily on it. The last thing I thought was interested was a process that a web developer can go through, which is to wrap their website in a container of sorts and publish it as an app on the store, complete with notifications, live tiles, achievements, in-app purchases, presumably keyboard short cuts (such as media buttons, play/pause, skip, etc.). Thought that was quite an interesting one, so now if you are a website like SoundCloud you might not need to write a whole new app for Windows 10, you could just wrap your website and publish it, again cutting development time. So yeah some really interesting stuff.
- 1 reply
-
- 1
-
-
New to those not using SCCM I suppose, but not really new for the rest of us. I was hoping they would try and make Windows Update a bit more light weight personally.
-
Generally I like the design and features, not a huge fan of the name honestly. There is clearly still work to be done on it, currently it fails to redirect to our ADFS server while logging into O365 which is a bit surprising, so yeah still things to be done.
-
Could be anything at this point, best to see if FROG/RM come back with anything remotely useful.
-
Here is the page - thevault.jths.co.uk It seems to be a FROG powered portal, probably gives access to internal resources, pupil data that sort of thing.
-
You could try converting the file system? Converting a hard disk or partition to NTFS format - Windows Help On the other hand the MBR may be damaged, so you might not have much luck.
