Skip to content

[Issue]: function Get-ScheduledTask is conflicting with built-in ps scriptlet in custom scripts #396

Description

@bernyst5

Describe the bug

hi, if you add a custom script, where you are using the native scriptlet Get-ScheduledTask it is conflicting with the function from BisF.psm1 which is identically named.

Steps to reproduce

  1. create a new custom script and store it in the custom folder
  2. you can use following simple line: (Get-ScheduledTask -TaskName $taskName).State
  3. in log file it is now looping, cause get-scheduledtask will trigger the function from module, and it does not have the same capabilities as the built in scriptlet

Expected behavior

maybe rename the BisF function to Get-BisFScheduledTask as this is commonly used in the module.

Screenshots

No response

Desktop, please complete the following information.

No response

Smartphone, please complete the following information.

No response

Additional context

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions