Articles about powershell | UserComp.com | Page [ 7 ]

Get-ChildItem vs GetFiles vs EnumerateFiles vs EnumerateFileSystemEntries (Which is Best?)
Get-ChildItem vs GetFiles vs EnumerateFiles vs EnumerateFileSystemEntries (Which is Best?)

Looking for the best way to retrieve file system information in PowerShell Core? This article compares the usage and performance of Get-ChildItem, GetFiles, EnumerateFiles, and EnumerateFileSystemEntries, helping you choose the most suitable method for your needs.

Read More
Scheduled Robocopy in PowerShell from WebDAV Shares Not Working with IIS Share but with Nginx Share
Scheduled Robocopy in PowerShell from WebDAV Shares Not Working with IIS Share but with Nginx Share

Learn how to schedule a Robocopy task in PowerShell to copy files from WebDAV shares. Find out why it may not work with an IIS share, but does work with an Nginx share.

Read More
How to include the "wait" command in PowerShell
How to include the "wait" command in PowerShell

Learn how to include the "wait" command in PowerShell to pause script execution and synchronize actions. This article provides step-by-step instructions and examples to help you effectively use the wait command in your PowerShell scripts.

Read More
Obtain 'Printing Defaults' settings from a Printer's 'Properties'
Obtain 'Printing Defaults' settings from a Printer's 'Properties'

Learn how to obtain the 'Printing Defaults' settings from a printer's 'Properties' in Windows. This article provides step-by-step instructions on using PowerShell to access and retrieve these settings for network printers.

Read More
How to pass "wait" and kill the process through PowerShell command
How to pass "wait" and kill the process through PowerShell command

Learn how to pass the "wait" command and kill a process using PowerShell. This article provides step-by-step instructions and examples for managing processes in Windows using PowerShell commands.

Read More
Programmatically set Default Apps in Windows 10 2H22
Programmatically set Default Apps in Windows 10 2H22

Learn how to programmatically set default apps in Windows 10 2H22 using PowerShell. This guide provides step-by-step instructions and code examples to help you customize your default app settings efficiently.

Read More
Display Feature Lists and Subfeatures using Get-WindowsFeature
Display Feature Lists and Subfeatures using Get-WindowsFeature

Learn how to use the Get-WindowsFeature command in PowerShell to display feature lists and subfeatures in Windows Server 2019. This article provides step-by-step instructions and examples to help you navigate and understand the available features and subfeatures in your Windows Server environment.

Read More
How to Display a Feature List with Subfeatures using Get-WindowsFeature in PowerShell
How to Display a Feature List with Subfeatures using Get-WindowsFeature in PowerShell

Learn how to use the Get-WindowsFeature command in PowerShell to display a feature list along with its subfeatures. This article provides step-by-step instructions and examples for managing features on Windows Server 2019.

Read More
Powershell - Read Text File and Create a New File based on each line of the text file
Powershell - Read Text File and Create a New File based on each line of the text file

Learn how to use Powershell to read a text file and create a new file based on each line of the text file. This article provides step-by-step instructions on how to accomplish this task using Powershell commands.

Read More
Checking multiple .csv file exist or not from folder
Checking multiple .csv file exist or not from folder

Learn how to use PowerShell or batch scripting to check the existence of multiple .csv files in a specific folder. This article provides step-by-step instructions and code examples to help you automate the process and efficiently manage your CSV files.

Read More
Why does process count in Performance Monitor disagree with that given by PowerShell?
Why does process count in Performance Monitor disagree with that given by PowerShell?

Learn why the process count displayed in Performance Monitor may differ from the count provided by PowerShell. Understand the possible reasons for this discrepancy and explore troubleshooting steps to resolve the issue.

Read More
How to Run a WMI Subscriber from a Script
How to Run a WMI Subscriber from a Script

Learn how to run a WMI subscriber from a script using PowerShell. This article provides step-by-step instructions and tips for successfully setting up and executing WMI subscribers in your PowerShell scripts.

