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 6897cf1 commit f982e08Copy full SHA for f982e08
Commands/Hide-OBS.ps1
@@ -32,7 +32,7 @@ function Hide-OBS {
32
# Walk over all items in the scene
33
foreach ($sceneItem in Get-OBSSceneItem -SceneName $SceneName) {
34
# If the match our wildcard and we confirm, remove it.
35
- if ($sceneItem.SourceName -like $sourceName -and
+ if ($sceneItem.SourceName -like $ItemName -and
36
$PSCmdlet.ShouldProcess("Hide input $($sceneItem.SourceName)")) {
37
# Hide it.
38
$sceneItem | Set-OBSSceneItemEnabled -SceneItemEnabled:$false
0 commit comments