Workstations
Desktop, Laptop. That's about it.
Microsoft Windows
Add Printer in Powershell
List Printers Get-Printer Remove Printer Remove-Printer -Name "HP Deskjet 1510 s...
Create User in Powershell
Powershell The first command uses the Read-Host cmdlet to prompt you for a password. The command...
Setup the OneDrive Sync Client
To setup OneDrive, first open the OneDrive app. If you're using a PC, click start and then type ...
Install Microsoft Office
Create a deployment package. If the files are publicly available, you can download from a web UR...
Download Files from a Web URL
Download a file from the internet to your harddrive using Powershell. Invoke-WebRequest -Uri h...
Get Last Bootup Time
Get the last bootup time in Windows Powershell. Get-CimInstance -ClassName win32_operatingsystem...
Get the Tenant ID of an Azure/Entra Joined PC
To get the Tenant ID of the Azure Joined PC, or confirm it is joined to Azure; Open Windows Po...
Reset IE to Defaults
Symptoms: OneDrive stuck at Signing in. OneDrive sign-in gives Proxy Authentication Error [2606...
Change Drive Letter in Powershell
Sourceshttps://devblogs.microsoft.com/powershell-community/changing-drive-letters-and-labels-via-...
Lock Windows Workstation
In command prompt, run: Rundll32.exe user32.dll,LockWorkStation
Create a Scheduled Task
To create a scheduled task in Windows Powershell that executes a Powershell Script. CREATE SCHED...
Check For Running Process
Check for a running process. If the process is not running, start it. #CHECK RUNNING PROCESS $C...
Mac OS
Install Rosetta on Mac OS
Rosetta is required for compatibility with some applications. To install Rosetta on a Mac, open ...
Create User in Terminal
Set the username and password dscl . -passwd /Users/<username> <password> Set the user'...
Create .pkg to deploy files and apps
Create a directory named Contents and another named Scripts. Put the app contents in the Content...
Forcefully Remove MDM from Mac
Reboot into Recovery Mode Open Terminal and run csrutil disable then reboot. This disables Syste...
macOS Login Window - show username and password box
Press the following keys simultaneously. CONTROL+OPTION+COMMAND+SHIFT+DOWN ARROW+ENTER