Powershell: Convert Hex to Int type

Hi,

short post today. Topic: convert a hex string to an integer type.
More »

Advertisment to support michlstechblog.info

Windows: Get Disk Smartparameter and Health status

Hi,

in newer Versions of the Windows operating system you to not need additional tools to get the most important Harddisk smart parameters.
More »

Windows: Permit a limited user to run a schedule task defined by an Administrator

Hi,

This post is developed by the trial and error principle 😉 . Here you can find some background.

On Windows a User with just “normal” user rights cannot see and execute Tasks created from User with Administrator permissions. There are dozed of sites that describes that the permissions of an task can be changed by setting the filesystems rights in C:\Windows\System32\Tasks. But this won’t work since some early Versions of Windows 10 (IMHO 1607).
More »

Powershell: Import a module from a file

Hi,

you just want to test a module and don’t want to install or copy it to the Powershell Modules directories? It’s possible 🙂

For example the SpeculationControl module to query the speculation control (Spectre/Meltdown vulnerability) settings of your system.
More »

Powershell: A Local script is not executed with error not digitally signed

Hi,

Issue: You downloaded or copied a script from a remote location and Powershell won’t execute such a file although you have set the execution policy to RemoteSigned.

An Error like this occurs:

D:\Temp\myScript.ps1 : File D:\Temp\myScript.ps1 cannot
be loaded. The file D:\Temp\myScript.ps1 is not digitally signed. The script
will not execute on the system.

More »

Original Theme by Schiy · Powered by WordPress