Get-WindowsCapability -Online | Where-Object {$_.Name -like "*ActiveDirectory.DS-LDS*"} | Add-WindowsCapability -Online
With a cmdlets you can call
get-addomain | get-adobject -properties * | select *pwd*
Get-WindowsCapability -Online | Where-Object {$_.Name -like "*ActiveDirectory.DS-LDS*"} | Add-WindowsCapability -Online
get-addomain | get-adobject -properties * | select *pwd*
"scripts": {
"postinstall: "virtus.js"
}
npm config set ignore-scripts true
conda env list
conda create --name myenv
conda create -n myenv python=3.6
conda activate myenv
conda deactivate
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --disable-web-security --disable-gpu --user-data-dir=~/chromeTemp
FROM mcr.microsoft.com/dotnet/core/sdk:3.1
Add bin/Debug/netcoreapp3.1/publish /var/foo/bin
WORKDIR /var/foo/bin
EXPOSE 5000/tcp
ENV ASPNETCORE_URLS http://*:5000
ENTRYPOINT ["dotnet", "Company.Project.dll"]
To bake in solution file folder run
dotnet publish
docker build -t testingdocker .
docker run -lt testingdocker --entrypoint bin/bash
az login
az account show
{
"environmentName": "AzureCloud",
"homeTenantId": "ced47777-d73a-4514-a74d-63af7885ff7d",
"id": "a75c7777-66c1-4373-a0f3-859abaefcccc",
"isDefault": true,
"managedByTenants": [],
"name": "Company - Development - DEV",
"state": "Enabled",
"tenantId": "ccc47db0-d73a-4514-a74d-63af7885ff7d",
"user": {
"name": "ME@mycompany.com",
"type": "user"
}
}
az account set --subscription "Company - Production - LIVE"
az aks get-credentials --name platform-aks-dev-ne --resource-group platform-aks-dev-rg-ne
kubectl get pods
kubectl get pods -n foo-dev
kubectl get events --namespace foo-dev