About 50 results
Open links in new tab
  1. Set PSModulePath Environment Variable with PowerShell in …

    Jul 17, 2018 · 3 PowerShell - Get OS Environmental Variables without Expanding You can use the Get-Item cmdlet with the -path parameter and then pass that the path of the registry key …

  2. Powershell 7 can't install modules, have to do it manually (Save …

    Jul 6, 2023 · PS C:\Windows\System32> Save-Module -Name ExchangeOnlineManagement -Path C:\Temp -Repository PSGallery PS C:\Windows\System32> Import-Module …

  3. How can I run psd1 and psm1 files in powershell? - Super User

    Aug 28, 2020 · Import-Module ./path/filename.psm1 It's that simple. In the simplest case, just put all your functions into a PSM1 file and import it like that. PSD1 files are manifests and only …

  4. Most PowerShell commands not working - Super User

    Dec 30, 2020 · My main user doesn't have this folder. How can I install it NOT from powershell? Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force doesn't work as …

  5. How can I make my powershell module import permanent?

    Jan 22, 2020 · To import a module, get or use any command in the module. For example, use Get-Command. ModuleQualified : Modules are imported automatically only when a user uses …

  6. User's PowerShell Modules Path Location on Linux and macOS?

    Mar 7, 2018 · Where are PowerShell modules saved to when installed with CurrentUser scope?

  7. powershell - How to install DBATools - Super User

    Oct 12, 2018 · PS W:\Software\dbatools> Install-Module -Name dbatools Install-Module : The term 'Install-Module' is not recognized as the name of a cmdlet, function, script file, or operable …

  8. powershell - Issues Installing Winget On Windows Sandbox

    Getting the following errors when attempting to install winget on a windows sandbox machine. Script was working previously, so suspect a change after a windows update? Host Machine: …

  9. Get the current UNC path from a local path in powershell

    Aug 26, 2009 · Using Join-Path, then you can pull together the path, which will return a drive letter and current location if it's a local path, network path and current location if it's a mapped drive.

  10. windows - Powershell Get-Module shows installed, Uninstall …

    Sep 16, 2019 · Pester is a PowerShell Module that is used for testing PowerShell Modules. Its Version that you have mentioned in your example, 3.4.0, might also be the Version that comes …