Labels

3300 (1) 3PAR (1) Active Directory (1) ADFS (1) Admin Share (1) Auto-Sync (2) Auto-Sync locked (1) AWS (3) AzCopy (1) Azure (3) Backups (2) Broadcom (1) Call Forwarding (1) CLI (2) cmd (1) Compatibility View (1) Dameware MRC (1) Databases (1) DFS (1) DNS (1) Domain Admin (1) domain controller (1) Enterprise Mode (1) ESXi 5.0 (1) ESXi 5.1 (5) ESXi 5.5 (3) Exchange (3) Exchange 2010 (5) Extreme (1) ExtremeXOS (1) Federation (1) File Share (1) FSMO (1) GPO (1) Group Policy (1) Group Policy Client (1) Hardware Acceleration (1) Helpdesk (1) HP-UX (1) Hyper-V (2) IAM (1) IE10 (1) IE11 (1) IP conflict (1) Kayako (3) LDAP (1) Licence (1) Links (9) local groups (1) LUN lock (1) LUN number (1) MAC address (1) Microsoft Teams (1) Mitel (1) Namespaces (1) Networking (6) Nexenta (6) NMC (1) Office 365 (4) OneDrive (1) Outlook 2003 (1) Outlook 2013 (1) PC (1) Physical (1) PowerCLI (10) Powershell (10) promoted links (2) Public Folders (1) RDP (1) RDS (1) Recovery Services (1) RedShift (1) Registry (3) Reports (1) Resolve (2) Restart (1) RSA (1) Run As (1) SAML (1) SAN (1) Scavenging (1) script (10) Server 2003 (3) Server 2008 R2 (1) Server 2012 R2 (2) Servers (2) sharepoint 2013 (3) SMTP (3) Snapshot (2) SRM (1) SSH (5) SSL Certificate (2) Temporary profile (1) Terminal Server (3) Troubleshooting (5) Ubuntu (1) Update Manager (1) Useful Apps (1) VAAI (1) vCenter Server Appliance (1) VDI (1) VDP (1) Veeam Backup and Replication (2) VM (1) VM Error (1) vmdk (1) VMFS (1) vMotion (2) VMware (20) VoiP (1) vSphere 5.5 (4) vSphere 6.0 (2) vSphere 6.5 (1) vUM (1) webpart (1) Windows (3) Windows 10 (1) Windows 7 (2)

Wednesday, 18 May 2016

3PAR: Check Licensed Features

In order to check which features you are licenced for on your 3PAR, open a connection to the CLI and run the command;
showlicense
You should see a response similar to;
License key was generated on date
License features currently enabled:
Dynamic Optimization
InForm Suite
System Reporter
Thin Conversion
Thin Copy Reclamation
Thin Persistence
Thin Provisioning (44032G)
Virtual Copy

Tuesday, 26 April 2016

Get PowerShell Version

To find out which version of PowerShell you are using, run the following in PowerShell;

$PSVersionTable.PSVersion

You will get an output similar to;

Major  Minor  Build     Revision
-----     -----     -----       --------

5         0         10586   117

Friday, 22 April 2016

Formula to Calculate LUN Number in HP-UX

***** This formula only works if the LUN number isn't too high (ie over 100ish) *****

The disk in HP-UX has the identifier /dev/dsk/cxtydz

Take the /cxtydz portion and apply the formula below;

(y x 8) + z

This should give you the LUN number from the SAN device. In the example below this would be;

c52t2d1

t =2, d = 1

(2 x 8) + 1 = 17

LUN number is 17

Thursday, 31 March 2016

Adding Users To Local Groups On Domain Controllers

As the local groups are hidden in Computer Management on a Domain Controller, this needs to be done via command line;


net localgroup "groupname" "domain\username" /add
For example;


net localgroup "Remote Desktop Users" "UTF\Jon" /add 

Wednesday, 3 February 2016

Exchange Online - Get Distribution Lists With Owners

I had a requirement to generate a list of all distribution lists with their owners. In the Exchange portal on Office 365 I could export a list but there was no option to include the owners of the list.

I managed to get the information I needed using Powershell. Having connected Powershell to Exchange Online I ran the following command;
Get-DistributionGroup -Filter * | Select Name, ManagedBy | Export-CSV C:\export.csv -NoTypeInformation

Exchange Online - Connecting With Powershell

1. Open Powershell and run;
$UserCredential = Get-Credential
2. Enter your Exchange Online credentials
3. Run;
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection
4. Run;
Import-PSSession $Session
When you are finished run;
Remove-PSSession $Session 

Windows 10 - Show "Run As Different User" On The Start Menu

By default, unlike in Windows 7 there is no option in Windows 10 to run software from the Start Menu as a different user when you Shift + Right Click. To enable this option again follow the steps below;

1. Open regedit and browse to;

HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Explorer

If Explorer does not exist, create it as a new key under Windows.

2. Add a DWORD with the value ShowRunasDifferentuserinStart.
3. Right click the new DWORD and set the value to 1. Click OK.
4. Restart your machine.

After the restart you should now be able to "Run As Different User" in the Start Menu.