Open PowerShell as an administrator and run the following command: set-executionpolicy unrestricted The output is as follows. Enter Y to confirm the change. Configure Windows remote management (WinRM). Run the following commands in PowerShell: winrm enumerate winrm/config/listener winrm quickconfi...
C# code to send ZPL II commands to zebra printer C# Code to send/receive sms messages through a modem c# Collection was modified. enumeration operation might not execute. C# combobox.SelectedItem returns System.Data.DataRowView. C# compiler console output on compile bothering me C# compiling err...
Add formatting and style to a html report in powershell Add full control to computer object Add ICMPv4/v6 Echo Request Using PowerShell Add IP output to Test-Connection Add line to a text file just after a specific line with PowerShell add lines of text to the TOP of a existing txt fi...
Long: `Go Blueprint is a CLI tool that allows users to spin up a Go project with the corresponding structure seamlessly. It also gives the option to integrate with one of the more popular Go frameworks!`, } // Execute adds all child commands to the root command and sets flags appropri...
commands: - | Import-Module AWSPowerShell $instanceid = (Invoke-RestMethod -Method Get -Uri http://169.254.169.254/latest/meta-data/instance-id) New-EC2Tag -Resource $instanceId -Tag @{Key="Name";Value=$env:COMPUTERNAME} ... NOTE: For more information about automation documents, see ht...
What we will do in this post is add the functionality of the above start-up commands as a new shell option in Windows Terminal. Adding a new custom shell to Windows Terminal Note: I am using "Windows Terminal Preview Version: 1.4.2652.0".If you are using an older version of Windows Ter...
Now, my test database was actually created by a database architect, and he decided to name most of the database fields with a prefix (egEmploy_ID,Employ_First_Name, etc). This is really useful when writing SQL commands, but makes the C# messy. Using theseJsonPropertyNameattributes, we ...
Windows – PowerShell commands $base64string = [Convert]::ToBase64String([IO.File]::ReadAllBytes('./volunteers.jpg')) Prepare payload Use following commands to prepare the payload and write it to a file. Linux commands payload="{\"instances\": [{\"image\": {\"b64\"...
Windows PowerShell through a Windows PowerShell drive (PSDrive). When users view the PSDrive, the data in the data store appears to be organized like a file system drive. The drive has a path and users can navigate through the data store by using file system navigation commands like CD ...
(1B) - Linux Commands (2) - Networks (2B) - Networks (3) - Linux Systems (4) - Scripting (Ruby/Shell) (5) - Configuration Management (6) - AWS VPC setup (public/private subnets with NAT) (6B) - AWS VPC Peering (7) - Web server (8) - Database (9) - Linux...