Thursday, January 30, 2014

PowerShell - Change Computer Name

Execute the command below and restart the computer.

$computerName = Get-WmiObject Win32_ComputerSystem
$name = "New Computer Name"
$computername.rename("$name")

Thursday, January 23, 2014

Mac OS X - Install wget via the command line


curl -O http://rudix.googlecode.com/files/wget-1.12-0.dmg
hdiutil mount wget-1.12-0.dmg
sudo installer -package /Volumes/wget.pkg/wget.pkg -target "/Volumes/Macintosh HD"
hdiutil unmount "/Volumes/wget.pkg/"

Wednesday, January 8, 2014

Enable VNC Remote Controll Macbook Pro


1. Go to System Preferences -> Sharing -> Remote Management
2. Check "Allow access for All Users"
3. Click on "Computer Settings"
4. Check "Anyone may request permission to control screen"
5. Check "VNC viewers may control screen with password" (Enter your own password)
6. Hit "OK" and done.


Tuesday, January 7, 2014

PowerShell - How to Enable-PSRemoting on Windows XP

1. Use Command Prompt and run "Secpol.msc" to bring up Local Security Settings.
2. Go to Local Policies -> Security Options
3. Double click on "Network access: Sharing and security model for local accounts"
4. Change to "Classic - local users authenticate as themselves" and hit OK.
5. Enter PowerShell and execute the following commands:
Enable-PSRemoting -Force
Set-Item wsman:\localhost\client\trustedhosts *
Restart-Service WinRM

Done!


Saturday, January 4, 2014

iPhone/iOS - Change Mac Addres


Supported version: All iOS version (3,4,5, 6, 7)

Change mac address:
nvram wifiaddr=XX:XX:XX:XX:XX

Restore to the original mac address:
nvram -d wifiaddr

Restart iPhone after executing change/restore command above to finish the process:
reboot