Convert a scope level to account for another call stack level.
Add-ScopeLevel.ps1 [-Scope] <String> [-ProgressAction <ActionPreference>] [<CommonParameters>]
Add-ScopeLevel.ps1 Local
1
Add-ScopeLevel.ps1 3
4
Add-ScopeLevel.ps1 Global
Global
The requested scope from the caller of the caller of this script.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.