@@ -0,0 +1,10 @@
+
+Get-NetIPAddress | Where-Object {
+ $_.IPAddress -like "10.*"
+} | ForEach-Object {
+ @{
+ IP=$_.IPAddress;
+ Index=$_.InterfaceIndex
+ Adapter=(Get-NetIPInterface -InterfaceIndex $_.InterfaceIndex).InterfaceAlias
+ }
+}
@@ -0,0 +1,15 @@
+foreach ($module in @("PSWindowsUpdate")){
+ if (-not (Get-Module -ListAvailable -Name $module)) {
+ Install-Module $module -Scope CurrentUser
+ if (-not (Get-Module $module)) {
+ Import-Module $module
+Get-WindowsUpdate
+# Get-WindowsUpdate -KBArticleID "KB4592449" -Install
+# Install-WindowsUpdate