• [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 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 14th] Get Mailbox and Mailbox Database Statistics in Microsoft Exchange 2010

    Script Download: GetMailboxDatabaseStatistics.zip
    http://gallery.technet.microsoft.com/scriptcenter/Get-Mailbox-and-Mailbox-96915f45 

    This script could be used to get mailbox and mailbox database statistics in Microsoft Exchange 2010. You can use this script to get different properties based on your needs.

    In a real world, IT administrators may want to get mailbox and mailbox database statistics for their production environment. By this way, they can closely monitor mailbox size growth and the database growth. They can also use this script for change verification after modifying some properties of mailboxes and mailbox databases.

    image

     

    image image
    image image

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

  • [Script of Nov 13rd] Create a Shutdown/Restart/Logoff Windows 8 Tile for the Start menu (PowerShell)

    Script Download: CreateWindowsTile.zip
    http://gallery.technet.microsoft.com/scriptcenter/Create-a-ShutdownRestartLog-37c8111d

    This PowerShell script illustrates how to create a Shutdown or Restart or Logoff Windows 8 tile to the Start menu.

    In Windows 8, without a Start button, properly shutting down or rebooting Windows can be a bit of a chore. So many users want to shut down or reboot windows in just one click. Now, this script enables user to just click on a tile to shut down, reboot or log off Windows from the Start menu.  It is really convenient.

     

    image

     

    image image
    image image

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

  • [Script of Nov 12nd] Script to configure virtual memory page file size (PowerShell)

    Script Download: AdjustVirtualMemoryPagingFileSize.zip
    http://gallery.technet.microsoft.com/scriptcenter/Script-to-configure-e8d85fee 

    This PowerShell Script illustrates how to adjust virtual memory page file size of your Windows system.

    image

     

    image image
    image image

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