猫史档案馆


又发现一条PowerShell命令!

用户:SCS_user_dIGEWADtRkSCS_user_dIGEWADtRk查看:1 回复:4 评论:1 创建时间:2020-09-06T14:52:45


不多说,直接上代码!

PS C:\Users\Administrator> sp

位于命令管道位置 1 的 cmdlet Set-ItemProperty
请为以下参数提供值:
Path[0]: 3
Path[1]: 5
Path[2]: 6
Path[3]: 78
Path[4]: 5467
Path[5]: 4567
Path[6]: 45
Path[7]: 654
Path[8]: 4567
Path[9]: 4576
Path[10]: 7
Path[11]: 32
Path[12]: 4
Path[13]:
Name: 445
Value: 45
sp : 找不到路径“C:\Users\Administrator\3”,因为该路径不存在。
所在位置 行:1 字符: 1
+ sp
+ ~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\Administrator\3:String) [Set-ItemProperty], ItemNotFoundExcept
   ion
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetItemPropertyCommand

sp : 找不到路径“C:\Users\Administrator\5”,因为该路径不存在。
所在位置 行:1 字符: 1
+ sp
+ ~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\Administrator\5:String) [Set-ItemProperty], ItemNotFoundExcept
   ion
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetItemPropertyCommand

sp : 找不到路径“C:\Users\Administrator\6”,因为该路径不存在。
所在位置 行:1 字符: 1
+ sp
+ ~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\Administrator\6:String) [Set-ItemProperty], ItemNotFoundExcept
   ion
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetItemPropertyCommand

sp : 找不到路径“C:\Users\Administrator\78”,因为该路径不存在。
所在位置 行:1 字符: 1
+ sp
+ ~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\Administrator\78:String) [Set-ItemProperty], ItemNotFoundExcep
   tion
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetItemPropertyCommand

sp : 找不到路径“C:\Users\Administrator\5467”,因为该路径不存在。
所在位置 行:1 字符: 1
+ sp
+ ~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\Administrator\5467:String) [Set-ItemProperty], ItemNotFoundExc
   eption
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetItemPropertyCommand

sp : 找不到路径“C:\Users\Administrator\4567”,因为该路径不存在。
所在位置 行:1 字符: 1
+ sp
+ ~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\Administrator\4567:String) [Set-ItemProperty], ItemNotFoundExc
   eption
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetItemPropertyCommand

sp : 找不到路径“C:\Users\Administrator\45”,因为该路径不存在。
所在位置 行:1 字符: 1
+ sp
+ ~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\Administrator\45:String) [Set-ItemProperty], ItemNotFoundExcep
   tion
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetItemPropertyCommand

sp : 找不到路径“C:\Users\Administrator\654”,因为该路径不存在。
所在位置 行:1 字符: 1
+ sp
+ ~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\Administrator\654:String) [Set-ItemProperty], ItemNotFoundExce
   ption
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetItemPropertyCommand

sp : 找不到路径“C:\Users\Administrator\4567”,因为该路径不存在。
所在位置 行:1 字符: 1
+ sp
+ ~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\Administrator\4567:String) [Set-ItemProperty], ItemNotFoundExc
   eption
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetItemPropertyCommand

sp : 找不到路径“C:\Users\Administrator\4576”,因为该路径不存在。
所在位置 行:1 字符: 1
+ sp
+ ~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\Administrator\4576:String) [Set-ItemProperty], ItemNotFoundExc
   eption
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetItemPropertyCommand

sp : 找不到路径“C:\Users\Administrator\7”,因为该路径不存在。
所在位置 行:1 字符: 1
+ sp
+ ~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\Administrator\7:String) [Set-ItemProperty], ItemNotFoundExcept
   ion
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetItemPropertyCommand

sp : 找不到路径“C:\Users\Administrator\32”,因为该路径不存在。
所在位置 行:1 字符: 1
+ sp
+ ~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\Administrator\32:String) [Set-ItemProperty], ItemNotFoundExcep
   tion
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetItemPropertyCommand

sp : 找不到路径“C:\Users\Administrator\4”,因为该路径不存在。
所在位置 行:1 字符: 1
+ sp
+ ~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\Administrator\4:String) [Set-ItemProperty], ItemNotFoundExcept
   ion
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetItemPropertyCommand


回复

上一页1 页 / 共 1下一页
白篮白篮

这个commad没用

点赞0


评论


清和一十六清和一十六

PS C:\Users\Administrator> sp

