There are articles available about PowerShell, Windows, Linux and IT security on this blog.
Tuesday, December 26, 2017
Tutorials for Office Online Server
Office Online Server is a solution for a Sharepoint Server or Exchange Server to open Office documents.
Requirements:
https://ucgeek.co/2016/06/office-online-server-software-requirements/
The official guide from Microsoft:
https://technet.microsoft.com/en-us/library/mt572054(v=exchg.150).aspx
Other tutorials:
https://www.linkedin.com/pulse/office-online-server-installation-guide-eli-shlomo/
https://jaapwesselius.com/2016/12/08/install-office-online-server-2016/
Monday, December 25, 2017
Permissions and user rights for IIS 7.0 and later..
This is useful information for IIS servers:
Specify an Identity for an Application Pool (IIS 7)
Read more about Identities in IIS here..
Default permissions and user rights for IIS 7.0 and later
Read more about default permissions here..
Understanding Built-In User and Group Accounts in IIS 7
Read more about Built-In user and Group Accounts here..
Wednesday, December 6, 2017
New on Vice: Season 2 of Cyberwar
There is a new season of Cyberwar on Viceland.com:
https://www.viceland.com/en_us/show/cyberwar
Ben Makuch travels the world to meet with hackers, government officials, and dissidents to investigate the ecosystem of cyberwarfare.
https://www.viceland.com/en_us/show/cyberwar
Ben Makuch travels the world to meet with hackers, government officials, and dissidents to investigate the ecosystem of cyberwarfare.
Monday, December 4, 2017
Powershell: Counter with speech
This is a basic counter with speech:
# Making a speech object:
Add-Type -AssemblyName System.speech
$speak = New-Object System.Speech.Synthesis.SpeechSynthesizer
# The counter with speech:
$i = 0
while( $i -le 100){
$speak.Speak($i)
$i++
}
Friday, December 1, 2017
Get Bitcoin Price with Powershell
With this function you can get the Bitcoin price as a string value or spoken with Powershell
function Get-BitcoinPrice{
param (
[Boolean]$Speech = $false
)
#Get the current price from coinmarketcap.com
$content = Invoke-WebRequest -uri https://api.coinmarketcap.com/v1/ticker/bitcoin/
#Select the price from the content
$found = $content.Content -match "price_usd`": `"(?<price>.*)`","
$price = $matches['price'].ToString()
#If the parameter -Speech is $true, then you can hear a voice saying the price.
if($Speech -eq $true){
Add-Type -AssemblyName System.speech
$speak = New-Object System.Speech.Synthesis.SpeechSynthesizer
$speak.Speak("Bitcoin price is $price")
}
#The price is returned for future usage.
Return $price
}
Get-BitcoinPrice -Speech $true
# or
Get-BitcoinPrice
Subscribe to:
Posts (Atom)