小编Jes*_*ert的帖子

用于更改服务帐户的Powershell脚本

有没有人有Powershell脚本来更改Windows服务使用的凭据?

windows powershell

34
推荐指数
6
解决办法
8万
查看次数

PowerShell中的环境变量,名称中带有点(.)

我知道我可以使用PowerShell访问环境变量$Env.例如,我可以访问FOO使用$Env:FOO.

我无法弄清楚如何访问被调用的环境变量FOO.BAR.

$Env:FOO.BAR不起作用.如何从PowerShell中访问它?

powershell environment-variables

27
推荐指数
2
解决办法
9210
查看次数

使用PowerShell,如何向帐户授予"作为服务登录"的权限?

我正在尝试使用powershell配置帐户凭据,但我需要授予帐户"作为服务登录"权限才能使其正常工作.我怎么能在PowerShell中做到这一点?

powershell

18
推荐指数
7
解决办法
3万
查看次数

如何从C#提交multipart/form-data HTTP POST请求

使用C#中的multipart/form-data内容类型提交HTTP POST请求的最简单方法是什么?必须有一种比建立我自己的请求更好的方法.

我问的原因是使用这个api将照片上传到Flickr:

http://www.flickr.com/services/api/upload.api.html

.net c# post http multipartform-data

16
推荐指数
3
解决办法
3万
查看次数

在LAN上的PC上交换两个应用程序之间的数据

我需要实现两个可以互相交换数据的应用程序.这两款应用都将在作为局域网一部分的独立PC上运行.

我们如何在Delphi中做到这一点?

是否有任何免费组件可以轻松地在PC上的应用程序之间交换数据?

database sockets delphi lan

7
推荐指数
1
解决办法
3034
查看次数

How do I use the RabbitMQ delayed message queue from PHP?

I'm trying to use the Delayed Message Queue for RabbitMQ from PHP, but my messages are simply disappearing.

I'm declaring the exchange with the following code:

$this->channel->exchange_declare(
    'delay',
    'x-delayed-message',
    false,  /* passive, create if exchange doesn't exist */
    true,   /* durable, persist through server reboots */
    false,  /* autodelete */
    false,  /* internal */
    false,  /* nowait */
    ['x-delayed-type' => ['S', 'direct']]);
Run Code Online (Sandbox Code Playgroud)

I'm binding the queue with this code:

$this->channel->queue_declare(
    $queueName,
    false,  /* Passive */
    true,   /* Durable */
    false, …
Run Code Online (Sandbox Code Playgroud)

php rabbitmq php-amqplib

6
推荐指数
1
解决办法
5115
查看次数

如何从SSIS中的SQL日期时间值中仅提取日期?

如何将日期时间转换为SSIS中的日期?

我正在尝试执行聚合查询,该查询将按特定日期分组.为了做到这一点,我试图只提取时间戳的日期部分(存储为日期时间),以便我可以在下一步执行GROUP BY.

我查看了DATEPART函数,但看起来我必须多次调用它来检索月份,日期和年份,将它们连接在一起然后解析新日期.必须有一个更好的方法来做到这一点.

sql-server datetime ssis

2
推荐指数
1
解决办法
2万
查看次数