Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions reference/5.1/Microsoft.PowerShell.Utility/New-Variable.md
Original file line number Diff line number Diff line change
Expand Up @@ -259,8 +259,8 @@ Specifies the scope of the new variable. The acceptable values for this paramete
- `Script` - Variables created in the script scope are accessible only within the script file or
module they are created in.
- `Private` - Variables created in the private scope cannot be accessed outside the scope they exist
in. You can use private scope to create a private version of an item with the same name in another
scope.
in. You can use the private scope to create a private version of an item with the same name in
another scope.
- A number relative to the current scope (0 through the number of scopes, where 0 is the current
scope, 1 is its parent, 2 the parent of the parent scope, and so on). Negative numbers cannot be
used.
Expand Down
4 changes: 2 additions & 2 deletions reference/7.0/Microsoft.PowerShell.Utility/New-Variable.md
Original file line number Diff line number Diff line change
Expand Up @@ -259,8 +259,8 @@ Specifies the scope of the new variable. The acceptable values for this paramete
- `Script` - Variables created in the script scope are accessible only within the script file or
module they are created in.
- `Private` - Variables created in the private scope cannot be accessed outside the scope they exist
in. You can use private scope to create a private version of an item with the same name in another
scope.
in. You can use the private scope to create a private version of an item with the same name in
another scope.
- A number relative to the current scope (0 through the number of scopes, where 0 is the current
scope, 1 is its parent, 2 the parent of the parent scope, and so on). Negative numbers cannot be
used.
Expand Down
4 changes: 2 additions & 2 deletions reference/7.2/Microsoft.PowerShell.Utility/New-Variable.md
Original file line number Diff line number Diff line change
Expand Up @@ -259,8 +259,8 @@ Specifies the scope of the new variable. The acceptable values for this paramete
- `Script` - Variables created in the script scope are accessible only within the script file or
module they are created in.
- `Private` - Variables created in the private scope cannot be accessed outside the scope they exist
in. You can use private scope to create a private version of an item with the same name in another
scope.
in. You can use the private scope to create a private version of an item with the same name in
another scope.
- A number relative to the current scope (0 through the number of scopes, where 0 is the current
scope, 1 is its parent, 2 the parent of the parent scope, and so on). Negative numbers cannot be
used.
Expand Down
4 changes: 2 additions & 2 deletions reference/7.3/Microsoft.PowerShell.Utility/New-Variable.md
Original file line number Diff line number Diff line change
Expand Up @@ -259,8 +259,8 @@ Specifies the scope of the new variable. The acceptable values for this paramete
- `Script` - Variables created in the script scope are accessible only within the script file or
module they are created in.
- `Private` - Variables created in the private scope cannot be accessed outside the scope they exist
in. You can use private scope to create a private version of an item with the same name in another
scope.
in. You can use the private scope to create a private version of an item with the same name in
another scope.
- A number relative to the current scope (0 through the number of scopes, where 0 is the current
scope, 1 is its parent, 2 the parent of the parent scope, and so on). Negative numbers cannot be
used.
Expand Down