• [Script of Nov 15th] Find Users with Specific Features Enabled in Microsoft Lync Server 2010

    Script Download: SearchOSCCSUser.zip 
    http://gallery.technet.microsoft.com/scriptcenter/ScriptFind-Users-with-fa3d97ea

    This script finds users with specific features enabled in Microsoft Lync Server 2010. Features of following policies which defined in user scope are supported by this script.

    • Voice Policy
    • Conferencing Policy
    • Pin Policy
    • ExternalAccess Policy
    • Location Policy
    • Client Policy
    • ClientVersion Policy
    • Presence Policy
    • Mobility Policy
    • Archiving Policy

    Microsoft Lync Server 2010 provides a lot of policies to allow IT administrators to control the features which could be used by end users. Currently, if administrators want to know the list of users who are allowed to use some features, they have to find these policies by using Where-Object cmdlet first. After that they need to prepare a filter script manually by using the policy names. It’s a time consuming job if there are a lot of policies in the organization. Also some administrators want to maintain this kind of list for compliance purpose.

     

    image image
    image image

    You can find more All-In-One Script Framework script samples at http://aka.ms/onescriptingallery

  • [Script of Nov 16th] Add one user/group to one specified Reporting Services item in SQL Server

    Script Download: addpolicy.zip
    http://gallery.technet.microsoft.com/scriptcenter/Add-one-usergroup-to-one-59b89695

    This Visual Basic.NET sample script illustrates how to add one user or one group to a SQL Server Reporting Services item by referencing SSRS web services. This script applies to SQL Server Reporting Services 2005, 2008, 2008 R2 and 2012 versions in native mode.

    Add a user or a group and grant certain permission on specify item is one question frequently meet in Reporting Services administration. Traditionally, IT professionals can finish this task in Report Manager web site. Actually, using one rss script with variables can also achieve the same effect as using UI.

     

    image image
    image image

    You can find more All-In-One Script Framework script samples at http://aka.ms/onescriptingallery

  • [Script of Nov 19th] Reset Offline Files Cache and Database in Windows

    Script Download: ReinitializeOfflineFilesCacheAndDatabase.zip
    http://gallery.technet.microsoft.com/scriptcenter/Reset-Offline-Files-Cache-83249475 

    This script resets offline files cache and database. You can use this script to reset offline files cache and database on a local computer or against remote computers. Workgroup computers are also supported.

    On a Windows Vista-based or Windows 7-based client computer, you can still access offline files even though the file server is removed from the network. On a Windows XP-based client computer, sometimes the offline files cache and database may be corrupted. If multiple computers have this problem, Help desk need a script to reset offline files cache and database on multiple machines.

     

    image image
    image image

    You can find more All-In-One Script Framework script samples at http://aka.ms/onescriptingallery

  • [Script of Nov 20th] Synchronizes configurations on RADIUS proxy servers (VBScript)

    Script Download: SyncNPSConfiguration.zip
    http://gallery.technet.microsoft.com/scriptcenter/Synchronizes-configurations-983962bf

    This script synchronizes the NPS configuration of different NPS proxy servers that are located in the same domain.

    In some scenarios, you may deploy multiple RADIUS servers instead of one central RADIUS server and other servers that act as proxy servers. However, it is difficult to ensure the consistency of the configurations of multiple RADIUS proxy servers. IT Administrators have to use the "netsh nps export" command to export a configuration file, and then use the "netsh nps import" command to import it to other NPS servers manually. There is no automatic way to synchronize the servers.

     

    image image
    image image

    You can find more All-In-One Script Framework script samples at http://aka.ms/onescriptingallery

  • [Script of Nov 21st] Change window border,desktop icon spacing,desktop background color and wallpaper of Windows

    Script Download: ChangeDesktopIconSize.zip
    http://gallery.technet.microsoft.com/scriptcenter/Change-window-borderdesktop-609a6fb2

    This sample demonstrates how to change the window border, desktop icon spacing, desktop background color, and wallpaper by using PowerShell script. This script completes the tasks by using P/Invoke to call Windows API functions.

    IT administrators can use this script to adjust desktop appearance for a group of computers to keep a consistent user experience.

     

    image image
    image image

    You can find more All-In-One Script Framework script samples at http://aka.ms/onescriptingallery