Office 365 - Use Powershell to list computers with Office Pro Plus Installed
When logged on with my Global Admin account, I have noticed in the Office 365 tenant that I can now see information about the computers that users have installed Office Pro Plus on.  Is there a Powershell Script I can use to get this information for the users on my tenant?
July 15th, 2015 10:38am

Hi,

If we want to get the information about Office 365 products on that computer, we can use ospp.vbs script:

1)Determine whether the 32-bit or 64-bit version of Office 365 ProPlus is installed. To do this, open an Office 365 ProPlus application, such as Word, and choose File > Account > About {name of app}. 64-bit or 32-bit is displayed next to the application version.

2)Determine whether the computer has the 32-bit or 64-bit version of Windows installed. To do this, press the Windows logo key+E, then choose System properties or Computer > System properties. Under System, the System type property will indicate either a 32-bit or 64-bit operating system.

3)Open a command prompt and type one of the following commands, depending on your versions of Windows and Office:

  • If the 32-bit version of Office 365 ProPlus is installed on the 32-bit version of Windows:

    cscript.exe "%ProgramFiles%\Microsoft Office\Office15\"ospp.vbs /dstatus

  • If the 32-bit version of Office 365 ProPlus is installed on the 64-bit version of Windows:

    cscript.exe "%ProgramFiles(x86)%\Microsoft Office\Office15\"ospp.vbs /dstatus

  • If the 64-bit version of Office 365 ProPlus is installed on the 64-bit version of Windows:

    cscript.exe "%ProgramFiles%\Microsoft Office\Office15\"ospp.vbs /dstatus

4)Review the LICENSE STATUS. The following table describes what each status means.

License status Description

OOB_GRACE

Office 365 ProPlus was recently installed and is fully functional, but hasnt been activated yet. The user is prompted to enter user ID credentials to activate Office 365 ProPlus.

LICENSED

Office 365 ProPlus is fully functional and activated.

EXTENDED_GRACE

Office 365 ProPlus is fully functional but at risk of going into reduced functionality mode. This status lasts for 30 days and indicates that the product key wasn't successfully re-activated. In most cases, this means the computer hasn't connected to the Internet for some time and Office 365 hasnt had an opportunity to validate the license.

NOTIFICATIONS

Office 365 ProPlus is in reduced functionality mode, and displays messages that the user needs to reactivate.

https://technet.microsoft.com/en-us/library/gg702620.aspx?f=255&MSPPError=-2147217396

=====

If we want to know all the Office information with the AD, we can see this thread, and I copied the reply here:

PowerShell script a while back that lets you get applications installed on computers:

http://www.windowsitpro.com/article/windows-powershell/what-applications-are-installed-on-the-computers-in-your-network-

For example:

get-installedapp -computername localhost -appname "*microsoft office*2003*" -matchall

Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.

In additional, if you have further question about Powershell, I recommend you post to script forum:

https://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?category=scripting

Regards,

George Zhao
TechNet Community Support

Free Windows Admin Tool Kit Click here and download it now
July 15th, 2015 9:58pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics