Setting up Azure Stack is a lot more complicated than setting up Hyper-V. This recipe will show you how to do a trial installation of Azure Stack with the Azure Stack Software Development Kit (SDK). Be aware that this recipe has many moving parts, and it even failed on me multiple times. It seems impossible to catch all possible exceptions as you will likely notice.
Using Azure Stack, on the other hand, is no different than using Azure, with a few limitations that we will explore in the upcoming recipes.