This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# escape=` | |
# Indicates that the windowsservercore image will be used as the base image. | |
FROM microsoft/nanoserver | |
# Metadata indicating an image maintainer. | |
MAINTAINER carlo@happysysadm.com | |
# Sets a command or process that will run each time a container is run from the new image. | |
RUN powershell.exe Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#by Carlo MANCINI happysysadm.com | |
gwmi win32_OperatingSystem -cn localhost| | |
ft P*me,S*J*,V*,@{n='BIOSSerial';e={(gwmi Win32_BIOS -cn $_.CSname).Serialnumber}} |