1. Mount ISO Windwos 11 vào máy tính
dir E:\sources\sxs
DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /Source:E:\sources\sxs /LimitAccess
Xbox Game Bar là ứng dụng có sẵn, đi kèm miễn phí với phiên bản mới của Window 10. Vốn dĩ, phần mềm này được ra đời để giúp người chơi theo dõi hiệu suất máy tính của họ. Tuy nhiên, bạn vẫn có thể tận dụng tính năng của ứng dụng này để ghi lại màn hình máy tính của mình, ngay cả khi không chơi game.
1
2
3
4
| Import-Module ActiveDirectoryGet-ADUser -Filter * -Properties * | Select -Property Name,Mail,Department | Export-CSV "C:\\AllADUsers.csv" -NoTypeInformation -Encoding UTF8 |
1
2
3
4
| Import-Module ActiveDirectoryGet-ADUser -Filter 'City -like "*Austin*"' -Properties * | Select -Property Name,City,Mail,Department,DistinguishedName | Export-CSV "C:\\ADUsers.csv" -NoTypeInformation -Encoding UTF8 |
1
2
3
4
| Import-Module ActiveDirectoryGet-ADUser -LDAPFilter '(Department=*Admin*)' -Properties * | Select -Property Name,City,Mail,Department,DistinguishedName | Export-CSV "C:\\AdminUsers.csv" -NoTypeInformation -Encoding UTF8 |
1
2
3
4
| Import-Module ActiveDirectoryGet-ADUser -Filter * -SearchBase "OU=Austin,DC=TestDomain,DC=Local" -Properties * | Select -Property Name,Mail,Department | Export-CSV "C:\\AustinUsers.csv" -NoTypeInformation -Encoding UTF8 |
AD
Replication Ports
|
|
RPC endpoint mapper
|
135/tcp, 135/udp
|
Network basic input/output system (NetBIOS) name
service
|
137/tcp, 137/udp
|
NetBIOS datagram service
|
138/udp
|
NetBIOS session service
|
139/tcp
|
RPC static port for AD replication
|
1111/TCP
|
RPC static port for FRS
|
2347/TCP
|
Server message block (SMB) over IP (Microsoft-DS)
|
445/tcp, 445/udp
|
Lightweight Directory Access Protocol (LDAP)
|
389/tcp
|
LDAP ping
|
389/udp
|
LDAP over SSL
|
636/tcp
|
Global catalog LDAP
|
3268/tcp
|
Global catalog LDAP over SSL
|
3269/tcp
|
Kerberos
|
88/tcp, 88/udp
|
Domain Name Service (DNS)
|
53/tcp, 53/udp
|
MOM
|
TCP/UDP 1270
|
NTP
|
123/udp
|
Remote Desktop
|
3389/tcp
|