public-winpe/Use-PEStartupIpconfig.ps1
|
function Use-PEStartupIpconfig { [CmdletBinding()] param () #================================================= Write-Verbose "[$(Get-Date -format s)] [$($MyInvocation.MyCommand.Name)] Start" $Error.Clear() $host.ui.RawUI.WindowTitle = '[OSDCloud] IPConfig - Network Configuration' #================================================= Write-Host -ForegroundColor DarkCyan "[$(Get-Date -format s)] ipconfig /all" ipconfig /all #================================================= Write-Verbose "[$(Get-Date -format s)] [$($MyInvocation.MyCommand.Name)] Done" #================================================= } |