Wednesday, April 27, 2016

Get the Windows Server 2016 and System Center 2016 from TechNet Evaluation Center

Today, Microsoft released technical preview 5 of Windows Server and System Center 2016. Now, you can download these products from TechNet Evaluation Center.

For more information about Windows Server 2016 Technical Preview 5. Please read What's new in Windows Server 2016 Technical Preview 5.

This posting is provided “AS IS” with no warranties, and confers no rights!

Tuesday, April 12, 2016

Hybrid IT Management course from Microsoft Virtual Academy (MVA)

There is a series on Microsoft Virtual Academy (MVA) to talk about Hybrid IT Management. There are 2 parts with 20 sessions in it. These are the following will be covered in Part 1 and Part 2.

Part 1
1. Introducing Hybrid IT Management
2. Getting Started
3. Deployment Options
4. Solutions
5. Logs and Near Real-Time Performance Data Collection
6. Search and Customizations
7. Security Analytics
8. Recommended Resources and Next Steps

Part 2
1. Introducing Hybrid IT Management
2. Introducing Azure Backup
3. IaaS Backup
4. Hybrid Cloud Backup with Microsoft Azure Backup Server
5. Integrating System Center Data Protection Manager and Azure Backup
6. System Center Data Protection Manager Overview
7. Introduction to Azure Site Recovery
8. VMware and Physical to Azure
9. Hyper-V to Azure
10. Site-to-Site DR with Azure Site Recovery and Hyper-V Replica
11. Site-to-Site DR with Azure Site Recovery and SAN Replication
12. Site-to-Site DR for VMware with Azure Site Recovery
13. Workload Support and Capacity Planning
14. Summary and Resources

Please go to the following web sites to watch these series.


This posting is provided “AS IS” with no warranties, and confers no rights!

Sunday, April 3, 2016

Linux Bash will be available on coming Windows 10 Insider build

In Build 2016, Microsoft announced that the user mode of Ubuntu bash will be available on the coming Windows 10 Insider preview for public to test and experience. One of recorded video of Build 2016 to talk and do some demo about Linux bash shell on Windows 10. Please watch Running Bash on Ubuntu on Windows! for more information.


This posting is provided “AS IS” with no warranties, and confers no rights!

Saturday, March 26, 2016

Reschedule - Deploying Windows 10: Automating Deploying by Using System Center Configuration Manager from Microsoft Virtual Academy

This live event is rescheduled on Microsoft Virtual Academy on 13-Apr-2016 to talk about deploying Windows 10 by System Center Configuration Manager (SCCM). This event is hosted by Aaron Czechowski, Senior Program Manager, Microsoft Enterprise Client Management, and Wally Mead, Principal Program Manager, Cireson. Don't miss it If you plan to deploy Windows 10 to your environment by SCCM.


E-book related to this event.

This posting is provided “AS IS” with no warranties, and confers no rights!

Tuesday, March 22, 2016

Using Get-Unique to filter duplicated result

We can use Get-Unique to filter duplicate data from a result from a list in PowerShell. This cmdlet is available on PowerShell 2.0 or later.

How can we use it?
For example, there is a file with duplicate data.


We can perform "Get-Content <a file name> | Get-Unique


The duplicate date was filtered on the PowerShell result.

One more example, I'd like to filter out AD User from AD groups.

"Get-ADGroupMember <AD Group name> | where objectclass -eq group | Select Name"


Get AD user from these groups by performing "Get-ADGroupMember <The root AD Group name> | where objectclass -eq group | Get-ADGroupMember | where objectclass -eq User | Select name,SID


There are 2 AD users are the member of Group1 and Group2. To unique the result, perform "Get-ADGroupMember <The root AD Group name> | where objectclass -eq group | Get-ADGroupMember | where objectclass -eq User | Sort name | Get-Unique | Select Name,SID"


The duplicate AD users were removed from the result.

This posting is provided “AS IS” with no warranties, and confers no rights!

Thursday, March 17, 2016

Microsoft IPv6 from Microsoft Virtual Academy

Microsoft Virtual Academy (MVA) will be held a live event on 29-Mar, 2016 to talk about IPv6. This live event will be held by Ed Horley, Groupware Technology Practice Manager for Cloud Solutions and the Practice Lead for IPv6, and Joe Davies, Microsoft Senior Content Developer. Registry this live event and find out how to apply IPv6 to Microsoft environment.


