Changes to TechNet Library Scripting Node
在Domain Controller上安装all-in-one AX 2012 R2 Retail开发环境 -1
我们知道在生产环境下是不支持把所有东西都安装到一台机器(all-in-one)上去的,但是作为开发环境还是可行��。今天在具体安装过程中我个人碰到如下一个问题:
运行Retail Database Utitility (RetailDatabaseUtility.exe)创建storedb的时候报错: a store with the specified storeid could not be found
查看RetailDatabaseUtility.exe的日志文件 (通过在RetailDatabaseUtility.exe.Config配置文件修改SyncTracer=4 能够看到更加详细的信息)
RetailDatabaseUtility.exe.Config 文件
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="Microsoft.Dynamics.Retail.Pos.DatabaseUtility.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
</sectionGroup>
</configSections>
<connectionStrings />
<system.diagnostics>
<switches>
<!-- 0-off, 1-error, 2-warn, 3-info, 4-verbose. -->
<add name="SyncTracer" value="4" />
</switches>
<trace autoflush="true">
<listeners>
<add name="FileListener" type="System.Diagnostics.TextWriterTraceListener" initializeData="RetailDatabaseUtility.log"/>
</listeners>
</trace>
</system.diagnostics>
接着在日志文件RetailDatabaseUtility.log中发现了如下具体错误
RetailDatabaseUtility.exe Error: 0 : EmbeddedInstall: CheckDatabase failed while configuring database access:System.Data.SqlClient.SqlException (0x80131904): Windows NT user or group 'CLIFFR2DC\POSUsers' not found. Check the name again.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at Microsoft.Dynamics.Retail.Pos.CreateDatabaseService.Utilites.CreateSqlLoginForWindowsUser(DbCommand dbCommand, String userName)
at Microsoft.Dynamics.Retail.Pos.CreateDatabaseService.EmbeddedInstall.ConfigureDatabaseAccessForUser(DbCommand dBCommand, String userName)
at Microsoft.Dynamics.Retail.Pos.CreateDatabaseService.EmbeddedInstall.CheckDatabase(String connectionString, String databasePhysicalFilePath, Boolean includeDemoData, String userGroupName)
ClientConnectionId:20668fd5-309d-482b-a9ae-d526998be000
RetailDatabaseUtility.exe Error: 0 : DBUtilityCore<ProvisionDatabasesForSynchronizationAsync>b__7: A store with the specified StoreId could not be found.
所以我们要先解决掉错误 “Windows NT user or group 'CLIFFR2DC\POSUsers' not found. Check the name again“
那么这个用户组'CLIFFR2DC\POSUsers‘是从哪里来的呢?其实POSUsers是在RetailDatabaseUtility.exe.Config 文件中通过DataBaseAccessUserGroup指定的:
<appSettings>
<add key="Test" value="value" />
<add key="OfflineServerName" value="cliffr2dc" />
<add key="OfflineDatabaseName" value="OfflinePOSDB" />
<add key="StoreServerName" value="CLIFFR2DC" />
<add key="StoreDatabaseName" value="StoreDB" />
<add key="StoreID" value="Store 1" />
<add key="TerminalID" value="0101" />
<add key="DataAreaID" value="ceu" />
<add key="DatabaseAccessUserGroup" value="POSUsers" />
<add key="CreateDBAccessUserGroup" value="True" />
<add key="PosExecutablePath" value="..\Retail POS\POS.exe" />
<add key="SyncServiceExecutablePath" value="..\Retail POS\RetailOffline\Microsoft.Dynamics.Retail.Offline.Service.exe" />
<add key="ConnectionStringTemplate" value="Integrated Security=SSPI;Persist Security Info=false;Pooling=true;TrustServerCertificate=true;Encrypt=TRUE" />
</appSettings>
也就是说在创建新的StoreDB时候会同时创建对应的SQL Login并赋予合适的SQL权限。通过分析代码我们看到如果DataBaseAccessUserGroup不是使用domain\alias的方式指定的,那么系统会使用本级机器名字构建( 因为店面系统可能不和总部HQ在同一Active Directory 范围内,所以这个UserGroup是本地的比建成整个AD Domain范围的试用面更广)。但Domain Controller上没有办法创建local user groups!