位于命令管道位置 1 的 cmdlet Set-ItemProperty
请为以下参数提供值:
Path[0]: 3
Path[1]: 5
Path[2]: 6
Path[3]: 78
Path[4]: 5467
Path[5]: 4567
Path[6]: 45
Path[7]: 654
Path[8]: 4567
Path[9]: 4576
Path[10]: 7
Path[11]: 32
Path[12]: 4
Path[13]:
Name: 445
Value: 45
sp : 找不到路径“C:\Users\Administrator\3”,因为该路径不存在。
所在位置 行:1 字符: 1
+ sp
+ ~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\Administrator\3:String) [Set-ItemProperty], ItemNotFoundExcept
   ion
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetItemPropertyCommand

sp : 找不到路径“C:\Users\Administrator\5”,因为该路径不存在。
所在位置 行:1 字符: 1
+ sp
+ ~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\Administrator\5:String) [Set-ItemProperty], ItemNotFoundExcept
   ion
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetItemPropertyCommand

sp : 找不到路径“C:\Users\Administrator\6”,因为该路径不存在。
所在位置 行:1 字符: 1
+ sp
+ ~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\Administrator\6:String) [Set-ItemProperty], ItemNotFoundExcept
   ion
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetItemPropertyCommand

sp : 找不到路径“C:\Users\Administrator\78”,因为该路径不存在。
所在位置 行:1 字符: 1
+ sp
+ ~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\Administrator\78:String) [Set-ItemProperty], ItemNotFoundExcep
   tion
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetItemPropertyCommand

sp : 找不到路径“C:\Users\Administrator\5467”,因为该路径不存在。
所在位置 行:1 字符: 1
+ sp
+ ~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\Administrator\5467:String) [Set-ItemProperty], ItemNotFoundExc
   eption
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetItemPropertyCommand

sp : 找不到路径“C:\Users\Administrator\4567”,因为该路径不存在。
所在位置 行:1 字符: 1
+ sp
+ ~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\Administrator\4567:String) [Set-ItemProperty], ItemNotFoundExc
   eption
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetItemPropertyCommand

sp : 找不到路径“C:\Users\Administrator\45”,因为该路径不存在。
所在位置 行:1 字符: 1
+ sp
+ ~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\Administrator\45:String) [Set-ItemProperty], ItemNotFoundExcep
   tion
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetItemPropertyCommand

sp : 找不到路径“C:\Users\Administrator\654”,因为该路径不存在。
所在位置 行:1 字符: 1
+ sp
+ ~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\Administrator\654:String) [Set-ItemProperty], ItemNotFoundExce
   ption
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetItemPropertyCommand

sp : 找不到路径“C:\Users\Administrator\4567”,因为该路径不存在。
所在位置 行:1 字符: 1
+ sp
+ ~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\Administrator\4567:String) [Set-ItemProperty], ItemNotFoundExc
   eption
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetItemPropertyCommand

sp : 找不到路径“C:\Users\Administrator\4576”,因为该路径不存在。
所在位置 行:1 字符: 1
+ sp
+ ~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\Administrator\4576:String) [Set-ItemProperty], ItemNotFoundExc
   eption
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetItemPropertyCommand

sp : 找不到路径“C:\Users\Administrator\7”,因为该路径不存在。
所在位置 行:1 字符: 1
+ sp
+ ~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\Administrator\7:String) [Set-ItemProperty], ItemNotFoundExcept
   ion
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetItemPropertyCommand

sp : 找不到路径“C:\Users\Administrator\32”,因为该路径不存在。
所在位置 行:1 字符: 1
+ sp
+ ~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\Administrator\32:String) [Set-ItemProperty], ItemNotFoundExcep
   tion
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetItemPropertyCommand

sp : 找不到路径“C:\Users\Administrator\4”,因为该路径不存在。
所在位置 行:1 字符: 1
+ sp
+ ~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\Administrator\4:String) [Set-ItemProperty], ItemNotFoundExcept
   ion
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetItemPropertyCommand

 

添加回帖   全部回帖: 2   白篮

疯癫工作室

 

 

这个commad没用

 

2020-09-06评论(1)

  烟花易冷人心易碎很屑:你用过吗  

2020-09-06

点赞0


评论


清和一十六清和一十六

PS C:\Users\Administrator> sp

