You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Case 1 - Module Install from PS Gallery to User Profile Path
I first call run Install-Module SdnDiagnostics -Force non-elevated to install the latest module that module installed to user profile at c:\users\username\documents\WindowsPowerShell\Modules\SdnDiagnostics\<version>
I have then attempt to install module to SDN Infra nodes by Install-SdnDiagnostics -ComputerName <nodename>. Expect the latest module to be auto imported to make SDN CmdLet works across SDN nodes.
Case 2 - Module Install from PS Gallery to Machine Path
I first call run Install-Module SdnDiagnostics -Force elevated to install the latest module that module installed to machine level at c:\Program Files\WindowsPowerShell\Modules\SdnDiagnostics\<version>
I have then attempt to install module to SDN Infra nodes by Install-SdnDiagnostics -ComputerName <nodename>. Expect the latest module to be auto imported to make SDN CmdLet works across SDN nodes.
Case 3 - Module Install from .ps1 with arbitrary path
I installed module by download the package and extract. Run Import-Module SdnDiagnostics.psd1 -Force.
I have then attempt to install module to SDN Infra nodes by Install-SdnDiagnostics -ComputerName <nodename>. Expect the latest module to be auto imported to make SDN CmdLet works across SDN nodes.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Case 1 - Module Install from PS Gallery to User Profile Path
Install-Module SdnDiagnostics -Force
non-elevated to install the latest module that module installed to user profile atc:\users\username\documents\WindowsPowerShell\Modules\SdnDiagnostics\<version>
Install-SdnDiagnostics -ComputerName <nodename>
. Expect the latest module to be auto imported to make SDN CmdLet works across SDN nodes.Case 2 - Module Install from PS Gallery to Machine Path
Install-Module SdnDiagnostics -Force
elevated to install the latest module that module installed to machine level atc:\Program Files\WindowsPowerShell\Modules\SdnDiagnostics\<version>
Install-SdnDiagnostics -ComputerName <nodename>
. Expect the latest module to be auto imported to make SDN CmdLet works across SDN nodes.Case 3 - Module Install from .ps1 with arbitrary path
Import-Module SdnDiagnostics.psd1 -Force
.Install-SdnDiagnostics -ComputerName <nodename>
. Expect the latest module to be auto imported to make SDN CmdLet works across SDN nodes.Beta Was this translation helpful? Give feedback.
All reactions