回答編集履歴

1

Confirmオプションの追加

2017/03/21 07:48

投稿

stknohg
stknohg

スコア796

test CHANGED
@@ -8,6 +8,6 @@
8
8
 
9
9
  ```powershell
10
10
 
11
- New-Partition -UseMaximumSize | Format-Volume -FileSystem NTFS | Get-Partition | Add-PartitionAccessPath -AccessPath "D:"
11
+ New-Partition -UseMaximumSize | Format-Volume -FileSystem NTFS -Confirm:$false | Get-Partition | Add-PartitionAccessPath -AccessPath "D:"
12
12
 
13
13
  ```