We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8e3192 commit 997a5daCopy full SHA for 997a5da
adapters/powershell/psDscAdapter/powershell.resource.ps1
@@ -50,7 +50,7 @@ if ($Operation -eq 'ClearCache') {
50
51
if ($PSVersionTable.PSVersion.Major -le 5) {
52
# For Windows PowerShell, we want to remove any PowerShell 7 paths from PSModulePath
53
- if ($pwshPath = Get-Command 'pwsh' -ErrorAction Ignore | Select-Obect -ExpandProperty Source) {
+ if ($pwshPath = Get-Command 'pwsh' -ErrorAction Ignore | Select-Object -ExpandProperty Source) {
54
$pwshDefaultModulePaths = @(
55
"$HOME\Documents\PowerShell\Modules" # CurrentUser
56
"$Env:ProgramFiles\PowerShell\Modules" # AllUsers
0 commit comments