I am looking for the 7-zip command line call that is the equivalent to the explorer extension option of
Add to "FolderName.zip"
& 7z C:\path\To\SecondAttempt, C:\path\to\SecondAttempt.zip
7-Zip  16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
Command Line Error:
Fo 7Zip this should be the correct syntax
. .\7z.exe a C:\path\to\SecondAttempt.zip "C:\path\To\SecondAttempt"
But I would prefer to use directly .NET
Add-Type -AssemblyName System.IO.Compression.FileSystem [System.IO.Compression.ZipFile]::CreateFromDirectory("C:\path\To\SecondAttempt","C:\path\to\SecondAttempt.zip")