Headadmin

  • Connect to Office 365 via PowerShell

    1. Allowing PowerShell executing scripts: https://headadmin.net/?p=172 2. Do this in an elevated PowerShell promt: $UserCredential = Get-Credential $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection Import-PSSession $Session http://technet.microsoft.com/en-us/library/jj984289(v=exchg.150).aspx

  • Problem accessing DFS subfolders

    User cannot access \\corp.company.com\dfs\company\subfolder. Subfolder is missing, however user can access \\corp.company.com\dfs\home\%username% which has offlinefiles enabled. When I loggon with my admin account I get access denied when trying to access \\corp.company.com\dfs\company. It works from other computers however, so the problem is isolated to this specific client. I found this solution: www.sirkit.ca/wiki/2012/11/windows-domain-dfs-namespace-access-is-denied-using-domain-fqdn-access-allowed-using-server-unc-paths-directly 1.  Disable offline…

  • Reset/clear the Auto-Complete List in Outlook

    outlook.exe /cleanautocompletecache

  • Microsoft Remote Conectivity Analyzer

    https://testconnectivity.microsoft.com/

  • DHCP Relay/DHCP Forwarding on HP ProCurve E5406zl

    Enable DHCP Relay: ProCurve (config)# dhcp-relay Disable DHCP Relay: ProCurve (config)# no dhcp-relay Forward DHCP requests on VLAN 10 to 1.1.1.1 (DHCP server): ProCurve# configure ProCurve(config)# vlan 10 ip helper-address 1.1.1.1 To check ip-helper on VLAN 10: ProCurve (config)# show ip helper-address vlan 10 Remove ip-helper on VLAN 10: ProCurve (config)# vlan 10 ProCurve (vlan-10)# ip helper-address 1.1.1.1

  • Update global address list in Exchange 2010

    Start Exchange Management Shell Update-GlobalAddressList -Identity “GAL name”

  • Export mailbox from Exchange 2010

    Start Exchange Management Shell If you want to export a user mailbox from exchange to a .pst file: New-MailboxExportRequest -Mailbox daniel.andersson -FilePath \\exchange2010\export\daniel.andersson.pst To see the status of the export: Get-MailboxExportRequest -Name MailboxExport | fl To see completed mailbox export requests: Get-MailboxExportRequest | where {$_.status -eq “Completed”} To clear all completed mailbox export request: Get-MailboxExportRequest…

  • iDRAC 7: Config iDRAC from BIOS

    Reboot the server and press F2 during POST to enter system setup. Then go to iDRAC settings.

  • Change hostname on XenServer

    Logon to the console of the XenServer host. Check host uuid: # xe host-list Change the name: # xe host-set-hostname-live host-uuid=<HOSTUUID> host-name=<NEWHOSTNAME> Example # xe host-set-hostname-live host-uuid=00cbeec7-c229-4ab9-990f-cdb5f781da11 host-name=xen-002 Reboot the host: # reboot

  • Change IP config on PHD VBA

    1. Within XenCenter, click the PHD VBA virtual machine and then click the Console tab. 2. Press Ctrl-N to enter the Network Configuration menu. 3. Select option 2. Static and enter an IP address, Netmask, and any other required network settings for your environment (Gateway, Primary DNS or Alternate DNS). 4. When complete, click Save,…