This posting is provided “AS IS” with no warranties, and confers no rights!

Friday, March 4, 2016

Recorded TechNet Virtual Conference 2016 on Channel 9

The recorded TechNet Virtual Conference 2016 sessions are available on Channel 9. If you miss any session in the TechNet VC 2016, you can go to the following web site to watch it again.


This posting is provided “AS IS” with no warranties, and confers no rights!

Friday, February 26, 2016

Enable disk performance monitor on task manage for Windows Server 2012 and later

On Windows 8 and later, you can find the disk performance item on task manager.


However, the disk monitor is disabled on server operating systems like Windows Server 2012 and later. To enable disk performance monitor on task manager, we can launch "Command Prompt" as administrator. Then, perform diskperf -y to enable it.


As a result, disk performance monitor item has been enabled on task manager.


To disable it, we can perform diskpery -n on "Command Prompt" as administrator.


This posting is provided “AS IS” with no warranties, and confers no rights!

Thursday, February 25, 2016

Using robocopy for file servers migration

"Robocopy" is a robust and powerful command on Windows to copy files and directories. Why do we use "robocopy" for file server migration?

There are some reasons.
1. It can maintain NTFS permission of files and directories during copy to new file server within the same domain.
2. It provided verification function to check the difference of source and destination
3. "Robocopy" supports multi-threaded copies. It improves the efficiency.
4. The backup mode of "robocopy" can copy files or directories to destination which you aren't granted permission to access it.

In my case, I performed "robocopy" with the following parameters to copy files and directories from source to destination.

Assuming that I logged in to a new file server, Windows Server 2012 R2, and then mapped network to the old file server.

For the first time, I performed Robocopy <source directory or drive> <Destination directory or drive> /ZB /e /sec /copyall /TEE /MT:128 /r:0 /log:C:\copylog.txt

/ZB: use restart mode first. If the file or directory isn't granted permission for us to copy, use backup mode to copy it.
/e: copy subdirectories, including Empty ones.
/sec: copy files and directories with Security
/copyall: copy files and directories info like auditing info
/TEE: this is an optional parameter which is displayed the coping status on "Command Prompt"
/MT:128 use 128 threaded to copy files and directories. However, it use many CPU resource.
/r:0 I don't want to retry at this time.
/log: save a log file to location

The second time, I prefer to copy the delta of files and directories. I added 4 parameters to copy from source to destination again.

Robocopy <source directory or drive> <Destination directory or drive> /ZB /e /sec /copyall /TEE /MT:128 /r:1 /XD /XF /XO /purge /log:C:\copylog.txt

/XD: eXclude Directories matching given names/paths but it can still add new or extra directories
/XF: eXclude Files matching given names/paths/wildcards but it still can add new or extra files
/XO: exclude older files or directories
/purge: delete dest files/dirs that no longer exist in source. 

After that, we can migrate share permission of share folder. To migrate share permission, please read Migrating File Servers in the same domain. Then, we can stop sharing from the old server and change the network drive mapping to the new file server.

This posting is provided “AS IS” with no warranties, and confers no rights!

Sunday, February 21, 2016

Change network connection profile by PowerShell on Windows 8 or later

Started from Windows 8, there are 2 PowerShell cmdlets for administrators to get and set network connection profiles which are Get-NetConnectionProfile and Set-NetConnectionProfile.

Get-NetConnectionProfile can check the current network connection profile for all network NICs.

The current network profile of this NIC is "Private"

To change the network connection profile to public, we can perform Set-NetConnectionProfile -InterfaceAlias <NIC Name> -NetworkCategory Public.

The network connection profile has been changed to "Public"

Make sure the PowerShell console is "run as administrator". if not, you get the following error message.

Set-NetConnectionProfile : Unable to set the NetworkCategory ...

From Windows 10 PowerShell console

The another reason to show this error message is that you performed Set-NetConnectionProfile to "DomainAuthenticated".

From Windows 8.1 PowerShell console

"DomainAuthenticated" network connection profile should be automatically assigned when a computer was joined domain. It cannot be changed by Set-NetConnectionProfile cmdlet because it is controlled by "Network List Manager" of Group Policy. However, we can change the other NICs of domain computers.


This posting is provided “AS IS” with no warranties, and confers no rights!