Migrate DHCP
Just a quick reminder on how to quickly move a Microsoft DHCP server. Export with netsh dhcp server export backup.txt […]
Just a quick reminder on how to quickly move a Microsoft DHCP server. Export with netsh dhcp server export backup.txt […]
I wanted to get into ISE elevated directly from the shell by just rightclicking the *.ps1 file and then choose
Install RD Gateway with Powershell fast.. (2012R2) Certs needs to be fixed and firewall ports needs to be opened and
I certanly dont recommend this but this is what worked …. $User = ”” $Users = ”” $Users=Get-ADUser -filter *
Hantera AD grupper m.m. med Powershell import-module activedirectory Get-ADUser -Filter {(Enabled -eq $true)} -searchbase ”ou=RDS,dc=HR,dc=local” get-adgroupMember ”RDS_Monitor_Users” -recursive | select-object
Powershell script to cause high cpu load (100%!) foreach ($loopnumber in 1..2147483647) {$result=1;foreach ($number in 1..2147483647) {$result = $result *
Powershell script som kolalr vilken user som är inloggad på en remote maskin… nice to have $Computer = Read-Host ”Enter
Collection of things regardsin RDS and Profile disk.. 2012R2 Redirekta övriga mappar som vanligt till användarens profil/userfiles med GP. dock
A powershell script that finds all services , filters som out depsending on start account… $host_name = ”.” # Addera
Powershell way to transfer all roles fast… cls Import-Module activedirectory Get-ADDomain | Select-Object InfrastructureMaster, RIDMaster, PDCEmulator Get-ADForest | Format-Table SchemaMaster,DomainNamingMaster,