This topic contains 5 replies, has 3 voices, and was last updated by
September 18, 2018 at 9:20 am #111991
While importing the module in powershell Version : 5.1.14409.1005, we are getting the exported commandlets are missing for applocker while import-module is successful.
Execution policy is unrestricted, Server OS is Windows Server 2008 R2 x64 Datacenter Full.
>>import-module "applocker" -verbose
VERBOSE: loading module from path 'C:\Windows\system32\WindowsPowerShell\v1.0\Modules\applocker\applocker.psd1'.
>> get-module applocker
ModuleType Version Name ExtportedCommands
Manifest 22.214.171.124 Applocker
September 18, 2018 at 10:18 am #111997ParticipantPoints: 9Rank: Member
Try to verify with this:
Get-Command -Module Applocker
September 18, 2018 at 11:59 am #112004
it is empty , no list of cmdlets there.
September 18, 2018 at 2:31 pm #112018ParticipantPoints: 1Rank: Member
Having PS 5 does not mean you can run all modules that require PS 5. Some modules require additional underlying .NET objects to work.
AppLocker is typically located under C:\Windows\System32\WindowsPowerShell\v1.0\Modules\AppLocker
However, it depends on .NET 4, specifically Microsoft.Security.ApplicationId.PolicyManagement.Cmdlets.dll which is typically under
Also current version of the AppLocker manifest module is 126.96.36.199
September 19, 2018 at 8:05 am #112061
There is no such folder in C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\ .. while the servers which has the similar OS are also doesn't have that folder though they are able provide the cmdlets command.
September 19, 2018 at 11:03 am #112078
you will find the folder over here ;
You must be logged in to reply to this topic.