WinRM connect to Virtualbox hosted Windows 2012R2 VM

I was trying to connect with an windows VM as part of testing out hardening - this is being pushed to my github. Once windows machine booted up, I set up WinRM using ansible WinRm enable sample script ConfigureRemotingForAnsible.ps1 -ForceNewSSLCert Trouble came when I tried to connect to windows machine via WinRM. This was solved … Continue reading WinRM connect to Virtualbox hosted Windows 2012R2 VM

Advertisements

What to do when vagrant box download is slow

I've been tinkering with vagrant for a few days on my windows machine. The slowest part of working with vagrant is vagrant up, when you don't have the box file downloaded already. The cli goes into sleep 😵 mode... I found me downloading the file via any download manager or even from browser seems faster … Continue reading What to do when vagrant box download is slow

Linux Log Rotate and archive rotated file.

I was checking an article on how to upload archived logs to azure blob. As initial set up I've updated logrotate.conf(/etc/logrotate.conf) with below settings. file to edit: /etc/logrotate.conf # see "man logrotate" for details # rotate log files weekly weekly # keep 4 weeks worth of backlogs rotate 1 # create new (empty) log files … Continue reading Linux Log Rotate and archive rotated file.

Ansible windows hardening – 2012 R2 Part 1 – Installation

These series is on performing hardening Windows Server 2012 via ansible. I'm new to this side of work. So as I learn I'll update this series. I'm also planning to keep this as my work diary for future references or If I forget something 😉(how to emoji 🤪).   For this series I'm using below … Continue reading Ansible windows hardening – 2012 R2 Part 1 – Installation

MsBuild publishing failed with VerifyAzureNet46Support

Yesterday I encountered an issue while publishing a web job to Azure. '_CheckAzureNet46Support' with error VerifyAzureNet46Support - [VerifyAzureNet46Support] C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\Web\Microsoft.Web.Publishing.targets(4755, 7): Your hosting provider does not yet support ASP.NET 4.6, which your application is configured to use. I've encountered this issue intermittently, I was a little confused when the version of ASP.NET mentioned is … Continue reading MsBuild publishing failed with VerifyAzureNet46Support