This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Install-CsDatabase -DatabaseType Monitoring -SqlServerFqdn sql.ucmadscientist.com -SqlInstanceName Foo_Lync -Update |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Function Clear-S4BFabricLogs | |
{ | |
<# | |
.SYNOPSIS | |
Removes old Windows Fabric log files and Perfmon Data | |
.DESCRIPTION | |
Removes logfiles older than 14 days from the following locations | |
C:\ProgramData\Microsoft\SF\Log\PerformanceCounters_WindowsFabricPerfCounter | |
C:\ProgramData\Microsoft\SF\Log\PerformanceCountersBinaryArchive |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PS C:\UcMadScientist\Scripts\Migrate-CsUsers> Import-CsUserData -PoolFqdn aumlesfb01.ucmadscientist.com -FileName .\ContactsExportModified.zip -UserFilter button.mash@ucmadscientist.com | |
Import-CsUserData : Specified part does not exist in the package. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$AutoAttendants = (get-UmAutoAttendant) | |
Foreach ($Attendant in $AutoAttendants) | |
{ | |
Write-host "Processing $($attendant.name)" -colour green | |
New-Item -Path . -Name $attendant.name -ItemType "directory" | |
Set-Location -Path .\$($Attendant.name) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Skype User Offboarding Response Group Cleanup. UcMadScientist.com | |
#Define user account | |
$SipAddress = "Button.Mash@EquestriAero.com" | |
#Create an array of response groups containing the user | |
$RGSGroups = (Get-CsRgsAgentGroup | where {$_.AgentsByuri -contains "Sip:$SipAddress"}) | |
#Run through the groups and remove the user | |
ForEach ($Group in $RGSGroups) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
New-CsIPPhonePolicy -Identity "Always-On" -EnablePowerSaveMode $false | |
Get-Csuser -filter {<your filter syntax here>} | Grant-CsIPPhonePolicy -PolicyName "Always-On" |