Monthly Archives: April 2014

System Center Service Manager 2012 – Delete an Orphaned Connector

  Delete an Orphaned Connector using SMLets   Open Powershell ​Import-Module smlets   ​Get-SCSMObject –Class (Get-SCSMClass –Name Microsoft.SystemCenter.Connector) | ?{$_.DisplayName –eq “<Connector Name>”} | Remove-SCSMObject -Force -Confirm  

Posted in Microsoft System Center Service Manager (SCSM) | Leave a comment

PHP – Redirect based on referrer or IP address

Redirect based on referrer or IP address Referrer — Code Example  —————————————- <?php $referrer = $_SERVER[‘HTTP_REFERER’]; if (preg_match(“/Google.com/”,$referrer)) {       header(‘Location: http://www.google.com); } elseif (preg_match(“/yahoo.com/”,$referrer)) {       header(‘Location: http://www.yahoo.com); } else {       header(‘Location: http://www.connectiveinnovations.com); }; ?> ———————————–  IP Address  — Code Example  … Continue reading

Posted in PHP | Leave a comment

PHP – If-Else Code statement

If Else PHP Code example — Code —————————— <?php if ($a > $b) { echo “a is bigger than b”; } elseif ($a == $b) { echo “a is equal to b”; } else { echo “a is smaller than … Continue reading

Posted in PHP | Leave a comment

Adobe Acrobat Pro Stops Working

Acrobat Pro is installed and pgm is on the menu but will not work. 1. Make sure you are connected to the internet 2. Launch a regular CS6 product other then Acrobat or Flash builder (Example: Photoshop, inDesign, Dreamweaver) 3. … Continue reading

Posted in Uncategorized | Leave a comment

MS Active Directory GPO – gpresult (Resultant Set of Policy Queries)

GPRESULT, or otherwise known as Resultant Set of Policy Queries is a tool used to provide client end information of Group Policy settings. The utility ships with all current versions of Windows and is used to aid administrators in troubleshooting … Continue reading

Posted in Active Directory | Leave a comment

HP Procurve Switch – Enable IP Directed Broadcast

To enable forwarding of IP directed broadcasts, enter the following CLI command: ​ProCurve(config)# ip directed-broadcast To disable the directed broadcasts, enter the following CLI command: ​ProCurve(config)# no ip directed-broadcast Needed for WOL to work between VLANs

Posted in HP Procurve Switch | Leave a comment

HP Procurve – CLI Lockout MAC addresses from Network

lock, view and unlock machine MAC addresses from connecting to HP Procurve switch Lock MAC address from Network — Command ———————————– config term lockout-mac [machine MAC address] ———————————————– Show locked out MAC address — Command ———————————— show lockout-mac ———————————————— Unlock … Continue reading

Posted in HP Procurve Switch | Leave a comment

HP Procurve – CLI Common Troubleshooting Commands

Common CLI commands used for troubleshooting   — Ping ——- Ping <x.x.x.x> ————— — Trace Route —– Traceroute <x.x.x.x> ————————- — Show IP Addresses ——- Show IP —————————— — Show VLAN’s —— Show vlan ————————- — Show IP Routes —– … Continue reading

Posted in HP Procurve Switch | Leave a comment

HP Procurve – CLI Change VLAN IP Address

​CLI to change the IP Address of a VLAN — Command ———— switch # config t (config) # show vlans (config) # vlan <ID of VLAN> (vlan-ID )# ip address <IP ADDRESS OF VLAN><NET MASK> (vlan-ID) # exit switch (config … Continue reading

Posted in HP Procurve Switch | Leave a comment

HP Procurve – CLI Enable Jumbo Frames

CLI to enable jumbo frames for a VLAN — Command —————— switch # config t switch (config) # show vlans switch (config) # vlan <ID of VLAN> jumbo switch (config )# exit switch # write mem ——————————

Posted in HP Procurve Switch | Leave a comment