• IT Systems Engineering

    Weblogic Server "invalid pad byte" error

      Here is how to encrypt a password/username for weblogic’s boot.properties or config.xml file java -cp /opt/app/bea/weblogic81/server/lib/weblogic.jar -Dweblogic.RootDirectory=/opt/app/bea/user_projects/domains/mydomain3 weblogic.security.Encrypt test_password I got it from: Anything simple: Oracle BEA Weblogic Server 10 “invalid pad byte” error

  • IT Systems Engineering

    Setting a static IP using powershell

    Here is a quick way to set your IP address to a static value: $NICs = Get-WMIObject Win32_NetworkAdapterConfiguration -computername . | where{$_.IPEnabled -eq $true -and $_.DHCPEnabled -eq $true} Foreach($NIC in $NICs) {     $ip = "10.0.0.151"     $gateway = "10.0.0.1"     $subnet = "255.255.255.0"     $dns = "10.0.0.10","10.0.0.11"     $NIC.EnableStatic($ip, $subnet)     $NIC.SetGateways($gateway)     $NIC.SetDNSServerSearchOrder($dns)     $NIC.SetDynamicDNSRegistration("FALSE") } IPConfig /all Credits: Original script taken from here

  • IT Systems Engineering

    Set Dynamic IP address using powershell

    Here is a quick powershell script to set your network card TCP/IP setting to dynamic addressing: $NICs = Get-WMIObject Win32_NetworkAdapterConfiguration | where{$_.IPEnabled -eq “TRUE”} Foreach($NIC in $NICs) { $NIC.EnableDHCP() $NIC.SetDNSServerSearchOrder() } IPConfig /all   Credits: Original script taken from here