Skip to content

Instantly share code, notes, and snippets.

View ghulsmann's full-sized avatar
🛋️
Working from home

Greg Hulsmann ghulsmann

🛋️
Working from home
View GitHub Profile
@ghulsmann
ghulsmann / Dockerfile
Created March 18, 2019 12:05 — forked from richlander/Dockerfile
.NET Core 3.0 Preview 3 Dockerfile
FROM mcr.microsoft.com/dotnet/core/runtime:3.0 AS base
WORKDIR /app
EXPOSE 80
EXPOSE 443
FROM mcr.microsoft.com/dotnet/core/sdk:3.0 AS build
WORKDIR /src
COPY ["WebApplication4/WebApplication4.csproj", "WebApplication4/"]
RUN dotnet restore "WebApplication4/WebApplication4.csproj"
COPY . .
function Get-ADdirectReports
{
[CmdletBinding()]
PARAM ([String]$SamAccountName,$SearchBase)
PROCESS{
#Splatting
$ADSplatting = @{}