明白了上面的道理,,所以要想在DC上装POS系统那么解决办法就很简单了, 只要把DatabaseAccessUserGroup的值设为domain\alias的方式即可:
<appSettings>
<add key="Test" value="value" />
<add key="OfflineServerName" value="cliffr2dc" />
<add key="OfflineDatabaseName" value="OfflinePOSDB" />
<add key="StoreServerName" value="CLIFFR2DC" />
<add key="StoreDatabaseName" value="StoreDB" />
<add key="StoreID" value="Store 1" />
<add key="TerminalID" value="0101" />
<add key="DataAreaID" value="ceu" />
<add key="DatabaseAccessUserGroup" value="CliffR2\POSUsers" />
<add key="CreateDBAccessUserGroup" value="True" />
<add key="PosExecutablePath" value="..\Retail POS\POS.exe" />
<add key="SyncServiceExecutablePath" value="..\Retail POS\RetailOffline\Microsoft.Dynamics.Retail.Offline.Service.exe" />
<add key="ConnectionStringTemplate" value="Integrated Security=SSPI;Persist Security Info=false;Pooling=true;TrustServerCertificate=true;Encrypt=TRUE" />
</appSettings>
Cliff
【BYOD】デバイス認証ができるようになった WS 2012 R2 ADFS -テスト手順書公開
"Центральный телеграф" перейдет на Dynamics AX 2012 (CNews)
«“Центральный телеграф” использует Microsoft Dynamics AX с 2005 г. За это время неоднократно проводились работы по оптимизации и расширению функционала системы. Благодаря текущему проекту мы рассчитываем получить более мощную информационную систему за счет консолидации текущих и новых бизнес-процессов в рамках единой платформы и дополнительных возможностей, содержащихся в Microsoft Dynamics AX 2012. Это позволит, по нашим ожиданиям, улучшить эффективность управления финансами, повысить прозрачность денежных потоков, а также сделать более удобными и понятными процессы взаимодействия между структурными подразделениями», — отметил Андрей Лыков, ИТ-директор компании «Центральный телеграф».
Подробнее: http://telecom.cnews.ru/news/line/index.shtml?2013/08/28/540895
App of the Week: Foursquare now available on Windows 8
Our latest App of the Week is Foursquare, now available on Windows 8. The popular social app, which has over 35 million users worldwide, lets you find and “check in” at interesting places around you, as well as share photos, reviews and tips about your personal favorite spots.
You can download the app now in the Windows Store. An equally awesome Windows Phone version is also available.
You might also be interested in:
- Lights … camera … Disney Infinity: Action!
- Manage your medical records and track fitness goals with HealthVault for Windows 8 and Windows Phone
- SkyDrive lets you always have your files with you
Steve Wiens
Microsoft News Center Staff
test the slideshow with adding some contents below it
Skype firar 10 år - Grattis!
Idag för tio år sedan startade Skype. Kommunikationstjänsten har snabbt etablerat sig som en viktig kommunikationslösning för människor världen över. Skype knyter samman och hjälper människor att hålla kontakten - oavsett geografisk position, dator, telefon eller annan enhet.
Skype blev under 2011 en del av Microsoft och tjänsten har idag över 300 miljoner användare. Tillsammans har vi ringt och videochattat 1400 miljarder minuter genom att använda Skype.
Läs mer om Skypes 10 år på Skype Big Blog.
Online-Speicher in SkyDrive Pro auf 25 GB erweitert
Move a Web Application to a new Application Pool
A colleague sent me a great question today:
"Instead of consolidating application pools, how do I split up an application pool with too many web applications?"
The answer is actually to modify the application pool properties of the Web Application; NOT create a new application pool and set the Web Application Property. Here's the code:
$webApp = Get-SPWebApplication http://sp2013.lab.local
$newWebAppPWD = ConvertTo-SecureString "Password"
$webApp.ApplicationPool.Username = "lab\AppPoolSvcAcct"
$webApp.ApplicationPool.Name = "New App Pool Name"
$webApp.ApplicationPool.SetPassword($webWebAppPWD)
$webApp.Provision()
To check your work:
$appPools = [Microsoft.SharePoint.Administration.SPWebService]::ContentService.ApplicationPools
$appPools
July Windows Store Guru - Ken Tucker's "Create an Analog Clock in a Windows Store Application"
It's time for another July TechNet Guru winner!
Congratulations to Ken Tucker, our Windows Phone Development Guru winner for July! See the TechNet Guru Contributions for July 2013.
About Ken: MCPD. I am interested in MVC, WP8, WP7, and Windows Store apps. An MVP, MCC, and Microsoft Partner, who works at Sea World.
Here is the gold-medal-winning article:
Create an Analog Clock in a Windows Store Application
Now let's look at all the winning articles:
![]() | Windows Store Apps Technical Guru - July 2013 |
| Ken Tucker | Create an Analog Clock in a Windows Store Application | RC: "Clocks are a classic Xaml demo! A few things to consider: Hard-coded colours are a common accessibility failure. These should be pulled from resources and follow high contrast settings. I'd also write it as a templatable control and make the time a bindable property with converters from time to angle. The xaml could be readily swapped out for different analogue faces, digital, etc. It's a bit more work, but would demonstrate some useful techniques." Ed Price: "This is a great topic! " |
| Jaliya Udagedara | Tasks Window in Visual Studio 2013 Preview | Ed Price: "Good use of images to visually explain the Tasks Window." RC: "A big upgrade to the Tasks window for Visual Studio 2013 is that it now supports all languages, including JavaScript. See HERE. There is a good walkthrough demonstrating how to use the Tasks and Stacks windows together at http://msdn.microsoft.com/en-us/library/dd554943(v=vs.120).aspx" |
| Jaliya Udagedara | Windows Store App with a SQLite Database | RC: "Nice clearly written intro to using SQLite. One confusing thing is that it starts out HTML specific talking about Web Storage and IndexedDB but then explains how to use SQLite in a C# app. I'd love for it to cover .Net and JavaScript apps like Tim Heuer's series at http://timheuer.com/blog/Tags/sqlite/default.aspx does, as well as C++." Ed Price: "Great introduction and good use of images and well-formatted code." |
Nine great articles contributed for July, thanks to everyone in the Windows Store category. Sachin S also contributed FOUR great articles for July and narrowly missed a medal. Hopefully we will see more from all these players in August?
Also, Jaliya had an impressive showing with more medals in another category! Jaliya also won all three medals for the Visual C# category!
And here's an excerpt from the article:
This sample uses xaml and C# to create an analog clock in a windows store application. Xaml allows you to vary the angle of lines when drawn on the screen. I used an ellipse as the background of the clock. We will draw 3 lines for the hour, seconds, and minute hand on an analog clock.
The C# code:
DispatcherTimer timer = new DispatcherTimer(); public MainPage() { this.InitializeComponent(); timer.Interval = TimeSpan.FromSeconds(1); timer.Tick += timer_Tick; timer.Start(); } void timer_Tick(object sender, object e) { secondHand.Angle = DateTime.Now.Second * 6; minuteHand.Angle = DateTime.Now.Minute * 6; hourHand.Angle = (DateTime.Now.Hour * 30) + (DateTime.Now.Minute * 0.5); }
===================================
Read the rest here:
Create an Analog Clock in a Windows Store Application
Thanks to Ken Tucker for your great contribution to the TechNet Guru contest! You can read about all the July winners here: TechNet Guru Awards - July 2013
Join me in congratulating Ken on his first TechNet Guru gold medal!
Are you a Wiki Ninja? http://technet.com/wiki
- Ninja Ed
Installing .Net 3.51 on Windows 8.1
(Can you sense flatten-and-reinstall time approaches?)
Or Windows 8. Applies to .Net 3.51, 3.0, and 2.0. Works with or without Internet.
Link: How To Activate the .NET Framework 3.5 on Windows 8 Without Internet Access
Týden se System Center 2012 R2 – dohled a správa hybridního Cloudu
System Center 2012 Operations Manager 啟用 ACS 稽核
本篇文章提供了 System Center 2012 Operations Manager 啟用 ACS 稽核的方法,更多元件的使用手冊,也將在此部落格中提供給您。
本文作者曾雄鉅,現職鼎新電腦資深系統工程師。
稽核收集服務 (ACS) 主要功能在於收集稽核原則所產生的記錄並存於資料庫中。當稽核原則在 Windows 型電腦上執行時,該電腦會將稽核原則產生的所有事件自動儲存到其本機安全性記錄中。在具有嚴格的安全性需求的組織中,稽核原則可快速產生大量的事件。
只要使用 ACS,企業可將個別安全性記錄合併到集中管理的資料庫中,且能夠使用 Microsoft SQL Server 提供的資料分析及報表工具來篩選並分析事件。使用 ACS 後,只有明確賦予 ACS 資料庫存取權限的使用者能夠對收集到的資料執行查詢並建立報表。
所以在安裝完 SCOM2012 後,就來啟用之前納管的伺服器的ACS。
備註:如要安裝 SCOM 2012 SP1,可參考台灣微軟 System Center 部落格上的 System Center 2012 Operations Manager 安裝手冊。
首先,開啟 SCOM 2012 SP1 安裝片,選擇安裝稽核收集服務
選擇下一步
選擇建立新的資料庫
預設資料來源名稱,下一步
因為資料庫在本機,所以選擇本機執行資料庫伺服器,下一步
選擇 Windows 驗證,下一步
選擇使用 SQL Server 的預設資料與紀錄檔目錄,下一步
選擇時間戳記格式
列出安裝摘要,下一步,即開始安裝
安裝到一半會出現下列訊息,點選確定即可
安裝完成,點選關閉
安裝完成後,開啟 Operations Manager 主控台
選取監視頁籤> Operations Manager >代理程式詳細資料>代理程式>選擇要啟用 ACS 的納管機器,選取右邊頁籤的健全工作服務工作的啟用稽核集合
勾選執行目標,點選覆寫,修改工作參數
輸入收集器伺服器參數,點選覆寫
點選執行,就完成啟用動作
Windows 8 sai huippusuositun Foursquare-sovelluksen
Windows 8 on saanut ensimmäisenä tablettitietokoneiden käyttöjärjestelmänä virallisen Foursquare-sovelluksen. Sovellus on tarjolla vain Windows 8 -laitteisiin ja sen voi ladata nyt maksutta Windows-kaupasta.
Foursquare on hauska tapa löytää ja kokea mielenkiintoisia kohteita ja asioita ympäri maailman. Sovelluksen avulla löytää helposti esimerkiksi lähistön parhaimmat ja suositelluimmat ravintolat ja muut matkailijan suosikkikohteet. Foursquaren kautta suosikkipaikkoja on myös helppo arvioida, vinkata kavereille ja tallentaa muistiin.
Foursquarella on yli 35 miljoonaa käyttäjää ja sen kautta tehdään päivittäin miljoonia hakuja. Ihmisten kirjautumisista, jakamisista ja suosituimpien paikkojen tallentamisista sekä niiden arvioinneista ja vinkeistä on syntynyt jättimäinen palvelu, jonka avulla on helppo löytää henkilökohtaisia suosituksia ja tarjouksia.
Lue lisää aiheesta täällä.
SQL Server Version for ConfigMgr 2012
I’m always looking for the SQL Version and need a place to store this links for easy access, maybe you are on the same situation and need the find out about the support SQL Version.
The following table lists the SQL Server versions that are supported by System Center 2012 Configuration Manager and the links to download the CU’s or Service Packs.
SQL Server version | SQL Server service pack | Minimum required SQL Server cumulative update | Configuration Manager version | Configuration Manager site type |
SQL Server 2008
| SP2 | Minimum of cumulative update 9
|
|
|
SP3 |
|
| ||
SQL Server 2008 R2
| SP1 |
|
| |
SP2 | No minimum cumulative update |
|
| |
SQL Server 2012
| No service pack |
|
| |
SP1 | No minimum cumulative update |
|
|
When you use SQL Server Standard for the database at the central administration site, the hierarchy can only support up to 50,000 clients. For more information, see Site and Site System Role Scalability.
System Center 2012 Configuration Manager with no service pack does not support the site database on any version of a SQL Server 2008 R2 cluster. This includes any service pack version or cumulative update version of SQL Server 2008 R2. With Configuration Manager SP1, the site database is supported on a SQL Server 2008 R2 cluster.
Santos Martinez - Premier Field Engineer – ConfigMgr and Databases
Disclaimer: The information on this site is provided "AS IS" with no warranties, confers no rights, and is not supported by the authors or Microsoft Corporation. Use of any included script samples are subject to the terms specified in the Terms of Use
SQL Server Version for ConfigMgr 2012
Tip o' the Week #187 – A Route for old times
Once upon a time, a company called NextBase wrote some software to help people plan routes across the road network, using a computer. It was expensive in the day (£130 in 1988 works out about £300 in today’s money), but if your job was to schedule travelling reps or delivery drivers, then time was money. Or money was time saved.
Anyway, Microsoft bought the company and brought out Microsoft AutoRoute in the UK (eventually renamed Streets and Trips in the US) and did a modestly brisk trade selling annual versions of the software for a more reasonable (£40 or so) amount, with updates to keep the maps fresh and to add improving functionality.
All of this pre-dates the arrival of Multimap, Bing Maps, Google Maps etc. Nowadays the man in the street can make routing decisions on browsers or phones, free of charge and even taking account of prevailing traffic conditions, generally free of charge.
Nevertheless, the AutoRoute and S&T products soldier on, surprisingly. AutoRoute 2013 can be bought for £39 naked or £85 if you want a plug-in USB GPS module. MapPoint and Streets and Trips are still available for American users. Just don’t try and stick the PC to your windscreen.
The zooming in & out is a big agricultural compared to the Deep Zoom style navigation in and out of Bing or Google Maps these days, but there’s a lot of data behind the app and it’s very usable when it comes to searching and setting particular options – showing how much your journey will cost in fuel as well as how long it will take, for example…
Why?
There are a few key reasons why it makes sense to have AutoRoute instead of relying on online mapping – it’s all available offline for one, it responds comparatively quickly (especially when rerouting via specific places) and it also can show you easily what’s in the neighbourhood of a given point – though some of the data may not be as up to date as online sites.
You can export *.axe routing files to *.gpx using AutoRoute 2013 (or use free 3rd party software ITN Converter to turn out a version for most popular satnavs – so you could spend a while poring over a pan-European route in AutoRoute then squirt it down to your TomTom so you end up following the exact route you want, rather than sticking to the motorways, as the device might insist)… though as yet no route mapping is exportable to Nokia’s Here Drive software so you can let your phone guide you.
Interestingly, you can also overlay further data onto AutoRoute maps – maybe Excel spreadsheets full of postcode-oriented data, or even the simple mechanism of plotting all your Outlook Contacts on a map – maybe useful for seeing which of your customers or partners are based nearby a place you’re going. Or where to wind up the windows and keep driving…
Automating DiskPart with Windows PowerShell: Part 5
Summary: Use Windows PowerShell to build scripts to automate DiskPart.
Hey, Scripting Guy! Can we build a DISKPART script to automatically format USB drives as bootable?
—SH
Hello SH,
Honorary Scripting Guy, Sean Kearney, here. I’m filling in for our good friend, Ed Wilson. It’s Friday and Ed has had a long week (and a lot of feedback, I suspect, from my bad puns). So I suspect he’ll be all “tied up” with email.
We have pulled together a really cool function called Get-DiskPartInfo, which automates the use of DiskPart to a point that’s it’s information is now an object that we can consume with Windows PowerShell.
Note This is the final part in a series. If you are behind, please read:
- Automating DiskPart with Windows PowerShell: Part 1
- Automating DiskPart with Windows PowerShell: Part 2
- Automating DiskPart with Windows PowerShell: Part 3
- Automating DiskPart with Windows PowerShell: Part 4
Let’s look at a basic DiskPart script to make a USB key bootable again:
SELECT DISK 2
CLEAN
CREATE PARTITION PRIMARY
FORMAT FS=NTFS QUICK
ASSIGN
ACTIVE
With our current advanced function, we can already identify USB flash drives and hard drives. Because we can isolate them down to size, we can make a fairly educated guess about devices that are removable USB keys.
Educated guess? Well, the one problem that I haven’t been able to figure out an answer for is how to separate a hard drive USB device from a USB flash drive. That information is not presented in DiskPart.
But I can suggest that I think most of the USB flash drives I have are going to be under a certain size…let’s say 32 GB. And for my purposes (I would like to extend this to Microsoft Deployment Toolkit (MDT) 2012), I can probably suggest that they won’t be smaller than a certain size either—say 8 GB.
Now let’s start building a new advanced function called Initialize-USBBoot. What we are going to do is build the script that is needed to make the keys bootable in DiskPart:
Function INITIALIZE-USBBOOT()
{
[cmdletbinding()]
Param()
First, we’re going to identify the parameters for our bootable devices: USB drives between 7.5 GB and 65 GB:
$TYPE=’USB’
$MIN=7GB
$MAX=65GB
And now that we have a cool new way to parse DiskPart, this all gets so much easier:
$DRIVELIST=(GET-DISKPARTINFO | WHERE { $_.Type –eq $TYPE –and $_.DiskSize -lt $MAX and $_.DiskSize –gt $MIN })
This will return all drives that are seen by DiskPart, including their identified DiskID numbers, which we can use to build a single script for DiskPart.
Again, I’m going with a “simple is best” approach when I build the content. First, I’ll create the file for the DiskPart script:
NEW-ITEM -Path bootemup.txt -ItemType file -force | OUT-NULL
Then I step through every drive in the list and obtain its DiskID from DiskPart:
$DRIVELIST | FOREACH {
$DISKNUM=$_.DISKNUM
Now I’ll build the script. Because it’s simply a serial set of commands, we can build one script to do all the work:
ADD-CONTENT -Path bootemup.txt -Value "SELECT DISK $DiskNum"
ADD-CONTENT -Path bootemup.txt -Value "CLEAN"
ADD-CONTENT -Path bootemup.txt -Value "CREATE PARTITION PRIMARY"
ADD-CONTENT -Path bootemup.txt -Value "FORMAT FS=FAT32 QUICK"
ADD-CONTENT -Path bootemup.txt -Value "ASSIGN"
ADD-CONTENT -Path bootemup.txt -value "ACTIVE"
}
}
Now with this in place, I can run the following script:
INITIALIZE-USBBOOT
DISKPART /S .\BOOTEMUP.TXT
Now we can plug-in a series of USB keys that fit those parameters and wipe them clean for booting!
How does MDT 2012 fit into all of this?
Let’s assume that you have a folder called C:\DeploymentContent, and you need to be able to have a simple solution for technicians to build their keys—a solution that means consistency in the process.
In Windows PowerShell, we can launch Robocopy.exe like any other application, but also pass parameters to it. Because our new Get-DiskPartInfo cmdlet will also return the drive letter for those USB keys, we can identify our USB flash keys with those same parameters, and pass the results to Robocopy.exe. Here’s a sample script that could meet this need:
$TYPE=’USB’
$MIN=7GB
$MAX=65GB
$DRIVELIST=(GET-DISKPARTINFO | WHERE { $_.Type –eq $TYPE –and $_.DiskSize -lt $MAX -and $_.DiskSize –gt $MIN })
$DRIVELIST | FOREACH {
$Source=”C:\DeploymentContent\”
$Destination=$_.DriveLetter
ROBOCOPY $Source $Destination /E
}
There you have it! A bit of work to play with, but now we have an almost single-click solution to build those deployment keys. You could even leverage this to easily erase media keys and deploy documentation or client media.
By the way, if you don’t feel like typing, this entire solution is uploaded as a module on the Script Center Repository.
And remember the choice is yours, as is the power…with Windows PowerShell!
I invite you to follow us on Twitter and Facebook. If you have any questions, send email to Ed at scripter@microsoft.com, or post your questions on the Official Scripting Guys Forum. See you tomorrow. Until then, peace.
Sean Kearney (filling in for our good friend Ed Wilson),
Honorary Scripting Guy, Windows PowerShell MVP
…and good personal friend of the BATCHman
LIIKENTOIMINTAPÄÄTTÄJIEN AZURE-AAMIAISTILAISUUS OHJELMISTOYRITYKSILLE
LIIKENTOIMINTAPÄÄTTÄJIEN AZURE-AAMIAISTILAISUUS OHJELMISTOYRITYKSILLE
16.9.2013 Liiketoimintapäättäjien Azure -aamiainen ohjelmistoyrityksille
TEKNISET AZURE-KOULUTUKSET:
11.9.2013 Azuren virtuaalikoneet ja verkot -workshop
24.9.2013 Cloud Services workshop
25.9.2013 Azure Service Bus ja Access Control Service
WINDOWS PHONE 8 JA WINDOWS 8.1 KOULUTUKSET KEHITTÄJILLE:
29.8.2013 Windows Phone 8 development
27.9.2013 How to build great Windows 8 applications?
test staging 2013-08-30
Test bullet
Test image
Test table
fd | f | fd |
fd | f | fd |
fd | f | fd |
fd | f | fd |
fd | f |
Amazing possibilities for the future of personal computing were on display this week at TechForum, an event hosted by Microsoft Chief Research and Strategy Officer Craig Mundie.
Mundie was joined by Interactive Entertainment Business President Don Mattrick, Online Services Division President Qi Lu, Business Platform Division Corporate Vice President Ted Kummert and Chief Research Officer Rick Rashid and others in discussing and demonstrating how the company is investing in research and exploration of a number of important technologies.

Test bullet
Test image
Test table
fd | f | fd |
fd | f | fd |
fd | f | fd |
fd | f | fd |
fd | f |
Amazing possibilities for the future of personal computing were on display this week at TechForum, an event hosted by Microsoft Chief Research and Strategy Officer Craig Mundie.
Mundie was joined by Interactive Entertainment Business President Don Mattrick, Online Services Division President Qi Lu, Business Platform Division Corporate Vice President Ted Kummert and Chief Research Officer Rick Rashid and others in discussing and demonstrating how the company is investing in research and exploration of a number of important technologies.