I'm trying to see what servers I have that are in the status of "Pending reboot", I run the following:
$Servers = Get-Content C:\ServerList.txt
Get-PendingReboot -ComputerName $Servers | Export-CSV C:\Util\PendingRebootReportServers.csv -NoTypeInformation

but returns this error: Get-PendingReboot : The term 'Get-PendingReboot' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is
correct and try again.