CredSSP authentication problem in Powershell Remote Queries

If you receive the following error while running remote .exe files from in powershell. UNKNOWN: WEB SERVICE STATUS [vmserver01] Connecting to remote server failed with the following error message : The WinRM client cannot process the request. CredSSP authentication is currently disabled in the client configuration. Change the client configuration and try the request again. … Read more

How to troubleshoot memory issues when executing remote Powershell queries

If you are receiving “Processing data for a remote command failed with the following error message: The WSMan provider” message from the PS Queries (e.g. on the Nagios) All you have to do is log on the target computer, and run powershell with Administrator Rights. Then you can increase Powershell memory with below commands You can … Read more

best editor for golang

I was looking for a good (and free) GoLang IDE. Then I found fully opensource LITEIDE. It supports code completion and syntax highlighting. Also has a debugger which running in background. You can download it from below link: http://code.google.com/p/golangide/

How to resize linux logical volume (lvm) in a virtualbox vm

I was installed Fedora VM in to 8 GB Virtual Disk (vdi) but now I need to resize disk to 16 GB VBoxManage modifyhd “D:\VirtualBox VMs\Fedora\Fedora.vdi” –resize 16384   Now the linux part. You’d have to unmount it to shrink it (which requires a LiveCD / Rescue Mode.) pvresize /dev/sda2 (assuming your LVM partition is sda2. … Read more

raspberry pi released 5$ model raspberry pi zero!

    Raspberry Pi Zero has released out this week. It’s not powerful as Raspberry Pi 2. However  specs is so good for 5$ computer. 1Ghz, Single-core CPU (Broadcom BCM2835 ARMv6 SoC full HD  processor) 512MB 400 MHz RAM Mini HDMI and USB On-The-Go ports Micro USB power HAT-compatible 40-pin header Composite video and reset … Read more

How to connect Oracle DB with PowerShell

# Load the ODP assembly [Reflection.Assembly]::LoadFile(“C:\oracle\11.2.0\client_2\odp.net\bin\4\Oracle.DataAccess.dll”)|Out-Null # #vars&cons $stations =@{ “424”=”Istanbul”; “421”=”İzmir” } $dbuser=”user” $dbpasswd=”password” connect to Oracle $constr = ” User Id=$dbuser; Password=$dbpasswd; Data Source=CITIES ” $conn= New-Object Oracle.DataAccess.Client.OracleConnection($constr) $conn.Open() Create a datareader for a SQL statement $sql=”select stationid from CITIES.SWITCHPARAMETER where switchid = ‘2’ ” $command = New-Object Oracle.DataAccess.Client.OracleCommand( $sql,$conn) $reader=$command.ExecuteReader() Write out … Read more