by SyncroMSP | Mar 5, 2019 | Scripts, Uncategorized
Required Files: None #!/bin/sh echo “yes” | sudo systemsetup -setremotelogin off > /dev/null 2>&1 #!/bin/sh echo "yes" | sudo systemsetup -setremotelogin off > /dev/null 2>&1#!/bin/sh echo "yes" | sudo systemsetup...
by SyncroMSP | Mar 5, 2019 | Scripts, Uncategorized
Required Files: None Write-Host "Closing Teams in order to clear cache" try{ Get-Process -ProcessName Teams | Stop-Process -Force Start-Sleep -Seconds 5 Write-Host "Teams is now closed" } catch{ echo $_ } # Now clean temp file...
by SyncroMSP | Mar 5, 2019 | Scripts, Uncategorized
Required Files: None #!/bin/sh /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user #!/bin/sh...
by SyncroMSP | Mar 5, 2019 | Scripts, Uncategorized
Required Files: None #!/bin/sh kill -9 `ps ax|grep ‘coreaudio[a-z]’ | awk ‘{print $1}’` #!/bin/sh kill -9 `ps ax|grep 'coreaudio[a-z]' | awk '{print $1}'`#!/bin/sh kill -9 `ps ax|grep 'coreaudio[a-z]' | awk '{print...
by SyncroMSP | Mar 5, 2019 | Scripts, Uncategorized
Required Files: None Set the NumLock to ON at Windows Login screen #Set NumLock ON at Windows login screen $path = 'HKU:\.DEFAULT\Control Panel\Keyboard\' $name = 'InitialKeyboardIndicators' $value = '2' Set-Itemproperty -Path $path -Name $name -Value $value...