PowerShell-Dispose System.Net.CookieContainer?
是否有办法处置/关闭CookieContainerPowerShell-Dispose System.Net.CookieContainer?,powershell,system.net,Powershell,System.net,是否有办法处置/关闭CookieContainer $cc = New-Object System.Net.CookieContainer 也许吧 我能做到这一点 编辑: 返回错误 也许吧 我能做到这一点 编辑: 返回错误 您可以执行以下操作: $cc = $null 您可以执行以下操作: $cc = $null @JNK-是的,可能是一样的。哎呀,没有看到评论。@manojlds-没问题,你的答案总是一件好事@JNK-是的,可能是一样的。哎呀,没有看到评论。@manojlds-没问题
$cc = New-Object System.Net.CookieContainer
也许吧
我能做到这一点
编辑:
返回错误 也许吧
我能做到这一点
编辑:
返回错误 您可以执行以下操作:
$cc = $null
您可以执行以下操作:
$cc = $null
@JNK-是的,可能是一样的。哎呀,没有看到评论。@manojlds-没问题,你的答案总是一件好事@JNK-是的,可能是一样的。哎呀,没有看到评论。@manojlds-没问题,你的答案总是一件好事!
$cc = $null