Powershell Tutorial
Introduction to Powershell Managing History of Powershell Commands Cmdlet, Alias, Function and Module in Powershell PSDrive Profile in Windows Powershell Variable Management in Powershell Passing values to parameters from file Creating files and directories Basic File System commands Finding the patterns in files Unique command Replacing patterns in files Comparing objects Sorting objects Other object commands Getting members of an Object Managing processes Managing Jobs IO redirection Piping System Commands Network commands Service Commands WMI(Windows Management Instrumentation) CIM (Common Information Model) Formatting output exporting output XML processing Powershell Module Management Remote computer managementSystem commands in windows powershell
Here is the list of System commands in Windows Powershell.- Get-Culture : This command shows the culture of the Operating System.
- Get-Date: This commands shows current date and time.
- Get-Host : This command shows Powershell version and culture information.
- Get-Random : This command shows the random number on the screen. We can also use this command to pick random object from the collection of objects.
- Get-Counter : This command prints the performance counter data.
- Enable-ComputerRestore : This command enables the System Restore feature for specific drive.
- Disable-ComputerRestore : This command disables the System Restore feature for specific drive.
- Checkpoint-Computer : This command creates restore point.
- Get-ComputerRestorePoint : This command shows the restore point on the system.
Get-CimInstance CIM_ComputerSystem
Get-CimInstance Win32_OperatingSystem
Managing System- Restart-Computer : This command allows you to restart the computer.
- Stop-Computer : This command lets you shut down system.
- Restore-Computer : This command lets you restore the system.
- Add-Computer : This command lets you add local computer to a domain or work group.
- Remove-Computer : This command removes the local computer from a work group or domain.
- Reset-ComputerMachinePassword : This command will reset the password of system.
- Get-Acl : This command prints the access control list of the file or registry key.
- Set-Acl : This command sets the access control list for a file or a registry key.
- ConvertFrom-SecureString : This command allows you to convert a secure string into an encrypted string.
- ConvertTo-SecureString : This command is opposite of above command.
Web development and Automation testing
solutions delivered!!