mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Correct incorrect cmdlet name in script (#18919)
Co-authored-by: Nicklas Bjälemark <nicklas.bjalemark@aditro.com>
This commit is contained in:
co-authored by
Nicklas Bjälemark
parent
8b1e1f0518
commit
bf9e56f1cc
@@ -306,7 +306,7 @@ foreach ($computerName in $array[1])
|
||||
ComputerName = $computerName
|
||||
ScriptBlock = { $true }
|
||||
|
||||
SessionOption = NewPSSessionOption -NoMachineProfile
|
||||
SessionOption = New-PSSessionOption -NoMachineProfile
|
||||
ErrorAction = 'SilentlyContinue'
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user