GithubHelp home page GithubHelp logo

jeffbrowntech / skype Goto Github PK

View Code? Open in Web Editor NEW
5.0 3.0 1.0 37 KB

Skype Scripts

PowerShell 100.00%
powershell-module powershell-scripts skype-for-business skype-for-business-online powershell

skype's Introduction

Skype Scripts and Modules

This is a collection of Skype-related PowerShell scripts and modules I have written.

skype's People

Contributors

jeffbrowntech avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

mirvari86

skype's Issues

Working on an update for Teams

Hello Jeff,

Thank you for this wonderful Script for Skype Online Functions - They are very useful!
I see the last update is a few years in the past, so I started working to make it usable for Teams.
A few License changes I have scoped out (added M365 licenses, removed E1s, etc.)
New to github, so don't know how to share...

Add additional checks

Please add for check status service on EDGE servers

foreach ($pool in $AllEdgePools)
{
    $AllLyncServers += Get-CsComputer -Pool $pool | Select-Object -ExpandProperty Fqdn
}

and

Write-Host "`nChecking $pool Central Management Database `n" -ForegroundColor Yellow
$test = Test-CsDatabase -CentralManagementDatabase
Write-Host "`nServer`t`t`t`t`t`t`t`tDatabse`t`tStatus Report" -ForegroundColor yellow
foreach ($DataBAse in $test) {
    Write-Host $DataBAse.SqlServerFqdn `t`t -NoNewLine
    Write-Host $DataBAse.DatabaseName `t`t`t -ForegroundColor Green -NoNewLine
    if ($DataBAse.Succeed -eq "True") {
        Write-Host $DataBAse.Succeed -ForegroundColor Green 
    }else {
        Write-Host $DataBAse.Succeed -ForegroundColor red
    }
}

foreach ($sql in $AllSQLServers) {

    Write-Host "`nChecking Configured Databases on server $sql `n" -ForegroundColor Yellow
    $test = Test-CsDatabase -SqlServerFqdn $sql -ConfiguredDatabases
    Write-Host "`nServer`t`t`t`t`t`t`t`tDatabse`t`tStatus Report" -ForegroundColor yellow
    foreach ($DataBAse in $test) {
        #Write-Host "`nServer`t`t`t`tDatabse`t`tStatus Report" -ForegroundColor yellow
        Write-Host $DataBAse.SqlServerFqdn `t`t -NoNewLine
        Write-Host $DataBAse.DatabaseName `t`t`t -ForegroundColor Green -NoNewLine
        if ($DataBAse.Succeed -eq "True") {
    		Write-Host $DataBAse.Succeed -ForegroundColor Green 
        }else {
            Write-Host $DataBAse.Succeed -ForegroundColor red
        }
    }
}

For small check databse status

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.