Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

Import Script broken #305

Open
jklimczak opened this issue Mar 10, 2024 · 0 comments
Open

Import Script broken #305

jklimczak opened this issue Mar 10, 2024 · 0 comments
Labels

Comments

@jklimczak
Copy link

Describe the bug

Working on wu_status.ps1
Select-String : A parameter cannot be found that matches parameter name 'Raw'.
At C:\UEM-Samples\Sensors\import_sensor_samples.ps1:741 char:60

  • $d = $content | Select-String -Pattern 'Description: ' -Raw
    
  •                                                        ~~~~
    
    • CategoryInfo : InvalidArgument: (:) [Select-String], ParameterBindingException
    • FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.PowerShell.Commands.SelectStringCommand

Select-String : A parameter cannot be found that matches parameter name 'Raw'.
At C:\UEM-Samples\Sensors\import_sensor_samples.ps1:744 char:66

  • $c = $content | Select-String -Pattern 'Execution Context: ' -Raw
    
  •                                                              ~~~~
    
    • CategoryInfo : InvalidArgument: (:) [Select-String], ParameterBindingException

Reproduction steps

...

Expected behavior

Import in

Additional context

Tried with mac scripts and windows scripts tired from Windows 10 and windows 11 powershell

@jklimczak jklimczak added the bug label Mar 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant