howto

Tech Short: Change Password VMware vCenter 6

The day would come where I would need to change my password in vCenter… Today was that day; Thankfully vCenter places am informative notice of your expiring password.

Here is how you can change your password using vCenter 6:

Log into vCenter 6

  1. Click Home.
  2. Click Administration.
  3. Click Single Sign-On > Users and Groups.
  4. Click the Users tab.
  5. Right-click the affected user account, selecting edit user
  6. Enter in the current password, followed by your new (it could be the same, I don’t ever recommend this practice)
  7. Click OK to save changes.

 

I hope you enjoyed this techshort, thanks for visiting – jermal

Renaming SharePoint 2013 Server

I spent sometime today renaming SharePoint 2013 Servers for a project I was pulled in on. It involved using PowerShell cmdlets and other administrative tasks.

The project required me to “Clone” SharePoint farm servers to make template environments for demonstration and development task.

I originally followed steps provided here: Renaming SharePoint then later streamlined the process so its something I found useful. Here are my notes saved in PowerShell format so it could be run step by step using PowerShell ISE:

 

# 2015-04-29 - Jermal Smith (jermsmit@gmail.com)
#
#
# Renaming Sharepoint Server
#
# --- DO NOT RUN THIS AS A SCRIPT
# Exiting Script if run
Exit
#
#
# Please log into the server as the Farm Admin Account
# Steps provided are for SharePoint 2013
#
# Adds SharePoint powershell snap-ins to current session
Add-PSSnapin Microsoft.Sharepoint.Powershell
#
# Removes SharePoint Distributed Cache Service
Remove-SPDistributedCacheServiceInstance
#
# Displays current SharePoint Identities
Get-SPServer
#
# Rename SharePoint Server Identity [old_name to new_name]
Rename-SPServer -Identity "original" -Name "new"
#
# Error will show: 
# Object reference not set to an instance of an object.
# Ignore this
#
# ---------------------------------------------------
# --- REMOVE SERVER FROM NETWORK
# --- REMOVE SERVER FROM DOMAIN
# --- REBOOT SERVER
# --- LOGIN WITH LOCAL ADMIN USER
# --- RENAME SERVER
# --- REBOOT SERVER
# --- LOGIN WITH LOCAL ADMIN USER
# --- ADD SERVER TO NETWORK
# --- JOIN SERVER TO DOMAIN
# --- REBOOT SERVER
# --- LOGIN WITH DOMAIN ADMIN USER
# ---------------------------------------------------
#
#
#
# Adds SharePoint powershell snap-ins to current session
Add-PSSnapin Microsoft.Sharepoint.Powershell
#
#
#
# Change Alternate Access Mapping for Central Admin Site
# Use Get-SPAlternateURL to List Alternate Access Mapping URLS
#
New-SPAlternateURL -WebApplication http://original:8000 -Url http://new:8000 -Zone Default
#
# --------------------------------------------------------------------------------
# Run this command for each mapping you want to change or via Centeral Admin Later
# --------------------------------------------------------------------------------
#
# --------------------------------------------------------------------------------
# Change Directory to the following: *use the standard command prompt as admin
# C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\BIN
#
# Run the following command:
# psconfig.exe -cmd upgrade -inplace b2b -wait -force
# 
# This command will wake a short while to complete
# --------------------------------------------------------------------------------
# 
# Enable SharePoint Distributed Cache Service
#Add-SPDistributedCacheServiceInstance
# If run the following error is given:
# Failed to connect to hosts in the cluster
#
#
#
# Apply Rules and Restart SharePoint Timer Jobs
Get-SPTimerJob | where {$_.Title -like "Health Analysis Job*"} | Start-SPTimerJob
#
# Now enter Central Administration and correct the access mappings
#
# --- DONE ----
#

Best,

Jermal

Option to mount .iso in Windows 8 missing

Friday, April 10, 2015

By now we are aware that Windows 8 has the ability to mount .ISO files. But what happens when one day you go to click on that .ISO file and the mount option is missing.

This is what happened to me.  To fix this little problem the following steps were followed:

  1. Right click the .ISO file, and select properties in the menu
  2. Under the General Tab, select Change to change the file association
  3. You will be prompted to choose what program should open the file type. Choose Windows Explorer

One you have selected Windows Explorer, the mount option is available again.

 

Tech Short: List all shared mailboxes, Exchange 2013

Quick an simple power shell line to list all shared mailboxes in your Exchange 2013 environment.

Get-Mailbox -ResultSize Unlimited -RecipientTypeDetails SharedMailbox

 

What’s a Shared Mailbox

A shared mailbox is a mailbox that multiple users can use to read and send email messages. Shared mailboxes can also be used to provide a common calendar, allowing multiple users to schedule and view vacation time or work shifts. ref: http://technet.microsoft.com/en-us/library/jj150498%28v=exchg.150%29.aspx

HowTo Install VMware Tools On Windows Server 2102 R2 Server Core

After installing Windows Server 2012 R2 Server Core as a guest in my VMware Lab I wanted install the VMware software tools that enhances the performance of the guest operating system and improves management of the virtual machine.

To do this I logged into the console via the vCenter Client were I could access the server core console

From the vCenter Console to the following:

  • Go to VM->Guest->Install/Upgrade VMware Tools
  • Change to the D: drive at the command prompt
  • Enter the following command: setup64.exe /S /v “/qn REBOOT=Y”

Here is some additional switches you can attempt

 

Usage:
   /? :  Show this dialog.
   /a :  Perform an administrative install.
   /a <full path to existing administrative install> :  Patch an existing administrative install.
   /s :  Hide initialization dialog. For silent mode use /s /v/qn.
   /v :  Parameters to pass to installer
   /c :  Clean out installation registration information
   /l :  Perform a detailed logging.
   /l <fullpath to log file> :  Perform a detailed logging.