-
This script will give you a nice object with ComputerName, ProductName (tested on Office and Visio), and ProductKey. Works against the local and a remote computer. You can pass an array of computer names. function Get-MSOfficeProductKey { param ( [ string []] $computerName = "." ) $product...