The article describes how to run a PowerShell session within a container.
To run a PowerShell session within a container, consider one of the following options:
docker container exec -it <container-name/id> powershellFor example:
kubectl exec -it <pod-name> -n <namespace> -- powershell
docker container exec -it sitecore-xm1_cm_1 powershell
kubectl exec -it k8s-xm-cm-pod -n sitecore powershell