Powershell中的后台智能传输服务 - 设置属性 [英] Background Intelligent Transfer Service in Powershell - Set Property

查看:61
本文介绍了Powershell中的后台智能传输服务 - 设置属性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Windows 7,Powershell 2.0


有没有办法使用Powershell设置BITS作业属性?我正在尝试使用Powershell来使用BITS来下载动态内容。我似乎需要设置            BITS_JOB_PROPERTY_DYNAMIC_CONTENT属性,但我找不到在Powershell中设置它的方法。



BITS属性docs


https://msdn.microsoft.com/en-us/library/windows/desktop/hh446783(v = vs.85).aspx

解决方案

请注意,
BITS_JOB_PROPERTY_ID枚举
它表示支持的最低客户端是Windows 8,而不是7.


Windows 7, Powershell 2.0

Is there any way to set a BITS job property using Powershell? I'm trying to use Powershell to use BITS to download dynamic content. It seems I need to set the  BITS_JOB_PROPERTY_DYNAMIC_CONTENT property but I can't find a way to set that in Powershell.

BITS property docs

https://msdn.microsoft.com/en-us/library/windows/desktop/hh446783(v=vs.85).aspx

解决方案

Note that at the bottom of the documentation for BITS_JOB_PROPERTY_ID enumeration it indicates that the minimum supported client is Windows 8, not 7.


这篇关于Powershell中的后台智能传输服务 - 设置属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