powershell tag

59 questions


1 answers
436 views
0
I would like to export PowerPoint to PDF via powershell.

I would like to export PowerPoint to PDF via powershell.I tried writing as below, but PowerPoint.Application.PpFixedFormatType:TypeName doesn't recognize it well.$Path=.\testpdf.pdf$mtrue=[Microsoft.O...


1 answers
280 views
0
I want to pass the variable as an argument for the variable that runs the script in powershell.

I am trying to do the following with powershell, but I will fail with でホスト Read the json file containing the hostname and IP ②Put the read value into the variable③The variable that runs the script fil...

2 years ago

1 answers
280 views
0
I would like to add contacts from PowerShell using the New-MailContact cmdlet.

I would like to create a batch to register Outlook destinations from PowerShell.If you run the following cmdlet from PowerShell, of course you won't get an Outlook instance, so US>Not recognized as a ...

2 years ago

1 answers
101 views
0
I want the console page code to be EUC.

The current PowerShell code page is shift-jis.I would like to log in to a remote server using the SSH feature of Powershell.However, the server environment is Linux and the character code is EUC.There...


2 answers
162 views
0
I would like to make a program to log and compare on bat every day.

A list of files in a storage is retrieved daily as the file name [yyyymmdd.log] log and Compare today's and yesterday's logs, and create a program that extracts differences that are in the log yesterd...

2 years ago

1 answers
99 views
0
Common Variables for Multi-Thread Processing in Workflow in Powershell

You want to run multiple ps1 scripts in parallel with workflow and ForEach-parallel.Each ps1 script returns $True or $Flase as a return value.I'm trying to count $Flase, but the scope is unable to use...

2 years ago

1 answers
124 views
0
I would like to delete the string "(double quotation) using powershell.

As per the title, I'd like to use powershell to delete the string (double quotation).Current State $s=$(get-count c: wwork ssample.txt)$s$s.trim(``)However, I cannot make [] recognized.I look forward ...

2 years ago

1 answers
120 views
0
How to Configure PowerShell Execution Security Policy

Windows 7 64-bit environment.I have the Microsoft.PowerShell_profile.ps1 file ready for Import-Module.Set-ExecutionPolicy RemoteSignedWhen you run with administrator privileges and start PowerShell fr...

2 years ago

1 answers
58 views
0
How to Configure PowerShell Execution Security Policy

Windows 7 64-bit environment.I have the Microsoft.PowerShell_profile.ps1 file ready for Import-Module.Set-ExecutionPolicy RemoteSignedWhen you run with administrator privileges and start PowerShell fr...

2 years ago

1 answers
132 views
0
Why can't I copy only x when I copy to PowerShell?

Why can't I copy only x when I copy to PowerShell?Copy fromText Editor Set-Location-Path L:\1\ground x Figure\Copy toPowerShell PSC:\WINDOWS\system32>Set-Location-Path L:\1\map\

2 years ago
« - 3 - »

© 2024 OneMinuteCode. All rights reserved.