Read More
Clear PowerShell Screen and Scrollback: Shortcut Guide
Clear PowerShell Screen and Scrollback: Shortcut Guide

Learn how to clear the PowerShell screen and scrollback using a simple keyboard shortcut. This article provides step-by-step instructions and tips for optimizing your PowerShell experience.

Read More
Run Powershell command from cmd with parameters
Run Powershell command from cmd with parameters

Learn how to run a Powershell command from the command prompt with parameters. This article provides step-by-step instructions for executing Powershell commands with custom parameters in Windows.

Read More
What is the equivalent of Linux's && for windows
What is the equivalent of Linux's && for windows

Discover the equivalent of Linux's && operator for Windows command-line scripting. Learn how to execute multiple commands sequentially in Windows using PowerShell, batch scripting, and more.

Read More
What is the equivalent for Linux's && for Windows?
What is the equivalent for Linux's && for Windows?

Learn about the equivalent of Linux's && operator for Windows. Discover how to use command-line, PowerShell, batch scripts, and more on Windows.

Read More
Powershell: Get-StoredCredential not working when script is run from task scheduler
Powershell: Get-StoredCredential not working when script is run from task scheduler

Learn how to troubleshoot the issue with Powershell's Get-StoredCredential command not functioning correctly when executed from the task scheduler. Find solutions and workarounds to ensure smooth execution of your scripts.

Read More
Understanding CPU and GPU Bottlenecking: How They Affect Performance
Understanding CPU and GPU Bottlenecking: How They Affect Performance

Learn about CPU and GPU bottlenecking and how they can impact the performance of your computer. Discover the causes, symptoms, and potential solutions to optimize your system's performance.

Read More
Batch Renaming Files in Windows: Add a New Text at the Frontend to All Filenames in a Folder
Batch Renaming Files in Windows: Add a New Text at the Frontend to All Filenames in a Folder

Learn how to batch rename files in Windows using PowerShell or batch scripting. Add a new text at the frontend of all filenames in a folder effortlessly.

Read More
View Empty and Nested Security Groups in Active Directory
View Empty and Nested Security Groups in Active Directory

Learn how to use PowerShell to view empty and nested security groups in Active Directory. Discover an efficient way to manage and monitor your security groups for improved security and access control.

Read More
Batch Move files to sub-directory from list.txt
Batch Move files to sub-directory from list.txt

Learn how to use PowerShell or batch scripting to efficiently move multiple files to sub-directories based on a list provided in a text file. This article provides step-by-step instructions and code examples to help you automate the file moving process.

Read More
How to View Empty Security Groups in Active Directory and Search Nested Groups
How to View Empty Security Groups in Active Directory and Search Nested Groups

Learn how to use PowerShell to view all empty security groups in Active Directory, including searching nested groups. This article provides step-by-step instructions and examples to help you efficiently manage and monitor your security groups.

Read More
How can I directly negate options in PowerShell?
How can I directly negate options in PowerShell?

Learn how to directly negate options in PowerShell to optimize your scripting experience. This article provides step-by-step instructions and examples to help you master this powerful feature.

Read More
How to Remove Special Characters from Folder Names in Windows 10
How to Remove Special Characters from Folder Names in Windows 10

Learn how to remove special characters like backslash, colon, semicolon, single quotes, and double quotes from folder names in Windows 10 using command-line or PowerShell. Ensure proper encoding of special characters for better file management.

Read More
Motherboard Missing Serial Number and UUID: How to Fix it
Motherboard Missing Serial Number and UUID: How to Fix it

Learn how to resolve the issue of a missing serial number and UUID on your motherboard. This article provides step-by-step instructions using Windows PowerShell and WMI to fix the problem.

Read More
Windows Lock Screen: Unable to refresh via Commandline
Windows Lock Screen: Unable to refresh via Commandline

Learn how to troubleshoot the issue of being unable to refresh the Windows lock screen using the command line. This article provides step-by-step instructions and solutions to resolve the problem.

