Can't get Windows Backup cmdlets to run in Windows Server 2012

Cmdlets for backup are available if I’m just in a regular powershell window but if I run a psm1 it says it can’t find the cmdlets.

Any ideas?

This worked:

Add-WindowsFeature -Name Windows-Server-Backup -Restart:$false