OCS PowerShell Functions from the OCS RTM Reskit, OCS-ALL.ps1

PowerShell is what you make out of it. It's a base for powerful scripting that can help you determine specific information about an OCS deployment, change a single attribute of a single user or change multiple attributes on thousands of users.
OCS PowerShell Functions from the OCS RTM Reskit, OCS-ALL.ps1
This script can be loaded by launching PowerShell, change directory to where your PS scripts live, and run the script:
  • PS C:\PowerShell_scripts>. ./OCS-ALL.ps1
You'll now be able to run any of the OCS functions for the OCS-ALL,ps1 script. Some of these functions will return a single line answer and some will return many lines of data. In the later case I like to "pipe" the results into a text file.
  • Get-ocssipdomain
  • Get-ocsadcontainer
  • Get-OCSUserDetail -condition "PrimaryURI like 'SIP:S%'"
  • Get-ocsuserdetail >ocsuserdetail.txt
  • Get-ocsuserdetail
  • Other functions from the OCS-ALL.ps1 that I use that require you to pipe the results into a text file are:
    • Get-ocserrorevent >ocserror.txt
    • Get-ocswaringevent >ocswarning.txt
    The following are all the functions within the OCS-ALL.ps1 script.
    • Get-OCSSIPDomain
    • New-OCSSIPDomain
    • Remove-OCSSipDomain
    • Get-OCSPool
    • Choose-OCSPool
    • Get-OCSADContainer
    • Get-OCSSchemaVersion
    • Get-OCSWarningEvent
    • Get-OCSErrorEvent
    • Get-OCSUser
    • Remove-OCSUser
    • Get-OCSUserDetail
    • Get-OCSPICUserCount
    • Get-ADUser
    • Export-ADUser
    • New-OCSuser
    • Update-OCSUser
    • Export-OCSUser
    • Import-OCSUser
    • Get-OCSMeetingPolicy
    • New-OCSMeetingPolicy
    • Update-OCSMeetingPolicy
    • Remove-OCSMeetingPolicy
    • Choose-OCSMeetingPolicy
    • Get-OCSUCPolicy
    • New-OCSUCPolicy
    • Update-OCSUCPolicy
    • Remove-OCSUCPolicy
    • Choose-OCSUCPolicy
    • Get-OCSNormalizationRule
    • Choose-OCSNormalizationRule
    • New-OCSNormalizationRule
    • Remove-OCSNormalizationRule
    • Update-OCSNormalizationRule
    • Get-OCSLocationProfile
    • Choose-OCSLocationProfile
    • Remove-OCSLocationProfile
    • New-OCSLocationProfile
    • Add-OCSNormalizationRuleToOCSLocationProfile
    • Remove-OCSNormalizationRuleFromOCSLocationProfile
    • Get-OCSPhoneRoute
    • Choose-OCSPhoneRoute
    • Remove-OCSPhoneRoute
    • New-OCSPhoneRoute
    • Update-OCSPhoneRoute
    • Get-OCSPhoneRouteUsage
    • Choose-OCSPhoneRouteUsage
    • Remove-OCSPhoneRouteUsage
    • New-OCSPhoneRouteUsage
    • Get-OCSGlobalUCSetting
    • Get-OCSUCPolicyForOCSUser
    • Get-OCSPhoneRouteUsageForOCSUCPolicy
    • Get-OCSPhoneRouteForOCSPhoneRouteUsage
    • Get-OCSPhoneRouteForNumber
    • Add-OCSPhoneRouteUsageToOCSPhoneRoute
    • Remove-OCSPhoneRouteUsageFromOCSPhoneRoute
    • Add-OCSPhoneRouteUsageToOCSUCPolicy
    • Remove-OCSPhoneRouteUsageFromOCSUCPolicy
    • Start-OCSReplication
    • Get-OCSWindowsService
    • Stop-OCSWindowsService
    • Start-OCSWindowsService
    • Get-OCSSipRoutingCert
    • Get-OCSEdgeFederationExternalCert
    • Get-OCSEdgeFederationInternalCert
    • Get-OCSEdgeConferencingExternalCert
    • Get-OCSEdgeAvAuthCert
    • Get-OCSEdgeInternalDomain
    • New-OCSEdgeInternalDomain
    • Remove-OCSEdgeInternalDomain
    • Get-OCSEdgeInternalServer
    • New-OCSEdgeInternalServer
    • Remove-OCSEdgeInternalServer
    • Get-OCSEdgeFederationDenied
    • Remove-OCSEdgeFederationDenied
    • New-OCSEdgeFederationDenied
    • Get-OCSEdgeFederationPartner
    • New-OCSEdgeFederationPartner
    • Export-OCSEdgeFederationPartner
    • Import-OCSEdgeFederationPartner
    • Remove-OCSEdgeFederationPartner
    • Get-OCSEdgeIMProvider
    • New-OCSEdgeIMProvider
    • Update-OCSEdgeIMProvider
    • Remove-OCSEdgeIMProvider
    • Get-OCSTrustedService
    • Choose-OCSMediationServer
    • Get-OCSMediationServerSetting
    • Set-OCSMediationServerPlusSign
    • Enable-ExchUmForOcsUser
    • Get-ExchUMDialPlan
    • Get-OCSFunction
    Published Wednesday, February 03, 2010 10:43 PM by wesglock
分享至
一键收藏,随时查看,分享好友!
0人
了这篇文章
类别: powershell┆阅读( 0)┆评论( 0) ┆ 返回博主首页┆ 返回博客首页
上一篇 Make Sense of Memory Management and Key Mem.. 下一篇 the evolution of communication

相关文章

  • 易学易用的Windows PowerShell
  • Exchange2007:通过PowerShell批量创建用户邮箱
  • OCS(office commmunication server 2007)企..
  • OCS2007标准版服务器部署
  • lcs/ocs错误集锦以及解决思路

职位推荐

  • 前端开发工程师(nodejs)
  • Java开发工程师
  • NodeJS开发
  • Java开发工程师
  • 后端开发工程师

文章评论

 
 

发表评论            

昵  称:
登录  快速注册
验证码:

点击图片可刷新验证码请点击后输入验证码博客过2级,无需填写验证码

内  容:

同时赞一个

你可能感兴趣的:(powershell,functions,RTM,ocs,Reskit)