Import-Module : The specified module 'AppLocker' was not loaded because no vali d module file was found in any module directory. At line:6 char:16 + Import-Module <<<< AppLocker + CategoryInfo : ResourceUnavailable: (AppLocker:String) [Import- Module], FileNotFoundException + FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Comm ands.ImportModuleCommand The term 'Set-AppLockerPolicy' is not recognized as the name of a cmdlet, funct ion, 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. At line:10 char:24 + Set-AppLockerPolicy <<<< -XMLPolicy $fname + CategoryInfo : ObjectNotFound: (Set-AppLockerPolicy:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException |