Processing..
Wednesday, July 31, 2024
Wednesday, June 26, 2024
Set-ExecutionPolicy
The Set-ExecutionPolicy cmdlet change the user preference for the Windows PowerShell execution policy.
Set-ExecutionPolicy [-ExecutionPolicy*] {Unrestricted | RemoteSigned | AllSigned | Restricted | Default | Bypass |Undefined} [[-Scope] {Process | CurrentUser | LocalMachine | UserPolicy | MachinePolicy}] [-Confirm] [-Force][-WhatIf] [<CommonParameters>]
Examples
Set the shell execution policy:
PS C:\> Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
The command uses the Force parameter to suppress the user prompt.
Set the scope for an execution policy:
PS C:\> Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy AllSigned -Force
PS C:\> Get-ExecutionPolicy -List
Remove the execution policy for the current user:
PS C:\> Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Undefined
Other Issues:
When you run an .ps1 PowerShell script you will get the message saying “.ps1 is not digitally signed. The script will not execute on the system.”
To fix this issue you have to run the following command to run Set-ExecutionPolicy and change the Execution Policy setting.
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
Friday, June 7, 2024
No delete option for a SharePoint folder
If you use the global admin account and am running into a problem with a folder on a SharePoint site.
-There is nothing inside of the folders.
-I have listed as the owner of the folders.
-There was previously a Teams channels with the same name which has been deleted.
-There is another folder in the same site at the top of the directory that does have the delete options.
Can someone please provide guidance as to why this folder cannot be deleted?
Solution:
Tuesday, May 28, 2024
Friday, April 12, 2024
Automatically copying that text to another textbox use jQuery with Nintex Forms
Automatically copying that text to another textbox use jQuery with Nintex Forms
you can achieve this using JavaScript/jQuery code within Nintex Forms. Here's a basic example of how you might do it:
// Assuming you have two textboxes with ids 'Name_textbox1' and 'Name_textbox2'
// Replace 'Name_textbox1' and 'Name_textbox2' with the actual ids of your textboxes
$(document).ready(function(){ $('#Name_textbox1').change(function(){
var text = $(this).val(); // Get the value of Name_textbox1
$('#Name_textbox2').val(text); // Set the value of Name_textbox2 to the value of Name_textbox1
}); });
Friday, February 16, 2024
How to get the radio button value in the nintex form using jquery
When using a Choice control You will get value of selected radio button using in the following code:
Ensure the selector (input[name="myRadioGroupName"]
) accurately targets your radio buttons. If you have assigned a class to them, you would use something like NWF$('.myCustomClass')
.
My Nintex Radio Button CSS name is rblRadio then i use in the following code
NWF$('.rblRadio').change(function() {
console.log("Clicked radio button");
var radio_Button_Value = NWF$('.rblRadio').find("input:checked").val();
console.log("radio_Button_Value input checked " + radio_Button_Value );
});
Friday, January 19, 2024
How to apply Label Border Color in the Nintex form using jQuery
Using a Custom Class on your Nintex form label control
If your label has a custom class, such as CSS class property then apply
Label control name is LabelToolTips
Use in the following code on your code logic
NWF$('.LabelToolTips').css('border', '2px solid #ff0000'); // Red border
NWF$('.LabelToolTips').html("*If you are unsure, choose Intranet Issue"); //Apply Value
NWF$('.LabelToolTips').css('border', 'none'); // Remove Border