diff --git a/lib/ansible/modules/windows/win_chocolatey.py b/lib/ansible/modules/windows/win_chocolatey.py
index 262aca6e01..8dd8e53731 100644
--- a/lib/ansible/modules/windows/win_chocolatey.py
+++ b/lib/ansible/modules/windows/win_chocolatey.py
@@ -150,7 +150,7 @@ EXAMPLES = r'''
 
 - name: Install notepadplusplus version 6.6
   win_chocolatey:
-    name: notepadplusplus.install
+    name: notepadplusplus
     version: '6.6'
 
 - name: Install git from specified repository