Skip to main content

Posts

Showing posts with the label Scripting

Power Shell : Check Microsoft Service Name / Display Name

One line script - a quick note for myself. To find the service display name based on service name get-service -Name "<serviceName"> To find the service name based on service display name get-service -DisplayName "<serviceDisplayName">

Enterprise Vault Outlook Plugin - Location is not valid. Choose a different installation location.

I was part of a project to upgrade Enterprise Vault system - my task was to ensure the Enterprise Vault Outlook plugin is properly deployed to Outlook clients. However, during my testing to install Enterprise Vault Outlook Plugin ver 12, I faced an issue as below : Location is not valid. Choose a different installation location.  No logs, just a warning.  Thererfore, I performed some troubleshoting, which leads to the resoluton. Issue :  Unable to install Enterprise Vault Outlook Plugin version 12 - error : Location is not valid. Choose a different installation location.  Troubleshooting  Normal EV Outlook plugin installation won’t produce any log. Therefore, for troubleshooting purpose (which then be used during automation), the installer executed with MSIEXEC command : msiexec /i "C:\temp\EVOutlookClient\Veritas Enterprise Vault Outlook Add-in (x86).msi" /qn /norestart /l* C:\temp\EV12Installation.log   Based on the log, these error (marked in ye

Error on Powershell - 0xffff0000

I am not very familiar with PowerShell, yet... really. Currently, my main scripting language is VBScript. However, I am truly believe the needs to learn PowerShell is keep increasing every single day. Server 2008 and Server 2012 are equiped with PowerShell, some advanced managements in XenDesktop 7.5 are using PowerShell, it is fun to learn PowerShell (they said), and a few other points mentioned by my colleagues ( Wow, what on earth Heiry, why your introduction is longer than an episode of Dads? ) Issues : Error encountered when a scheduled task created to run PowerShell script : The shell cannot be started. A failure occurred during initialization: Object reference not set to an instance of an object. Furthermore, this error reported on Task Scheduler. Troubleshooting   Go to Start > Run , and type regedit . Press Enter   Registry Editor launched. Browse to My Computer > HKEY_CURRENT_USER , and look for for Environment folder. It is not there.