Get Folder Size in PowerShell
To get the folder size in PowerShell, specify the folder path to the Get-ChildItem and pipe it to the Measure-Object command.
Read MoreTo get the folder size in PowerShell, specify the folder path to the Get-ChildItem and pipe it to the Measure-Object command.
Read MoreFTP protocol transfers files between a client and a server on a remote computer. The most commonly used FTP commands include FTP, Append, Delete, Send, and Mkdir
Read MoreThe ipconfig command outputs TCP/IP network configurations. It lists down network adapters, gateways, IPv4, and IPv6 protocol configurations.
Read MorePowerShell Get Property commands get the properties of an item or an object. These commands include Get-Member, Get-Item, and Select-Object.
Read MorePowerShell has a dedicated set of commands to manage the Active Directory. Few of them include Get-ADComputer, Get-ADUser, Set-ADUser, or Get-ADGroup.
Read MoreThe most commonly used SQL commands include PowerShell SQL Commands Add-RoleMember, Remove-RoleMember, Add-SqlFirewallRule, or Remove-SqlFirewallRule.
Read MoreThe most commonly used Office 365 commands include Get-MsolUser, New-MsolUser, Set-MsolUserPassword, or Remove-SPOUser.
Read MoreTo import the scheduled tasks open PowerShell. Type Register-ScheduledTask -xml (Get-Content “Task-Path” | Out-String) -TaskName “T-Name” -TaskPath “T-Path”.
Read MorePowerShell commands are the units of scripting language. It helps the system admins perform the recurring tasks swiftly.
Read MoreTo manage the network using PowerShell, administrators must be aware of the networking commands. These commands include ping, tracert, nslookup, or netstat.
Read MoreTo work with CSV files, PowerShell has several commands. These commands can help users to view, import, or export data within the CSV files.
Read MoreTo solve common cmdlet issues in PowerShell, users need to check spelling mistakes. Moreover, they need to run PowerShell as an administrator.
Read MoreTo securely store a password in PowerShell, first, set the ExecutionPolicy to RemoteSigned. Then, install the “SecureManagement” and “SecretStore” modules.
Read MoreTutorial on how to create a batch file to run a PowerShell script and use it to automate the process of renaming the files in a folder along with examples.
Read MoreAutomatic variables are predefined and are created automatically by PowerShell during script execution. Each of them serves different purposes.
Read MoreThe “using” statement in PowerShell lets you specify which namespaces, modules or assemblies are utilized in the session.
Read MoreMSOnline can be installed via PowerShell using the “Install-Module -Name MSOnline” command and the “Get-Module -ListAvailable” verifies the installation.
Read MoreThe “Suspend-Service” cmdlet is used to suspend one or more running services. It can be added to the “Suspend-Service” cmdlet using its name or display name.
Read MoreTo stop one or more running specified services in PowerShell, the “Stop-Service” cmdlet can be used. It sends a stop message to Windows to stop the service.
Read MoreThe “Set-Acl” cmdlet changes the security descriptor of a specified item or file. It uses the “-AclObject” parameter to specify the security descriptor.
Read More