Skip to content

Commit 11ef597

Browse files
sdwheelerSean Wheeler
authored andcommitted
Sdw init v7 (#4158)
* fix typo * initialize v7 content
1 parent b602931 commit 11ef597

File tree

459 files changed

+148223
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

459 files changed

+148223
-0
lines changed
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
---
2+
ms.date: 02/20/2019
3+
schema: 2.0.0
4+
locale: en-US
5+
keywords: powershell,cmdlet
6+
Help Version: 6.1.0.1
7+
Download Help Link: https://go.microsoft.com/fwlink/?linkid=855946
8+
Module Guid: fb6cc51d-c096-4b38-b78d-0fed6277096a
9+
Module Name: CimCmdlets
10+
---
11+
# CimCmdlets Module
12+
13+
## Description
14+
15+
Contains cmdlets that interact with Common Information Model (CIM) Servers like the Windows
16+
Management Instrumentation (WMI) service.
17+
18+
## CimCmdlets Cmdlets
19+
20+
### [Export-BinaryMiLog](Export-BinaryMiLog.md)
21+
Creates a binary encoded representation of an object or objects and stores it in a file.
22+
23+
### [Get-CimAssociatedInstance](Get-CimAssociatedInstance.md)
24+
Retrieves the CIM instances that are connected to a specific CIM instance by an association.
25+
26+
### [Get-CimClass](Get-CimClass.md)
27+
Gets a list of CIM classes in a specific namespace.
28+
29+
### [Get-CimInstance](Get-CimInstance.md)
30+
Gets the CIM instances of a class from a CIM server.
31+
32+
### [Get-CimSession](Get-CimSession.md)
33+
Gets the CIM session objects from the current session.
34+
35+
### [Import-BinaryMiLog](Import-BinaryMiLog.md)
36+
Used to re-create the saved objects based on the contents of an export file.
37+
38+
### [Invoke-CimMethod](Invoke-CimMethod.md)
39+
Invokes a method of a CIM class.
40+
41+
### [New-CimInstance](New-CimInstance.md)
42+
Creates a CIM instance.
43+
44+
### [New-CimSession](New-CimSession.md)
45+
Creates a CIM session.
46+
47+
### [New-CimSessionOption](New-CimSessionOption.md)
48+
Specifies advanced options for the `New-CimSession` cmdlet.
49+
50+
### [Register-CimIndicationEvent](Register-CimIndicationEvent.md)
51+
Subscribes to indications using a filter expression or a query expression.
52+
53+
### [Remove-CimInstance](Remove-CimInstance.md)
54+
Removes a CIM instance from a computer.
55+
56+
### [Remove-CimSession](Remove-CimSession.md)
57+
Removes one or more CIM sessions.
58+
59+
### [Set-CimInstance](Set-CimInstance.md)
60+
Modifies a CIM instance on a CIM server by calling the **ModifyInstance** method of the CIM class.
Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
---
2+
ms.date: 02/20/2019
3+
schema: 2.0.0
4+
locale: en-us
5+
keywords: powershell,cmdlet
6+
online version: http://go.microsoft.com/fwlink/?LinkId=301310
7+
external help file: Microsoft.Management.Infrastructure.CimCmdlets.dll-Help.xml
8+
---
9+
10+
# Export-BinaryMiLog
11+
12+
## SYNOPSIS
13+
Creates a binary encoded representation of an object or objects and stores it in a file.
14+
15+
## SYNTAX
16+
17+
```powershell
18+
Export-BinaryMiLog [-InputObject <CimInstance>] [-Path] <String>
19+
```
20+
21+
## DESCRIPTION
22+
23+
The `Export-BinaryMILog` cmdlet creates a binary-based representation of an object or objects and
24+
stores it in a file. You can then use the `Import-BinaryMiLog` cmdlet to re-create the saved object
25+
based on the contents of that file.
26+
27+
This cmdlet is similar to `Import-Clixml`, except that `Export-BinaryMILog` stores the resulting
28+
object in a binary encoded file.
29+
30+
## EXAMPLES
31+
32+
### Example 1 - Create a binary representation of CimInstances
33+
34+
```powershell
35+
Get-CimInstance Win32_Process | Export-BinaryMiLog -Path "Processes.bmil"
36+
```
37+
38+
This command exports CimInstances to a binary MI log file specified by the Path parameter.
39+
See the example for Import-BinaryMiLog to see how to recreate the CimInstances by importing this file.
40+
41+
## PARAMETERS
42+
43+
### -InputObject
44+
45+
Specifies the input to this cmdlet. You can use this parameter, or you can pipe the input to this
46+
cmdlet.
47+
48+
```yaml
49+
Type: CimInstance
50+
Parameter Sets: (All)
51+
Aliases:
52+
53+
Required: False
54+
Position: Named
55+
Default value: None
56+
Accept pipeline input: True (ByValue)
57+
Accept wildcard characters: False
58+
```
59+
60+
### -Path
61+
62+
Specifies the path of the file in which to store the binary representation of the object. The
63+
**Path** parameter supports wild cards and relative paths. This cmdlet generates an error if the
64+
path resolves to more than one file.
65+
66+
```yaml
67+
Type: String
68+
Parameter Sets: (All)
69+
Aliases:
70+
71+
Required: True
72+
Position: 0
73+
Default value: None
74+
Accept pipeline input: False
75+
Accept wildcard characters: True
76+
```
77+
78+
## INPUTS
79+
80+
### Microsoft.Management.Infrastructure.CimInstance
81+
82+
## OUTPUTS
83+
84+
### System.Object
85+
86+
## NOTES
87+
88+
## RELATED LINKS
89+
90+
[Get-CimInstance](get-ciminstance.md)
91+
92+
[Import-BinaryMiLog](import-binarymilog.md)
93+
94+
[Import-Clixml](../microsoft.powershell.utility/import-clixml.md)

0 commit comments

Comments
 (0)