slack powershell command
$uriSlack = "https://hooks.slack.com/services/{guids}"
$body = ConvertTo-Json @{
pretext = "Hello world"
text = "This is the text below with a blue thingy next to it"
color = "#142954"
}
try {
Invoke-RestMethod -uri $uriSlack -Method Post -body $body -ContentType 'application/json' | Out-Null
} catch {
Write-Error (Get-Date) ": Update to Slack went wrong..."
}
Also in C++:
- Title
- docker compose install ubuntu
- Category
- C++
- Title
- uninstall R
- Category
- C++
- Title
- chmod 777 command in linux
- Category
- C++
- Title
- github file and folder upload step by step
- Category
- C++
- Title
- how to install .deb file ubuntu
- Category
- C++
- Title
- shell search history
- Category
- C++
- Title
- No module named 'seaborn'
- Category
- C++
- Title
- npm install vuelidate
- Category
- C++
- Title
- remove symbolic link
- Category
- C++
- Title
- command wait bash
- Category
- C++
- Title
- apollo client install in gatsby
- Category
- C++
- Title
- How to get last digit of a number in words (javascript)
- Category
- C++
- Title
- save output of command to craible bash
- Category
- C++
- Title
- where is tetris in linux terminal
- Category
- C++
- Title
- ubuntu install certbot
- Category
- C++
- Title
- install firebase-tools globally yarn
- Category
- C++
- Title
- sed print from match to end of file
- Category
- C++
- Title
- wtforms install
- Category
- C++
- Title
- powershell install-package multiple msi from local file
- Category
- C++
- Title
- cordova install plugin at branch
- Category
- C++
- Title
- auth for github in vault hashicorp
- Category
- C++
- Title
- remove environment variable linux
- Category
- C++
- Title
- install thefuck for ubuntu
- Category
- C++
- Title
- gem install version
- Category
- C++