Select Page

Most Recent Scripts:

Clear Teams Cache

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 locations try{ Get-ChildItem -Path...

NumLock ON at login

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...

Task – Rename Computer

Required Files: None Renames the computer and optionally restarts it to take effect. You will have to change the asset name manually if you want it to match.   Import-Module $env:SyncroModule -WarningAction SilentlyContinue # Chanage the computer name in Windows...

Bios Version

Required Files: None Gets Current Bios Version   Import-Module $env:SyncroModule $bversion=$(Get-WmiObject -Class "Win32_Bios").SMBIOSBIOSVersion Set-Asset-Field -Subdomain "SUBDOMAINHERE" -Name "BiosVersion" -Value...

MAC – Flush DNS

Required Files: None #!/bin/sh killall -HUP mDNSResponder && dscacheutil -flushcache   #!/bin/sh killall -HUP mDNSResponder && dscacheutil -flushcache

MSP-Scripts is a free resource from SyncroMSP