
Concept explainers
Please help convert this script to what can run on Windows PowerShell: #!/usr/bin/env bash
scriptDir="$(dirname "$0")"
file="$scriptDir/file-received.json"
topic="ws.wsp.edi-file.processing.member.parsed"
kcat \
-P \
-b localhost:9092 \
-t ${topic} \
-D ^ \
${file}

Trending nowThis is a popular solution!
Step by stepSolved in 3 steps

- Create a batch file Your batch file should include all required comments for creation and author information. Your batch file must include but is not limited to these commands: ECHO CD NET ICACLS MKDIR COPY Comment each line of your batch file as you create it. Don’t forget to include creation and author information. Create a batch file F:\bat that uses all the required commands and completes the following: Creates a folder named Scripts on the Root of C Add a local user named Aisha Bruce with the username ABruce and the password student Creates a directory in the “E:\CompanyInc\Management” folder named “ABruce_Files” Creates an ACE for “ABruce” to the “ABruce_Files” folder with these explicit permissions: Full Control Re-establishes inheritance to sub-folders and files Copies the application cmd.exe from the C:\Windows\System32 folder to the “ABruce_Files” folder Addes ABruce to your Management Group created in assignment 3 Produces an ICACLS Report for “ABruce_Files”…arrow_forwardBook reference: Windows PowerShell Step by Step 3rd Edition - Ed WilsonChapter 10 6. What does the below command return? Get-CimInstance -ClassName __NAMESPACE -Namespace root 7. What can the below script do? Function Get-WmiProvider { Param( [string]$nameSpace, [string]$computer) Get-CimInstance -ClassName __Provider -Namespace $namespace | Sort-Object -property Name | Select-Object name } #end function Get-WmiProvider Get-WmiProvider -namespace root\cimv2 -computer $env:COMPUTERNAMEarrow_forwardThe mode portion of the command format is made up of the following parts: Category of users you are working with: u = user, g = group, o = other or a = all Permissions: r = read, w = write or x = execute Assume the file, pfile1, has the following permissions, r----x-w-. Use symbolic mode to change the permissions to rwxrw-r--.arrow_forward
- Bash Shell Scripting – Permissions Need help with solving this problem: Write a bash shell script with the following capabilities: Create a new bash script ~./test5.sh Add a simple echo "Hello World" statement and save the script. Run the ls –l command to inspect the files permissions. Who is the owner of this file? Can you execute this script? If not, why not? Use the chmod command to change the file permissions to you can execute the file. Run the ls – l command to inspect the files permissions. What changed in the permissions to allow you to run the script? Take a screenshot of the console output.arrow_forwardwrong commandsarrow_forwardWrite two scripts called encryption and decryption. Test both scripts by encrypting a file called file1 and save the result in file2. Then use file2 as the input to the decryption script and check if the output is the same as file1. May I get help with this in bash shell please?arrow_forward
- Please Solve In 20minsarrow_forwardI am having an issue with declaring a construtor - LINE 104 TimeOff::TimeOff(string, int, double, double, double, double, double) Can you review my code and let me know what I am doing wrong. I got help from your site, however, they created 2 files, a header and a source cpp. My assignment is to turn in one file, with the headers and source code. See below and attached //Sharissa R Sullivan //03.18.23//More about Classes #include <iostream>#include <string>using namespace std; //Number Days Classclass NumDays{ // Access specifer private: double hours; double days;public: NumDays(double h = 0) { hours = h; days = h / 8; } void setHours(double h) { hours = h; days = h / 8; } void setDays(double d) { days = d; hours = d * 8; } double getHours()const { return hours; } double getDays()const { return days; } //overloaded + operator NumDays operator+(NumDays&…arrow_forward
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education





