powershell-profile-alias icon indicating copy to clipboard operation
powershell-profile-alias copied to clipboard

WLS2 w/UbuntuLTS on board

Open Codemonito opened this issue 3 years ago • 4 comments

I'd like it to work, though i have no idea if i missed anything.

PS C:\WINDOWS\system32> Register-ProfileAliasInProfile SoySilCo Register-ProfileAliasInProfile : The 'Register-ProfileAliasInProfile' command was found in the module 'HackF5.ProfileAl ias', but the module could not be loaded. For more information, run 'Import-Module HackF5.ProfileAlias'. At line:1 char:1 + Register-ProfileAliasInProfile SoySilCo + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (Register-ProfileAliasInProfile:String) [], CommandNotFoundException + FullyQualifiedErrorId : CouldNotAutoloadMatchingModule PS C:\WINDOWS\system32> Import-Module HackF5.ProfileAlias Import-Module : The version of Windows PowerShell on this computer is '5.1.19041.1320'. The module 'C:\Program Files\Wi ndowsPowerShell\Modules\HackF5.ProfileAlias\0.5.0.0\HackF5.ProfileAlias.psd1' requires a minimum Windows PowerShell ver sion of '7.0' to run. Verify that you have the minimum required version of Windows PowerShell installed, and then try a gain. At line:1 char:2 + Import-Module HackF5.ProfileAlias + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ResourceUnavailable: (C:\Program File...ofileAlias.psd1:String) [Import-Module], Invalid OperationException + FullyQualifiedErrorId : Modules_InsufficientPowerShellVersion,Microsoft.PowerShell.Commands.ImportModuleCommand

Codemonito avatar Jan 14 '22 14:01 Codemonito

Can't you just use regular aliases in wsl?

On Fri, Jan 14, 2022, 14:16 Codemonito @.***> wrote:

I'd like it to work, though i have no idea if i missed anything.

PS C:\WINDOWS\system32> Register-ProfileAliasInProfile SoySilCo Register-ProfileAliasInProfile : The 'Register-ProfileAliasInProfile' command was found in the module 'HackF5.ProfileAl ias', but the module could not be loaded. For more information, run 'Import-Module HackF5.ProfileAlias'. At line:1 char:1 + Register-ProfileAliasInProfile SoySilCo + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (Register-ProfileAliasInProfile:String) [], CommandNotFoundException + FullyQualifiedErrorId : CouldNotAutoloadMatchingModule PS C:\WINDOWS\system32> Import-Module HackF5.ProfileAlias Import-Module : The version of Windows PowerShell on this computer is '5.1.19041.1320'. The module 'C:\Program Files\Wi ndowsPowerShell\Modules\HackF5.ProfileAlias\0.5.0.0\HackF5.ProfileAlias.psd1' requires a minimum Windows PowerShell ver sion of '7.0' to run. Verify that you have the minimum required version of Windows PowerShell installed, and then try a gain. At line:1 char:2 + Import-Module HackF5.ProfileAlias +

(C:\Program File...ofileAlias.psd1:String) [Import-Module], Invalid
OperationException + FullyQualifiedErrorId :
Modules_InsufficientPowerShellVersion,Microsoft.PowerShell.Commands.ImportModuleCommand

—
Reply to this email directly, view it on GitHub
<https://github.com/hackf5/powershell-profile-alias/issues/1>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALU56HJJFPAV35D6ADWKDZTUWAV5HANCNFSM5L65HDZQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.

You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>

hackf5 avatar Jan 14 '22 14:01 hackf5

Also do you have ps7 installed?

On Fri, Jan 14, 2022, 14:19 Brian Tyler @.***> wrote:

Can't you just use regular aliases in wsl?

On Fri, Jan 14, 2022, 14:16 Codemonito @.***> wrote:

I'd like it to work, though i have no idea if i missed anything.

PS C:\WINDOWS\system32> Register-ProfileAliasInProfile SoySilCo Register-ProfileAliasInProfile : The 'Register-ProfileAliasInProfile' command was found in the module 'HackF5.ProfileAl ias', but the module could not be loaded. For more information, run 'Import-Module HackF5.ProfileAlias'. At line:1 char:1 + Register-ProfileAliasInProfile SoySilCo + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (Register-ProfileAliasInProfile:String) [], CommandNotFoundException + FullyQualifiedErrorId : CouldNotAutoloadMatchingModule PS C:\WINDOWS\system32> Import-Module HackF5.ProfileAlias Import-Module : The version of Windows PowerShell on this computer is '5.1.19041.1320'. The module 'C:\Program Files\Wi ndowsPowerShell\Modules\HackF5.ProfileAlias\0.5.0.0\HackF5.ProfileAlias.psd1' requires a minimum Windows PowerShell ver sion of '7.0' to run. Verify that you have the minimum required version of Windows PowerShell installed, and then try a gain. At line:1 char:2 + Import-Module HackF5.ProfileAlias +

(C:\Program File...ofileAlias.psd1:String) [Import-Module], Invalid
OperationException + FullyQualifiedErrorId :
Modules_InsufficientPowerShellVersion,Microsoft.PowerShell.Commands.ImportModuleCommand

—
Reply to this email directly, view it on GitHub
<https://github.com/hackf5/powershell-profile-alias/issues/1>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALU56HJJFPAV35D6ADWKDZTUWAV5HANCNFSM5L65HDZQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.

You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>

hackf5 avatar Jan 14 '22 14:01 hackf5

I may have not...

Also do you have ps7 installed?

Codemonito avatar Jan 14 '22 15:01 Codemonito

That would be the place to start

On Fri, Jan 14, 2022, 15:10 Codemonito @.***> wrote:

I may have not...

Also do you have ps7 installed?

— Reply to this email directly, view it on GitHub https://github.com/hackf5/powershell-profile-alias/issues/1#issuecomment-1013209459, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALU56HOQL4NHOSXF24ZJFWTUWA4FNANCNFSM5L65HDZQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>

hackf5 avatar Jan 14 '22 15:01 hackf5