public-winpe/Show-PEStartupIpconfig.ps1
|
function Show-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" #================================================= } |