Protected: Update AD user Properties
There is no excerpt because this is a protected post.
Knowledge is Power
There is no excerpt because this is a protected post.
We can use PowerShell to test remote port connectivity without installing telnet and with the use of the Test-NetConnection command. To check if the remote port is open or not … Read More
#Share Folder Path $FolderPath = dir -Path “\\server1.vmwarenterprise.com\Reports\” -Recurse -Directory -Force$Report = @()Foreach ($Folder in $FolderPath) {$Acl = Get-Acl -Path $Folder.FullNameforeach ($Access in $acl.Access){$Properties = [ordered]@{‘FolderName’=$Folder.FullName;’ADGroup or User’=$Access.IdentityReference;’Permissions’=$Access.FileSystemRights;’Inherited’=$Access.IsInherited}$Report += New-Object … Read More
foreach($d in (get-adforest).domains){$v = Measure-Command {get-addomaincontroller -Filter * -Server $d}Write-Output “Took $($v.TotalSeconds) to Enumerate DCS in $d “}
Created domain account in each domain add it to domain admin group $domains = (get-adforest).domainsforeach($domain in $domains){$accountname = ‘s-coe-‘+($domain -split “.”)[0]+’-DA’$accountpass = ‘P@ssword123456’ | ConvertTo-SecureString -Force -AsPlainTextWrite-Output “Working on $domain … Read More
Some Enterprise Organisations do not allow us to use any software on their networks a. Any software to be installed would need to be tested, validated and approved by the … Read More