Updated remote share cmdlet.