Add-PrinterPort -Name “ip_IPAddress” -PrinterHostAddress IPAddress
example: Add-PrinterPort -Name “ip_10.0.0.7″ -PrinterHostAddress 10.0.0.7
This post includes a function you can use for sending emails from your Java application.
One thing to note is the javax.mail libraries are not included in the Java JDK, so you will have to download them separately.
The java mail library can be downloaded from the following location: http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-eeplat-419426.html#javamail-1.4.7-oth-JPR
Once you have downloaded the java mail library, you will need to add the mail.jar Read more [...]
A common task in any programming language is Reading and Writing files. Below are a couple of functions that can be used for these purposes, along with descriptions of their use. Be sure to import java.io for these functions to work. Read more [...]
Scripting is a very useful skill which will save any Sysadmin a lot of time. Who wants to go to every device in their environment and perform the same task over and over again? In this posting I will cover a few basics for those getting started in scripting. Read more [...]