Posts

Showing posts from October, 2020

How to enable execution of PowerShell scripts

Image
PowerShell Execution Policy The PowerShell Execution Policy determines whether PowerShell scripts are allowed to run. By default, the Execution Policy is set to Restricted. If you try to run scripts under the Restricted policy, you will get error messages. In this tutorial, you will learn about the execution policies, how to enable execution of PowerShell scripts on machine. What is Execution Policy PowerShell's execution policy is a safety feature that controls the conditions under which PowerShell loads configuration files and runs scripts. This feature helps to prevent the execution of malicious scripts. The execution policy isn't a security system that restricts user actions. For example, users can easily bypass a policy by typing the script contents at the command line when they cannot run a script. Instead, the execution policy helps users to set basic rules and prevents them from violating those unintentionally. Execute PowerShell Script I have created a "sample.ps1...

How to create links to sections on the same page in HTML

Image
HTML Hyperlinks are used to navigate from one web page to another. We can also use same <a> anchor tag to jump between different sections of same web page. To know how to insert hyperlink to navigate within different page, go through  HTML Links . In this tutorial you will learn how to link one section to another section on a same web page. Internal Links In case of long pages, we can help users to explore page by using internal links without scrolling. User can jump between different sections of page on single click. Internal links/page jumps use the same <a>  tag and href attribute. Link provided as value of href attribute points to particular section of page. Syntax Page jumps are done by using the name attribute of the a element. suppose we need a link to the top of your page, you would add an anchor like this near the top of your document. <a name="name_attribute_value"></a> There doesn’t need to be anything between the opening and closing tags....