⚡ PowerShell 5.1+
Check "Disable Snap Assist Suggestions" Status
Reads the current registry value behind the "Disable Snap Assist Suggestions" tweak so you can confirm whether it's applied.
Test-DisableSnapAssistStatus.ps1
<#
.SYNOPSIS
Checks whether "Disable Snap Assist Suggestions" is currently applied.
.DESCRIPTION
Reads HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced \ SnapAssist and reports its current value,
or reports that it isn't set (falling back to the Windows default).
.EXAMPLE
.\Test-DisableSnapAssistStatus.ps1
#>
[CmdletBinding()]
param()
$regPath = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced'
$value = Get-ItemProperty -Path $regPath -Name 'SnapAssist' -ErrorAction SilentlyContinue
if ($null -eq $value) {
Write-Host "'SnapAssist' is not set at $regPath (using the Windows default)." -ForegroundColor Yellow
} else {
Write-Host "Current value of 'SnapAssist': $($value.'SnapAssist')" -ForegroundColor Green
}