PowerShell for Office 365 is here – here's how to use it

After announcing its intention to release new scripts and commands to better integrate PowerShell with Office 365,Microsoft has followed through.The newly ordained PowerShell for Office 365 features the same command-line interface found in PowerShell 5.0 – and that's because it is the same program.According to The Register, Microsoft has created "ascript libraryto help you do things like add users, control licenses, and stop people from recording Skype meetings."Before you start using it, however, you have to "import the modules corresponding to all the bits of Office 365 you want to administer, including the Microsoft Online Services Sign-in Assistant and the Azure Active Directory Module to handle the important matters of security and authentication."The widespread use of PowerShell and its necessity for sysadmins and network admins...
This topic first appeared in the Spiceworks Community

Hi, almightywiz,
Sorry for the delayed response. I was away from office for one day and did not have access to the files.
And you are right, column 11 is text and column 26 is date (i.e., numeric). And indeed, those visually blank cell in column 11 are not null but have zero length. Java can tell the difference but not by visually inspecting the cells in the spreadsheet.
I also checked the POI API documents, and found that org.apache.poi.ss.usermodel.Cell interface, which has those cell types, is implemented by both HSSFCell and XSSFCell. The question is under what condition the cell type of a cell becomes Cell.CELL_TYPE_BLANK.
While that is not yet clear, I will catch cells missing data in column 11 by checking three things: first check if(cell == null), then if(cell.getCellType() != Cell.CELL_TYPE_STRING), and then if(cell.getStringCellValue().length() == 0). And that solves my problem.
Thank you so much for sharing your experience and solving my problem.
I have another problem that may more serious, at Can I process Excel BIFF5 files, or simply abandon Apache POI? It would be very much appreciated if you had time to look at it.
Best regards,
Newman

