Posts

Es werden Posts vom Oktober, 2022 angezeigt.

Passbolt | open source password manager

Bild
  Passbolt | The open source password manager for teams

Check Server Status

How To Check Server Status Windows PowerShell | VCP Blog (wordpress.com) # Declare Variables # $OutputFileName = "c:\temp\Server_Status.csv" # # Delete Output file # if ( Test-Path $OutputFileName ){     Clear-Host     Write-Host "Output File already Exists, deleting output file now - $OutputFileName . `n " -ForegroundColor Black -BackgroundColor Green     Remove-Item $OutputFileName     [ console ]::Beep( 500 , 700 ) } # # Validate to check Single or Muliple servers # $Check_Type = Read-Host "Do you want to Check status of (S)ingle or (M)ultiple Servers?" if ( $Check_Type -eq "S" -and $Check_Type -ne "" ) { $ServerName = Read-host "Enter Computer Name" if ( Test-Connection -ComputerName $ServerName -Count 1 -ErrorAction SilentlyContinue) {         # Write Column Heading delimited by Tab         #         echo "Host Name `t Node Status" > $OutputFileName     ...

Event Log mit Powershell auslesen

 Get-EventLog -LogName Security -InstanceId 4624  -Newest 10