header image

Archive for May, 2016

PowerShell and Nano server

Posted by: | May 5, 2016 Comments Off on PowerShell and Nano server |

Nano server is the new install option introduced with Windows 2016. It has a really tiny footprint compared to a server core machine.   Of course it has PowerShell but its not a complete port of the PowerShell you’re used to. The features that aren’t present are detailed here: https://technet.microsoft.com/en-us/library/mt671124%28v=ws.12%29.aspx   What you get is […]

under: PowerShell, Windows Server 2016

Loading assemblies

Posted by: | May 2, 2016 Comments Off on Loading assemblies |

PowerShell is .NET based but doesn’t load all available .NET assemblies when it starts.   Many people still use something  like [System.Reflection.Assembly]::LoadWithPartialName(‘System.Windows.Forms’)   to load additional assemblies.  This is a hang over from PowerShell v1 when there wasn’t another way to perform the load. The LoadWithPartialName method has been deprecated – https://msdn.microsoft.com/en-us/library/12xc5368(v=vs.110).aspx – and shouldn’t […]

under: PowerShell Basics

« Newer Posts

Categories