Generating cryptographically secure random numbers with PowerShell

Recently I've found myself writing some code which heavily leverages the cryptography libraries defined in .Net. During this project, for testing purposes, I wanted to generate a file of cryptographically strong random bytes - but I wanted to use PowerShell because I find it is much faster to prototype with. So, how does one do … Continue reading Generating cryptographically secure random numbers with PowerShell

The “An error occured while trying to share . Incorrect function” problem.

Recently I was sharing out a log file directory on a Windows server. When I went to create the file, I received the following message: "An error occurred while trying to share log$. Incorrect function.  The shared resource was not created at this time". Great - why would this be?  You know who knew? Google. … Continue reading The “An error occured while trying to share . Incorrect function” problem.