Hi All,
I use PowerShell to format server disk but it keep prompting following message box:

How to disable the message box?
get-disk -number $DiskNumber | New-Partition -DriveLetter $local:Letter -UseMaximumSize |
Format-Volume -NewFileSystemLabel $local:VolumeName -FileSystem NTFS -AllocationUnitSize 65536 –Force -Confirm:$false