-
Notifications
You must be signed in to change notification settings - Fork 0
/
Commande Taper pour Quête PS2
44 lines (22 loc) · 1.26 KB
/
Commande Taper pour Quête PS2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
PS C:\> New-Item -ItemType Directory C:\ -Name EvenFolder
PS C:\> New-Item -ItemType Directory C:\ -Name OddFolder
PS C:\> Set-Location C:\FolderTest1
PS C:\FolderTest1> Move-item -Path File2 -Destination C:\EvenFolder
PS C:\FolderTest1> Move-item -Path File4 -Destination C:\EvenFolder
PS C:\FolderTest1> Set-Location C:\FolderTest2
PS C:\FolderTest2> Get-ChildItem
PS C:\FolderTest2> Move-Item -Path .\File10 -Destination C:\EvenFolder
PS C:\FolderTest2> Move-Item -Path .\File8 -Destination C:\EvenFolder
PS C:\FolderTest2> Move-Item -Path .\File6 -Destination C:\EvenFolder
PS C:\FolderTest2> Set-Location C:\EvenFolder
PS C:\EvenFolder> Get-ChildItem
PS C:\FolderTest1> Get-ChildItem
PS C:\FolderTest1> Move-Item -Path File1 -Destination C:\OddFolder
PS C:\FolderTest1> Move-Item -Path File3 -Destination C:\OddFolder
PS C:\FolderTest1> Move-Item -Path File5 -Destination C:\OddFolder
PS C:\FolderTest1> Set-Location -Path C:\FolderTest2
PS C:\FolderTest2> Get-ChildItem
PS C:\FolderTest2> Move-Item -Path File7 -Destination C:\OddFolder
PS C:\FolderTest2> Move-Item -Path File9 -Destination C:\OddFolder
PS C:\FolderTest2> Set-Location -Path C:\OddFolder
PS C:\OddFolder> Get-ChildItem