Advanced Search
Search Results
77 total results found
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 SCHEDULED TASK $action = New-ScheduledTaskAction -Execute "cd C:\path\to\script\location; ./script.ps1" $trigger = New-ScheduledTaskTrigger -At "8:15 pm" -Daily $pri...
Check For Running Process
Check for a running process. If the process is not running, start it. #CHECK RUNNING PROCESS $Check = (Get-Service -Name <ServiceName> -ErrorAction SilentlyContinue -ErrorVariable ProcessError) Invoke-Command -ScriptBlock{ if($Check -eq $null) { W...
Change Intune macOS Personal Ownership to Company
Get-MgDeviceManagementManagedDevice -All | Where-Object {$_.ManagedDeviceOwnerType -eq "unknown" -and $_.OperatingSystem -like "macOS"} | % { Update-MgDeviceManagementManagedDevice -ManagedDeviceId $_.Id -ManagedDeviceOwnerType company }
macOS Login Window - show username and password box
Press the following keys simultaneously. CONTROL+OPTION+COMMAND+SHIFT+DOWN ARROW+ENTER
Prevent Spoofing of Executives
To add a disclaimer for incoming emails that bear the name of an executive, go to the Exchange Transport Rules and create a rule. https://admin.exchange.microsoft.com/#/transportrules Rule Conditions: The Message Header From Contains executive names AND T...