Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!
On Error Resume Next '<<< add this line to skip errors Set objOU = GetObject("LDAP://OU=SomeOU,dc=domain,dc=local") Set objGroup = GetObject("LDAP://CN=GroupNameOU=SomeOU,dc=domain,dc=local") For Each objUser in objOU strUser=objuser.AdsPath objGroup.Add strUser msgbox "Added " & strUser Next
|Windows 10 - Devices and Printers slow loading||29||165|
|NTDS ISAM, Event ID: 508, A request to write to the file "C:\Windows\NTDS\edb.log" succeeded, but took an abnormally long time.||4||26|
|Why is a user who's account has been disabled and is no longer at the company generating event 4768 in Windows security log?||8||52|
|PowerShell: Importing a CSV to gather information with Get-MsolUser -- to be used in ForEach||11||41|