File tree Expand file tree Collapse file tree
5.1/Microsoft.PowerShell.Core/About
7.4/Microsoft.PowerShell.Core/About
7.5/Microsoft.PowerShell.Core/About
7.6/Microsoft.PowerShell.Core/About Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -65,19 +65,22 @@ following areas:
6565 case-insensitive, irrespective of the system.
6666
6767 ``` powershell
68- [void] ( New-Item -Path Temp:foo.txt -Force)
68+ PS /home/user01> New-Item -Path Temp:foo.txt -Force
6969
70- (Get-Item -Path Temp:FOO.txt).Name
71- # Get-Item: Cannot find path 'Temp:/FOO.txt' because it does not exist.
70+ Directory: /tmp
7271
73- (Get-Item -Path Temp:F[O]*.txt).Name
74- # foo.txt
72+ UnixMode User Group LastWriteTime Size Name
73+ -------- ---- ----- ------------- ---- ----
74+ -rw-r--r-- user01 user01 1/6/2026 10:53 0 foo.txt
7575
76- (Get-Item -Path Env:hOME ).Name
77- # Get-Item: Cannot find path 'Env:/hOME ' because it does not exist.
76+ PS /home/user01> (Get-Item -Path Temp:FOO.txt ).Name
77+ Get-Item: Cannot find path 'Temp:/FOO.txt ' because it does not exist.
7878
79- (Get-Item -Path Env:hOM[E]).Name
80- # HOME
79+ PS /home/user01> (Get-Item -Path Temp:F[O]*.txt).Name
80+ foo.txt
81+
82+ PS /home/user01> (Get-Item -Path Env:hOM[E]).Name
83+ HOME
8184 ```
8285
8386- Parameter set names are case-sensitive.
Original file line number Diff line number Diff line change @@ -65,19 +65,22 @@ following areas:
6565 case-insensitive, irrespective of the system.
6666
6767 ``` powershell
68- [void] ( New-Item -Path Temp:foo.txt -Force)
68+ PS /home/user01> New-Item -Path Temp:foo.txt -Force
6969
70- (Get-Item -Path Temp:FOO.txt).Name
71- # Get-Item: Cannot find path 'Temp:/FOO.txt' because it does not exist.
70+ Directory: /tmp
7271
73- (Get-Item -Path Temp:F[O]*.txt).Name
74- # foo.txt
72+ UnixMode User Group LastWriteTime Size Name
73+ -------- ---- ----- ------------- ---- ----
74+ -rw-r--r-- user01 user01 1/6/2026 10:53 0 foo.txt
7575
76- (Get-Item -Path Env:hOME ).Name
77- # Get-Item: Cannot find path 'Env:/hOME ' because it does not exist.
76+ PS /home/user01> (Get-Item -Path Temp:FOO.txt ).Name
77+ Get-Item: Cannot find path 'Temp:/FOO.txt ' because it does not exist.
7878
79- (Get-Item -Path Env:hOM[E]).Name
80- # HOME
79+ PS /home/user01> (Get-Item -Path Temp:F[O]*.txt).Name
80+ foo.txt
81+
82+ PS /home/user01> (Get-Item -Path Env:hOM[E]).Name
83+ HOME
8184 ```
8285
8386- Parameter set names are case-sensitive.
Original file line number Diff line number Diff line change @@ -65,19 +65,22 @@ following areas:
6565 case-insensitive, irrespective of the system.
6666
6767 ``` powershell
68- [void] ( New-Item -Path Temp:foo.txt -Force)
68+ PS /home/user01> New-Item -Path Temp:foo.txt -Force
6969
70- (Get-Item -Path Temp:FOO.txt).Name
71- # Get-Item: Cannot find path 'Temp:/FOO.txt' because it does not exist.
70+ Directory: /tmp
7271
73- (Get-Item -Path Temp:F[O]*.txt).Name
74- # foo.txt
72+ UnixMode User Group LastWriteTime Size Name
73+ -------- ---- ----- ------------- ---- ----
74+ -rw-r--r-- user01 user01 1/6/2026 10:53 0 foo.txt
7575
76- (Get-Item -Path Env:hOME ).Name
77- # Get-Item: Cannot find path 'Env:/hOME ' because it does not exist.
76+ PS /home/user01> (Get-Item -Path Temp:FOO.txt ).Name
77+ Get-Item: Cannot find path 'Temp:/FOO.txt ' because it does not exist.
7878
79- (Get-Item -Path Env:hOM[E]).Name
80- # HOME
79+ PS /home/user01> (Get-Item -Path Temp:F[O]*.txt).Name
80+ foo.txt
81+
82+ PS /home/user01> (Get-Item -Path Env:hOM[E]).Name
83+ HOME
8184 ```
8285
8386- Parameter set names are case-sensitive.
Original file line number Diff line number Diff line change @@ -65,19 +65,22 @@ following areas:
6565 case-insensitive, irrespective of the system.
6666
6767 ``` powershell
68- [void] ( New-Item -Path Temp:foo.txt -Force)
68+ PS /home/user01> New-Item -Path Temp:foo.txt -Force
6969
70- (Get-Item -Path Temp:FOO.txt).Name
71- # Get-Item: Cannot find path 'Temp:/FOO.txt' because it does not exist.
70+ Directory: /tmp
7271
73- (Get-Item -Path Temp:F[O]*.txt).Name
74- # foo.txt
72+ UnixMode User Group LastWriteTime Size Name
73+ -------- ---- ----- ------------- ---- ----
74+ -rw-r--r-- user01 user01 1/6/2026 10:53 0 foo.txt
7575
76- (Get-Item -Path Env:hOME ).Name
77- # Get-Item: Cannot find path 'Env:/hOME ' because it does not exist.
76+ PS /home/user01> (Get-Item -Path Temp:FOO.txt ).Name
77+ Get-Item: Cannot find path 'Temp:/FOO.txt ' because it does not exist.
7878
79- (Get-Item -Path Env:hOM[E]).Name
80- # HOME
79+ PS /home/user01> (Get-Item -Path Temp:F[O]*.txt).Name
80+ foo.txt
81+
82+ PS /home/user01> (Get-Item -Path Env:hOM[E]).Name
83+ HOME
8184 ```
8285
8386- Parameter set names are case-sensitive.
You can’t perform that action at this time.
0 commit comments