Add-Type -TypeDefinition @" using System.Runtime.InteropServices; public static class SystemSounds { [DllImport("user32.dll", SetLastError = true, CharSet = CharSet.Auto)] [return: MarshalAs(UnmanagedType.Bool)] public static extern bool MessageBeep(uint uType); } "@ # Define the sound type constants $MB_ICONHAND = 0x10 $MB_ICONASTERISK = 0x40 $MB_ICONEXCLAMATION = 0x30 # Play the Logon sound [SystemSounds]::MessageBeep($MB_ICONHAND) # Add a delay if needed # Start-Sleep -Seconds 2 # Play the...