docs/powershell.md aktualisiert
This commit is contained in:
@@ -12,6 +12,13 @@ Get-LocalUser -Name 'Administrator' | Set-LocalUser -Password (ConvertTo-SecureS
|
|||||||
Rename-Computer -NewName 'DC01' -Restart -Force
|
Rename-Computer -NewName 'DC01' -Restart -Force
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Set-Networkcard-to-private
|
||||||
|
Profil der Netzwerkkarte auf Privat umstellen (Firewall)
|
||||||
|
> Comman: Set-NetConnectionProfile -InterfaceIndex [Index der Netzwerkkarte] -NetworkCategory "Private"
|
||||||
|
```ruby
|
||||||
|
Set-NetConnectionProfile -InterfaceIndex '3' -NetworkCategory 'Private'
|
||||||
|
```
|
||||||
|
|
||||||
## IPv6-DHCP-abschalten
|
## IPv6-DHCP-abschalten
|
||||||
> Command: Get-NetIPInterface -AddressFamily [IPv6/IPv4]
|
> Command: Get-NetIPInterface -AddressFamily [IPv6/IPv4]
|
||||||
```ruby
|
```ruby
|
||||||
|
|||||||
Reference in New Issue
Block a user