Archive | Powershell RSS feed for this section

How Active Directory PowerShell CMDLETS find a DC running Active Directory Web Services

If you have been playing with the the AD PowerShell cmdlets you know that it requires a few things to run, first Windows Server 2008 R2 or Windows 7, the .NET Framework 3.5.1 and of course if you want to manage an AD domain you need Active Directory Web Services (ADWS) installed on at least [...]

Read more

Free Active Directory Virtual Labs

Microsoft has done this for quite some time now and is something everyone should take advantage of. Especially in today’s economy where training budgets are getting slashed.
Here are three great labs that you can use to learn all about Server 2008 R2’s Active Directory.
Windows Server 2008 R2: What’s New in Active [...]

Read more

Enable Powershell Remoting While Running VMWare Workstation in a Domain

Here is the script that will change all public profile NICs to become Work Network NICs:
$nlm = [Activator]::CreateInstance([Type]::GetTypeFromCLSID([Guid]“{DCB00C01-570F-4A9B-8D69-199FDBA5723B}”))
$connections = $nlm.getnetworkconnections()
$connections |foreach {
if ($_.getnetwork().getcategory() -eq 0)
{
$_.getnetwork().setcategory(1)
}
}
Afterwards I was able to enable remoting with no problem.Enable Powershell Remoting While Running VMWare Workstation in a Domain

Read more