Similar Messages

  • Custom Site MailBox for Office 365 SharePoint 2013 online

    Is it possible to create programmatically create site mailbox for Office 365 SharePoint 2013 online?
    How to customize site mailbox email address like [email protected]

    Hi,
    In SharePoint 2013 Online, if you want to sync document library with local drive, you can use OneDrive to achieve it.
    http://office.microsoft.com/en-001/support/sync-onedrive-for-business-or-sharepoint-site-libraries-to-your-computer-HA102832401.aspx
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Announcing new activity logging and reporting capabilities for Office 365

    Announcing new activity logging and reporting capabilities for Office 365We are pleased to announce the rollout of new activity logging and reporting capabilities for Office 365, including the Office 365 activity report, comprehensive logging capability, PowerShell command or cmdlet and a preview of the Office 365 Management Activity API.Thisnew capability provides you increased transparency, allowing you to monitor and investigate actions taken on your data, and comply with laws and regulations.Office 365 activity reportThe Office 365 activity report enables you to investigate a user’s activity by searching for a user, file or other resource across SharePoint Online, One Drive for Business, Exchange Online and Azure Active Directory, and then download the activities to a CSV (comma separate values) file. You can filter by date range,...
    This topic first appeared in the Spiceworks Community

    Hi,
    Do you have any specific questions? We'll certainly try to help you, but we won't do your homework for you. That wouldn't help you learn at all.
    I recommend looking over the learning materials here, they're quite good for getting started with PowerShell:
    http://technet.microsoft.com/en-us/scriptcenter/dd793612.aspx
    Don't retire TechNet! -
    (Don't give up yet - 13,085+ strong and growing)

  • "project pro for office 365

    I was eagerly looking for a project management software and fortunately came across your office project pro 365 product
    While looking up on the website office, I had some questions rising concerning
    the “project pro for office 365” – 25 dollars/per user/ per month option
    It is mentioned that it can be installed on up to 5 pcs.
    Here are some questions I would like you to answer to help my purchase. (FYI I am planning to share this software with a team of 5 people)
    Does that mean that if I pay 25 dollars, me and my other 4 team mates will have equal access and manipulation of the software(insert/edit)?
    Or is it only one person getting some sort of ID and password that give access to Cloud and other 4 people just having the right to view the files(such as Gantt chart etc.)
    I was informed that if I go with this option I will have to take
    “project online” to have a cloud subscription(extra 33dollars). Is that correct?
    If a get an ID and Password, will it be on a single designated PC or doesn’t it matter far as it is among the 5 pcs where the software is installed?
    Do you have any other options to recommend considering we are a group of 5 people and want at least 2 people to have the right to have access to the software and be able to write or edit while the other 3 members can view the
    shared files of charts?
    Thank you for your answer in advance!

    However, to answer the questions...
    1. That is upto 5 PCs for a single user, not spread across multiple users.
    2. One user gets one ID.  
    3. No, Project Online is a separate product.  
    4. It doesn't matter.  You can log into one of 5 PCs and install Project Pro for 0365.  If you no longer have access to a PC, you can "de-activate" it using the web, and then install on another.
    5.  Buy 5 licences.
    Ben Howard [MVP] | web |
    blog |
    book | P2O

  • How to Enable Ratings on SharePoint List using Client Object Model for Office 365 SharePoint Site.

    How to Enable Ratings on SharePoint List using Client Object Model code for Office 365 SharePoint Site.
    Thanks in Advance
    Rajendra K

    Hi Rajendra,
    here you are the code and the blog, let me know if this helps
    using (ClientContext ctx = new ClientContext(https://yourSiteUrl))
    Web w = ctx.Web;
    List l = w.Lists.GetByTitle("yourListName");
    ctx.Load(l, info => info.Id);
    ctx.ExecuteQuery();
    string ListID = l.Id.ToString();
    Microsoft.Office.Server.ReputationModel.Reputation.SetRating(ctx, ListID, 1, 5);
    ctx.ExecuteQuery();
    http://blogs.technet.com/b/speschka/archive/2013/07/08/how-to-use-csom-with-ratings-in-sharepoint-2013.aspx
    Kind Regards, John Naguib Technical Consultant/Architect MCITP, MCPD, MCTS, MCT, TOGAF 9 Foundation

  • Looking for SharePoint Project Management Solution for Office 365 - Risk,Issues,budget

    Hi All,
         I'm looking for a Project Management solution plugin like PM Central below for office 365 cloud
    http://store.bamboosolutions.com/BambooMainWeb/pmc-tryit.aspx
    Looking to get more resources and links
    Thanks in advance

    Hi  Patrick,
    There are many project management apps for SharePoint Online. Such as  Project Management, EPM Pulse for Project Online  and so on.
    Here is the office store URL , you can choose an appropriate app  and add it into your SharePoint Online:
    http://office.microsoft.com/en-us/store/results.aspx?qu=project&avg=osu150&vtags=Project%20Management
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Bill for Office 365

    I am being billed for Office 365 Developer but it is supposed to be included in my MSDN subscription. I would like to have the charge removed and ensure that the Office 365 account is properly linked to my MSDN.
    I contacted customer support via chat and they directed me to the MSDN phone support who then transferred me to Office 365 billing where another MSDN support person was asked to join the call. This last person told me that they couldn't help me on the phone
    and that I needed to post my question here in this forum.
    I was given Case ID 9001186450

    Hello,
    The current forum is for developers. I'd suggest asking non-programming questions on the
    Office 2013 and Office 365 ProPlus - IT Pro General Discussions  forum instead.

  • 60 World minutes for Office 365 - Add KSA

    Hello there,
    I'm requestiing a country to be added to the 60 World minutes for Office 365. Right now I didn't get the benefit of this offer since I'm only calling to Saudi Arabia which is a big country that should be supported. 
    I want to know if you guys planning on adding more countries to the plan especially Saudi Arabia. 
    Thanks,
    Khalid 

    By George,l think I've GOT IT!.  Here's a link to the instructions for linking your Microsoft account to your skype account https://support.skype.com/en/faq/FA12230/how-do-i-​link-my-microsoft-office-365-account-with-my-skype​...
    Sign in to your microsoft account. 
    Hit the activate button on the skype minutes.
    Be sure to scroll all the way down to claim them.
    Wait about 10 minutes and they should be showing in a sidebar when you sign into skype. Try making a call to a landline or mobile.
    If they aren't being applied, it may be because you are calling outside the 60 eligible countries or regions.
    I DID this and actually used one of my minutes! Yippee!
    I'm no whiz so you should be able to do it too.
    The problem with these giant companies that have us all by the short and curlies is that what they mean by support is "figure it out yourselves"... it's an exercise in self-reliance.

  • World minutes for Office 365 60 mins 1 month (Orde...

    I saw my monthly World minutes for Office 365 order has been delivered on Mar 23, 2015, but my usage minute did not get reset to 60 min! Please help to investigate why.
    Thanks,
    Simon

    By George,l think I've GOT IT!.  Here's a link to the instructions for linking your Microsoft account to your skype account https://support.skype.com/en/faq/FA12230/how-do-i-​link-my-microsoft-office-365-account-with-my-skype​...
    Sign in to your microsoft account. 
    Hit the activate button on the skype minutes.
    Be sure to scroll all the way down to claim them.
    Wait about 10 minutes and they should be showing in a sidebar when you sign into skype. Try making a call to a landline or mobile.
    If they aren't being applied, it may be because you are calling outside the 60 eligible countries or regions.
    I DID this and actually used one of my minutes! Yippee!
    I'm no whiz so you should be able to do it too.
    The problem with these giant companies that have us all by the short and curlies is that what they mean by support is "figure it out yourselves"... it's an exercise in self-reliance.

  • CodeTwo Backup for Office 365 - local backup and recovery of mailboxes

    Yesterday wasn't a great day for Office 365: http://community.spiceworks.com/topic/1069483-today-was-not-a-good-day-to-migrate-our-senior-managem...Luckily, downtime is a rare occurrence in the Office 365 world. But as an Office 365 admin you have other forces working against you – mailbox size limits, reckless users, scarce licenses, regulations requiring local storage of documents… Am I forgetting something?That’s why CodeTwo developed an offline backup tool for Office 365 mailboxes. CodeTwo Backup for Office 365 lets you download your users’ data to a local drive, preview backed up items in full detail and restore mailboxes, folders and single items – current or previous versions.Here’s a video overview of the application:
    https://www.youtube.com/watch?v=uD1CEwmJKXEYou can trial CodeTwo Backup for Office 365 for 30 days free of...
    This topic first appeared in the Spiceworks Community

    I don't suspect a problem with your approach, but if you don't mind overkill, this would be very safe::
    uninstall dirsync, delete the db
    extend the schema
    reinstall dirsync (get the newest version) and let it
    soft-match everyone.
    Your specific questions (I have not tested the below, but assume it to be true):
    >>AD schema extension will not break our Office 365 production
    environment
    I don't believe the dirsync installer makes any decisions based on the AD schema definition.  I'd think you will need to do a FULL SYNC (reg
    key) once you're done. with the extension, but this doesn't break users.
    >>new attributes will sync to the office 365 environment with a null value (by default) 
    I don't think this will happen.  The absence of the attributes today would be similar to "null".
    Mike Crowley | MVP
    My Blog --
    Planet Technologies

  • Not received promotional code when registered for "Microsoft Power BI for Office 365 preview!"

    Hi,
    I have registered for "Microsoft Power BI for Office 365 preview!" and received the welcome mail from Microsoft Office 365 <[email protected]>
    But their is nowhere mention of any promotional code
    Further as per the steps given in the welcome mail I created the unique tenant for Power BI and now provisioning Power BI for office 365. Here as per the snapshot provided in the provisioning document I am not able to see the specific license 
    i.e "Microsoft Power BI for Office 365" which I have to assign to my tenant. Instead I see the License "Microsoft Office 365 Plan E3". Is this acceptible?
    Further i have assigned this license (Microsoft Office 365 Plan E3) and added Power Bi app to the Site Contents
    Now when I try to open Power Bi app to open the reports I have uploaded to office 365, I get the following error
    *********Error************** 
    No Power BI for Office 365 License
     Looks like you do not have a user subscription license for Power BI for Office 365.
     Want to find out what you're missing?
     Learn more about Power BI for Office 365.
     Here are a few ideas:
     Please ask your Office 365 admin to assign you a user subscription license for Power BI for Office 365.
     If you have a different account, try signing in with that account.
    It will be great help if anyone can help me resolve this issue?
    Thanks in Advance!
    Rajendra 
    InfoCepts (Specialists in Onsite and Offshore BI)

    Hi Yair / Rajendra,
    I am Raghav. I am also trying to explore Power BI. I have registered for Office 365 pro plus trail. But I am not able to see Power BI option.
    My userID is : [email protected]
    After I registered, I got a welcome email with a url to login from office 365. Url is - https://portal.microsoftonline.com/admin/default.aspx.
    I am able to login successfully. But I am not able to see the Power BI option anywhere after I login.
    Please suggest me If I miss something. Your help is really appreciated.
    Thanks,
    Raghav.

  • Help for Office 365 Setup

    Dear Sir.
     We have not able to download office365 setup after sign in with Office 365 administrator account, please help us about installation office 365.

    Hi Creaturebot,
    Here is the instruction on how you can setup the Office 365 on your phone.
    To configure an Office 365 account:
    1. First select the Office Hub and swipe over to Locations.
    2. Tap Office 365 and select Setup.
    3. Choose a new Outlook account.
    4. Fill in the account credentials (Office 365 email address and password).
    5. Once your email set up is complete, press Finish. Then the SharePoint site is automatically added to the locations panel.
    6. Tap Team site, fill in a separate authentication to access your company SharePoint.

  • How to delete duplicate attribute in on premise server for office 365 dir sync tool

    Hi,
    Please anyone help to how to remove duplicate attribute in on premise server for office 365 dir sync tool .
    While running the dirsync tool iam getting the below error : 
    "Unable to update this object because the following attributes associated with this object have values that may already be associated with another object in your local directory services: [ProxyAddresses smtp:[email protected],SMTP:[email protected];].
     Correct or remove the duplicate values in your local directory.  Please refer to http://support.microsoft.com/kb/2647098 for more information on identifying objects with duplicate attribute value"
    Still i am troubleshooting to reslove this problem . I have run the ID Fix tool there i could see some 10 duplicate errors . Next what should i do , please anyone help me to find it
    Thanks.....

    Hi,
    Please anyone help to how to remove duplicate attribute in on premise server for office 365 dir sync tool .
    While running the dirsync tool iam getting the below error : 
    "Unable to update this object because the following attributes associated with this object have values that may already be associated with another object in your local directory services: [ProxyAddresses smtp:[email protected],SMTP:[email protected];].
     Correct or remove the duplicate values in your local directory.  Please refer to http://support.microsoft.com/kb/2647098 for more information on identifying objects with duplicate attribute value"
    Still i am troubleshooting to reslove this problem . I have run the ID Fix tool there i could see some 10 duplicate errors . Next what should i do , please anyone help me to find it
    Thanks.....

  • Where are stored the data settings of Project Pro for Office 365?

    Hi,
    I'm using Project Pro for Office 365 connected to Project Online. Where are stored the settings we saved in
    File / Options (Project Pro). I'm thinking of roaming users.
    Thanks

    I believe it is stored in the registry setting:
    HKey_Current_User\Software\Microsoft\Office\15.0\MS Project\Options
    Julie

  • Project Online with Project Pro for Office 365

    Hi,
    I have several licences for Project Online with Project Pro for Office 365.
    Project Web App is working fine, as well as Excel Web App, Word Web App...
    I just miss  Project Pro for Office 365. I don't know were to find it, how to activate it :-(
    Thanks for your help !

    Please find the link for activation
    http://technet.microsoft.com/en-us/library/gg982959.aspx
    for trouble shooting 
    http://support.microsoft.com/kb/2745026
    http://social.technet.microsoft.com/Forums/projectserver/en-US/bbd848ab-b383-46b7-b968-91d233d252eb/how-to-install-project-online-and-project-pro-for-office-365?forum=projectprofessional2010general
    kirtesh

Maybe you are looking for