Set-ExecutionPolicy : Access to the registry key ‘HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\ShellIds\Microsoft.PowerShell’ is denied.

When running VMware PowerShell CLI you receive this error: Set-ExecutionPolicy : Access to the registry key ‘HKEY_LOCAL_MACHINESOFTWAREMicrosoftPowerShell1ShellIdsMicrosoft.PowerShell’ is denied. Right click powercli and click: “Run As Administrator” Once powershell starts type this command: Set-ExecutionPolicy RemoteSigned

IPTABLES Tidbits

List off all the rules in order. This helps to see if an allow is overriding one of your denies: iptables -nvL –line-numbers Reject or Drop? Drop means to drop everything at the interface and give no response. Best for port probes and the like. Reject responds to the source. Best practices for TCP/IP

NetApp “Broken Drives” Simulator

Mon Nov 29 17:38:05 PST [raid.assim.disk.nolabels:error]: Disk 0b.18 Shelf 1 Bay 2 [NETAPP X274_HPYTA146F10 NA03] S/N [V5Y692RA] has no valid labels. It will be taken out of service to prevent possible data loss. You will receive a message similar to the above on the simulator. Type these commands in the shell: priv set diag disk ...

Malware Protection Designed To Protect

This is scumbag malware designed to take your machine hostage until you pay. Here is the -quickest- way to eliminate this tediosity: 1. Register the scumware using this serial number: SL55J-T54YHJ61-YHG88 Once this is done it will allow you to now use your computer. 2. Open explorer and delete: C:Documents and SettingsAll UsersApplication Datadefender.exe If ...

FreeBSD ZFS Settings On i386 Hardware

AMD64 Kernel FreeBSD machines are good about autotuning. i386, on the other hand, needs to be adjusted manually. 1. Rebuild your kernel a. Disable/wipe all drivers you are not using or at least those you are highly unlikely to ever use. b. Add: options KVA_PAGES=512 c. Recompile/Install new kernel 2. Add these parameters to /boot/loader.conf ...

FreeBSD LAGG rc.conf

This is what your rc.conf should contain to configure LAGG with FreeBSD: ### LAGG NFS Interface ### ifconfig_bce3=”mtu 9000 up” ifconfig_bce0=”mtu 9000 up” cloned_interfaces=”lagg0″ ifconfig_lagg0=”laggproto roundrobin laggport bce3 laggport bce0″ ipv4_addrs_lagg0=”10.10.40.10/24″ Change the bce* interfaces to whatever your server is using for the network interfaces. The “mtu 9000 up” is correct!

ZFS Replication on FreeBSD

This script will replicate a ZFS pool to another FreeBSD machine. The sync process is quick, after the initial copy, and depending upon how much data changed. Download this shell script: http://www.tediosity.com/zfsrep.sh This script was written by another author for Solaris and I have fixed it to work on FreeBSD. I chose to use: /root/zfsrep ...

Setup NIS + Red Hat + CentOS + Linux

The following describes a procedure to set up NIS network name service under Red Hat Linux. This is geared toward a small intallation with only one domain. However, it should be fairly evident how to add more NIS domains. The NIS domain name has nothing to do with any DNS naming convention being used. In ...

The real osama bin laden dead photo

The real osama bin laden dead photo

Dell 2970 – Crashes / Reboots

Error on screen: HyperTransport error caused a system reset Embedded I/O Bridge Device 2 SEL will show: Chipset Err: Critical Event Sensor PCI Err (BUS 0 Device 7 Function 0) was asserted There is a discussion about it here (with no real solution): http://en.community.dell.com/support-forums/servers/f/946/t/19281276.aspx I replaced both power supplied with known good units from a ...