Read More
How to Monitor a Specific Directory in Windows 11 for New File Additions
How to Monitor a Specific Directory in Windows 11 for New File Additions

Learn how to monitor a specific directory in Windows 11 to detect when a new file is added. This article provides step-by-step instructions using PowerShell, Python, and batch files.

Read More
How to Find Out PCI Device by Location Path
How to Find Out PCI Device by Location Path

Learn how to find a PCI device by its location path in Windows using PowerShell. This article provides step-by-step instructions to help you identify and troubleshoot PCI devices connected to your computer.

Read More
Exporting non-exportable private key for .cer from Windows Certificate Manager
Exporting non-exportable private key for .cer from Windows Certificate Manager

Learn how to export a non-exportable private key for .cer files from Windows Certificate Manager using PowerShell and OpenSSL. This article provides step-by-step instructions and tips for successfully exporting the private key. Explore the world of cryptography and enhance your understanding of certificate management.

Read More
Size of users' recycle bins on Windows Server 2019
Size of users' recycle bins on Windows Server 2019

Learn how to manage the size of users' recycle bins on Windows Server 2019 using PowerShell. Discover efficient ways to adjust storage settings and optimize user folders. Explore the impact of recycle bin size on overall system performance and storage management.

Read More
Run Microsoft Office apps in guest VM from host with VirtualBox
Run Microsoft Office apps in guest VM from host with VirtualBox

Learn how to run Microsoft Office apps in a guest virtual machine from the host using VirtualBox. This article provides step-by-step instructions for setting up the necessary environment and executing the required commands.

Read More
Powershell Core Can't Execute Cmdlet that Powershell Can
Powershell Core Can't Execute Cmdlet that Powershell Can

Learn why Powershell Core is unable to execute certain cmdlets that Powershell can. Explore the differences between Powershell and Powershell Core and find solutions to overcome this limitation.

Read More
Querying Printer 'Printing Defaults' Properties
Querying Printer 'Printing Defaults' Properties

Learn how to query the 'Printing Defaults' properties of a printer using PowerShell in Windows. This article provides step-by-step instructions and code examples to help you retrieve and manage printer settings efficiently.

Read More
How to fix python's "input" on Windows Powershell?
How to fix python's "input" on Windows Powershell?

Learn how to fix the issue with python's 'input' function not working properly on Windows Powershell. This article provides step-by-step instructions to troubleshoot and resolve the problem.

Read More
Winget: works from limited user but not admin
Winget: works from limited user but not admin

Learn how to troubleshoot the issue when Winget works from a limited user account but not from an admin account. Find step-by-step instructions to resolve the problem and make the Winget utility function properly on your Windows system.

Read More
How to Programatically Turn on the Native Keyboard Backlight for LG Gram Laptop at Startup
How to Programatically Turn on the Native Keyboard Backlight for LG Gram Laptop at Startup

Learn how to programatically enable the native keyboard backlight for LG Gram laptop at startup using PowerShell or a batch file via Task Scheduler. This article provides step-by-step instructions and code examples.

Read More
Use Powershell to connect to LDAP
Use Powershell to connect to LDAP

Learn how to use Powershell to connect to LDAP and perform Active Directory operations. This article provides step-by-step instructions and code examples for seamless integration with LDAP.

Read More
How to Delete Failed Windows Update Folder Containing Req File
How to Delete Failed Windows Update Folder Containing Req File

Learn how to delete a failed Windows update folder that contains a req file using PowerShell. This article provides step-by-step instructions and tips to resolve update issues on Windows 11.

Read More
Create aliases in PowerShell
Create aliases in PowerShell

Learn how to create aliases in PowerShell to simplify and streamline your scripting tasks. This article provides step-by-step instructions on creating aliases in PowerShell, with a focus on leveraging the power of Azure and its related services. Discover how aliases can enhance your productivity and improve your overall scripting experience in PowerShell.

