Skip to content

Commit 997a5da

Browse files
author
Steve Lee (POWERSHELL HE/HIM) (from Dev Box)
committed
fix typo in PSAdapter
1 parent c8e3192 commit 997a5da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adapters/powershell/psDscAdapter/powershell.resource.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ if ($Operation -eq 'ClearCache') {
5050

5151
if ($PSVersionTable.PSVersion.Major -le 5) {
5252
# 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) {
53+
if ($pwshPath = Get-Command 'pwsh' -ErrorAction Ignore | Select-Object -ExpandProperty Source) {
5454
$pwshDefaultModulePaths = @(
5555
"$HOME\Documents\PowerShell\Modules" # CurrentUser
5656
"$Env:ProgramFiles\PowerShell\Modules" # AllUsers

0 commit comments

Comments
 (0)