showing all posts
by lunarg on April 26th 2017, at 16:50

Although Debian 7 "Wheezy" (release info) has been superseded by newer releases, it still benefits from Long Term Support (LTS) until end of May 2018. In case of disaster recovery, it may still be useful to download Debian 7 install images (ISO). They can be found here:

Installing Debian 7.11

by lunarg on April 26th 2017, at 10:35
After updating Rapid Recovery to 6.1, you will notice the reporting Powershell scripts (such as Reports.ps1) no longer work.

When running such a script, the following error is generated:

Exception calling "LoadFrom" with "1" argument(s): "Could not load file or assembly 'file:///C:\ProgramFiles\AppRecovery\Core\CoreService\coreadmin\bin\Reporting.Implementation.dll' or one of its dependencies. The systemcannot find the file specified."

This is caused by several auxilliary script files not being updated as part of the general 6.1 release of Rapid Recovery, causing the reporting scripts (such as Reports.ps1) not to work properly.

To resolve, you can either dow  ...
by lunarg on April 14th 2017, at 17:15

By default, when logging in on a HP switch in IRF mode using the web interface, you can only retrieve hardware information of the switch holding the master role. You can retrieve information for the other switches when you log on using Telnet or SSH, then type:

display device manuinfo

This will display hardware information for all chassis and slots.

by lunarg on April 11th 2017, at 15:52
In Veeam, when backing up linux-based VMs with application-aware processing turned on, testing the credentials may fail even though they have been entered correctly.

First, check whether you are really using linux-credentials and not Windows credentials, this can often be overlooked very quickly.

Check whether you see the logon attempt in linux. Depending on the distro, it is logged in a file in /var/log. E.g. for Debian/Ubuntu, it's logged in /var/log/auth.log. Looking at the logging will reveal whether it is a password or SSH key problem, or something else is going on.

Another possibility is that the required cipher is not allowed. Veeam requires the cipher aes128-cbc to be enabled. Alt  ...
by lunarg on April 11th 2017, at 14:03

I wrote a script to list virtual disk information for a specified VM, including VMDK path, SCSI IDs and more. It is loosely based on this script but excludes all WMI info.

Download here.

by lunarg on April 10th 2017, at 11:36

You can manually trigger Azure AD Connect to perform a sync cycle. Open a Powershell on the server running Azure AD Connect, then type:

  • Perform a delta sync:
    Start-ADSyncSyncCycle -PolicyType Delta
  • Perform a full sync:
    Start-ADSyncSyncCycle -PolicyType Initial
by lunarg on April 10th 2017, at 10:41

During the installation of Azure AD Connect, the registration of the Azure AD Connect Health for Sync-agent may fail. When this happens, you can manually register the agent by running this Powershell cmdlet:

Register-AzureADConnectHealthSyncAgent -AttributeFiltering $false -StagingMode $false

You need the credentials of an O365 account with Global Admin rights.

by lunarg on April 6th 2017, at 10:35
Differentiating users that are synchronized from an on-premise AD and users created in Office 365 is easy when logged in through the Office 365 Portal. When using Powershell, it's another matter. While there's a parameter for Get-MsolUser to show only synchronized users, the ability to filter on only cloud users is missing. However, as cloud-only users do not have the ImmutableID set, you can build your own filter.

This one's obvious:

Get-MsolUser -All -Synchronized

You can filter on ImmutableID as it's not set for cloud-only users:

Get-MsolUser -All | ? ImmutableID -eq $null

