Friday, December 3, 2010

Set Execution Policy within PowerShell

By default, PowerShell will allow individual commands but will not execute scripts.  To set the execution policy, use the Set-ExecutionPolicy commandlet.  The commandlet has four different execution policies available:

  • Restricted - No scripts can be run. Windows PowerShell can be used only in interactive mode.

  • AllSigned - Only scripts signed by a trusted publisher can be run.

  • RemoteSigned - Downloaded scripts must be signed by a trusted publisher before they can be run.

  • Unrestricted - No restrictions; all Windows PowerShell scripts can be run.

The PowerShell prompt or ISE must be launched with local administrative authority for the change to be made.  The Get-ExecutionPolicy can be used to verify the existing setting.

executionpolicy

mRemoteNG

mRemoteNG is a fork of mRemote, an open source, tabbed, multi-protocol, remote connections manager.  mRemoteNG adds bug fixes and new features to mRemote.

mRemoteNG supports the following protocols:

  • RDP (Remote Desktop/Terminal Server)
  • VNC (Virtual Network Computing)
  • ICA (Citrix Independent Computing Architecture)
  • SSH (Secure Shell)
  • Telnet (TELecommunication NETwork)
  • HTTP/HTTPS (Hypertext Transfer Protocol)
  • rlogin
  • Raw Socket Connections

http://www.mremoteng.org/

Thursday, December 2, 2010

SSDLife

SSDLife is an application that will let you know how many times your drive has been powered on, written to, what its health and S.M.A.R.T. status is, and even give you an estimated lifespan of the drive.

http://ssd-life.com/

Wednesday, December 1, 2010

Introduction to PowerCLI

PowerCLI is a snapin for PowerShell that is intended for use with a VMware environment.  It can be found at:

http://communities.vmware.com/community/vmtn/vsphere/automationtools/powercli

Once launched, help can be found using the Get-VICommand commandlet or the Get-PowerCLIHelp commandlet.

powercli_3

To connect to a ESX/ESXi host, use the Connect-VIServer commandlet.  An example would be:

Connect-VIServer –Server IP address –Protocol https –User root –Password passwordvalue

Once connected, a message should be displayed:

powercli_1

Once connected to a host, commandlets such as Get-VM and Get-VMHost can be used.

powercli_2

The | format-list option can provide additional details.

powercli_4

powercli_5

More details can be displayed using the | Select-Object * option as well.

powercli_9

The Get-VMGuest commandlet will offer some additional details on a particular VM:

powercli_6

The Get-HardDisk commandlet pulls storage information:

powercli_7

The Get-DataStore commandlet can offer details on items such as free disk space available.

powercli_10

The Disconnect-VIServer commandlet will remove the connection to the host:

powercli_8

Monday, November 1, 2010

GNS3

GNS3 is a graphical network simulator that allows simulation of complex networks.  This project is an open source, free program that may be used on multiple operating systems, including Windows, Linux, and MacOS X.  Users have to provide their own IOS/IPS/PIX/ASA/JunOS to use with GNS3.

http://www.gns3.net/

SCR.IM

This is a similar service to URL-shortening sites but for email.  The purpose is to have an email link that requires a captcha check before the true email address is displayed.

http://scr.im/

iPhone Explorer

iPhone Explorer is an iPhone browser for Mac & PC that lets you browse the files and folders on your iPhone as if it were a normal USB flash drive or pen drive. You can use the easy drag-and-drop methods to add or remove files and folders from the iPhone.

http://www.macroplant.com/iphoneexplorer/

Enabling Tech Support Mode within VMware ESXi 4.1

Tech Support Mode within a VMware ESXi 4.1 host is a command-line interface for troubleshooting.  The feature can be enabled via the vSphere client or via the console.

To enable via the console, log in as normal.  Access the Troubleshooting Options selection from the main menu.

esxi_tech_mode_1

The Tech Support Mode should be disabled by default.  A menu option is also available to place a limit on the amount of time the feature will remain active.

esxi_tech_mode_2

Save the changes.  Use the key combination of Alt-F1 to enter the Tech Support Mode.

esxi_tech_mode_3

To return to the main console window, use the key combination of Alt-F2.  Additional details on this topic can be found at http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1017910.

Saturday, October 2, 2010

Maltego

Maltego is an open source intelligence and forensics application. It will offer mining and gathering of information as well as the representation of this information in a easy to understand format.

http://www.paterva.com/web5/

UNIX/Linux command line resources

Below are some resources for the UNIX/Linux command line.

http://cb.vu/unixtoolbox.xhtml

http://www.ee.surrey.ac.uk/Teaching/Unix/

http://linuxcommand.org/learning_the_shell.php

http://www.cs.usfca.edu/~parrt/course/601/lectures/unix.util.html

http://www.pixelbeat.org/cmdline.html

http://bhami.com/rosetta.html

http://www.oreillynet.com/linux/cmd/