PS1 sample file
ps1_sample_file_200KB.ps1
200.0 KB
application/octet-stream
SHA256 verified
File details
Filename
ps1_sample_file_200KB.ps1Size200.0 KB (204800 bytes)
MIME type
application/octet-streamExtension
.ps1SHA256
faef9280ba499ced8ccbc2cbf522473a6e3a8ffaac6a9c89e58cc18da4a5be8dDownload commands
Use in scripts and tests
curl -L -o ps1_sample_file_200KB.ps1 \
https://samplefile.com/samples/download/code/ps1/ps1_sample_file_200KB.ps1/
wget -O ps1_sample_file_200KB.ps1 \
https://samplefile.com/samples/download/code/ps1/ps1_sample_file_200KB.ps1/
import requests
url = "https://samplefile.com/samples/download/code/ps1/ps1_sample_file_200KB.ps1/"
resp = requests.get(url)
with open("ps1_sample_file_200KB.ps1", "wb") as f:
f.write(resp.content)
const resp = await fetch("https://samplefile.com/samples/download/code/ps1/ps1_sample_file_200KB.ps1/");
const buf = Buffer.from(await resp.arrayBuffer());
require("fs").writeFileSync("ps1_sample_file_200KB.ps1", buf);
# Download and verify SHA256
curl -L -o ps1_sample_file_200KB.ps1 https://samplefile.com/samples/download/code/ps1/ps1_sample_file_200KB.ps1/
echo "faef9280ba499ced8ccbc2cbf522473a6e3a8ffaac6a9c89e58cc18da4a5be8d ps1_sample_file_200KB.ps1" | shasum -a 256 -c
# Python
import hashlib, requests
data = requests.get("https://samplefile.com/samples/download/code/ps1/ps1_sample_file_200KB.ps1/").content
assert hashlib.sha256(data).hexdigest() == "faef9280ba499ced8ccbc2cbf522473a6e3a8ffaac6a9c89e58cc18da4a5be8d"
More PS1 files
Other PS1 Sample Files
| Filename | Size | SHA256 | Download |
|---|---|---|---|
ps1_sample_file_1MB.ps1 |
1.0 MB | db9881885ee3882a… |
Download |
ps1_sample_file_500KB.ps1 |
500.0 KB | e5e527d9b5276db6… |
Download |
ps1_sample_file_50KB.ps1 |
50.0 KB | a6560026a6ffbc5f… |
Download |
Learn more