Category Archives: Windows

Windows tips, howtos, scripts

Windows: Change a LAN Interface Networkprofile to private

Hi

when the network profile of a Windows PC is set to public, there are firewall restrictions enabled which could prevent accessing the Computer from network. For example Windows Remoting.

Unfortunately in some cases the profile cannot be switch by the Network Gui(s) of windows.
Continue reading Windows: Change a LAN Interface Networkprofile to private

Powershell: Enable secure Windows/Powershell Remoting over https

Hi,

these are the steps to enable Windows Powershell remoting secured by TLS

Check your Network connection profile. Set-WSManQuickConfig expects that the Network profile is at least private or domain.

Continue reading Powershell: Enable secure Windows/Powershell Remoting over https

Powershell: Transfer Modules to an offline PC

Hi,

in these days powershell modules are often installed from a (NuGet) Repository and not by a Setup program.

In companies may exists computers which does not have an active internet connection.

But how to install the modules on these devices?
Continue reading Powershell: Transfer Modules to an offline PC

Windows: Extract files from a Windows MSU Update File

Hi,

Windows builtin utility for extracting cab or msu files is expand
Continue reading Windows: Extract files from a Windows MSU Update File

Windows: Execute a Script at shutdown

Hi,

like system startup it is not possible to execute a script at system shutdown with the task scheduler. It must be configured with a group policy. You can choose the GUI way are set it by script:

Let us assume the Script is C:\scripts\shutdownEv.cmd.
Continue reading Windows: Execute a Script at shutdown