You download a Windows PowerShell snap-in. You need to ensure that the snap-in is automatically imported when you open a new PowerShell session. What should you do?
A.
Modify the PowerShell execution policy.
B.
Create a new PowerShell manifest file. Update the PowerShell shortcut and specify the file option.
C.
Create a new PowerShell console file. Update the PowerShell shortcut and specify the psconsolefile option.
D.
Create a new PowerShell formatting and type file. Copy the file to the %SystemRoot%\system32 \WindowsPowerShell\v1.0 folder.
Suggested Answer:C🗳️
PSConsoleFileloads the specified Windows PowerShell console file. To create a console file, use the Export-Console cmdlet in Windows PowerShell.
Export-Console - The Export-Console cmdlet exports the names of the Windows PowerShell snap-ins in the current session to a Windows PowerShell console file (.psc1). You can use this cmdlet to save the snap-ins for use in future sessions. To add the snap-ins in the .psc1 console file to a session, start Windows PowerShell (Powershell.exe) at the command line by using Cmd.exe or another Windows PowerShell session, and then use the PSConsoleFile parameter of Powershell.exe to specify the console file.
Currently there are no comments in this discussion, be the first to comment!
This section is not available anymore. Please use the main Exam Page.70-680 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Comments