位于命令管道位置 1 的 cmdlet Set-ItemProperty
请为以下参数提供值:
Path[0]: 3
Path[1]: 5
Path[2]: 6
Path[3]: 78
Path[4]: 5467
Path[5]: 4567
Path[6]: 45
Path[7]: 654
Path[8]: 4567
Path[9]: 4576
Path[10]: 7
Path[11]: 32
Path[12]: 4
Path[13]:
Name: 445
Value: 45
sp : 找不到路径“C:\Users\Administrator\3”,因为该路径不存在。
所在位置 行:1 字符: 1
+ sp
+ ~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\Administrator\3:String) [Set-ItemProperty], ItemNotFoundExcept
   ion
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetItemPropertyCommand

sp : 找不到路径“C:\Users\Administrator\5”,因为该路径不存在。
所在位置 行:1 字符: 1
+ sp
+ ~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\Administrator\5:String) [Set-ItemProperty], ItemNotFoundExcept
   ion
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetItemPropertyCommand

sp : 找不到路径“C:\Users\Administrator\6”,因为该路径不存在。
所在位置 行:1 字符: 1
+ sp
+ ~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\Administrator\6:String) [Set-ItemProperty], ItemNotFoundExcept
   ion
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetItemPropertyCommand

sp : 找不到路径“C:\Users\Administrator\78”,因为该路径不存在。
所在位置 行:1 字符: 1
+ sp
+ ~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\Administrator\78:String) [Set-ItemProperty], ItemNotFoundExcep
   tion
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetItemPropertyCommand

sp : 找不到路径“C:\Users\Administrator\5467”,因为该路径不存在。
所在位置 行:1 字符: 1
+ sp
+ ~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\Administrator\5467:String) [Set-ItemProperty], ItemNotFoundExc
   eption
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetItemPropertyCommand

sp : 找不到路径“C:\Users\Administrator\4567”,因为该路径不存在。
所在位置 行:1 字符: 1
+ sp
+ ~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\Administrator\4567:String) [Set-ItemProperty], ItemNotFoundExc
   eption
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetItemPropertyCommand

sp : 找不到路径“C:\Users\Administrator\45”,因为该路径不存在。
所在位置 行:1 字符: 1
+ sp
+ ~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\Administrator\45:String) [Set-ItemProperty], ItemNotFoundExcep
   tion
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetItemPropertyCommand

sp : 找不到路径“C:\Users\Administrator\654”,因为该路径不存在。
所在位置 行:1 字符: 1
+ sp
+ ~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\Administrator\654:String) [Set-ItemProperty], ItemNotFoundExce
   ption
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetItemPropertyCommand

sp : 找不到路径“C:\Users\Administrator\4567”,因为该路径不存在。
所在位置 行:1 字符: 1
+ sp
+ ~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\Administrator\4567:String) [Set-ItemProperty], ItemNotFoundExc
   eption
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetItemPropertyCommand

sp : 找不到路径“C:\Users\Administrator\4576”,因为该路径不存在。
所在位置 行:1 字符: 1
+ sp
+ ~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\Administrator\4576:String) [Set-ItemProperty], ItemNotFoundExc
   eption
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetItemPropertyCommand

sp : 找不到路径“C:\Users\Administrator\7”,因为该路径不存在。
所在位置 行:1 字符: 1
+ sp
+ ~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\Administrator\7:String) [Set-ItemProperty], ItemNotFoundExcept
   ion
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetItemPropertyCommand

sp : 找不到路径“C:\Users\Administrator\32”,因为该路径不存在。
所在位置 行:1 字符: 1
+ sp
+ ~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\Administrator\32:String) [Set-ItemProperty], ItemNotFoundExcep
   tion
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetItemPropertyCommand

sp : 找不到路径“C:\Users\Administrator\4”,因为该路径不存在。
所在位置 行:1 字符: 1
+ sp
+ ~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\Administrator\4:String) [Set-ItemProperty], ItemNotFoundExcept
   ion
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetItemPropertyCommand

 

添加回帖   全部回帖: 2   白篮

疯癫工作室

 

 

这个commad没用

 

2020-09-06评论(1)

  烟花易冷人心易碎很屑:你用过吗  

2020-09-06

点赞0


评论


想有一把钻石剑的烈焰人想有一把钻石剑的烈焰人

 

PS C:\Users\Administrator> sp

