Look closely at the two dashes in
unzipRelease –Src '$ReleaseFile' -Dst '$Destination'
This first one is not a normal dash but an en-dash (–
in HTML). Replace that with the dash found before Dst
.
More Related Contents:
- Delete files older than 15 days using PowerShell
- Powershell script to see currently logged in users (domain and machine) + status (active, idle, away)
- Powershell – Reboot and Continue Script
- Using PowerShell to remove lines from a text file if it contains a string
- List of all colors available for PowerShell?
- Get-Aduser -Filter will not accept a variable
- How to load assemblies in PowerShell?
- How to get disk capacity and free space of remote computer
- Recursive file search using PowerShell
- Executing an EXE file using a PowerShell script
- How do I get only directories using Get-ChildItem?
- Web.Config transforms outside of Microsoft MSBuild?
- copy-item With Alternate Credentials
- PowerShell – Decode System.Security.SecureString to readable password
- How do I concatenate two text files in PowerShell?
- How to get Powershell Invoke-Restmethod to return body of http 500 code response
- Extract the filename from a path
- How to export data to CSV in PowerShell?
- Powershell ConvertTo-json with embedded hashtable
- Comparing array variables in PowerShell
- How Does Member Enumeration Work in PowerShell 3?
- PowerShell script to check the status of a URL
- ConvertTo-JSON an array with a single item
- Gracefully stopping in Powershell
- Hashtables and key order
- Get-Content -wait not working as described in the documentation
- Can’t install nuget package because of “Failed to initialize the PowerShell host”
- PowerShell The term is not recognized as cmdlet function script file or operable program
- What security setting is preventing Remote PowerShell 2.0 from accessing UNC paths
- Prevent trailing newline in PowerShell Out-File command