Are you the publisher? Claim or contact us about this channel

Embed this content in your HTML


Report adult content:

click to rate:

Account: (login)

More Channels

Channel Catalog

Channel Description:

Resources for IT Professionals

older | 1 | .... | 805 | 806 | (Page 807) | 808 | 809 | .... | 889 | newer

    0 0

    By Ben Howard, MVP.  Ben has over 20 years’ experience of implementing enterprise solutions such as MRPII, ERP, and latterly Microsoft’s EPM (Project and Project Server) solution.  He has been a Microsoft Project MVP for the last 7 years, and is the author of Microsoft Project 2013 Plain & Simple .

    Now that the Christmas festivities are over, it’s time to take stock and investigate which technologies might begin to make a difference to you and your work in 2016. As a Project MVP, the technology stack that I have to keep an eye on has typically been fairly small, consisting of Microsoft Project and Project Server(and therefore SharePoint, Windows and SQL). As such, I can safely ignore most of the upgrades to the server applications (Exchange), developer tools (Visual Studio etc.) and desktop upgrades (Windows 10 etc.) which appear to me to make up the majority of Microsoft updates.

    Anyway, back to the day job of implementing and deploying Project Server and Project Online. One of the key components of any successful deployment is reporting; typically, customers like a mixture of textual reports, and for senior management, a “dashboard”. Historically dashboards have been created using Excelbecause, lets face it, Excel is everywhere, it’s easily understood, and Excel charts can be rendered and displayed using Excel Services.

    Creating Excel dashboards is no easy job

    Creating Excel dashboards isn’t an easy job due to the additional skills required to write SQL select statements (on premise), use SharePoint and Excel Services. Latterly with Project Online, you also need the skills to consume and manipulate the OData feeds(to access the cloud data). This is a complex mixture of technologies for sure and hence creating dashboards is a highly skilled job, often performed by an external consultant. Dashboards don’t remain static forever, and change often during the first year of a Project Server/Project Online deployment (as the project management maturity of the organisation and consistency of the data both improve), which is fine if the organisation has retained the services of the consultant, but if not, then the dashboards often become outdated and unused.


    Enter Power BI

    This is where Power BI comes in. Unlike Excel, Power BI has been designed from the ground up to be a dashboard application that hooks into other data sources. The Power BI folks have hooked up with application vendors to make sure that Power BI can quickly and easily consume data from their applications by way of predefined “content packs”. From a Project Online perspective, this means all I have to do is open Power BI, point it at the Project Online Content Pack, supply the URL of my Project Online tenant and enter a set of credentials.

    Building blocks

    Before we get started, it’s worth understanding the building blocks of Power BI, of which there are three; dashboards, reports and datasets.

    A dataset is something that you import or connectto. Use Power BI to bring all of your data together. See it all in one place and access it from all of your devices.

    A reportis one or more pages of visualisations (charts and graphs). Reports can be created from scratch within Power BI, can be imported with dashboards that colleagues share with you, or can be created for you when you connect to datasets from Excel, Power BI Desktop, databases, and SaaS applications (including Project Online) and content packs.

    A dashboardis something you create or something a colleague creates and shares with you. It is a single canvas that contains one or more tiles. Each tile displays a single visualisation that was created from the data in one of the underlying dataset(s).


    Power BI Service and Desktop

    You can interact with Power BI using a browser (aka Power BI Service), mobile client or desktop (aka Power BI Desktop) client.

    To get started, login to the service using your O365 credentials on the Power BI site.

    Figure 1 - Sign into Power BI

    From within Services (1) select the Microsoft Project Online (2)content pack:

    Figure 2 - Select the Project Online content pack

    Enter the URL of your tenant (remember you might have several tenants associated with one account, hence the requirement to be explicit here):

    Figure 3 - Connecting the Content Pack to Project Online

    At the authentication prompt, choose Auth2 and sign in using your Office 365 account. This checks that you have the right permissions for that tenant (you need to have Portfolio Vieweror above rights).

    Once you’ve done this, you are then placed straight into the dashboard, and you can see that I have a new report and new dataset as well (denoted with the yellow asterisk). The other reports and datasets are existing ones I’ve created:

    Figure 4 - Project Online Content Pack Dashboard

    From this point on you can create your own dashboards and reports, using the predefined content pack.

    Specify your own data source

    However, if the content pack doesn’t do exactly what you need, then you can specify your own data source. You can do this by downloading and running the Power BI Desktop application: from there use the Get Data button to connect to your Project Web Appsite. One of the reports my customers consistently require is the “who’s doing what and when” report - this isn’t available in the Project Online content pack, so I need to create my own.

    Figure 5 – Select Get Datafrom the Power BI Desktop

    Figure 6 - Use the ODatafeed

    Figure 7 - the OData feed URL for the PWAtenant

    The next screen is the Navigator screen, which prompts you to select the tables in the database. For resource information (timephased work etc), choose the AssignmentTimephasedDataSet and the Resourcetables.

    Figure 8 - Select the tables

    Manage relationships

    Power BI is smart enough to create the relationship between the tables, in this instance using the ResourceID, but if you need to create your own relationships then you can use the Manage Relationships dialogue box.

    From here on in you can use Power BI to create the reports and dashboards you wish, in this case producing a report which shows me which resource is working on which project on which day – this is the kind of gold-dust report which typically has been really difficult to produce.

    How can I get it?

    If you’re using Office365, then Power BI is free, though of course there is a paid for version which isn’t expensive and gives some additional features. 

    For further information on Power BI, please review the Power BI website.

    0 0

    Nested virtualization is running virtualization inside a virtualized environment. On Windows Server 2016 Technical Preview 4, you may run the Hyper-V server role inside a virtual machine. For more information regarding nested virtualization please visit the link below.

    No doubt, nested virtualization is extremely useful, especially for the engineering group who need the access the physical host. I don't want to list value proposition those marketing stuff. Just gave an example here. With Nested Virtualization, I retired all the old servers. Previously I keep them just because I need some Hyper-V host in my environment. Now I only need to keep few powerful servers

    When adopting nested virtualization, besides the knowns issues mentioned in the above link, another concern is performance overhead. Virtualization would have some performance overhead. Then how about virtualization inside a virtualized environment? Is the performance acceptable? In this blog I will use some simple tests  and address those concerns.

    Test Environment:

    Host: HP Z840 Workstation

    • E5-2686v3 (2.0GHz, 18 Cores, 36 threads) X2
    • 256GB DDR4 Memory
    • Data Drive: Local Simple Storage Space with 5 HITACHI SSD800MM 800GB SSDs
    • NIC: Mellanox Connect-3 10Gb


    • 2.0GHz X16
    • 64GB DDR4 Memory
    • Data Drive: 128GB Fixed VHD on the above simple Space.
    • NIC: 10Gb

    Nested VM

    • 2.0GHz X8
    • 16GB DDR4 Memory
    • Data Drive: 128GB Fixed VHD inside the above Data VHD
    • NIC: 10Gb

    Performance Overhead: Processor

    When we are talking about the performance of a processor, actually it means lots of thing. In this blog, I just use Fritz Chess Benchmark, which is basically test the processor number crunching speed (thelarge-scaleprocessing of numericaldata). Its version 4.3 can support up to 16 cores. In my test, I limited it to 8 cores.

    1. Run Fritz Chess Benchmark from Host. As you could see from the picture below, the benchmark tool stress 8 of my cores.

    The test result is 33.55, which mean basically its number crunching speed is faster than 33 Intel P3 1.0GHz processor.  

    2. Run Fritz Chess Benchmark from VM.

    Test result is 32.16

    3. Run Fritz Chess Benchmark from Nested VM.

    Test result is 31.45.

    Performance Overhead: Network IO

    In the test I have another server with the same 10Gb NIC (Mellanox Connect-3). Its IP address is I run the command on that machine.
    ntttcp.exe -r -m 8,*, -rb 2M -a 16 -t 15

    Then I run the following command on Host, VM and Nested VM.
    ntttcp.exe -s -m 8,*, -l 128k -a 2 -t 15

    1. Run NTTTCP on the host. The throughput is 1124.05MB/s and CPU utilization is 3.567%

    2. Run NTTTCP in the VM. The throughput is 1119.713MB/s and CPU utilization is 8.516%

    3. Run NTTCP in the nested VM. The throughput is 1060.721MB/s and CPU utilization is 8.527%.

    Performance Overhead: Storage IO

    Run the following command on Host, VM and Nested VM to test data drive's 4KB random write performance.
    fio.exe --name=4kwritetest --rw=randrw --direct=1 --iodepth=20 --blocksize=4k --ioengine=windowsaio --filename=\\.\PhysicalDrive1 --numjobs=16 --refill_buffers --norandommap --randrepeat=0 --rwmixread=0 --group_reporting --runtime=1800 --thread

    1. Run FIO on the host. The simple storage space can provide around 465,536 IOPS.

    2. Run FIO in one VM, the result is 139,634 IOPS.

    Then run FIO in the 4 VMs simultaneously, those 4 VMs are all on the above simple storage space. I got 373178 IOPS in total.

    3. Run FIO in single nested VM. The result is 76,259 IOPS.

    Then run FIO in the 4 VMs simultaneously, those 4 VMs are all on the above simple storage space. I got 94,897 IOPS in total.


    Based on the above test results, we could see in the first layer virtualization, there is only around 4.14% CPU performance drop. The nested virtualization introduced the additional 2.21% performance drop. Not too much.

    In terms of networking subsystem we could see network overhead (Throughput and CPU utilization) is not huge either.

    However for Storage Sub-system, we could see the first layer virtualization, the storage performance penalty is around 21.38%. The second layer virtualization introduce additional 32.04% performance overhead. Obviously prepare a good storage is the key to have better performance in nested virtualization environment.

    0 0

    Por: Federico Rodríguez, Coordinador Editorial News Center Microsoft Latinoamérica. 2015 está por finalizar y durante este año tratamos una gran cantidad de temas aquí, en el blog de Microsoft en Español con ustedes. Queremos agradecerles que nos hayan acompañado, leído y compartido el contenido que cada día publicamos por aquí y esperamos que para 2016 sigan con nosotros en este blog. Durante este año que ya casi termina, hablamos de diferentes temas, pero después de hacer un conteo final, nos gustaría...(read more)

    0 0

    Hi everybody

    As per Carol’s introduction post, she's letting you know what's new and hot in the docs for this month.

    Reminders: Follow us on twitter (@TheRMSGuy) and join in our RMS peer community at

    Happy New Year! 

       Dan (on behalf of the RMS team)

    The Documentation Library for Azure Rights Management has been updated on the web and the latest content has Updated: December 1, 2015 (or later) at the top of the page.

    Summary of the documentation available: Getting Started with Rights Management | Configuring Rights Management | Using Rights Management | Administering Rights Management by using Windows PowerShell

    Plus, the Rights Management sharing application guides (admin guide and user guide) and FAQs (for Windows and mobile platforms).

    As we wrap up 2015, it's been a quieter time for the RMS team as many of our hard-working folks take a well-earned break. But that doesn't mean doc updates stop entirely. We have the perfect New Year offering for you if you're using this quieter time to plan for next year:

    When you click this link, you'll see this new page in the Azure Rights Management documentation library isn't the actual guide but an introduction to what this guide is and a link to download it (Word or PDF format) from the Microsoft Download Center. This guide is downloadable only, because it contains not only administrator instructions, but templates for end user documentation.  You must copy, paste, and edit the end user documentation to suit your environment and business requirements.

    We called this documentation a "rapid deployment guide" because it offers a menu-like list of scenarios that customers tell us offer a lot of business value when Azure Rights Management is configured with complementary technology solutions.  For example, a practical implementation of Rights Management with SharePoint libraries, with Exchange transport rules, and with Windows file servers.  You can choose just one scenario to get going quickly with Azure RMS, and then choose to either expand it further, or move on to the next scenario. The full list of scenarios in this first release are:

    • Safely email an Office file to users in another organization with the ability to track the resulting access (business-to-business collaboration).  Examples:
      • Send a price list, roadmap, or release plans to a customer
      • Send a work order, or marketing specification to a vendor
      • Send a tender or request for quotation (RFQ) to a partner
    • Ensure documents stored in a SharePoint library remain under your control.  Examples:
      • Departmental spreadsheets and reports
      • Cross-team collaboration for design documents or other deliverables
    • Executives can securely exchange privileged information over email.  Examples:
      • Sharing acquisition plans
      • Discussing or disseminating legal issues
      • Information about potential layoffs or other sensitive subjects
    • Automatically protect all files on a file server.  Examples:
      • CAD documents that must be kept in-house to prevent loss of intellectual property
      • Marketing promotion plans and dates that must be kept secret from public disclosure to maintain a competitive advantage
    • Tightly protect your most confidential, high-business impact documents.  Examples:
      • Recipe or formula information that is unique to your company
      • Highly classified takeover or merger plans
      • Natural resources exploration data
    • Securely send company-confidential emails and attachments.  Examples:
      • Company vision statement
      • Organization charts, reorganization news, or promotion announcements
      • Company policy information
    • Apply persistent protection for Office files in Work Folders.  Examples:
      • Locally edited Word documents for a company-confidential project
      • Locally created spreadsheets that contain sensitive data or high business impact data
      • Locally stored work-in-progress PowerPoint presentations that must not be leaked or accidentally shared with people outside the organization until the presentations are final

    As hinted, we plan to build on this list, as we get more feedback from people what they would find useful, and as more technologies embrace Rights Management to help protect your data.  

    This guide represents a lot of work behind the scenes during 2015, with many customer discussions, and lots of testing/validation. If you were one of these people, give yourself a pat on the back in being instrumental in bringing about this new guide! 

    Listening to our customers and consultants in the field, we learned that organizations were convinced that they needed to start protecting their data (good!), and we heard confirmation that enabling Rights Management in the cloud was no longer the deployment hurdle it used to be with RMS on-premises (also good!). But after Rights Management was activated, people often didn't know where to start - which application or service they should configure for Rights Management first, which of the many options they should be using, and what to tell end users.  So while TechNet still has all the detailed technical information, this guide focuses on discrete solutions that have a practical business purpose.  For example, in this guide you'll see a set of instructions for enabling executives to securely exchange privileged information over email rather than "How to configure Azure Rights Management with Exchange" and then you have to work out when and how to use this configuration, and which options to select.

    For each scenario, we list the requirements that must first be in place (with a link to TechNet if you need to configure these), then the prescriptive administrator instructions, and then the template for suggested end user documentation (with an example of how the final instructions might look after your customizations).  Based on experience, our recommendation for end user documentation is to make the information as specific and relevant as possible, which is why customization is needed and we provide instructions and tips how to do this. For many of the scenarios, there isn't specific step-by-step instructions that end users have to do, because the data protection is applied automatically by administrators.  But end users still need information about what to expect and why they might see changes in their usual workflows.

    As our release of this rapid deployment guide shows, we value customer feedback and try to incorporate it when possible.  Although we can't promise to make the docs perfect for everybody, we are committed to continual improvement.  If you have any feedback about the rapid deployment guide or the other docs for the RMS sharing application or for Azure RMS, email


    What's New for the RMS Sharing Application Documentation, December 2015

    The following information lists the topics that contain significant changes since the last update (September 2015).

    Rights Management sharing application: Version release history

    - Updated for fixes and new functionality in the December release.

    Rights Management sharing application administration guide

    - Updated the Supported file types and file name extensions table to include files that have a file name extension of .tif will be renamed .ptif. Support for files that have a file name extension of .tiff remain the same.

    Rights Management sharing application user guide

    - Updated Download and install the Rights Management sharing application to remove the requirement that you have to be local administrator to install the sharing application. Added a new section about limitations for standard user installs if you are using Office 2010.


    What's New in the Documentation Library for Azure Rights Management, December 2015

    The following information lists the single topic that contains a significant change since the last update (November 2015).

    Deploying the Azure Rights Management Connector

    - Update to the Configuring a SharePoint server to use the connector section, for the newly released MSIPC 2.1 client (1.0.2004.0). The version previously released stopped working in this scenario and was replaced with this version.

    0 0

    Summary: Use the Azure cmdlets to get the current status of a Desired State Configuration file on a virtual machine.

    Hey, Scripting Guy! Question How can I use Windows PowerShell to determine if a Desired State Configuration (DSC) file that I applied to an
               Azure virtual machine is successful?

    Hey, Scripting Guy! Answer Get the Azure virtual machine and pipe the object to Get-AzureVMDscExtensionStatus. The following example
               checks the status on the virtual machine called Hitchy01 on the service called AzureVMNetwork:

    Get-AzureVM –service ‘AzureVMNetwork’ –name ‘Hitchy01’ | Get-AzureVMDscExtensionStatus

    0 0

    最近台灣氣候溫差大,已進入流感好發期的冬季,即便疫情的發生通常具有週期性,民眾稍不留意疫情即可能擴散。為第一時間掌握各種傳染疾病的疫情,衛生福利部疾病管制署 (以下簡稱疾管署) 帶頭出擊,採用微軟的「公有雲」解決方案,以 Microsoft Office 365Azure SQL Database 資料庫服務,打造全新的「防疫雲」平台。藉由資料共享與加值機制,縮短各區衛生單位傳染疾病通報時間,並進一步化被動為主動,即時掌握疫情趨勢,並藉由讓地方衛生單位加入防疫協同作戰部隊,擴大參與及應用效應,實現「疫情即時揭露、全民共同防疫」的目標。



    疾管署的監測系統(Surveillance System),蒐集來自全國與傳染病相關的龐大資料,包括傳染病通報、急診室及門診住院等就醫資訊,以掌握疫情發展。而為了維護資訊環境的效能與穩定性,也為了讓開放資料(Open Data)的分享更有效率、運用更為多元,疾管署在民國 103 年展開為期三年的「防疫雲」計畫。


    除了透過原有的 Microsoft Excel 和 Power BI 的應用基礎來分析疫情外,近期疾管署採用微軟的「公有雲」解決方案,再度導入 Microsoft Office 365 與 Azure SQL Database 資料庫服務,為疫情通報系統加裝監測「千里眼」,在疫情可能發生時,爭取最大防疫緩衝時間。

    不再單打獨鬥,Office 365 雲端平台串連防疫作戰陣線成形


    「微軟提出『公有雲』解決方案,以 Microsoft Office 365 雲端平台和 Azure SQL Database 資料庫處理平台的技術課題,讓疾管署可以無後顧之憂專注在『資料』,把心力用在業務層面和防疫作戰。這樣具有操作門檻低的普及性、技術無縫接軌的共通性、且便於維運的工具,才能讓應用效益倍增。」疾管署疫情中心張啟明副主任進一步說明:「有了這樣的資訊條件,才能讓地方衛生單位加入防疫協同作戰部隊,將源頭資訊匯集整合再分流運用,透過資料流的運作,實現疫情即時揭露的協同作戰理念。」

    台灣微軟營運暨行銷事業群總經理康容表示:「繼與馬偕醫院合作打造三位一體的『醫療智慧雲」』醫務管理系統後,很榮幸台灣微軟能貢獻全球領先的醫療產業服務經驗與雲端科技,成為疾管署『防疫雲』計畫協同作戰最堅實的後盾。由於 Office 操作學習曲線低,還能和 Azure SQL Database 資料庫無縫嫁接,是自助式分析的最佳工具,接下來台灣微軟將持續以微軟全球領先的醫療產業服務經驗與雲端科技,運用科技與資源協助在地合作夥伴,進而提供民眾更好的醫療服務。」

    據疾管署統計,目前全台已有超過 170 家的區域級以上醫院加入協同作戰的行列,將疫情資料即時連線,回傳至「防疫雲」的 Azure SQL Database 資料庫。以急診室為例,民眾到急診室就醫後,十分鐘內相關疫情即透過系統自動傳輸至疾管署資料庫中彙整,省略傳統透過醫護人員上網登錄、層層通報的作業模式,不僅精實人力,更重要的是大幅提升資訊的即時跟正確性,如同疫情通報系統加裝監測「千里眼」。

    化被動為主動,Power BI 即時呈現動態視覺化分析,疫情發展趨勢瞭若指掌

    除了做到資料蒐集,疾管署已針對六個區管中心和全台各縣市衛生局,配發專屬的 Microsoft Office 365 帳號,更建立專區,每天自動排程導入縣市近 70 種法定傳染病最新流行疫情資訊,運用 Power BI 呈現動態視覺化的分析結果,以人時地、病毒型別、縣市區等不同分佈條件,呈現該縣市在傳染病的波動情況。各協防單位可透過 Azure SQL Database 資料庫,檢視授權範圍內的疫情資料,有助於地方衛生機關採取介入措施。精密控管的帳號權限落實資訊分流,讓疫情資訊從中央到地方單位,皆能達到「透明」、「即時」、「一致」且最小阻礙的資訊同步。

    近年來開放資料(Open Data)已不再是口號,疾管署張啟明副主任表示:「雲端不僅是擴散資料的最佳管道,更是將來自各界的防疫力量串連在一起的平台。」目前,疾管署已提供超過 170 多項開放資料且持續增加。預定近期將與醫學中心合作,將 Azure SQL Database 的傳染病統計資料與地理資訊結合,連結內政部人口及社會經濟資料庫指標;或是促進學界利用「防疫雲」來進行交叉分析,例如:環保署的空污指數、氣象局的溫溼度數據,從中挖掘出更多價值,以利在地化資訊的加值應用,發揮防疫「綜效」。


    0 0

    Olá Comunidade Technet,

    Meu nome é Alan Carlos e hoje trago para vocês algumas informações importantes sobre o Portal do TechNet Wiki.

    O objetivo desse artigo não é limitar sua contribuição, pois a Comunidade Técnica precisa de sua ajuda em todos os assuntos!

    Mas a idéia é direcionar e também sanar dúvidas em alguns pontos que a Microsoft está trabalhando forte e conta com o apoio da comunidade TechNet Wiki!

    Cloud First + Mobile First

    A Microsoft sempre está engajada com as tecnologias emergentes, afinal é uma empresa inovadora, sendo uma das principais formadoras de conteúdo nesse sentido. Por isso mesmo, a necessidade dos Wiki Ninjas estarem sempre contribuindo com conteúdo voltado as necessidades atuais da comunidade, que hoje trata de Cloud e Mobile! Afinal, hoje estamos conectados por um dispositivo móvel consumindo um serviço em nuvem, correto?

    E como essa tendência, vêm perguntas como:

    - Como entregar serviços com qualidade ao usuário?

    - Como colocar minha empresa e serviços na nuvem com qualidade, segurança e disponibilidade?

    - Como diferenciar conteúdo corporativo de conteúdo doméstico?

    - Como proteger esses dados e o usuário final?

    - Como saber se seu programa está agradando o usuário mobile?

    A Comunidade Técnica está necessitando de apoio com artigos técnicos vinculados a esses temas, como:

    - Desenvolvimento Mobile;

    - Desenvolvimento Cloud;

    - Application Insights;

    - Office 365;

    - Microsoft OMS;

    - DevOps;

    E muitos outros temas!

    Microsoft + Open Source

    Mais do que nunca, a Microsoft está apoiando a comunidade Open Source, através de incentivos desde Certificações Open Source como o MCSA: Linux on Azure, abertura do código fonte do .NET Framework, trabalhando com tecnologias Open Source como o Linux para a criação do Azure Cloud Switch, e muitos outros trabalhos. 

    Demonstre seu conhecimento, contribuindo com o Portal TechNet Wiki escrevendo artigos de interoperabilidade de produtos Microsoft e a Comunidade Open Source.

     Bom, por enquanto é isso!

    Até a próxima!

    Alan Carlos
    TechNet Wiki Ninja

    Twitter | Blog | Facebook | Perfil




    0 0

    The MVA course on Nano Server was originally recorded back in September, but recently it was updated with some new Technical Preview 4 content, so it's worth going back and taking a look at what's new, or exploring from the beginning if you missed this one. Like other MVA content, you can watch this online, or alternatively you can download the content to your PC, tablet, phone or other media playback device to watch it at your convenience. One of the presenters, Matt McSpirit, was in Australia recently for Ignite, so if you enjoyed his sessions there, catch some more of him here.

    Course information

    Are you spending valuable time patching, updating, and rebooting systems? Bulky server image files demand even more time to install and configure, consuming significant bandwidth, devouring storage space, limiting density, and driving up TCO. Nano Server, available in Windows Server 2016 Preview as part of the software-defined datacenter (SDDC), can help! Learn how to use it, in this technical training.


    Find out how Nano Server is the fastest booting, most cloud-optimized Windows Server version yet, thanks to knowledge gained running Microsoft Azure datacenters at hyperscale. Learn how to build, deploy, and manage Nano Server to increase speed and agility, tighten security, decrease resource consumption, and boost ROI in the integrated datacenter and into the cloud. Get an introduction to Nano Server, explore managing Nano Server with PowerShell and with Remote Server Management tools, and learn troubleshooting tips. Check out this course, and help free your IT team and infrastructure for more pressing activities!

    1 | ​Introduction to Nano Server
    Learn the fundamentals of Nano Server, the scenarios Nano Server is suitable for, and core differences between Nano Server and other Windows Server deployment options.
    2 | Preliminary Results
    Explore some of the initial findings from testing Nano Server during the development process, including the impact on patching, reboots, disk footprint, and more.
    3 | Getting Started with Nano Server
    See how to obtain a Nano Server image and how you can customize the image, ready for deployment. Take a look at some of the more advanced customizations for dual-booting, joining the domain, and more.
    4 | Deploying Nano Server

    Focus on showcase deploying Nano Server into a virtual machine, and see a dual-boot physical system deployment demo.

    5 | Introduction to Nano Server Remote Management

    Explore the different ways that Nano Server can be managed, and focus specifically on how to use existing management tools, such as Server Manager, to manage Nano Server.

    6 | ​Managing Nano Server with PowerShell

    Take a look at the operational management of Nano Server, using PowerShell. Learn about the importance of Core PowerShell, including what it can and can't be used for, when managing Nano Server.

    7 | ​Managing Nano Server with Remote Server Management Tools

    Look at a different management approach, and focus on the brand new, web-based Remote Server Management tools.

    8 | Troubleshooting Nano Server with Setup and Boot Eventing

    Explore important troubleshooting steps for Nano Server. See how to troubleshoot Nano Server using the Emergency Management Services (EMS) and setup and boot eventing.

    9 | Troubleshooting Nano Server with the Emergency Management Console

    Focus on using the Emergency Management Console.
    10 | Developers and Applications

    See how Devs can approach using Nano Server as the basis for apps, enabling them to construct and run born-in-the-cloud applications, using ASP.NET 5 and Node.js. Explore Visual Studio integration.

    11 | Windows Server Installer

    Take a look at the new Windows Server Installer and how it can be used to install applications, agents, and tools onto a Nano Server installation. ​ ​ ​ ​

    12 | Resources

    Wrap up the course, and explore some recommended next steps for additional learning around Nano Server​.

    13 | Technical Preview 4 Update

    Learn about innovations in Nano Server since release of Windows Server 2016 Technical Preview 4 (TP4), like deployment, Recovery Console, and other improvements since the original course publication.

    Recommended Resources & Next Steps

    ​Take this opportunity to dive deeper into these topics, at your own pace.

    • Learn the fundamentals of Nano Server.
    • Explore the operational management of Nano, specifically using PowerShell.
    • Explore the different ways that Nano Server can be managed and how to use existing management tools.
    • Explore how to troubleshoot Nano Server using the Emergency Management Services.
    • Explore some of the initial findings from testing Nano Server during the development process.
    • See how to obtain a Nano Server image and how to customize that image.
    • See how to deploy Nano Server into a VM, and get a demo on a dual-boot physical system deployment.
    • Take a look at Remote Server Management tools.
    • Focus on troubleshooting with the Emergency Management Console.
    • Explore how Developers should approach using Nano Server as the basis for applications.
    • Look at Windows Server Installer and how it can be used to install applications, agents, and tools.
    • Wrap up the course, and hear recommended next steps for additional learning around Nano Server​.
    • Take a look at recommended resources and next steps.
    • Explore Technical Preview 4 updates.


    0 0

    As a bonus featured article for today, we're taking a look at 's...

    WPF: Seasons Greetings


    In this article, Andy takes you on a tour to build an animated greeting card in WPF!

    Andy's introduction helps explain the values you'll get if you build this sample:

    The sample which goes along with this partly exists just as a bit of fun. Even an animated greetings card has little direct use beyond warming the hearts of people looking at it. You can download the sample from the TechNet GalleryThere are a number of techniques used in the sample that WPF developers might find useful in rather more serious applications. Flashy animating adverts or notifications spring to mind. It also illustrates some problem areas a developer may want to avoid.


    You can also download the sample from TechNet Gallery.

    Here is what your final program will look like:


    So get to it!

    WPF: Seasons Greetings


    I hope everyone had a great Christmas and Holiday Season, and that you all have a wonderful New Year's Day!


    When the Wiki works, the Community Wins!

       - Ninja Ed

    0 0

    Summary: MVP, Thomas Rayner, inspires holiday spirit by using Windows PowerShell to trigger some multimedia.

    Hello! I’m Thomas Rayner, a proud Cloud & Datacenter Management Microsoft MVP, filling in for the Scripting Guy for a couple days. You can find me on Twitter (@MrThomasRayner), or posting biweekly on my blog, WorkingSysadmin: Figuring stuff out at work. I’m enjoying some time off from work this holiday season by playing around with some of the multimedia resources that come with Windows.

    Do you have a coworker who you wish was a little more festive? I do. His name is Matthew, and I’m going to inspire him with some nice holiday messages. All I need is a few lines of PowerShell. 

    Windows has a text-to-speech utility built-in to it. The details of how exactly it works aren’t really important to me. What I want to do is add the assembly that lets me interact with it via PowerShell:

    Add-Type -AssemblyName System.Speech 

    So far, so good. I’ve added the System.Speech assembly. That by itself doesn’t do anything other than enable me to access that assembly. What I need to do now is create a new SpeechSynthesizer object:

    $synth = New-Object -TypeName System.Speech.Synthesis.SpeechSynthesizer 

    Now I’ve got a new SpeechSynthesizer named $synth. If you use the Get-Member cmdlet on $synth, you’ll see that it does all kinds of neat things, such as allow you to change the voice, output to different audio streams, and output to a .wav file. Most importantly, $synth has a method called Speak which takes a string, for example.

    $synth.Speak('Hello world') 

    You might need to be a bit patient. It can take a little time for the SpeechSynthesizer to turn your string into audio output, but you should hear the Windows text-to-speech engine speak the words you specified. Pretty cool!

    All I need to do is execute the code on Matthew’s computer instead of mine and replace the message with something more likely to inspire some holiday spirit. That’s as easy as using Invoke-Command. My script now looks like this:

    $Computer = 'Matthew-Computer'

    Invoke-Command -ScriptBlock {

        Add-Type -AssemblyName System.Speech

        $synth = New-Object -TypeName System.Speech.Synthesis.SpeechSynthesizer

        $synth.Speak('Matthew, this is Ebenezer Script. I am calling to make sure you have been a good little boy this year.')

    } -ComputerName $Computer 

    That’s it! I could, however, take this a bit further and send Matthew more messages:

    $Computer = 'Matthew-Computer'

    $MessageCount = 0

    $Messages = @('Matthew, this is Ebenezer Script. I am calling to make sure you have been a good little boy this year', 'Matthew, you are going to get coal in your stocking if you are not a good boy.','Ebenezer script to Matthew. Come in Matthew. Please advise your good-boy status. Only good boys get gifts from Ebenezer Script.')

    while ($MessageCount -lt 100)


        Invoke-Command -ScriptBlock {

            Add-Type -AssemblyName System.Speech

            $synth = New-Object -TypeName System.Speech.Synthesis.SpeechSynthesizer

            $synth.Speak($(Get-Random $Messages))

        } -ComputerName $Computer


        Start-Sleep -Seconds $(Get-Random -Minimum 60 -Maximum 180)

    Now Matthew will get one of three random holiday messages every 60 to 180 seconds until 100 messages have been sent. He’s definitely going to be in the holiday spirit after this!


    Thanks, Thomas! Matthew is a lucky guy!

    I invite you to follow me on Twitter and Facebook. If you have any questions, send email to me at, or post your questions on the Official Scripting Guys Forum. See you tomorrow. Until then, peace.

    Ed Wilson, Microsoft Scripting Guy

    0 0

    Formalized documents are a cornerstone of business dealings – from quotes and contracts to work orders and invoices. Leveraging CRM data to automatically generate these documents from standardized templates enhances productivity, reduces human error and ensures standardized communication across the company

    In CRM 2016 you can 1-click generate documents for any end-user facing entity.

    In this article we'll first take a look at how you can create a document based on one of the standard templates included in the sample data. Then we will see how you can create your own templates

    How to create a document based on a standard template

    To see a list of available templates in Dynamics CRM 2016 navigate to SettingsBusiness - Templates

       Figure 1 

    Click Document Templates to open the "Available Templates View"

       Figure 2 

    In the "Available Templates View" note there are a number of Microsoft Excel and Word templates, including a Word Template “Opportunity Summary” (1). We'll create a document based on this template.

       Figure 3 

    If you open the template you see that the Associated Entity Type is Opportunity (1). This means that you can use this template from any Opportunity record

       Figure 4 

    Lets navigate to SalesOpportunitiesMy Open Opportunities (1) and open an Opportunity record, e.g. "Will be ordering a 110 items...." (2)

       Figure 5 

    In the opportunity form click the More menu (1) – Word Templates (2) – Opportunity Summary (3)

       Figure 6 

    Note – you can *create* a new template from this menu too

    The document based on the templates downloads to your computer (1)

       Figure 7 

    Open the document from the download location and notice the values from the opportunity is merged into the document, e.g. the Subject (1) and the Current Situation (2)

       Figure 8 


    How to create your own template

    You create templates using the XML Mapping Pane in Microsoft Word. To do that you download empty templates (Word documents( from CRM that has an XML attached (OpenXML) for CRM attributes and related entities. Then you insert controls into the Word document, and finally upload the template back into CRM. The uploaded templates can be used across the organisation or individuals.


    1. Navigate to any CRM entity OR Settings -> Templates -> Document TemplatesUse “New” to download a new blank template. This is your starting point
    2. Select between Word or Excel Templates
    3. You will get a file download. This is your base template
    4. When you open up Word, you need to enable XML Mapping pane under Developer Panel to start
    5. Once you’re done editing, upload back into CRM. This will create a “template” entity
    6. Now anyone with access to the template entity can generate a document in 1 click

    Lets look at how to create a new Template with the Associated Entity Type = Lead.

    To test it out create three tasks for one of your leads

    We’ll create a simple Word template that lists the Lead's Topic (1) field as well as the three tasks (2-4) with their subjects and due dates

       Figure 9 

    To create a new template navigate to SettingsBusinessTemplates and click New (1)

       Figure 10 

    Select to create a Word template (1)

      Figure 11

    Pick the Lead entity to filter by (2)

       Figure 12 

    Click Select Entity to display the "Select Entity" dialog

       Figure 13 

    The relationships you select in the "Select Entity" dialog determine what entities and fields are available later when you define the Word template. Only select relationships you need to add CRM data to the Word template

    Check the Lead-Task 1:N Relationship (1) enabling you to list the Lead’s three tasks as discussed earlier. Then click Download Template (2) to download the template to your computer

       Figure 14

    The template is downloaded (1)

       Figure 15 

    You can find the downloaded template (1) in your designated Downloads folder on your file system. Note the name is auto generated from the entity type and timestamp.

    Double-click the document to open the template in Word

       Figure 16 

    At this point the template is empty (a blank document). What you need to do next is enable the Developer tab and then use the XML Mapping Pane to insert your CRM Lead fields into the template

       Figure 17 

    To enable the Developer tab click FileOptionsCustomize Ribbon (1) – and check the Developer checkbox (2). Then click OK (3) to close the Word Option dialog and return to the Word Template

       Figure 18 

    Click the now visible Developer tab (1) to display the Developer ribbon

       Figure 19 

    In the Developer ribbon click the XML Mapping Pane to display the XML Mapping Pane

       Figure 20 

    Expand the "Custom XML Part" drop down (1)

       Figure 21 

    And pick the schema urn:microsoft-crm……. (1) to show the Lead fields

       Figure 22 

    The Lead fields is now available to you.

       Figure 23 

    Start designing your template. E.g. type “For the lead:

    Then in the task pane right-click the subject field (1) – click Insert Content Control (2) – click Plain Text (3) to insert the subject field

       Figure 24 

    The subject field inserted in the template (1)

       Figure 25 

    Now in the task pane scroll down to "Lead_Tasks" (1) and expand the section to see the available task fields

       Figure 26 

    Continue designing your template, e.g.. using the normal Word Table feature to insert a 2x2 table. Type headers, e.g. Subject and Due (1). The table will eventually be used to list the three tasks each in separate rows.

       Figure 27 

    In the left cell in the lower row insert the subject field (1) and in the right cell insert the scheduledend field (2)

       Figure 28 

    To make the last row a repeating row (there is three tasks in the lead), select last table row (1)

    Then in the task pane right-click "Lead_Tasks" (2) – click Insert Content Control (3) – click Repeating (4)

        Figure 29 

    The last row is now a repeating row.

       Figure 30 

    Save the template with your desired name (1) in a location (2) you can remember (in this example perhaps use the name My_Lead_Tasks_Template_v1)

       Figure 31 

    Back in CRM navigate to Settings– Business – TemplatesDocument Templates, and  in the "Available Templates View" click Upload Template (1) to display the "Upload Template" dialog

       Figure 32 

    Drag your template from the File System folder (1) to the "Upload Template" dialog (2)

       Figure 33 

    Click Upload (1)

       Figure 34 

    Note that the template is uploaded with the name you chose when saving in Word (1) and Associated Entity Type = Lead (2)

       Figure 35 

    Back in the "Available Templates View" you see your new template listed with your name under Modified By (1)

       Figure 36 

    To test your new template navigate to the "My Open Leads" view and click the lead you created with the three tasks (1)

       Figure 37 

    Click the More menu (1) – click Word Templates (2) and then click My_Lead_Tasks_Template_v1 (3) or the name you chose to create and download the document

       Figure 38 

    The document is downloaded (1). Open the document in Word.

       Figure 39 

    Note that the Topic value is inserted after the colon in line #1 (1) and the three tasks are inserted in the table with their subjects and due dates (2-4)

       Figure 40 

    I hope you will enjoy and benefit from this new 1-click generate documents for any end-user facing entity feature.


    • Related Entities will be 1 level deep.
      We will add support for more levels in future. Currently relationship selector only goes 1 level. Also note that lookup fields do not have support for fully accessing the lookup’s data yet beyond primary field
    • Org templates/personal templates
      Similar to Excel we’re modelling security based on template record ownership. So you can have org level templates, or team/user level. Only admins can create org-level templates. Since its based on entity security, you can share/assign templates

    See also

    • Using Word templates in CRM - link

    0 0

     Gavin Payne is a principal architect for Coeo, a SQL Server and Azure professional services company, and a Microsoft Certified Architect and Microsoft Certified Master. His role is to guide and lead organisations through data platform transformation and cloud adoption programmes.


    Over the last few years, we have seen a constant flood of digital innovation appear around us. New technologies have changed the way people live or work, whether they’re a consumer, software developer or business user. In 2016, it’s the turn of IT Professionals to have their world upgraded.

    PaaS platforms arrive on-premises

    Most developers know that the innovation relevant to them is now cloud focused, yet reality often holds them back from using it. Whether their reasons are right or wrong, some organisations are just not ready to use public cloud services yet. In 2016, this will be less of a problem.

    The arrival of Windows Server 2016 and the Microsoft Azure Stack will bring a Microsoft Platform as a Service environment to on-premises data centres. No longer will private clouds be just about operating virtual machines. Instead, they’ll also provide web and application PaaS services to run alongside traditional server workloads, all of which can be deployed using the Azure Resource Manager. Consistent services and APIs for managing on-premises and public Azure platforms will allow a single DevOps style deployment to work regardless of its destination. Infrastructure as Code will firmly arrive in next year’s on-premises data centres.

    However, the Microsoft Azure Stack still needs deploying and operating. Even the most streamlined of on-premises solutions require IT Professionals to be familiar with their design principles, installation and maintenance. As developers consider adopting on-premises PaaS solutions, their IT Professional relations need to be ready to host them.


    Build once, run anywhere with containers

    Windows Server 2016 brings Microsoft container technology to on-premises data centres. The developers dream of “build once, run anywhere” gets one-step closer. Whether they intend for 1 or 10 containers to be deployed – or an auto-scaling solution – the infrastructure containers used still needs sizing, securing and provisioning. Coupled with the arrival of Nano Server, developers may still create on-premise solutions, but in 2016 they’ll begin using the next generation of cloud deployment technologies. Once again, IT Professionals need to be ready to deploy, configure and operate these next generation application environments. 

    Containers and micro operating systems are the next generation of virtualisation and operating system technology. Designed primarily for the GUI-less world of DevOps and Infrastructure as Code, IT Professionals will need to be able to integrate their own processes with development processes. Organisations will want everyone to help them get nearer to the dream of having a single platform-to-code deployment process.


    And that’s not all

    As well as new application-platform-centric capabilities, Microsoft is refreshing its heavyweight on-premises SQL Server and SharePoint products. The 2016 releases will provide organisations with new technical and end-user on-premises capabilities, but also help bring Azure public cloud services one step nearer. Stretching content across private and public clouds becomes a wizard based reality, encrypting data in a cloud on your terms becomes possible and a new generation of management tools ready for the hybrid cloud become available. IT Professionals with certifications in these product areas will need to start thinking about upgrading them.

    2016 is when a new future arrives for IT professionals!



    0 0


    En este post de hoy, último posiblemente del año 2015, queríamos haceros llegar una serie de artículos bastante interesantes en nuestra opinión, sobre la versión Beta 2 de Project Server 2016:


    Instalación y configuración de Project Server 2016 Beta 2

    Actualización a Project Server 2016 Beta 2

    Novedades para profesionales de IT en Project Server 2016 Beta 2

    Qué está en desuso o se eliminó en Project Server 2016 Beta 2


    Algunas cosas a tener en cuenta son las siguientes:

    • Sólo se puede actualizar a Project Server 2016 Beta 2 a través de Project Server 2013. No existe una manera directa de actualizar desde Project Server 2010 a Project Server 2016 Beta 2. (De 2007 ni hablamos Guiño).
    • No se realizan actualizaciones locales: primero debemos crear una instalación de Project Server 2016 Beta 2, y luego proceder a adjuntar y actualizar las bases de datos de Project Server 2013 a la nueva granja de servidores. No se admite la actualización local.
    • Las nuevas capacidades de Negociaciones de Recursos de Project Server 2016 Beta 2 ayudan a los Jefes de Proyectos y a los administradores de Recursos a compaginarse entre sí en cuanto a la cantidad de trabajo y de períodos de tiempo concretos que se destinan a los Recursos asociados a un proyecto. Las Negociaciones de Recursos son una evolución de la antigua característica Planificación de Recursos de Project Web App. Todos los datos existentes de Planificación de Recursos se convertirán en negociaciones durante la actualización.
    • Una instalación: Project Server y SharePoint Server
    • Una base de datos única para varias instancias: En Project Server 2013, se crea una base de datos de Project independiente para cada instancia de Project Web App. En Project Server 2016 Beta 2, se usará una única base de datos (la base de datos de contenido de SharePoint) para todas las instancias de PWA. Si bien todos los datos se guardan en una única base de datos, los datos de cada instancia individual siguen estando aislados de los de las otras instancias.


    Esperamos os resulte de interés. Muchas, muchísimas gracias por seguirnos Sonrisa




    Jorge Puig

    0 0

    rwagg-white small

    Rob Waggoner


    We updated our documentation on the VPN devices supported in Azure and I wanted to share the new link and some of the details.  The updated list of devices is here now, and I will try to update my documentation going forward.   As the article states, we have moved away from the “Static” and “Dynamic” routing terminology and moved to the “Policy-based” and “Route-based” terminology.  “Route-based” devices provide far more flexibility than the older “Policy-based” devices.  My suggestion is if you are looking to acquire new devices, please leverage the “Route-based” devices.  I put together a blog here, that talks about the differences between the devices.  If you honestly feel that a “Policy-based” or “Static” device is good enough, please read this blog one more time to be sure <grin>. 

    I like this updated material, it provides access to more instructions and more configuration detail.  Of course, the bulk of the reference material is provided by the actual vendor.  I like that we have collaborated with the vendors to make sure we were providing the best information available.

    Until next time,



    0 0

    We are happy to announce today the release of MPI support on Azure Batch services.

    We have released a service update recently with several feature enhancements, MPI support being the most important of them. MPI support is provided through a new feature in Batch called multi-instance task. Azure customer can now submit and run MPI tasks on their Batch pools globally. For now, only MS-MPI on Windows platform has been fully tested but we are working on support of other platform and MPI libraries.

    Furthermore, by simply using MS-MPI on A8/A9 pool, Batch MPI tasks can fully leverage the high speed low latency RDMA network on those Azure VMs - no extra work needed.

    A detail article on how to build, compile, and run a MPI program on Batch will be published soon.

    We will also talk about other feature enhancement in a series of blogs so stay tuned to our blog.

    0 0

    Summary: Learn how to specify the launch state of an application through Windows PowerShell.

    Hey, Scripting Guy! Question How can I launch a minimized application in Windows PowerShell instead of opening the window in the foreground?

    Hey, Scripting Guy! Answer Use the –WindowStyle parameter with the Start-Process cmdlet, and select Minimized, for example:

    Start-Process -WindowStyle Minimized 'iexplore.exe' 

    Note   You can also choose HiddenMaximized, or Normal, but not all applications support all modes.

    0 0

    I want to intorduce an application about Sharepoint and MSSQL Server writen by Erdem Avni Selçuk. With this application, you can calculate avarage Sharepoint Content database size and you will have an idea about disk space. In this application, calculate to Sharepoint content database with Microsoft Best Practice's formula.

    Sizlere SharePoint ve MSSQL ile alakalı Erdem Avni Selçuk tarafından yazılmış yeni bir SharePoint uygulaması tanıtmak istiyorum. Bu uygulama Microsoft Best Practice’ler ile belirtilen SharePoint için MSSQL database boyutu hesaplama formüllerini kullanarak sizlere ortalama olarak SharePoint Content veritabanınız için ne kadar alana ihtiyacınız olduğunu kolay ve pratik bir yönden hesaplayarak gösterir.

    You can install it on your mobile device without need any permission in Google Play Store. Also, the Application has a very useful and simple user interface. You will not have any battery usage or performans problem. Because Application does not need extra library.

    Program Google Play üzerinde yayında olup herhangi bir özel yetki istemeden telefonunuza kurulabilmektedir. Ayrıca UI olarakta gayet sade ve ek kütüphaneler kullanılmadığından Pil kullanımı ve performans gibi sorunlarıda telefonunuzu kullanırken sizi etkilemeyecektir.

    You can see an application screenshot below, and you can try it here

    Aşağıda programın ekran görüntülerini bulabilirsiniz.  Uygulamayı buradan indirerek deneyebilirsiniz.

    This application was created by Storage and SQL Server capacity planning and configuration ( SharePoint Server 2013) as a referance article.

    The application calculates the database size by referanced TechNet article.

    Input Value

    Number of documents (D)


    Calculated by assuming 10,000 users times 20 documents

    Average size of documents (S)

    250 KB

    List items (L)


    Number of non-current versions (V)


    Assuming that the maximum versions allowed is 10

    Database size = (((200,000 x 2)) × 250) + ((10 KB × (600,000 + (200,000 x 2))) = 110,000,000 KB or 105 GB

    SharePoint Database Calculator uygulaması Microsoft tarafından yayınlanan “Storage and SQL Server capacity planning and configuration ( SharePoint Server 2013)“ makalesini referans alarak hazırlanmıştır. Verimlilik kategorisinde kullanabileceğiniz bu basit uygulama makalede de belirtildiği gibi aşağıdaki referans değerleri alarak hesaplamada bulunur.

    I hope this application develops more, and I hope you download it. After a try, please give some feedback.

    SharePoint Database Calculator uygulamasının daha gelişmesini umar bu ufak ve faydalı programı indirip denemenizi ve Google Play üzerinden feedbacklerinizi de iletmenizi umarız.

    Turkish Wiki Ninja


    0 0

    For those organizations that used the Network Device Enrollment Service run into is the process for renewing the certificates for NDES. I never was able to find good instructions on how to do this. So, I had no choice but to create my own. The steps in this blog posting cover how to renew the certificates used by the Network Device Enrollment Service. You will need to be logged in as an Enterprise Admin for most of the steps outlined in this posting.

    Step 1: First give the NDES Server Read and Enroll permission to the CEP Encryption Certificate Template.

    Step 2: Open the certificates MMC targeted to the computer. Expand Personal. Right-click on Certificates. From the context menu select All Tasks then Renew Certificate with New Key…

    Step 3: On the Before You Begin page of the wizard, click Next.

    Step 4: On the Request Certificates page, click Enroll.

    Step 5: On the final page of the wizard, click Finish.

    Step 6: Open Certmgr.msc as a user that has Read and Enroll permissions to the Exchange Enrollment Certificate Template. Expand Personal, right click on Certificates. Select All Tasks, and then Request New Certificate…

    Step 7: On the Before You Begin page, click Next.

    Step 8: On the Select Certificate Enrollment Policy page, click Next.

    Step 9: Select the Exchange Enrollment Agentcertificate template, and click the More information is required to enroll for this certificate. Click here to configure settings. link.

    You will want to user the same Subject Name that is in your current Exchange Enrollment certificate. The following steps illustrate the steps needed to do this. You can find the current subject name by opening the Certificates MMC targeted to the local machine and then open the existing Exchange Enrollment Agent certificate. In my example the name was CN=FCNDES01-MSCEP-RA,C=US.

    Step 10: Under Subject Name ensure that Common Name is selected and under Value enter the common name that is in your existing certificate. Then click Add.

    Step 11: Change the Type to Country and under Type the country code that is your existing Exchange Enrollment Agent certificate.

    Step 12: Click Add

    Step 13: On the Private Key tab, select Make private key exportable. Then click OK.

    Step 14: Then click Enroll.

    Step 15: Right-click on the Exchange Enrollment certificate in the users personal store. Select Export…

    Step 16: When the Certificate Export Wizard opens, click Next.

    Step 17: On the Export Private Key page, select Yes, export the private key.

    Step 18: On the Export File Format page, select Personal Information Exchange – PKCS #12 (.PFX)

    Step 19: On the Password page, enter a password and click Next.

    Step 20: On the File to Export page, click the Browse… button. Select the file name and save location. When finished click Next.

    Step 21: n the final page of the wizard, click Finish.

    Step 22: Then click OK.

    Step 23: In the Certificate MMC on the NDES Server that is targeted to the computer, expand Personal. Right-click on Certificates. From the context menu, select All Tasks and then Import…

    Step 24: On the Welcome page, click Next.

    Step 25: Browse to the PFX file you previously created, and click Next.

    Step 26: On the Password page, enter the password associated with the PFX file.

    Step 27: On the Certificate Store page, click Next.

    Step 28: On the final page of the wizard, click Finish.

    Step 29: Then click OK.

    Step 30: In the Certificate MMC on the NDES Server that is targeted to the computer, expand Personal. Right-click on the old Exchange Enrollment certificate, and select Delete.

    Step 31: Then click Yes, to accept the deletion.

    Step 32: Right click on the new Exchange Enrollment certificate. From the context menu, select All Tasks then Manage Private Keys…

    Step 33: Add the NDES service account and ensure that it just has Read permission. Click OK.

    Step 34: Right click on the new CEP Encryption certificate. From the context menu, select All Tasks then Manage Private Keys…

    Step 35: Add the NDES service account and ensure that it just has Read permission. Click OK.

    Step 36: Reset IIS using iisreset command.

    Have a Happy New Year!!!


    0 0

    Hello Folks, As i mentioned in the TechNet Flash Newsletter early in December, I am really exited when a new version of Windows Server comes out. It’s the geek in me that can’t wait to see what new capabilities will make my life easier. I’m on vacation for the holidays so i decided to rebuild my home lab using Windows Server 2016 Technical Preview 4 . The first machine in the lab is the one that will mostly remain unchanged . Until the next release that is. it’s a DC, running DHCP, DNS, WDS and some...(read more)

    0 0

    Summary: MVP, Thomas Rayner, continues to inspire holiday spirit by using PowerShell to trigger multimedia.

    Yesterday in Sounds of the Holidays–Part 1, I tried to inspire my coworker, Matthew, with some cool holiday messages. Unfortunately, Matthew is still being a Grinch and I need to step up my game. Instead of some spoken messages from “Ebenezer Script,” I’m going to play him some holiday music every time he signs in to his workstation.

    I’m a fan of the Charlie Brown holiday jazz album by the Vince Guaraldi Trio, and they’ve been kind enough to upload some of their music to YouTube. I’ve chosen this great piece to play for Matthew: Christmas Time Is Here.

    My script for this is pretty simple. First, I’m going to use a couple of variables to define where the startup folder is on Matthew’s computer and the URL to this YouTube video. Be advised that anything in the startup folder is executed every time a user signs in to the workstation—so be careful with what you put in here.

    $Computer = '\\Matthew-Computer\c$\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp'

    $MusicURL = '' 

    I know how to launch Internet Explorer to a specific page. It’s as easy as:


    However, I want to capture that line in a variable without executing it, so this is what I’ll use: 

    $PlayMusic = @"

    Start-Process -WindowStyle Minimized 'iexplore.exe' $MusicURL


    By using the @” <some text> “@ syntax to create a here-string, I’ve defined a block of text composed of the command to launch Internet Explorer at the URL of my YouTube video. I’ve decided to launch Internet Explorer as minimized. Now all I need to do is write that command to a file in Matthew’s startup folder:

    $StartupScript = New-Item -ItemType File -Path "$Computer\PlayMe.ps1"

    Set-Content -Value $PlayMusic -Path $StartupScript.FullName 

    This is the full script.

    $Computer = '\\Matthew-Computer\c$\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp'

    $MusicURL = ''

    $PlayMusic = @"

    Start-Process -WindowStyle Minimized 'iexplore.exe' $MusicURL


    $StartupScript = New-Item -ItemType File -Path "$Computer\PlayMe.ps1"

    Set-Content -Value $PlayMusic -Path $StartupScript.FullName 

    It’s that easy! Now Matthew will be able to enjoy some nice holiday music every time he signs in to his computer. If that doesn’t raise his holiday spirits, nothing will!


    Thanks again, Thomas! Always nice to have a little fun with PowerShell!

    I invite you to follow me on Twitter and Facebook. If you have any questions, send email to me at, or post your questions on the Official Scripting Guys Forum. See you tomorrow. Until then, peace.

    Ed Wilson, Microsoft Scripting Guy

older | 1 | .... | 805 | 806 | (Page 807) | 808 | 809 | .... | 889 | newer