位于命令管道位置 1 的 cmdlet Set-ItemProperty
请为以下参数提供值:
Path[0]: 3
Path[1]: 5
Path[2]: 6
Path[3]: 78
Path[4]: 5467
Path[5]: 4567
Path[6]: 45
Path[7]: 654
Path[8]: 4567
Path[9]: 4576
Path[10]: 7
Path[11]: 32
Path[12]: 4
Path[13]:
Name: 445
Value: 45
sp : 找不到路径“C:\Users\Administrator\3”,因为该路径不存在。
所在位置 行:1 字符: 1
+ sp
+ ~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\Administrator\3:String) [Set-ItemProperty], ItemNotFoundExcept
   ion
    + FullyQualifiedErrorId : PathNotFound喵ands.SetItemPropertyCommand

sp : 找不到路径“C:\Users\Administrator\5”,因为该路径不存在。
所在位置 行:1 字符: 1
+ sp
+ ~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\Administrator\5:String) [Set-ItemProperty], ItemNotFoundExcept
   ion
    + FullyQualifiedErrorId : PathNotFound喵ands.SetItemPropertyCommand

sp : 找不到路径“C:\Users\Administrator\6”,因为该路径不存在。
所在位置 行:1 字符: 1
+ sp
+ ~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\Administrator\6:String) [Set-ItemProperty], ItemNotFoundExcept
   ion
    + FullyQualifiedErrorId : PathNotFound喵ands.SetItemPropertyCommand

sp : 找不到路径“C:\Users\Administrator\78”,因为该路径不存在。
所在位置 行:1 字符: 1
+ sp
+ ~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\Administrator\78:String) [Set-ItemProperty], ItemNotFoundExcep
   tion
    + FullyQualifiedErrorId : PathNotFound喵ands.SetItemPropertyCommand

sp : 找不到路径“C:\Users\Administrator\5467”,因为该路径不存在。
所在位置 行:1 字符: 1
+ sp
+ ~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\Administrator\5467:String) [Set-ItemProperty], ItemNotFoundExc
   eption
    + FullyQualifiedErrorId : PathNotFound喵ands.SetItemPropertyCommand

sp : 找不到路径“C:\Users\Administrator\4567”,因为该路径不存在。
所在位置 行:1 字符: 1
+ sp
+ ~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\Administrator\4567:String) [Set-ItemProperty], ItemNotFoundExc
   eption
    + FullyQualifiedErrorId : PathNotFound喵ands.SetItemPropertyCommand

sp : 找不到路径“C:\Users\Administrator\45”,因为该路径不存在。
所在位置 行:1 字符: 1
+ sp
+ ~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\Administrator\45:String) [Set-ItemProperty], ItemNotFoundExcep
   tion
    + FullyQualifiedErrorId : PathNotFound喵ands.SetItemPropertyCommand

sp : 找不到路径“C:\Users\Administrator\654”,因为该路径不存在。
所在位置 行:1 字符: 1
+ sp
+ ~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\Administrator\654:String) [Set-ItemProperty], ItemNotFoundExce
   ption
    + FullyQualifiedErrorId : PathNotFound喵ands.SetItemPropertyCommand

sp : 找不到路径“C:\Users\Administrator\4567”,因为该路径不存在。
所在位置 行:1 字符: 1
+ sp
+ ~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\Administrator\4567:String) [Set-ItemProperty], ItemNotFoundExc
   eption
    + FullyQualifiedErrorId : PathNotFound喵ands.SetItemPropertyCommand

sp : 找不到路径“C:\Users\Administrator\4576”,因为该路径不存在。
所在位置 行:1 字符: 1
+ sp
+ ~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\Administrator\4576:String) [Set-ItemProperty], ItemNotFoundExc
   eption
    + FullyQualifiedErrorId : PathNotFound喵ands.SetItemPropertyCommand

sp : 找不到路径“C:\Users\Administrator\7”,因为该路径不存在。
所在位置 行:1 字符: 1
+ sp
+ ~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\Administrator\7:String) [Set-ItemProperty], ItemNotFoundExcept
   ion
    + FullyQualifiedErrorId : PathNotFound喵ands.SetItemPropertyCommand

sp : 找不到路径“C:\Users\Administrator\32”,因为该路径不存在。
所在位置 行:1 字符: 1
+ sp
+ ~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\Administrator\32:String) [Set-ItemProperty], ItemNotFoundExcep
   tion
    + FullyQualifiedErrorId : PathNotFound喵ands.SetItemPropertyCommand

sp : 找不到路径“C:\Users\Administrator\4”,因为该路径不存在。
所在位置 行:1 字符: 1
+ sp
+ ~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\Administrator\4:String) [Set-ItemProperty], ItemNotFoundExcept
   ion
    + FullyQualifiedErrorId : PathNotFound喵ands.SetItemPropertyCommand

点赞0


评论