Read More
Powershell equivalent of "dir /a" - Tech Support Site
Powershell equivalent of "dir /a" - Tech Support Site

Discover the Powershell equivalent of the "dir /a" command. This article provides a step-by-step guide on how to list files and directories, including hidden and system files, using Powershell. Learn how to manage file attributes through the command line interface in Windows.

Read More
Understanding the 14-Digit Time Format: Exploring PowerShell, Microsoft Office, and Office 365
Understanding the 14-Digit Time Format: Exploring PowerShell, Microsoft Office, and Office 365

Learn about the 14-digit time format used in PowerShell, Microsoft Office, and Office 365. Discover its significance, how to interpret it, and its applications in various scenarios. This article provides a comprehensive overview of this time format and its relevance to the mentioned technologies.

Read More
Autoconnect to UltraVNC machine using password in a script, but the hostname (VNC Server) is always empty
Autoconnect to UltraVNC machine using password in a script, but the hostname (VNC Server) is always empty

Learn how to automatically connect to an UltraVNC machine by using a password in a script, even if the hostname (VNC Server) is always empty. This article provides step-by-step instructions for achieving this using PowerShell and cmd.exe, making it convenient for users who prefer a graphical user interface (GUI) for VNC connections. Enhance your remote access capabilities with this script-based solution.

Read More
Powershell - get-childitem but only return directories that have items in them
Powershell - get-childitem but only return directories that have items in them

Learn how to use the Powershell command get-childitem to list directories that contain items within them. This article provides step-by-step instructions and examples to help you efficiently navigate and filter directories using Powershell.

Read More
How to Detect the Presence of a New Service on a Windows Server via PowerShell Script
How to Detect the Presence of a New Service on a Windows Server via PowerShell Script

Learn how to use a PowerShell script to detect the presence of a new service on a Windows server. This article provides step-by-step instructions and code examples to help you automatically detect and monitor services on your Windows server.

Read More
How to affect only directories with Move-Item in PowerShell?
How to affect only directories with Move-Item in PowerShell?

Learn how to use the Move-Item command in PowerShell to specifically target and move directories. This article provides step-by-step instructions and examples for manipulating directories using PowerShell, allowing you to efficiently manage your files and folders.

Read More
Understanding the 14-Digit Time Format in Windows Registry
Understanding the 14-Digit Time Format in Windows Registry

Learn about the 14-digit time format found in the Windows Registry. This article provides an in-depth explanation of how this format is used, particularly in relation to PowerShell, Office 365, and date-time conversions. Discover its significance and explore its practical applications in managing timestamps.

Read More
How to Change a Password via PowerShell without Prompting for Existing Password
How to Change a Password via PowerShell without Prompting for Existing Password

Learn how to change a password via PowerShell without having to provide the existing password. This article provides a step-by-step guide to automate the password change process using PowerShell, making it easier and more efficient for system administrators.

Read More
Disable Default "Open Windows PowerShell" Right-Click Menu
Disable Default "Open Windows PowerShell" Right-Click Menu

Learn how to disable the default "Open Windows PowerShell" option in the right-click menu of Windows Explorer. This article provides step-by-step instructions to remove the option and regain control over the context menu.

Read More
How to Disable Default "Open with PowerShell" Right-Click Menu Without Disabling PowerShell Entry in File Menu
How to Disable Default "Open with PowerShell" Right-Click Menu Without Disabling PowerShell Entry in File Menu

Learn how to disable the default "Open with PowerShell" right-click menu without disabling the PowerShell entry in the file menu. This article provides step-by-step instructions for managing the context menu in Windows Explorer and maintaining access to PowerShell functionality.

Read More
PowerShell 5.1 Console: How to Improve Default Error Handling
PowerShell 5.1 Console: How to Improve Default Error Handling

Learn how to enhance the default error handling in PowerShell 5.1 console. Discover techniques to improve error management and streamline troubleshooting processes for a smoother PowerShell experience.

Read More