Posts

Showing posts from December, 2012

GPO Reports of Active Directory via Power Shell to HTML in Windows Server 2012

Image
Open Power Shell as Administrator         Then write the following PS Script.   You have two ways to make this happend. Option One Get-GPOReport –ALL Get-GPOReport –Name “Default Domain Controllers Policy” –ReportType HMTL –Path C:\GPOReports\DDCP.html Make sure that you have choose the correct name of the GPO, and you have the directory created. How to create an directory from PS? Here’s the command New-Item C:\GPOReports –ItemType Directory       Option Two   $gpos = Get-GPO –ALL Foreach($gpo in $gpos) { $File = “C:\GPOReports” + gpos.displayname + “.html” Get-GPOReport –Name $gpo.displayname –ReportType HTML –Path $File }   Hope this helps Any question just send me an email or contact me via twitter @davidiacevedo Thanks for viewing

How to Join Computer To a Domain with Power Shell 3.0

Image
How to Join Computer To Domain with Power Shell 3.0  How to rename computer name and join domain  ? Follow the steps: I Want the computer name from  ws to wsd and using the domain credentials. The command  bypasses confirmation and causes a restart of the machine: On PowerShell  PS C:\> Rename-Computer –ComputerName ws –NewName wsd–DomainCredential netdavidic\david –Force –Restart Hope this help!! Thanks David Acevedo

What's Hyper-V Replica ?

Image
Hyper-V Replica Hyper-V Replica  is a new built-in feature of both  Windows Server 2012  and our FREE  Hyper-V Server 2012 products.  Hyper-V Replica enables Hyper-V hosts or clusters to enable distance replication of running VMs to remote Hyper-V hosts over a standard IP WAN connection.  It provides a very cost-effective disaster recovery solution in the event of a primary data center outage. To get this feature in the VMware world, we'd pay gobs of extra money to license "Site Recovery Manager", but in Hyper-V it's just included as part of the core feature set -  no extra cost .