Meta

Welcome [CB-PS]

· 1 min read

PowerShell test

powershell
$users = Get-ADUser -Filter * -Properties Department$users | Where-Object { $_.Department -eq 'IT' } | Select-Object Name, EmailAddressWrite-Host 'Found' $users.Count 'users'

Dockerfile:

dockerfile
FROM node:20-alpineWORKDIR /appCOPY package*.json ./RUN npm ci --productionCOPY . .EXPOSE 3000CMD ["node", "server.js"]

Nginx:

nginx
server {    listen 80;    server_name example.com;    location /api {        proxy_pass http://localhost:3000;    }}

Comments

Loading comments…

    Leave a comment