docs/powershell.md aktualisiert
This commit is contained in:
1 parent
2427f0c23c
commit
d2bf5e322f
1 file changed
+13
@@ -32,3 +32,16 @@ Set-DnsClientServerAddress -InterfaceIndex '3' -ServerAddresses ('172.16.7.11','
|
|||||||
```ruby
|
```ruby
|
||||||
Rename-Computer -NewName 'DC01' -Restart -Force
|
Rename-Computer -NewName 'DC01' -Restart -Force
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Remote Access
|
||||||
|
Read TrustedHosts
|
||||||
|
> Command: Get-Item WSMan:localhost\client\TrustedHosts
|
||||||
|
```ruby
|
||||||
|
Get-Item WSMan:localhost\client\TrustedHosts
|
||||||
|
```
|
||||||
|
Set TrustedHost
|
||||||
|
> Command: Set-Item WSMan:localhost\client\TrustedHosts –Value '[IP bzw. hostname]'
|
||||||
|
```ruby
|
||||||
|
Set-Item WSMan:localhost\client\TrustedHosts –Value '172.16.7.254'
|
||||||
|
```
|
||||||
|
|
||||||
Reference in new issue
Block a user