Powershell cheats v. 1

Udgivet

Opdater help information update-help Find filer via. Powershell Get-ChildItem -Path “c:\data” -Include “*.txt” -Recurse -Force | select FullName Find filer via. Powershell og flyt/kopier dem Get-ChildItem -Path “c:\data” -Include “*metr*” -Recurse -Force | Copy-Item -Destination “O:\test” Get IP info Get-NetIPConfiguration Set IP New-NetIPAddress -InterfaceAlias “Ethernet” – IPAddress 192.168.0.20 -PrefixLength 24 – DefaultGateway 192.168.0.1 Set DNS … Læs resten Powershell cheats v. 1