If you want to filter out external users (i.e. if you shared something in Sharepoint Online with users that aren  ...
by lunarg on April 3rd 2017, at 14:44

You can download the latest version of iSCSI Initiator for Windows 2000, 2003 and XP. This will upgrade any previously installed version to the latest version:

by lunarg on April 3rd 2017, at 11:14

You can download old releases of pfSense, all the way back to 1.0.1, from here:

by lunarg on March 29th 2017, at 11:42

Duplicate Files Finder is a fast application which checks duplicate files by comparing its file sizes. Because of the method it uses, it is extremely fast but not very accurate. It is available for Windows only.

dupeGuru is more specialized application for finding duplicate files as it compares by contents as well. It is primarily available for Linux and Mac OSX but although no longer developed for Windows, you can download an older version of the program for use on Windows.

by lunarg on February 20th 2017, at 14:53
When provisioning non-Cisco phones on a Cisco-switched network, you may notice that the configured voice VLAN is not correctly provisioned to the phone. The phone ends up in the data VLAN, rather than the voice VLAN even though the switch port has been correctly configured.

There are two protocols which can be used to provision the correct VLAN to your phones: Cisco Discovery Protocol (CDP) and Link-Layer Discovery Protocol (LLDP). CDP is a proprietary protocol and is only supported on Cisco-switches and Cisco-phones. Non-Cisco devices usually use LLDP, which is an open standard supported by most other vendors. Although Cisco switches also support LLDP, it is by default not enabled, resulti  ...
by lunarg on February 16th 2017, at 10:08

It is possible to install the integration plugins for VMware on an ESX host directly from the Nimble website, provided your hosts have internet access:

  1. Place the host into maintenance mode.
  2. Connect to the host through a shell (e.g. SSH).
  3. Run the command:
    esxcli software vib install -d
    Wait for the installation to complete.
  4. Take the host out of maintenance mode and continue with the configuration.
by lunarg on February 6th 2017, at 16:30
A list with direct links to VMware vSphere clients. Saves you a lot of time when you need to (re)install many different versions.

Starting with 6.5, the vSphere client is no longer available.

VMware vSphere Client 6.0 Update 2a: VMware-viclient-all-6.0.0-4437566.exe

VMware vSphere Client 6.0 Update 2: VMware-viclient-all-6.0.0-3562874.exe

VMware vSphere Client 6.0 Update 1: VMware-viclient-all-6.0.0-3016447.exe

VMware vSphere Client 6.0: VMware-viclient-all-6.0.0-2502222.exe

VMware vSphere Client 5.5 Update 3d: VMware-viclient-all-5.5.0-3705931.exe

VMware vSphere Client 5.5 Update 3: VMware-viclient-all-5.5.0-3024345.exe

VMware vSphere Client 5.5 Update 2: VMware-viclient-all-5.5.0-1  ...
by lunarg on January 31st 2017, at 15:55
When using credentials in Powershell, you usually use Get-Credential, which essentially creates PSCredential objects. Creating such an object prompts the user to enter a username and password, which is not really usable in unattended scripts. There's a method where you can specify an unencrypted password but this is not secure. Fortunately, there's also a method where you can store the encrypted password in a file and use it to set the password.

To create a password file, run this from a Powershell window:

Read-Host -AsSecureString | ConvertFrom-SecureString | Out-File path-to-file

You will not get a real prompt: simply type the password will show * in the console. Type the password twice  ...
by lunarg on January 31st 2017, at 08:55
When installing Sonicwall NetExtender 8.0.241 or later on Windows 7, you may get the following error:

"Damaged version of net extender detected on your system. Please re download net extender"

The reason for this error is you probably are missing Windows Update KB3033929, which adds SHA256 support into Windows. Because SHA256 certificates are now the new norm, the latest Sonicwall certificates also use this hashing algorithm. Without the update, Windows 7 and Server 2008R2 do not have support for SHA256.

You can resolve the issue by installing the update, then reinstalling NetExtender:

Download and install KB3033929.

Uninstall Sonicwall NetExtender (via Control Panel).

Delete  ...
by lunarg on January 30th 2017, at 11:33
Since Mac OSX Lion (10.7), it is possible to open a Terminal from a Finder window, similar to "Open Command Prompt" in Windows. The feature is available as a service and is by default disabled, but when enabled, it allows you to click a folder and then perform "Open Terminal", which will launch a terminal window at the specified folder.

To enable the "Open Terminal" service:

From Finder, click the Finder application menu, then under the Services menu, click Services Preferences.Alternatively, open System Preferences, click Keyboard, then Shortcuts and in the left pane, click Services.

In the right pane, scroll down to Files and Folders, and look for New Termi  ...
by lunarg on January 23rd 2017, at 11:03
In a hybrid Exchange environment, you may get an error when attempting to log in to Office 365 when performing a management task involving Office 365. When clicking the "Sign in to Office 365" link, the following error is displayed:

critical error
The web page isn't loading correctly. Please reload the page by refreshing your browser.

Technical information: Unable to set the property "mkt" of a null reference or undefined

Not really a solution, but you can work around the issue by performing these steps:

In EAC, navigate to Hybrid.

Click Modify.

Click Sign in to Office 365, type in your Office 365 username and password.

Once logged in, click on the Enterprise tab and try per  ...
by lunarg on January 23rd 2017, at 10:17

If you have the Exchange Management Tools installed, you can easily import the Exchange module into a standard Powershell by running the Add-PSSnapin cmdlet.

Depending on the Exchange version, the module to add is slightly different:

Exchange 2007Microsoft.Exchange.Management.PowerShell.Admin
Exchange 2010Microsoft.Exchange.Management.PowerShell.E2010
Exchange 2013Microsoft.Exchange.Management.PowerShell.SnapIn

If you're not sure about the version, you can also use wildcard characters:

Add-PSSnapin *Exchange*

If you don't want to install the management tools, you can also use PS remoting to remotely access the management shell from a standard Powershell.

by lunarg on January 23rd 2017, at 08:57
One of the most pertinent changes to Windows 10 is how updates are being installed. Unless your computer is using WSUS or some other corporate solution, you do not have the ability to select which updates to install and which not to install. This includes drivers and feature updates (such as the Anniversary Update). While it is usually recommended to install all updates, sometimes it is not wanted, e.g. because of system instability, or simply, because you don't want a particular update (e.g. Anniversary Update). To meet customer's demand, Microsoft has released a tool to reintroduce the "hide an update" function of older Windows versions.

The tool allows you to "hide" s  ...
showing all posts
« April 2017»
« You only find out who is swimming naked when the tide goes out. »
Warren Buffett