Rebelz – We have one of Europe’s widest ranges of BJJ & Grappling gear.

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 files
Control Panel -> Sync Center -> Manage Offline Files -> Disable Offline Files

2. Clear the offline file cache
This sets a temporary registry entry which is read on start-up and runs the cache wipe.
Elevated Command Prompt
reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Csc\Parameters /v FormatDatabase /t REG_DWORD /d 1 /f

3. Reboot
You must reboot to successfully wipe the offline file cache

4. Test DFS path
\\corp.company.com\dfs\company\subfolder

5. Re-enable Offline Files
Control Panel -> Sync Center -> Manage Offline Files -> Enable Offline Files -> Reboot

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

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 | where {$_.status -eq “Completed”} | Remove-MailboxExportRequest

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, then OK to restart the PHD VBA.

1 2 3 4 11