Visit https://adamtheautomator.com/powershell-environment-variables/
Can’t log into your Home/Office/Account
See: https://learn.microsoft.com/en-us/answers/questions/4184/your-organisation-has-deleted-this-device
Run this command in admin mode
Open cmd/powershell in admin mode
Code Block |
---|
dsregcmd /forcerecovery |
Help
Get-Help [cmdlet][-Examples]
...
Code Block |
---|
tasklist /fi "pid eq <PID>" |
Run process in the background
First, create a function that can be used to execute processes in the background
Code Block |
---|
function bg() {Start-Process -NoNewWindow @args} |
Now it can be used as follows
Code Block |
---|
bg ipconfig /all |
ipconfig will now run in the background