Thursday, March 27, 2014

HP Switch firmware update

To update via telnet,
- setup a TFTP server.  I used Solarwinds TFTP
- place firmware file at the TFTP's root
- telnet into the switch


2 ways from here,


1. - use the commands,
        copy tftp flash TFTPSERVERIP FILENAME.swi primary
        reload


2. - type menu
   - use arrows to go down to Download OS
   - enter the IP of the TFTP server
   - enter the filename of the file you placed at the TFTP server's root
   - execute


Wednesday, January 15, 2014

Uninstalling applications remote using wmic

Uninstall applications from command line on a remote computer.

Single remote computer
wmic /node:COMPUTERNAME product where "name like 'Java(TM) 6%%'" call uninstall /nointeractive

 From multiple computers
first create text file of computer names to pass, ex.  computers.txt
wmic /node:@"computers.txt" product where "name like 'Java(TM) 6%%'" call uninstall /nointeractive

add the switch  /failfast:on  to quickly skip nodes that do not respond (computer off)

Tuesday, October 29, 2013

Display or Not the last login name

To hide or show the last login name ( username ) to login to the computer



HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System


dontdisplaylastusername
 
- value of 1 hides the last name
- value of 0 shows the last name

Basically either forces users to enter their username or not every login

Tuesday, October 8, 2013

GP Management Reporter license error

GP Management Reporter 2012

"Evaluation License period expired"  error when launching Report Designer.

Login and go to Tools > Registration > enter your Registration Keys.

If you have a default company selected, you cannot get to the above.  You have to use SQL Management Studio and,

delete from dbo.license   from the Management Reporter database.

Thursday, September 26, 2013

Export email addresses from Exchange

For Exchange 2010, use powershell

Exports a lot of information
get-mailboxserver | get-mailbox | export-csv FILENAME.CSV


Exports less information, use above to see what fields can be included
get-mailbox -resultsize unlimited -recipienttypedetails usermailbox | get-user | select-object firstname,lastname,windowsemailaddress | export-csv FILENAME.CSV

Thursday, September 19, 2013

Set auto-reply for another mailbox

Can use Exchange Control Panel to set

https://servername/ecp

Manage My Organization, select Another User, select the user, on right side select Tell others on vacation


Using Exchange 2010 Powershell

Setting the auto-reply

Set-MailboxAutoReplyConfiguration email@domain.com -AutoReplyState Enabled -ExternalMessage "MESSAGE HERE" -InternalMessage "MESSAGE HERE"

For AutoReplyState, can change Enabled to Scheduled .  If so, syntax should be,
-AutoReplyState Scheduled -StartTime "9/15/2013" -Endtime "9/28/2013"

To retrieve auto-reply settings for a mailbox

Get-MailboxAutoReplyConfiguration email@domain.com


Disables auto-reply for a mailbox

Set-MailboxAutoReplyConfiguration email@domain.com -AutoReplyState Disabled -ExternalMessage $null -InternalMessage $null