Skip to content

Can't load function after import #116

@ward0

Description

@ward0

Hello,
I have done the following things:

Install-Module -Name 'Carbon' -AllowClobber
PS C:\Windows\system32> Import-module Carbon
PS C:\Windows\system32> Grant-CAPrivilege
Grant-CAPrivilege : The term 'Grant-CAPrivilege' 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.
At line:1 char:1

  • Grant-CAPrivilege
  •   + CategoryInfo          : ObjectNotFound: (Grant-CAPrivilege:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException
    

Side question, on a remote computer with no internet access, i don't want to copy the whole Carbon installation, i only need following modules:

Get-CAPrivilege
Grant-CAPrivilege

Can I do a 'minimal' install to get the functions loaded?

Regards,
Ward

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions